Fix background color transition in destructive buttons
This commit is contained in:
		
							parent
							
								
									f4b038f779
								
							
						
					
					
						commit
						a74d300b68
					
				@ -35,6 +35,17 @@
 | 
				
			|||||||
    transition: all 200ms ease-out;
 | 
					    transition: all 200ms ease-out;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  &--destructive {
 | 
				
			||||||
 | 
					    transition: none;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    &:active,
 | 
				
			||||||
 | 
					    &:focus,
 | 
				
			||||||
 | 
					    &:hover {
 | 
				
			||||||
 | 
					      background-color: $error-red;
 | 
				
			||||||
 | 
					      transition: none;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  &:disabled {
 | 
					  &:disabled {
 | 
				
			||||||
    background-color: $ui-primary-color;
 | 
					    background-color: $ui-primary-color;
 | 
				
			||||||
    cursor: default;
 | 
					    cursor: default;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user