autohidden toolbars: Use :has() to show toolbar if menu popup is hovered

This commit is contained in:
MrOtherGuy
2023-11-23 17:27:28 +02:00
parent 4f3ac169e3
commit fd88af0e85
2 changed files with 13 additions and 0 deletions

View File

@@ -86,6 +86,13 @@ See the above repository for updates as well as full license text. */
transition-delay: 100ms !important;
transform: rotateX(0);
}
/* This ruleset is separate, because not having :has support breaks other selectors as well */
#mainPopupSet:has(> #appMenu-popup:hover) ~ #navigator-toolbox > .browser-toolbar{
transition-delay: 33ms !important;
transform: rotateX(0);
}
/* This makes the tab notification box show immediately below tabs, otherwise it would break the layout */
#navigator-toolbox > div{ display: contents }
:where(#titlebar,#tab-notification-deck,.global-notificationbox){