show autohidden toolbar when a panel is open

This commit is contained in:
MrOtherGuy
2024-11-01 05:36:58 +02:00
parent 14b75c1b77
commit ec1aede46c
3 changed files with 6 additions and 6 deletions

View File

@@ -71,7 +71,7 @@ See the above repository for updates as well as full license text. */
#toolbar-menubar:not([inactive]) ~ #nav-bar #urlbar[popover]{
top: calc(28px + var(--uc-urlbar-top)) !important;
}
#mainPopupSet:has(> #appMenu-popup:hover) ~ toolbox #urlbar[popover],
#mainPopupSet:has(> [role="group"][panelopen]) ~ toolbox #urlbar[popover],
#navigator-toolbox:is(:hover,:focus-within) #urlbar[popover],
#urlbar-container > #urlbar[popover]:is([focused],[open]){
opacity: 1;
@@ -105,7 +105,7 @@ See the above repository for updates as well as full license text. */
.tabbrowser-tab[selected]{ z-index: 3 !important; }
/* Show when cursor is over main menu popup - this requires :has selector support */
#mainPopupSet:has(> #appMenu-popup:hover) ~ toolbox > .browser-toolbar{
#mainPopupSet:has(> [role="group"][panelopen]) ~ toolbox > .browser-toolbar{
transition-delay: 100ms !important;
transform: rotateX(0);
}