Files
karma/ui/src/Styles/Components/Flash.scss
T
Łukasz MierzwaandŁukasz Mierzwa 2f74561809 chore(ui): drop react-reveal animations
This library is not maintained anymore and it causes small glitches when rendering a lot of alerts - scrolling groups into view doesn't always trigger animation and they stay hidden.
2020-07-03 17:03:43 +01:00

27 lines
355 B
SCSS

$duration: 800ms;
.components-animation-flash-appear,
.components-animation-flash-enter {
animation-name: flash;
animation-duration: $duration;
animation-timing-function: ease-in-out;
}
@keyframes flash {
0% {
opacity: 1;
}
25% {
opacity: 0;
}
50% {
opacity: 1;
}
75% {
opacity: 0;
}
100% {
opacity: 1;
}
}