mirror of
https://github.com/zotero/zotero.git
synced 2026-08-28 05:25:31 +00:00
Use proper accent color for the selected autocomplete row
In an autocomplete popup, focus remains in the text field, so the inactive selection color was being used instead.
This commit is contained in:
parent
1dffe21de0
commit
0ae2e42ca2
1 changed files with 7 additions and 0 deletions
|
|
@ -1,3 +1,10 @@
|
|||
// An autocomplete popup keeps focus in the field it completes, so its selected
|
||||
// row is the active one, rather than the platform's unfocused selection
|
||||
panel[type="autocomplete-richlistbox"] .autocomplete-richlistitem[selected] {
|
||||
background-color: var(--color-accent);
|
||||
color: var(--color-accent-text);
|
||||
}
|
||||
|
||||
richlistbox {
|
||||
background: var(--material-background);
|
||||
border: var(--material-panedivider);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue