luci-theme-bootstrap: 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>
This commit is contained in:
parent
6b0953af64
commit
f57514d63c
1 changed files with 4 additions and 2 deletions
|
@ -1716,12 +1716,14 @@ body.modal-overlay-active #modal_overlay {
|
|||
color: var(--on-primary-color);
|
||||
}
|
||||
|
||||
.cbi-dropdown[open] > ul.dropdown > li.focus {
|
||||
.cbi-dropdown[open] > ul.dropdown > li.focus,
|
||||
.cbi-dropdown[open] > ul.dropdown > li:hover {
|
||||
background: var(--primary-color-low);
|
||||
color: var(--on-primary-color);
|
||||
}
|
||||
|
||||
.cbi-dropdown[open] > ul.dropdown > li[selected].focus {
|
||||
.cbi-dropdown[open] > ul.dropdown > li[selected].focus,
|
||||
.cbi-dropdown[open] > ul.dropdown > li[selected]:hover {
|
||||
background: linear-gradient(90deg, var(--primary-color-medium) 50%, var(--primary-color-low));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue