Move window control placeholder styles to shared stylesheet
This commit is contained in:
		
							parent
							
								
									feba8a6403
								
							
						
					
					
						commit
						5e46b7a0a3
					
				
					 10 changed files with 140 additions and 73 deletions
				
			
		
							
								
								
									
										13
									
								
								chrome/window_control_placeholder_support.css
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								chrome/window_control_placeholder_support.css
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,13 @@
 | 
			
		|||
/* Creates placeholders for window controls */
 | 
			
		||||
/* For window controls on RIGHT side of the window */
 | 
			
		||||
/* This is a supporting file used by other stylesheets */
 | 
			
		||||
 | 
			
		||||
:root{
 | 
			
		||||
  --uc-window-control-width: 138px;
 | 
			
		||||
  --uc-window-drag-space-width: 24px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
:root[tabsintitlebar="true"]:not([inFullscreen]) #nav-bar{
 | 
			
		||||
  padding-right: calc(var(--uc-window-control-width) + var(--uc-window-drag-space-width,0px));
 | 
			
		||||
  padding-left: var(--window-drag-space-width);
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue