summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-material/htdocs/luci-static
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2024-02-18 23:25:22 +0100
committerJo-Philipp Wich <jo@mein.io>2024-02-19 00:04:16 +0100
commit01e55108889563563231e111f8fe1d4bf9b1b853 (patch)
treec07fea12e6622167fdb9da4ccd08fb74da84ed0c /themes/luci-theme-material/htdocs/luci-static
parentb0e56a39aa11d9937de8f3814df25a1a4783ac6c (diff)
luci-theme-material: 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-material/htdocs/luci-static')
-rw-r--r--themes/luci-theme-material/htdocs/luci-static/material/cascade.css3
1 files changed, 2 insertions, 1 deletions
diff --git a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css
index fa2f60ebf1..fef91e48b6 100644
--- a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css
+++ b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css
@@ -1601,7 +1601,8 @@ body:not(.Interfaces) .cbi-rowstyle-2:first-child {
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%);
}