mirror of
				https://github.com/avatao-content/frontend-tutorial-framework
				synced 2025-11-04 04:52:55 +00:00 
			
		
		
		
	Change message active button colors
This commit is contained in:
		@@ -33,39 +33,41 @@
 | 
				
			|||||||
    text-align: center;
 | 
					    text-align: center;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    .no {
 | 
					    .no {
 | 
				
			||||||
      @include set-button-style($tao-red-color);
 | 
					      @include set-button-style($tao-red-color, rgba(255, 69, 131, 0.5));
 | 
				
			||||||
      width: $xlarge;
 | 
					      width: $xlarge;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    .yes {
 | 
					    .yes {
 | 
				
			||||||
      @include set-button-style($tao-green-color);
 | 
					      @include set-button-style($tao-green-color, rgba(72, 190, 176, 0.5));
 | 
				
			||||||
      width: $xlarge;
 | 
					      width: $xlarge;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    .solution {
 | 
					    .solution {
 | 
				
			||||||
      @include set-button-style($tao-blue-color);
 | 
					      @include set-button-style($tao-blue-color, rgba(255, 255, 255, 0.5));
 | 
				
			||||||
      width: $xlarge + $medium + $tiny;
 | 
					      width: $xlarge + $medium + $tiny;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    .hint {
 | 
					    .hint {
 | 
				
			||||||
      @include set-button-style($tao-yellow-color);
 | 
					      @include set-button-style(white, rgba(102, 151, 255, 0.5));
 | 
				
			||||||
      width: $xlarge + $medium + $tiny;
 | 
					      width: $xlarge;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    .fix {
 | 
					    .fix {
 | 
				
			||||||
      @include set-button-style($tao-yellow-color);
 | 
					      @include set-button-style($tao-yellow-color, rgba(255, 214, 143, 0.5));
 | 
				
			||||||
      width: $xlarge + $medium + $tiny;
 | 
					      width: $xlarge + $medium + $tiny;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    .next {
 | 
					    .next {
 | 
				
			||||||
      @include set-button-style($tao-blue-color);
 | 
					      @include set-button-style($tao-blue-color, rgba(102, 151, 255, 0.5));
 | 
				
			||||||
      width: $xlarge;
 | 
					      width: $xlarge;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.highlighted-message {
 | 
					.highlighted-message {
 | 
				
			||||||
  box-shadow: 0px 0px 3px 0px rgba($tao-gray-300,0.65);
 | 
					  // box-shadow: 0px 0px 8px 0px $tao-blue-color;
 | 
				
			||||||
 | 
					  border: 3px single $tao-blue-color;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@keyframes inflate {
 | 
					@keyframes inflate {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -102,6 +102,7 @@ $tao-gray-color: #94A6B9; // @25% opacity
 | 
				
			|||||||
$tao-yellow-color: #FFD68F;
 | 
					$tao-yellow-color: #FFD68F;
 | 
				
			||||||
$tao-blue-color: #6697FF;
 | 
					$tao-blue-color: #6697FF;
 | 
				
			||||||
$tao-green-color: #48BEB0;
 | 
					$tao-green-color: #48BEB0;
 | 
				
			||||||
 | 
					$tao-cyan-color: #60FDEB;
 | 
				
			||||||
$tao-red-color: #FF4583;
 | 
					$tao-red-color: #FF4583;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,6 +1,6 @@
 | 
				
			|||||||
@import "../variables.scss";
 | 
					@import "../variables.scss";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@mixin set-button-style($color) {
 | 
					@mixin set-button-style($color, $shadow-color) {
 | 
				
			||||||
  box-sizing: border-box;
 | 
					  box-sizing: border-box;
 | 
				
			||||||
  border-radius: 10px;
 | 
					  border-radius: 10px;
 | 
				
			||||||
  background: $color;
 | 
					  background: $color;
 | 
				
			||||||
@@ -16,10 +16,12 @@
 | 
				
			|||||||
  outline: none;
 | 
					  outline: none;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  &:active {
 | 
					  &:active {
 | 
				
			||||||
    background: $tao-btn-font-color;
 | 
					    opacity: 0.5;
 | 
				
			||||||
    border: $tao-btn-font-color;
 | 
					    box-shadow: none;
 | 
				
			||||||
    color: $color;
 | 
					  }
 | 
				
			||||||
    border-radius: 10px;
 | 
					
 | 
				
			||||||
 | 
					  &:hover {
 | 
				
			||||||
 | 
					    box-shadow: 0 0 8px $shadow-color;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user