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)
committerJo-Philipp Wich <jo@mein.io>
Sun, 18 Feb 2024 23:04:16 +0000 (00:04 +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>
themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css

index e56f6c7302cb419d0125d2fa87f464eef79a35e3..277af225f6a03daea43ba49dae45c6717f75d5b7 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);
 }