Show titlebar-buttonbox if it's last-child, and make it use --toolbar-color
Using --toolbar-color allow the icons to show up if the selected theme has light tabs but dark toolbar, and vice versa. In 95 there is no separate #window-controls for fullscreen, and thus the titlebar-buttonbox-container becomes last-child which we don't want to hide.
This commit is contained in:
		
							parent
							
								
									7801318d78
								
							
						
					
					
						commit
						b1125f81ff
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -34,8 +34,8 @@ See the above repository for updates as well as full license text. */
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
/* macOS settings are further below */
 | 
			
		||||
 | 
			
		||||
:root[sizemode="fullscreen"] .titlebar-buttonbox-container{ display: none !important }
 | 
			
		||||
.titlebar-buttonbox, #window-controls{ color: var(--toolbar-color) }
 | 
			
		||||
:root[sizemode="fullscreen"] .titlebar-buttonbox-container:not(:last-child){ display: none !important }
 | 
			
		||||
:root[sizemode="fullscreen"] #navigator-toolbox { position: relative; }
 | 
			
		||||
:root[sizemode="fullscreen"] #window-controls{
 | 
			
		||||
  position: absolute;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue