mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-02 05:02:27 +08:00
Delay the opening of submenus
This commit is contained in:
parent
3d27a60897
commit
2b432dd4f7
@ -249,6 +249,15 @@ div.ui-tooltip {
|
|||||||
animation: dropdown-menu-opening 100ms ease-in;
|
animation: dropdown-menu-opening 100ms ease-in;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@supports(animation-fill-mode: forwards) {
|
||||||
|
/* Delay the opening of submenus */
|
||||||
|
.dropdown-submenu .dropdown-menu {
|
||||||
|
opacity: 0;
|
||||||
|
animation-fill-mode: forwards;
|
||||||
|
animation-delay: 300ms;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.dropdown-menu.static {
|
.dropdown-menu.static {
|
||||||
box-shadow: unset;
|
box-shadow: unset;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user