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)
committerPaul Donald <newtwen@gmail.com>
Thu, 7 Mar 2024 00:27:58 +0000 (01:27 +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>
(cherry picked from commit b0e56a39aa11d9937de8f3814df25a1a4783ac6c)

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%);
 }