autohide toolbars: remove weird --uc-urlbar-top hack
Beta 133 b4 seems to work okay without it and it breaks positioning on nightly
This commit is contained in:
@@ -36,17 +36,12 @@ See the above repository for updates as well as full license text. */
|
||||
pointer-events: none;
|
||||
}
|
||||
:root[sessionrestored] #urlbar[popover]{
|
||||
--uc-urlbar-top: calc(var(--tab-min-height) + (var(--tab-block-margin) * 2) + ((var(--urlbar-container-height) - var(--urlbar-height)) / 2));
|
||||
top: var(--uc-urlbar-top) !important;
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
transition: transform 82ms linear var(--uc-autohide-toolbox-delay), opacity 0ms calc(var(--uc-autohide-toolbox-delay) + 82ms);
|
||||
transform-origin: 0px calc(0px - var(--tab-min-height) - var(--tab-block-margin) * 2);
|
||||
transform: rotateX(89.9deg);
|
||||
}
|
||||
#toolbar-menubar:not([inactive]) ~ #nav-bar #urlbar[popover]{
|
||||
top: calc(28px + var(--uc-urlbar-top)) !important;
|
||||
}
|
||||
#mainPopupSet:has(> [role="group"][panelopen]) ~ toolbox #urlbar[popover],
|
||||
#navigator-toolbox:is(:hover,:focus-within) #urlbar[popover],
|
||||
#urlbar-container > #urlbar[popover]:is([focused],[open]){
|
||||
|
||||
Reference in New Issue
Block a user