summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-openwrt/htdocs
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2024-02-18 23:25:08 +0100
committerJo-Philipp Wich <jo@mein.io>2024-02-19 00:04:16 +0100
commitb0e56a39aa11d9937de8f3814df25a1a4783ac6c (patch)
treeba82b5f6623a502bf533af8de48f522dde34a9e2 /themes/luci-theme-openwrt/htdocs
parentae146074a1a779388f8a05de55071422be8c23b5 (diff)
luci-theme-openwrt: 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 <jo@mein.io>
Diffstat (limited to 'themes/luci-theme-openwrt/htdocs')
-rw-r--r--themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css3
1 files changed, 2 insertions, 1 deletions
diff --git a/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css b/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css
index 186ce88e10..fbb53f9e99 100644
--- a/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css
+++ b/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css
@@ -1283,7 +1283,8 @@ ul.cbi-tabmenu li.cbi-tab-disabled[data-errors]::after {
background: #b0d0f0;
}
-.cbi-dropdown[open] > ul.dropdown > li.focus {
+.cbi-dropdown[open] > ul.dropdown > li.focus,
+.cbi-dropdown[open] > ul.dropdown > li:hover {
background: linear-gradient(90deg, #a3c2e8 0%, #84aad9 100%);
}