luci-theme-openwrt: add dropdown option hover styles
authorJo-Philipp Wich <jo@mein.io>
Sun, 18 Feb 2024 22:25:08 +0000 (23:25 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sun, 18 Feb 2024 23:04:16 +0000 (00:04 +0100)
Subsequent commits will drop the JS based mouse following focus behavior,
so add appropriate replacement CSS hover styles.

Ref: #6903
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css

index 186ce88e10e55a4c2ea552a8ba545869ff0cf3a8..fbb53f9e9939290bd16cb543b0b23476c1709ba9 100644 (file)
@@ -1283,7 +1283,8 @@ ul.cbi-tabmenu li.cbi-tab-disabled[data-errors]::after {
        background: #b0d0f0;
 }
 
-.cbi-dropdown[open] > ul.dropdown > li.focus {
+.cbi-dropdown[open] > ul.dropdown > li.focus,
+.cbi-dropdown[open] > ul.dropdown > li:hover {
        background: linear-gradient(90deg, #a3c2e8 0%, #84aad9 100%);
 }