GTK3: remove hover animation for link buttons
This commit is contained in:
		
							parent
							
								
									2f2d7de99d
								
							
						
					
					
						commit
						67a1d5ae86
					
				| @ -5088,14 +5088,14 @@ window.csd.unified:not(.solid-csd):not(.fullscreen):not(.tiled):not(.tiled-top): | ||||
| headerbar stackswitcher button:checked:active, | ||||
| headerbar stackswitcher button:checked:checked, | ||||
| headerbar button.toggle:active, | ||||
| headerbar button.toggle:checked, button.flat:hover:not(:backdrop), button:active, button:checked { | ||||
| headerbar button.toggle:checked, button.flat:hover:not(:backdrop):not(:link):not(:visited), button:active, button:checked { | ||||
|   background: #1b1d24; | ||||
|   box-shadow: inset 0 3px 5px -4px rgba(0, 0, 0, 0.3); } | ||||
| 
 | ||||
| button.flat { | ||||
|   border-color: transparent; | ||||
|   transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); } | ||||
|   button.flat:hover:not(:backdrop) { | ||||
|   button.flat:hover:not(:backdrop):not(:link):not(:visited) { | ||||
|     transition: none; } | ||||
| 
 | ||||
| /********** | ||||
|  | ||||
| @ -5088,14 +5088,14 @@ window.csd.unified:not(.solid-csd):not(.fullscreen):not(.tiled):not(.tiled-top): | ||||
| headerbar stackswitcher button:checked:active, | ||||
| headerbar stackswitcher button:checked:checked, | ||||
| headerbar button.toggle:active, | ||||
| headerbar button.toggle:checked, button.flat:hover:not(:backdrop), button:active, button:checked { | ||||
| headerbar button.toggle:checked, button.flat:hover:not(:backdrop):not(:link):not(:visited), button:active, button:checked { | ||||
|   background: #1b1d24; | ||||
|   box-shadow: inset 0 3px 5px -4px rgba(0, 0, 0, 0.3); } | ||||
| 
 | ||||
| button.flat { | ||||
|   border-color: transparent; | ||||
|   transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); } | ||||
|   button.flat:hover:not(:backdrop) { | ||||
|   button.flat:hover:not(:backdrop):not(:link):not(:visited) { | ||||
|     transition: none; } | ||||
| 
 | ||||
| /********** | ||||
|  | ||||
| @ -5110,14 +5110,14 @@ window.csd.unified:not(.solid-csd):not(.fullscreen):not(.tiled):not(.tiled-top): | ||||
| headerbar stackswitcher button:checked:active, | ||||
| headerbar stackswitcher button:checked:checked, | ||||
| headerbar button.toggle:active, | ||||
| headerbar button.toggle:checked, button.flat:hover:not(:backdrop), button:active, button:checked { | ||||
| headerbar button.toggle:checked, button.flat:hover:not(:backdrop):not(:link):not(:visited), button:active, button:checked { | ||||
|   background: #f2f2f2; | ||||
|   box-shadow: inset 0 3px 5px -4px rgba(0, 0, 0, 0.1); } | ||||
| 
 | ||||
| button.flat { | ||||
|   border-color: transparent; | ||||
|   transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); } | ||||
|   button.flat:hover:not(:backdrop) { | ||||
|   button.flat:hover:not(:backdrop):not(:link):not(:visited) { | ||||
|     transition: none; } | ||||
| 
 | ||||
| /********** | ||||
|  | ||||
| @ -31,7 +31,7 @@ button { | ||||
|     border-color: transparent; | ||||
|     transition: $button_transition; | ||||
| 
 | ||||
|     &:hover:not(:backdrop) { | ||||
|     &:hover:not(:backdrop):not(:link):not(:visited) { | ||||
|       @extend %button_active; | ||||
|       transition: none; | ||||
|     } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Daniel Ruiz de Alegría
						Daniel Ruiz de Alegría