2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03:00

Custom input range disabled styling (#26540)

This commit is contained in:
Martijn Cuppens
2018-07-25 02:39:15 +02:00
committed by Mark Otto
parent ba25e38b4a
commit d80635c1cd
2 changed files with 23 additions and 0 deletions
+22
View File
@@ -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,