mirror of
				https://github.com/horst3180/arc-theme.git
				synced 2025-06-13 12:53:52 +00:00 
			
		
		
		
	See details in nav_button_provider_gtk3.cc of Chromium source. Those titlebutton sizes should be equal to Gtk.IconSize.MENU if Gtk+ themes provided the customed titlebutton icon images. * Set min-width/height as 16px without any padding. * Move CSD-titlebutton horizontal spacing from padding to outer margins. This should fix the issue: #62
This commit is contained in:
		
							parent
							
								
									906add80b4
								
							
						
					
					
						commit
						1eee9b816f
					
				| @ -805,3 +805,15 @@ SwitchboardCategoryView .view:selected, | ||||
| SwitchboardCategoryView .view:selected:focus { | ||||
|   color: $fg_color; | ||||
| } | ||||
| 
 | ||||
| // | ||||
| // Chromium | ||||
| // | ||||
| GtkWindow.background.chromium { | ||||
|   // See details in nav_button_provider_gtk3.cc | ||||
|   .header-bar.titlebar .button.titlebutton { | ||||
|     // move button spacing from padding to margin | ||||
|     margin: 0px ((24px - 16px) / 2); | ||||
|     padding: 0px; | ||||
|   } | ||||
| } | ||||
|  | ||||
| @ -903,3 +903,17 @@ panel-toplevel.background { | ||||
| //SwitchboardCategoryView .view:selected:focus { | ||||
| //  color: $fg_color; | ||||
| //} | ||||
| 
 | ||||
| // | ||||
| // Chromium | ||||
| // | ||||
| window.background.chromium { | ||||
|   // See details in nav_button_provider_gtk3.cc | ||||
|   headerbar.titlebar button.titlebutton { | ||||
|     min-width: 16px; | ||||
|     min-height: 16px; | ||||
|     // move button spacing from padding to margin | ||||
|     margin: 0px ((24px - 16px) / 2); | ||||
|     padding: 0px; | ||||
|   } | ||||
| } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user