mirror of
https://github.com/makeplane/plane
synced 2025-08-07 19:59:33 +00:00
88 lines
1.3 KiB
CSS
88 lines
1.3 KiB
CSS
/* Lock icon animations */
|
|
@keyframes textSlideIn {
|
|
0% {
|
|
opacity: 0;
|
|
transform: translateX(-8px);
|
|
max-width: 0px;
|
|
}
|
|
40% {
|
|
opacity: 0.7;
|
|
max-width: 60px;
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
max-width: 60px;
|
|
}
|
|
}
|
|
|
|
@keyframes textFadeOut {
|
|
0% {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
100% {
|
|
opacity: 0;
|
|
transform: translateX(8px);
|
|
}
|
|
}
|
|
|
|
@keyframes lockIconAnimation {
|
|
0% {
|
|
transform: rotate(-5deg) scale(1);
|
|
}
|
|
25% {
|
|
transform: rotate(0deg) scale(1.15);
|
|
}
|
|
50% {
|
|
transform: rotate(5deg) scale(1.08);
|
|
}
|
|
100% {
|
|
transform: rotate(0deg) scale(1);
|
|
}
|
|
}
|
|
|
|
@keyframes unlockIconAnimation {
|
|
0% {
|
|
transform: rotate(0deg) scale(1);
|
|
}
|
|
40% {
|
|
transform: rotate(-8deg) scale(1.15);
|
|
}
|
|
80% {
|
|
transform: rotate(3deg) scale(1.05);
|
|
}
|
|
100% {
|
|
transform: rotate(0deg) scale(1);
|
|
}
|
|
}
|
|
|
|
@keyframes fadeOut {
|
|
0% {
|
|
opacity: 1;
|
|
}
|
|
100% {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
.animate-text-slide-in {
|
|
animation: textSlideIn 400ms ease-out forwards;
|
|
}
|
|
|
|
.animate-text-fade-out {
|
|
animation: textFadeOut 600ms ease-in 300ms forwards;
|
|
}
|
|
|
|
.animate-lock-icon {
|
|
animation: lockIconAnimation 600ms ease-out forwards;
|
|
}
|
|
|
|
.animate-unlock-icon {
|
|
animation: unlockIconAnimation 600ms ease-out forwards;
|
|
}
|
|
|
|
.animate-fade-out {
|
|
animation: fadeOut 500ms ease-in 100ms forwards;
|
|
}
|