apply z-index to tabs, not titlebar and remove browser margin in fullscren

This commit is contained in:
MrOtherGuy 2021-06-03 10:30:38 +03:00
parent daaff92e6a
commit ccddba2424

View file

@ -22,7 +22,7 @@ See the above repository for updates as well as full license text. */
position: relative;
z-index: 2;
}
#titlebar{ position: relative; z-index: 3 }
#TabsToolbar{ position: relative; z-index: 3 }
#navigator-toolbox:focus-within > .browser-toolbar,
#titlebar:hover ~ .browser-toolbar,
#nav-bar:hover,
@ -34,4 +34,4 @@ See the above repository for updates as well as full license text. */
}
#PersonalToolbar{ transition: transform 400ms ease 1.8s !important; position: relative; z-index: 1 }
:root[sessionrestored] > body > #browser{ margin-top: var(--uc-navbar-transform); }
:root[sessionrestored]:not([inFullscreen]) > body > #browser{ margin-top: var(--uc-navbar-transform); }