luci-theme-openwrt-2020: add dropdown option hover styles
authorJo-Philipp Wich <jo@mein.io>
Sun, 18 Feb 2024 22:24:46 +0000 (23:24 +0100)
committerPaul Donald <newtwen@gmail.com>
Thu, 7 Mar 2024 00:27:58 +0000 (01:27 +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 <jo@mein.io>
(cherry picked from commit ae146074a1a779388f8a05de55071422be8c23b5)

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

index a80a6dd391d16c17a821e8a21a0e12565cd1714f..3de1ebeb9b4533d0edb2fdaa73706528ae7a0a00 100644 (file)
@@ -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);
 }