mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
style(next): update the colors of combo boxes
This commit is contained in:
parent
9724b19cd2
commit
99a6e65d15
@ -46,6 +46,10 @@
|
||||
--input-action-button-color: #c6c6c6;
|
||||
--input-action-button-hover: white;
|
||||
|
||||
--select-focus-background: #333;
|
||||
--select-focus-text-color: var(--input-text-color);
|
||||
--select-dropdown-text-color: var(--input-text-color);
|
||||
|
||||
--hover-item-text-color: #efefef;
|
||||
--hover-item-background-color: #ffffff24;
|
||||
--hover-item-border-color: transparent;
|
||||
|
@ -46,6 +46,10 @@
|
||||
--input-action-button-color: #575757;
|
||||
--input-action-button-hover: black;
|
||||
|
||||
--select-focus-background: white;
|
||||
--select-focus-text-color: var(--input-text-color);
|
||||
--select-dropdown-text-color: var(--input-text-color);
|
||||
|
||||
--hover-item-text-color: black;
|
||||
--hover-item-background-color: #0000001a;
|
||||
--hover-item-border-color: transparent;
|
||||
|
@ -121,4 +121,33 @@ input::selection,
|
||||
|
||||
.input-group .input-clearer-button {
|
||||
background: transparent !important;
|
||||
}
|
||||
|
||||
/* Combo boxes */
|
||||
|
||||
select, select.form-select {
|
||||
outline: 3px solid transparent;
|
||||
outline-offset: 6px;
|
||||
background-color: var(--input-background-color);
|
||||
color: var(--input-text-color);
|
||||
border: unset;
|
||||
}
|
||||
|
||||
select:hover, select.form-select:hover {
|
||||
background-color: var(--input-hover-background);
|
||||
color: var(--input-hover-color);
|
||||
}
|
||||
|
||||
select:focus, select.form-select:focus {
|
||||
box-shadow: unset;
|
||||
outline: 3px solid var(--input-focus-outline-color);
|
||||
outline-offset: 0;
|
||||
background-color: var(--select-focus-background);
|
||||
color: var(--select-focus-text-color);
|
||||
transition: outline-color 50ms linear,
|
||||
outline-offset 200ms ease-out;
|
||||
}
|
||||
|
||||
option {
|
||||
color: var(--select-dropdown-text-color);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user