mirror of
https://codeberg.org/claui/mobile-config-firefox.git
synced 2024-11-13 21:00:16 +00:00
Show window global notificationbox in same order as tab modal
This commit is contained in:
parent
d7f813e96b
commit
ea17cb7f1f
6 changed files with 22 additions and 5 deletions
|
@ -95,7 +95,8 @@ See the above repository for updates as well as full license text. */
|
||||||
transform: rotateX(0);
|
transform: rotateX(0);
|
||||||
}
|
}
|
||||||
/* This makes the tab notification box show immediately below tabs, otherwise it would break the layout */
|
/* 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;
|
-moz-box-ordinal-group: 0;
|
||||||
}
|
}
|
||||||
/* Show when cursor is over popups/context-menus - cannot control which ones */
|
/* Show when cursor is over popups/context-menus - cannot control which ones */
|
||||||
|
|
|
@ -6,11 +6,11 @@ See the above repository for updates as well as full license text. */
|
||||||
:root{ --uc-navbar-transform: -40px }
|
:root{ --uc-navbar-transform: -40px }
|
||||||
:root[uidensity="compact"]{ --uc-navbar-transform: -34px }
|
: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))
|
transform: translateY(var(--uc-navbar-transform))
|
||||||
}
|
}
|
||||||
|
:root:is([customizing],[chromehidden*="toolbar"]) :where(#nav-bar,#PersonalToolbar,#tab-notification-deck,.global-notificationbox){
|
||||||
:root:is([customizing],[chromehidden*="toolbar"]) :where(#nav-bar,#PersonalToolbar,#tab-notification-deck){
|
|
||||||
transform: none !important;
|
transform: none !important;
|
||||||
opacity: 1 !important;
|
opacity: 1 !important;
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,8 +36,14 @@ See the above repository for updates as well as full license text. */
|
||||||
:root{ border-top-width: 0px !important }
|
:root{ border-top-width: 0px !important }
|
||||||
|
|
||||||
#main-window > body > box,
|
#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 }
|
#tab-notification-deck{ -moz-box-ordinal-group: 0 }
|
||||||
|
|
||||||
#titlebar{-moz-appearance: none !important; } /* Try setting to "-moz-window-titlebar" if you face issues */
|
#titlebar{-moz-appearance: none !important; } /* Try setting to "-moz-window-titlebar" if you face issues */
|
||||||
|
|
|
@ -50,6 +50,9 @@ linux_gtk_window_control_patch.css
|
||||||
-moz-appearance: none !important;
|
-moz-appearance: none !important;
|
||||||
--tabs-navbar-shadow-size: 0px;
|
--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 }
|
#tab-notification-deck{ -moz-box-ordinal-group: 2 }
|
||||||
|
|
||||||
#TabsToolbar .titlebar-spacer{ display: none; }
|
#TabsToolbar .titlebar-spacer{ display: none; }
|
||||||
|
|
|
@ -22,6 +22,11 @@ See the above repository for updates as well as full license text. */
|
||||||
-moz-window-dragging: drag;
|
-moz-window-dragging: drag;
|
||||||
padding-top: calc(var(--uc-menubar-height) + var(--uc-titlebar-padding, 0px)) !important;
|
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; }
|
:root[sizemode="fullscreen"] #navigator-toolbox{ padding-top: 0px !important; }
|
||||||
#toolbar-menubar{
|
#toolbar-menubar{
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
|
|
@ -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 }
|
:root[sizemode="maximized"][tabsintitlebar] :where(#browser,#customization-container,#toolbar-menubar){ margin-top: 8px }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#navigator-toolbox > div{ display: contents }
|
||||||
|
.global-notificationbox,
|
||||||
#mainPopupSet,
|
#mainPopupSet,
|
||||||
#browser,
|
#browser,
|
||||||
#customization-container,
|
#customization-container,
|
||||||
|
|
Loading…
Reference in a new issue