luci-theme-openwrt-2020: add dropdown option hover styles
authorJo-Philipp Wich <[email protected]>
Sun, 18 Feb 2024 22:24:46 +0000 (23:24 +0100)
committerPaul Donald <[email protected]>
Thu, 7 Mar 2024 00:38:35 +0000 (01:38 +0100)
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 <[email protected]>
(cherry picked from commit ae146074a1a779388f8a05de55071422be8c23b5)

themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css

index 264502fbb15d54360481c934b8ec9573fd392436..7ab10430b74e5610a043e387f288d25ee7ca8058 100644 (file)
@@ -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);
 }