Skip to content

Commit

Permalink
luci-theme-material: add dropdown option hover styles
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
jow- committed Feb 18, 2024
1 parent b0e56a3 commit 01e5510
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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%);
}

Expand Down

0 comments on commit 01e5510

Please sign in to comment.