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 */
/* Make sure you have menubar enabled */
#nav-bar-customization-target,
#PanelUI-button,
#nav-bar-overflow-button,
#TabsToolbar > .toolbar-items{ position: relative; z-index: 5; }
#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;
margin-top: 0px;
z-index: 6
}
}
/* This exists only for compatibility reasons with some other styles */
#navigator-toolbox{ --uc-hide-window-control-space: 0 }