mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-29 15:56:43 -06:00
47 lines
918 B
Stylus
47 lines
918 B
Stylus
.zoom-in-top-enter-active,
|
|
.zoom-in-top-leave-active {
|
|
opacity: 1;
|
|
transform: scaleY(1);
|
|
transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1), opacity 300ms cubic-bezier(0.23, 1, 0.32, 1);
|
|
transform-origin: center top;
|
|
}
|
|
.zoom-in-top-enter,
|
|
.zoom-in-top-leave-active {
|
|
opacity: 0;
|
|
transform: scaleY(0);
|
|
}
|
|
|
|
.entranceFromTop {
|
|
animation-duration: 0.5s;
|
|
animation-name: entranceFromTop;
|
|
}
|
|
|
|
@keyframes entranceFromTop {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-64px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|
|
|
|
@keyframes jump {
|
|
0% { transform: translateY(0); }
|
|
25% { transform: translateY(-16px); }
|
|
50% { transform: translateY(0); }
|
|
75% { transform: translateY(-8px); }
|
|
100% { transform: translateY(0); }
|
|
}
|
|
|
|
@keyframes blink {
|
|
0% { opacity: 1; }
|
|
30% { opacity: 1; }
|
|
90% { opacity: 0; }
|
|
}
|