mirror of
				https://codeberg.org/claui/mobile-config-firefox.git
				synced 2025-11-03 12:05:55 +00:00 
			
		
		
		
	rewrite - draw titlebar horizontally so height of menubar doesn't matter
This commit is contained in:
		
							parent
							
								
									59bee65e7b
								
							
						
					
					
						commit
						4bf73e9296
					
				
					 1 changed files with 10 additions and 9 deletions
				
			
		| 
						 | 
				
			
			@ -1,14 +1,15 @@
 | 
			
		|||
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/menubar_in_tabs_toolbar.css made available under Mozilla Public License v. 2.0
 | 
			
		||||
See the above repository for updates as well as full license text. */
 | 
			
		||||
 | 
			
		||||
/* Makes menubar to appear in tabs toolbar pushing tabs to the side */
 | 
			
		||||
#toolbar-menubar:not([inactive]) ~ #TabsToolbar{
 | 
			
		||||
  margin-left:300px !important;
 | 
			
		||||
  margin-top: -26px !important;
 | 
			
		||||
}
 | 
			
		||||
:root[sizemode="maximized"] #toolbar-menubar:not([inactive]) ~ #TabsToolbar{
 | 
			
		||||
  margin-top: -28px !important;
 | 
			
		||||
:root:not([customizing]) #titlebar{ -moz-box-orient: horizontal }
 | 
			
		||||
#toolbar-menubar > .titlebar-buttonbox-container,
 | 
			
		||||
#toolbar-menubar > spacer{ display: none; }
 | 
			
		||||
 | 
			
		||||
#toolbar-menubar{ -moz-box-align: center }
 | 
			
		||||
:root:not([customizing]) #toolbar-menubar[autohide][inactive]{ max-width: 0 }
 | 
			
		||||
 | 
			
		||||
#TabsToolbar > .titlebar-buttonbox-container{
 | 
			
		||||
  display: -moz-box !important;
 | 
			
		||||
  visibility: visible !important;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#toolbar-menubar >  .titlebar-buttonbox-container{ display: none }
 | 
			
		||||
#TabsToolbar > .titlebar-buttonbox-container{ display: -moz-box !important; visibility: visible !important; }
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue