mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 15:11:31 +08:00 
			
		
		
		
	Add an active state transition for the new tab button
This commit is contained in:
		
							parent
							
								
									fefb79a7ae
								
							
						
					
					
						commit
						7bba991336
					
				@ -566,6 +566,17 @@
 | 
				
			|||||||
    transition: color 100ms ease-in,
 | 
					    transition: color 100ms ease-in,
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.tab-row-widget .note-new-tab:before,
 | 
				
			||||||
 | 
					.tab-row-widget .note-new-tab:after {
 | 
				
			||||||
 | 
					    will-change: transform;
 | 
				
			||||||
 | 
					    transition: transform 300ms ease-in;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.tab-row-widget .note-new-tab:active:before,
 | 
				
			||||||
 | 
					.tab-row-widget .note-new-tab:active:after {
 | 
				
			||||||
 | 
					    transform: scale(.85);
 | 
				
			||||||
 | 
					    transition: transform 75ms ease-out;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * Center pane
 | 
					 * Center pane
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user