Add var when nav-bar needs to know if extra window control space is required

This commit is contained in:
MrOtherGuy 2020-05-23 10:02:21 +03:00
parent 07ccb15825
commit fb48d7981d

View file

@ -5,6 +5,9 @@ See the above repository for updates as well as full license text. */
/* Menubar will be shown when cursor touches top of the spacers on both side of tabs. Window controls will be in menubar, so they are automatically hidden */ /* Menubar will be shown when cursor touches top of the spacers on both side of tabs. Window controls will be in menubar, so they are automatically hidden */
/* Make sure you have menubar enabled */ /* Make sure you have menubar enabled */
#nav-bar-customization-target,
#PanelUI-button,
#nav-bar-overflow-button,
#TabsToolbar > .toolbar-items{ position: relative; z-index: 5; } #TabsToolbar > .toolbar-items{ position: relative; z-index: 5; }
#toolbar-menubar > spacer{ flex-grow: 1 } #toolbar-menubar > spacer{ flex-grow: 1 }
@ -29,4 +32,7 @@ See the above repository for updates as well as full license text. */
background-color: var(--toolbar-bgcolor) !important; background-color: var(--toolbar-bgcolor) !important;
margin-top: 0px; margin-top: 0px;
z-index: 6 z-index: 6
} }
/* This exists only for compatibility reasons with some other styles */
#navigator-toolbox{ --uc-hide-window-control-space: 0 }