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