make #tab-notification-deck always be closest "toolbar" to content

This commit is contained in:
MrOtherGuy 2021-11-06 22:23:29 +02:00
parent 1a9cbceb7c
commit fe534d6224
3 changed files with 13 additions and 6 deletions

View file

@ -28,12 +28,14 @@ See the above repository for updates as well as full license text. */
@media (-moz-os-version: windows-win7),(-moz-os-version: windows-win10){
:root[sizemode="maximized"]{ --multirow-top-padding: 8px }
}
:root[uidensity="compact"]{--multirow-toolbar-height: 32px}
:root[uidensity="compact"]{--multirow-toolbar-height: 34px}
:root{ border-top-width: 0px !important }
#main-window > body > box,
#navigator-toolbox{ -moz-box-ordinal-group: 2; border-bottom: 0px !important }
#tab-notification-deck{ -moz-box-ordinal-group: 0 }
#titlebar{-moz-appearance: none !important; } /* Try setting to "-moz-window-titlebar" if you face issues */
#nav-bar{
@ -45,6 +47,7 @@ See the above repository for updates as well as full license text. */
width: calc(100vw - 30px);
top: var(--multirow-top-padding);
}
#nav-bar-customization-target{ -webkit-box-flex: 1 }
:root[inFullscreen] #nav-bar,
:root[tabsintitlebar] #nav-bar{
margin-right: 138px;

View file

@ -46,8 +46,8 @@ linux_gtk_window_control_patch.css
-moz-appearance: none !important;
--tabs-navbar-shadow-size: 0px;
}
#tab-notification-deck{ -moz-box-ordinal-group: 2 }
.titlebar-placeholder,
#TabsToolbar .titlebar-spacer{ display: none; }
/* Also hide the toolbox bottom border which isn't at bottom with this setup */
#navigator-toolbox::after{ display: none !important; }
@ -60,7 +60,7 @@ toolbox#navigator-toolbox > toolbar#nav-bar.browser-toolbar{ animation: none; }
#TabsToolbar > .titlebar-buttonbox-container{ visibility: visible }
#navigator-toolbox:not(:-moz-lwtheme){ background-color: -moz-dialog }
/* Uncomment the following if you want bookamarks toolbar to be below tabs */
/* Uncomment the following if you want bookmarks toolbar to be below tabs */
/*
#PersonalToolbar{ -moz-box-ordinal-group: 2 }
*/

View file

@ -18,9 +18,13 @@ See the above repository for updates as well as full license text. */
#mainPopupSet,
#browser,
#customization-container
,#nav-bar, #PersonalToolbar/* Remove this row if you want tabs to be the top-most row */
{ -moz-box-ordinal-group: 0 }
#customization-container,
#tab-notification-deck{
-moz-box-ordinal-group: 0
}
/* Remove the next row if you want tabs to be the top-most row */
#titlebar{ -moz-box-ordinal-group: 2 }
#toolbar-menubar{ position: fixed; display: flex; width: 100vw; top: 0px; }
/* Remove bottom border that won't do anything useful when at bottom of the window */