GTK3: remove titlebutton transitions on backdrop state
This commit is contained in:
		
							parent
							
								
									c2c555603c
								
							
						
					
					
						commit
						7b93fef9a4
					
				| @ -5653,10 +5653,10 @@ button.titlebutton:not(.appmenu) { | |||||||
|     margin-left: 0; } |     margin-left: 0; } | ||||||
|   button.titlebutton:not(.appmenu):last-child { |   button.titlebutton:not(.appmenu):last-child { | ||||||
|     margin-right: 6px; } |     margin-right: 6px; } | ||||||
|   button.titlebutton:not(.appmenu):hover { |   button.titlebutton:not(.appmenu):hover:not(:backdrop) { | ||||||
|     transition: 0; |     transition: 0; | ||||||
|     background: rgba(255, 255, 255, 0.2); |     background: rgba(255, 255, 255, 0.2); | ||||||
|     box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), inset 0 0 0 1px #0d0e11; } |     box-shadow: inset 0 0 0 1px #0d0e11; } | ||||||
|   .maximized button.titlebutton:not(.appmenu):last-child, .fullscreen button.titlebutton:not(.appmenu):last-child, .tiled button.titlebutton:not(.appmenu):last-child, .tiled-top button.titlebutton:not(.appmenu):last-child, .tiled-right button.titlebutton:not(.appmenu):last-child, .tiled-bottom button.titlebutton:not(.appmenu):last-child, .tiled-left button.titlebutton:not(.appmenu):last-child { |   .maximized button.titlebutton:not(.appmenu):last-child, .fullscreen button.titlebutton:not(.appmenu):last-child, .tiled button.titlebutton:not(.appmenu):last-child, .tiled-top button.titlebutton:not(.appmenu):last-child, .tiled-right button.titlebutton:not(.appmenu):last-child, .tiled-bottom button.titlebutton:not(.appmenu):last-child, .tiled-left button.titlebutton:not(.appmenu):last-child { | ||||||
|     margin-right: 0; } |     margin-right: 0; } | ||||||
|   .maximized button.titlebutton:not(.appmenu):first-child, .fullscreen button.titlebutton:not(.appmenu):first-child, .tiled button.titlebutton:not(.appmenu):first-child, .tiled-top button.titlebutton:not(.appmenu):first-child, .tiled-right button.titlebutton:not(.appmenu):first-child, .tiled-bottom button.titlebutton:not(.appmenu):first-child, .tiled-left button.titlebutton:not(.appmenu):first-child { |   .maximized button.titlebutton:not(.appmenu):first-child, .fullscreen button.titlebutton:not(.appmenu):first-child, .tiled button.titlebutton:not(.appmenu):first-child, .tiled-top button.titlebutton:not(.appmenu):first-child, .tiled-right button.titlebutton:not(.appmenu):first-child, .tiled-bottom button.titlebutton:not(.appmenu):first-child, .tiled-left button.titlebutton:not(.appmenu):first-child { | ||||||
|  | |||||||
| @ -5653,10 +5653,10 @@ button.titlebutton:not(.appmenu) { | |||||||
|     margin-left: 0; } |     margin-left: 0; } | ||||||
|   button.titlebutton:not(.appmenu):last-child { |   button.titlebutton:not(.appmenu):last-child { | ||||||
|     margin-right: 6px; } |     margin-right: 6px; } | ||||||
|   button.titlebutton:not(.appmenu):hover { |   button.titlebutton:not(.appmenu):hover:not(:backdrop) { | ||||||
|     transition: 0; |     transition: 0; | ||||||
|     background: rgba(255, 255, 255, 0.2); |     background: rgba(255, 255, 255, 0.2); | ||||||
|     box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), inset 0 0 0 1px #0d0e11; } |     box-shadow: inset 0 0 0 1px #0d0e11; } | ||||||
|   .maximized button.titlebutton:not(.appmenu):last-child, .fullscreen button.titlebutton:not(.appmenu):last-child, .tiled button.titlebutton:not(.appmenu):last-child, .tiled-top button.titlebutton:not(.appmenu):last-child, .tiled-right button.titlebutton:not(.appmenu):last-child, .tiled-bottom button.titlebutton:not(.appmenu):last-child, .tiled-left button.titlebutton:not(.appmenu):last-child { |   .maximized button.titlebutton:not(.appmenu):last-child, .fullscreen button.titlebutton:not(.appmenu):last-child, .tiled button.titlebutton:not(.appmenu):last-child, .tiled-top button.titlebutton:not(.appmenu):last-child, .tiled-right button.titlebutton:not(.appmenu):last-child, .tiled-bottom button.titlebutton:not(.appmenu):last-child, .tiled-left button.titlebutton:not(.appmenu):last-child { | ||||||
|     margin-right: 0; } |     margin-right: 0; } | ||||||
|   .maximized button.titlebutton:not(.appmenu):first-child, .fullscreen button.titlebutton:not(.appmenu):first-child, .tiled button.titlebutton:not(.appmenu):first-child, .tiled-top button.titlebutton:not(.appmenu):first-child, .tiled-right button.titlebutton:not(.appmenu):first-child, .tiled-bottom button.titlebutton:not(.appmenu):first-child, .tiled-left button.titlebutton:not(.appmenu):first-child { |   .maximized button.titlebutton:not(.appmenu):first-child, .fullscreen button.titlebutton:not(.appmenu):first-child, .tiled button.titlebutton:not(.appmenu):first-child, .tiled-top button.titlebutton:not(.appmenu):first-child, .tiled-right button.titlebutton:not(.appmenu):first-child, .tiled-bottom button.titlebutton:not(.appmenu):first-child, .tiled-left button.titlebutton:not(.appmenu):first-child { | ||||||
|  | |||||||
| @ -5674,10 +5674,10 @@ button.titlebutton:not(.appmenu) { | |||||||
|     margin-left: 0; } |     margin-left: 0; } | ||||||
|   button.titlebutton:not(.appmenu):last-child { |   button.titlebutton:not(.appmenu):last-child { | ||||||
|     margin-right: 6px; } |     margin-right: 6px; } | ||||||
|   button.titlebutton:not(.appmenu):hover { |   button.titlebutton:not(.appmenu):hover:not(:backdrop) { | ||||||
|     transition: 0; |     transition: 0; | ||||||
|     background: rgba(255, 255, 255, 0.2); |     background: rgba(255, 255, 255, 0.2); | ||||||
|     box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), inset 0 0 0 1px #d9d9d9; } |     box-shadow: inset 0 0 0 1px #d9d9d9; } | ||||||
|   .maximized button.titlebutton:not(.appmenu):last-child, .fullscreen button.titlebutton:not(.appmenu):last-child, .tiled button.titlebutton:not(.appmenu):last-child, .tiled-top button.titlebutton:not(.appmenu):last-child, .tiled-right button.titlebutton:not(.appmenu):last-child, .tiled-bottom button.titlebutton:not(.appmenu):last-child, .tiled-left button.titlebutton:not(.appmenu):last-child { |   .maximized button.titlebutton:not(.appmenu):last-child, .fullscreen button.titlebutton:not(.appmenu):last-child, .tiled button.titlebutton:not(.appmenu):last-child, .tiled-top button.titlebutton:not(.appmenu):last-child, .tiled-right button.titlebutton:not(.appmenu):last-child, .tiled-bottom button.titlebutton:not(.appmenu):last-child, .tiled-left button.titlebutton:not(.appmenu):last-child { | ||||||
|     margin-right: 0; } |     margin-right: 0; } | ||||||
|   .maximized button.titlebutton:not(.appmenu):first-child, .fullscreen button.titlebutton:not(.appmenu):first-child, .tiled button.titlebutton:not(.appmenu):first-child, .tiled-top button.titlebutton:not(.appmenu):first-child, .tiled-right button.titlebutton:not(.appmenu):first-child, .tiled-bottom button.titlebutton:not(.appmenu):first-child, .tiled-left button.titlebutton:not(.appmenu):first-child { |   .maximized button.titlebutton:not(.appmenu):first-child, .fullscreen button.titlebutton:not(.appmenu):first-child, .tiled button.titlebutton:not(.appmenu):first-child, .tiled-top button.titlebutton:not(.appmenu):first-child, .tiled-right button.titlebutton:not(.appmenu):first-child, .tiled-bottom button.titlebutton:not(.appmenu):first-child, .tiled-left button.titlebutton:not(.appmenu):first-child { | ||||||
|  | |||||||
| @ -477,10 +477,10 @@ button.titlebutton:not(.appmenu) { | |||||||
|   & + & { margin-left: 0; } |   & + & { margin-left: 0; } | ||||||
|   &:last-child { margin-right: 6px; } |   &:last-child { margin-right: 6px; } | ||||||
| 
 | 
 | ||||||
|   &:hover { |   &:hover:not(:backdrop) { | ||||||
|     transition: 0; |     transition: 0; | ||||||
|     background: transparentize(white, .8); |     background: transparentize(white, .8); | ||||||
|     box-shadow: 0 1px 1px $shadow_color, inset 0 0 0 1px $borders_color; |     box-shadow: inset 0 0 0 1px $borders_color; | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   @at-root |   @at-root | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Daniel Ruiz de Alegría
						Daniel Ruiz de Alegría