From ae146074a1a779388f8a05de55071422be8c23b5 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 --- .../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 e56f6c7302..277af225f6 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); } -- 2.30.2