Fix background color transition in destructive buttons

lolsob-rspec
Thibaut Girka 2019-03-28 20:30:30 +01:00 committed by ThibG
parent 4211c9b8d3
commit b29731bb10
1 changed files with 11 additions and 0 deletions

View File

@ -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;