mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-28 02:22:26 +08:00
Allow the submenu opening delay be set via a CSS variable
This commit is contained in:
parent
ac9f344130
commit
85b507938b
@ -19,6 +19,10 @@
|
|||||||
--bs-table-bg: transparent !important;
|
--bs-table-bg: transparent !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--submenu-opening-delay: 300ms;
|
||||||
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
/* this fixes FF filter vs. position fixed bug: https://github.com/zadam/trilium/issues/233 */
|
/* this fixes FF filter vs. position fixed bug: https://github.com/zadam/trilium/issues/233 */
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@ -254,7 +258,7 @@ div.ui-tooltip {
|
|||||||
.dropdown-submenu .dropdown-menu {
|
.dropdown-submenu .dropdown-menu {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
animation-fill-mode: forwards;
|
animation-fill-mode: forwards;
|
||||||
animation-delay: 300ms;
|
animation-delay: var(--submenu-opening-delay);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user