mirror of https://github.com/twbs/bootstrap.git
				
				
				
			Custom input range disabled styling (#26540)
This commit is contained in:
		
							parent
							
								
									ba25e38b4a
								
							
						
					
					
						commit
						d80635c1cd
					
				| 
						 | 
				
			
			@ -424,6 +424,28 @@
 | 
			
		|||
    background-color: $custom-range-track-bg;
 | 
			
		||||
    @include border-radius($custom-range-track-border-radius);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  &:disabled {
 | 
			
		||||
    &::-webkit-slider-thumb {
 | 
			
		||||
      background-color: $custom-range-thumb-disabled-bg;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    &::-webkit-slider-runnable-track {
 | 
			
		||||
      cursor: default;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    &::-moz-range-thumb {
 | 
			
		||||
      background-color: $custom-range-thumb-disabled-bg;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    &::-moz-range-track {
 | 
			
		||||
      cursor: default;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    &::-ms-thumb {
 | 
			
		||||
      background-color: $custom-range-thumb-disabled-bg;
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.custom-control-label::before,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -548,6 +548,7 @@ $custom-range-thumb-box-shadow:              0 .1rem .25rem rgba($black, .1) !de
 | 
			
		|||
$custom-range-thumb-focus-box-shadow:        0 0 0 1px $body-bg, $input-btn-focus-box-shadow !default;
 | 
			
		||||
$custom-range-thumb-focus-box-shadow-width:  $input-btn-focus-width !default; // For focus box shadow issue in IE/Edge
 | 
			
		||||
$custom-range-thumb-active-bg:               lighten($component-active-bg, 35%) !default;
 | 
			
		||||
$custom-range-thumb-disabled-bg:             $gray-500 !default;
 | 
			
		||||
 | 
			
		||||
$custom-file-height:                $input-height !default;
 | 
			
		||||
$custom-file-height-inner:          $input-height-inner !default;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue