diff options
Diffstat (limited to 'web/share/css/slider.css')
-rw-r--r-- | web/share/css/slider.css | 14 |
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); |