mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
style/dropdowns: tweak the appearance of keyboard selected items
This commit is contained in:
parent
6745b887fb
commit
25905ebff7
@ -475,9 +475,9 @@ body #context-menu-container .dropdown-item > span {
|
||||
|
||||
.dropdown-item.active,
|
||||
.dropdown-item:focus {
|
||||
color: var(--active-item-text-color) !important;
|
||||
background-color: var(--active-item-background-color) !important;
|
||||
border-color: var(--active-item-border-color) !important;
|
||||
color: var(--active-item-text-color);
|
||||
background-color: var(--active-item-background-color);
|
||||
border-color: var(--active-item-border-color);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
|
@ -160,6 +160,16 @@ body.mobile .dropdown-submenu .dropdown-toggle {
|
||||
cursor: default !important;
|
||||
}
|
||||
|
||||
:root .dropdown-item:focus-visible {
|
||||
outline: 2px solid var(--input-focus-outline-color) !important;
|
||||
background-color: transparent;
|
||||
color: unset;
|
||||
}
|
||||
|
||||
:root .dropdown-item:active {
|
||||
background: unset;
|
||||
}
|
||||
|
||||
body.mobile .dropdown-submenu {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user