From e5ed253d680b7831ce3a3b2603971620cf5eb644 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Sun, 16 Oct 2022 23:51:27 +0300 Subject: fixed browser detection, loading css from js --- web/share/css/switch.css | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'web/share/css/switch.css') diff --git a/web/share/css/switch.css b/web/share/css/switch.css index 7a822feb..eb2241ed 100644 --- a/web/share/css/switch.css +++ b/web/share/css/switch.css @@ -79,16 +79,6 @@ div.switch-box label span.switch-inner:after { text-align: right; } -@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 { - background-color: var(--cs-control-hovered-bg); - } - div.switch-box label span.switch-inner:not(:disabled):hover::after { - background-color: var(--cs-control-hovered-bg); - } -} - div.switch-box label span.switch { display: block; width: 13px; -- cgit v1.2.3