From 48e6c5e8ae7ad66f2fa7b6fd9963fbaca525eb5d Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 18 Feb 2024 23:24:46 +0100 Subject: [PATCH] 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) --- .../htdocs/luci-static/openwrt2020/cascade.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 264502fbb1..7ab10430b7 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 @@ -1370,7 +1370,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); } -- 2.30.2