toolbars_below_content: make it able to drag the window from menubar
Dragging the window is still disabled when using only autohide_menubar.css. But if you use both then dragging menubar should work.
This commit is contained in:
		
							parent
							
								
									0bc77cc515
								
							
						
					
					
						commit
						19c1452193
					
				
					 2 changed files with 9 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -19,6 +19,8 @@ See the above repository for updates as well as full license text. */
 | 
			
		|||
 | 
			
		||||
#TabsToolbar > .titlebar-spacer{ display: -moz-box !important; }
 | 
			
		||||
 | 
			
		||||
:where(#toolbar-menubar){ -moz-window-dragging: no-drag; }
 | 
			
		||||
 | 
			
		||||
#toolbar-menubar:not([customizing]){
 | 
			
		||||
  --uc-menubar-height: 34px;
 | 
			
		||||
  position: fixed;
 | 
			
		||||
| 
						 | 
				
			
			@ -28,7 +30,6 @@ See the above repository for updates as well as full license text. */
 | 
			
		|||
  /* --uc-menubar-extra-margin is defined in toolbars_below_content.css */
 | 
			
		||||
  margin-top: calc(var(--uc-menubar-spacer) - var(--uc-menubar-height) + var(--uc-menubar-extra-margin,0px));
 | 
			
		||||
  transition: margin-top 150ms linear !important;
 | 
			
		||||
  -moz-window-dragging: no-drag;
 | 
			
		||||
  z-index:4;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -34,7 +34,13 @@ See the above repository for updates as well as full license text. */
 | 
			
		|||
  /* 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; }
 | 
			
		||||
  #toolbar-menubar{
 | 
			
		||||
    position: fixed;
 | 
			
		||||
    display: flex;
 | 
			
		||||
    width: 100vw;
 | 
			
		||||
    top: 0px;
 | 
			
		||||
    -moz-window-dragging: drag;
 | 
			
		||||
  }
 | 
			
		||||
  /* Remove bottom border that won't do anything useful when at bottom of the window */
 | 
			
		||||
  #navigator-toolbox{ border-bottom: none !important; }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue