mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-25 06:01:40 +08:00
style(next): tweak the group header for combo box items
This commit is contained in:
parent
40b95325dd
commit
cb65591004
@ -50,6 +50,7 @@
|
||||
--select-focus-text-color: var(--input-text-color);
|
||||
--select-dropdown-text-color: var(--input-text-color);
|
||||
--select-arrow-svg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='transparent' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/></svg>");
|
||||
--select-group-heading-text-color: gray;
|
||||
|
||||
--hover-item-text-color: #efefef;
|
||||
--hover-item-background-color: #ffffff24;
|
||||
|
@ -50,6 +50,7 @@
|
||||
--select-focus-text-color: var(--input-text-color);
|
||||
--select-dropdown-text-color: var(--input-text-color);
|
||||
--select-arrow-svg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='transparent' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/></svg>");
|
||||
--select-group-heading-text-color: gray;
|
||||
|
||||
--hover-item-text-color: black;
|
||||
--hover-item-background-color: #0000001a;
|
||||
|
@ -152,4 +152,12 @@ select:focus, select.form-select:focus {
|
||||
|
||||
option {
|
||||
color: var(--select-dropdown-text-color);
|
||||
}
|
||||
|
||||
optgroup {
|
||||
color: var(--select-group-heading-text-color);
|
||||
font-size: .75em;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
line-height: 40px;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user