From: Jo-Philipp Wich Date: Sun, 18 Feb 2024 22:24:46 +0000 (+0100) Subject: luci-theme-openwrt-2020: add dropdown option hover styles X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=9147b4e913a2e52f68309fab3effd476456a16c6;p=project%2Fluci.git luci-theme-openwrt-2020: 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 ae146074a1a779388f8a05de55071422be8c23b5) --- diff --git a/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css b/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css index a80a6dd391..3de1ebeb9b 100644 --- a/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css +++ b/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css @@ -1365,7 +1365,8 @@ textarea { color: var(--secondary-bright-color); } -.cbi-dropdown[open] > ul.dropdown > li.focus { +.cbi-dropdown[open] > ul.dropdown > li.focus, +.cbi-dropdown[open] > ul.dropdown > li:hover { background: var(--main-bright-color); }