diff options
| author | Martijn Cuppens <[email protected]> | 2018-07-25 02:39:15 +0200 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2018-07-24 17:39:15 -0700 |
| commit | d80635c1cd503f0f017c014f3728ee4e3bc05264 (patch) | |
| tree | 5eb61f0d6d5b660786c8ea53f3049e72203f9714 /scss/_custom-forms.scss | |
| parent | ba25e38b4ac454ea0ff3ff35ef9b6f9cf80b34af (diff) | |
| download | bootstrap-d80635c1cd503f0f017c014f3728ee4e3bc05264.tar.xz bootstrap-d80635c1cd503f0f017c014f3728ee4e3bc05264.zip | |
Custom input range disabled styling (#26540)
Diffstat (limited to 'scss/_custom-forms.scss')
| -rw-r--r-- | scss/_custom-forms.scss | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/scss/_custom-forms.scss b/scss/_custom-forms.scss index 8348e261c..5e1fa1992 100644 --- a/scss/_custom-forms.scss +++ b/scss/_custom-forms.scss @@ -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, |
