BetterDiscordApp-v2/client/src/styles/partials/animations.scss

146 lines
2.2 KiB
SCSS
Raw Normal View History

2018-01-20 13:19:54 +01:00
@keyframes bd-slidein {
0% {
transform: translateX(-100%);
opacity: .2;
}
70% {
transform: translateX(0%);
opacity: 1;
}
100% {
transform: translateX(0%);
opacity: 1;
}
}
@keyframes bd-slideout {
0% {
transform: translateX(0%);
opacity: 1;
}
100% {
transform: translateX(-100%);
opacity: .2;
}
}
@keyframes bd-slideoutin {
0% {
transform: translateX(-10%);
opacity: 1;
}
20% {
transform: translateX(-100%);
opacity: .2;
}
70% {
transform: translateX(0%);
opacity: 1;
}
100% {
transform: translateX(-10%);
opacity: 1;
}
}
2018-05-13 05:17:04 +02:00
@keyframes bd-toast-up {
0% {
transform: translateY(10px);
opacity: 0;
}
100% {
transform: translateY(0%);
opacity: 1;
}
}
@keyframes bd-toast-down {
0% {
transform: translateY(0%);
opacity: 1;
}
100% {
transform: translateY(10px);
opacity: 0;
}
}
2018-01-20 13:19:54 +01:00
@keyframes bd-fade-out {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
@keyframes bd-fade-in {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
2018-02-03 22:52:56 +01:00
@keyframes bd-modal-in {
0% { transform: scale(0.8); opacity: 0; }
90% { transform: scale(1.01); opacity: 1; }
100% { transform: scale(1); opacity: 1; }
}
@keyframes bd-modal-out {
0% { transform: scale(1); opacity: 1; }
10% { transform: scale(1.01); opacity: 1; }
90% { opacity: 0; }
100% { transform: scale(0.8); opacity: 0; }
}
@keyframes bd-backdrop-in {
0% { opacity: 0; }
}
@keyframes bd-backdrop-out {
100% { opacity: 0; }
}
@keyframes bd-warn-shake {
10%, 90% {
transform: translate3d(-4px, -4px, 0);
}
20%, 80% {
transform: translate3d(4px, 4px, 0);
}
30%, 50%, 70% {
transform: translate3d(-4px, 4px, 0);
}
40%, 60% {
transform: translate3d(4px, -4px, 0);
}
2018-02-03 22:52:56 +01:00
}
2018-08-10 14:44:33 +02:00
@keyframes bd-pulse {
0% {
opacity: 1;
}
50% {
opacity: .7;
}
100% {
opacity: 1;
}
}