mirror of
				https://git.proxmox.com/git/proxmox-widget-toolkit
				synced 2025-11-04 12:29:03 +00:00 
			
		
		
		
	dark-mode: improve contrast on split buttons
this improves the contrast of the little triangle in split buttons, making it stand out more especially when focused. Signed-off-by: Stefan Sterz <s.sterz@proxmox.com>
This commit is contained in:
		
							parent
							
								
									676bb0e001
								
							
						
					
					
						commit
						8020636b24
					
				@ -32,16 +32,16 @@
 | 
			
		||||
    color: $neutral-button-icon-color;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  // the little arrow in certain toolbar buttons with dropdowns
 | 
			
		||||
  .x-btn-wrap-default-toolbar-small.x-btn-arrow-right::after,
 | 
			
		||||
  .x-btn-wrap-default-toolbar-small.x-btn-split-right::after {
 | 
			
		||||
    filter: brightness(150%);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  &.x-btn-over,
 | 
			
		||||
  .x-keyboard-mode &.x-btn-focus {
 | 
			
		||||
    background-color: $neutral-button-color-alt;
 | 
			
		||||
    border-color: $neutral-button-color-alt;
 | 
			
		||||
 | 
			
		||||
    // the little arrow in certain toolbar buttons with dropdowns
 | 
			
		||||
    .x-btn-wrap-default-toolbar-small.x-btn-arrow-right::after,
 | 
			
		||||
    .x-btn-wrap-default-toolbar-small.x-btn-split-right::after {
 | 
			
		||||
      filter: invert($icon-brightness);
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  &.x-btn.x-btn-disabled {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user