Fix background color transition in destructive buttons

master
Thibaut Girka 6 years ago committed by ThibG
parent f4b038f779
commit a74d300b68
  1. 11
      app/javascript/flavours/glitch/styles/components/index.scss

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

Loading…
Cancel
Save