Delay the opening of submenus

This commit is contained in:
Adorian Doran 2024-11-20 10:57:34 +02:00
parent 3d27a60897
commit 2b432dd4f7

View File

@ -249,6 +249,15 @@ div.ui-tooltip {
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 {
box-shadow: unset;
}