From: Jo-Philipp Wich Date: Sun, 18 Feb 2024 22:25:08 +0000 (+0100) Subject: luci-theme-openwrt: add dropdown option hover styles X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d09dac7c817ec9ae12289306a919d2fb4c88ca5d;p=project%2Fluci.git 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 (cherry picked from commit b0e56a39aa11d9937de8f3814df25a1a4783ac6c) --- 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%); }