RegularToot: remove top and bottom margin
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				/ depoly (push) Successful in 1m18s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	/ depoly (push) Successful in 1m18s
				
			* TootActionGroup: improved animation
This commit is contained in:
		
							parent
							
								
									1c8a3f0bbb
								
							
						
					
					
						commit
						0c7cb920f5
					
				
					 2 changed files with 11 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -9,8 +9,6 @@
 | 
			
		|||
 | 
			
		||||
 | 
			
		||||
  transition:
 | 
			
		||||
    margin-top 60ms var(--tutu-anim-curve-sharp),
 | 
			
		||||
    margin-bottom 60ms var(--tutu-anim-curve-sharp),
 | 
			
		||||
    height 60ms var(--tutu-anim-curve-sharp),
 | 
			
		||||
    var(--tutu-transition-shadow);
 | 
			
		||||
  border-radius: 0;
 | 
			
		||||
| 
						 | 
				
			
			@ -36,7 +34,7 @@
 | 
			
		|||
  }
 | 
			
		||||
 | 
			
		||||
  &.expanded {
 | 
			
		||||
    margin-block: 20px;
 | 
			
		||||
    z-index: calc(var(--tutu-zidx-nav) - 1);
 | 
			
		||||
    box-shadow: var(--tutu-shadow-e9);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2,7 +2,7 @@
 | 
			
		|||
  padding-block: calc((var(--card-gut) - 10px) / 2);
 | 
			
		||||
  contain: layout style;
 | 
			
		||||
 | 
			
		||||
  animation: 225ms var(--tutu-anim-curve-std) TootActionGroup_fade-in;
 | 
			
		||||
  animation: 125ms var(--tutu-anim-curve-std) TootActionGroup_fade-in;
 | 
			
		||||
  display: flex;
 | 
			
		||||
  flex-flow: row wrap;
 | 
			
		||||
  justify-content: space-evenly;
 | 
			
		||||
| 
						 | 
				
			
			@ -32,10 +32,18 @@
 | 
			
		|||
 | 
			
		||||
@keyframes TootActionGroup_fade-in {
 | 
			
		||||
  0% {
 | 
			
		||||
    opacity: 0;
 | 
			
		||||
    opacity: 0.5;
 | 
			
		||||
    transform: translateY(-10px);
 | 
			
		||||
    margin-bottom: -20px;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  25% {
 | 
			
		||||
    margin-bottom: 0;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  100% {
 | 
			
		||||
    opacity: 1;
 | 
			
		||||
    transform: translateY(0);
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue