From b0e56a39aa11d9937de8f3814df25a1a4783ac6c Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 18 Feb 2024 23:25:08 +0100 Subject: [PATCH] luci-theme-openwrt: add dropdown option hover styles 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 --- .../htdocs/luci-static/openwrt.org/cascade.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css b/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css index 186ce88e10..fbb53f9e99 100644 --- a/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css +++ b/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css @@ -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%); } -- 2.30.2