summaryrefslogtreecommitdiff
path: root/web/share/css/slider.css
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-07-19 16:54:50 +0300
committerDevaev Maxim <[email protected]>2020-07-19 16:54:50 +0300
commit903382fda501e3c5f54d0b82e0067139ab5e11f7 (patch)
treeb132aaedb6c23d362e1a9ea7e9aece8b6dcb1a97 /web/share/css/slider.css
parentaf89118eda79ede894ff45a0bea7db030a8d6e86 (diff)
many style improvements
Diffstat (limited to 'web/share/css/slider.css')
-rw-r--r--web/share/css/slider.css14
1 files changed, 14 insertions, 0 deletions
diff --git a/web/share/css/slider.css b/web/share/css/slider.css
index c62b6fda..e9928118 100644
--- a/web/share/css/slider.css
+++ b/web/share/css/slider.css
@@ -61,6 +61,13 @@ input[type=range].slider::-webkit-slider-runnable-track {
input[type=range].slider:disabled::-webkit-slider-runnable-track {
cursor: default;
}
+@media (hover: hover), (min--moz-device-pixel-ratio: 0) {
+ /* If we have a mouse cursor */
+ /*div.switch-box label span.switch-inner:not(:disabled):hover::before {*/
+ input[type=range].slider:not(:disabled):hover::-webkit-slider-runnable-track {
+ background-color: var(--cs-control-hovered-bg);
+ }
+}
input[type=range].slider::-webkit-slider-thumb {
border: var(--border-intensive-2px);
@@ -85,6 +92,13 @@ input[type=range].slider::-moz-range-track {
input[type=range].slider:disabled::-moz-range-track {
cursor: default;
}
+@media (hover: hover), (min--moz-device-pixel-ratio: 0) {
+ /* If we have a mouse cursor */
+ /*div.switch-box label span.switch-inner:not(:disabled):hover::before {*/
+ input[type=range].slider:not(:disabled):hover::-moz-range-track {
+ background-color: var(--cs-control-hovered-bg);
+ }
+}
input[type=range].slider::-moz-range-thumb {
border: var(--border-intensive-2px);