mirror of
				https://codeberg.org/claui/mobile-config-firefox.git
				synced 2025-11-04 04:25:55 +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);
 | 
			
		||||
}
 | 
			
		||||
/* 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 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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; }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue