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