Show window global notificationbox in same order as tab modal

This commit is contained in:
MrOtherGuy 2022-03-27 15:31:59 +03:00
parent d7f813e96b
commit ea17cb7f1f
6 changed files with 22 additions and 5 deletions

View file

@ -95,7 +95,8 @@ See the above repository for updates as well as full license text. */
transform: rotateX(0);
}
/* This makes the tab notification box show immediately below tabs, otherwise it would break the layout */
:where(#titlebar,#tab-notification-deck){
#navigator-toolbox > div{ display: contents }
:where(#titlebar,#tab-notification-deck,.global-notificationbox){
-moz-box-ordinal-group: 0;
}
/* Show when cursor is over popups/context-menus - cannot control which ones */

View file

@ -6,11 +6,11 @@ See the above repository for updates as well as full license text. */
:root{ --uc-navbar-transform: -40px }
:root[uidensity="compact"]{ --uc-navbar-transform: -34px }
:root[sessionrestored] :where(#nav-bar,#PersonalToolbar,#tab-notification-deck){
#navigator-toolbox > div{ display: contents; }
:root[sessionrestored] :where(#nav-bar,#PersonalToolbar,#tab-notification-deck,.global-notificationbox){
transform: translateY(var(--uc-navbar-transform))
}
:root:is([customizing],[chromehidden*="toolbar"]) :where(#nav-bar,#PersonalToolbar,#tab-notification-deck){
:root:is([customizing],[chromehidden*="toolbar"]) :where(#nav-bar,#PersonalToolbar,#tab-notification-deck,.global-notificationbox){
transform: none !important;
opacity: 1 !important;
}

View file

@ -36,8 +36,14 @@ See the above repository for updates as well as full license text. */
:root{ border-top-width: 0px !important }
#main-window > body > box,
#navigator-toolbox{ -moz-box-ordinal-group: 2; border-bottom: 0px !important }
#navigator-toolbox{
-moz-box-ordinal-group: 2;
border-bottom: 0px !important;
}
/* Re-order window and tab notification boxes */
#navigator-toolbox > div{ display: contents }
.global-notificationbox,
#tab-notification-deck{ -moz-box-ordinal-group: 0 }
#titlebar{-moz-appearance: none !important; } /* Try setting to "-moz-window-titlebar" if you face issues */

View file

@ -50,6 +50,9 @@ linux_gtk_window_control_patch.css
-moz-appearance: none !important;
--tabs-navbar-shadow-size: 0px;
}
/* Re-order window and tab notification boxes */
#navigator-toolbox > div{ display: contents }
.global-notificationbox,
#tab-notification-deck{ -moz-box-ordinal-group: 2 }
#TabsToolbar .titlebar-spacer{ display: none; }

View file

@ -22,6 +22,11 @@ See the above repository for updates as well as full license text. */
-moz-window-dragging: drag;
padding-top: calc(var(--uc-menubar-height) + var(--uc-titlebar-padding, 0px)) !important;
}
/* Remove window dragging from notification boxes */
#tab-notification-deck,
.global-notificationbox{
-moz-window-dragging: no-drag;
}
:root[sizemode="fullscreen"] #navigator-toolbox{ padding-top: 0px !important; }
#toolbar-menubar{
position: fixed;

View file

@ -24,6 +24,8 @@ See the above repository for updates as well as full license text. */
:root[sizemode="maximized"][tabsintitlebar] :where(#browser,#customization-container,#toolbar-menubar){ margin-top: 8px }
}
#navigator-toolbox > div{ display: contents }
.global-notificationbox,
#mainPopupSet,
#browser,
#customization-container,