feat: add opacity change to window anim

This commit is contained in:
dusk 2024-09-24 01:13:54 +03:00
parent f94170f48b
commit 6b43208e49
Signed by: dusk
SSH Key Fingerprint: SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw

View File

@ -212,36 +212,51 @@ a.app-selected-route {
@keyframes window-open-scale { @keyframes window-open-scale {
0% { 0% {
transform: scale(0.0); transform: scale(0.0);
opacity: 0.0;
} }
30% { 30% {
transform: scale(0.0); transform: scale(0.0);
} }
60% {
opacity: 0.5;
}
100% { 100% {
transform: scale(1.0); transform: scale(1.0);
opacity: 1.0;
} }
} }
@keyframes window-open-scale-vertical { @keyframes window-open-scale-vertical {
0% { 0% {
transform: scale(1.0, 0.0); transform: scale(1.0, 0.0);
opacity: 0.0;
} }
30% { 30% {
transform: scale(1.0, 0.0); transform: scale(1.0, 0.0);
} }
60% {
opacity: 0.5;
}
100% { 100% {
transform: scale(1.0, 1.0); transform: scale(1.0, 1.0);
opacity: 1.0;
} }
} }
@keyframes window-open-scale-horizontal { @keyframes window-open-scale-horizontal {
0% { 0% {
transform: scale(0.0, 1.0); transform: scale(0.0, 1.0);
opacity: 0.0;
} }
30% { 30% {
transform: scale(0.0, 1.0); transform: scale(0.0, 1.0);
} }
60% {
opacity: 0.5;
}
100% { 100% {
transform: scale(1.0, 1.0); transform: scale(1.0, 1.0);
opacity: 1.0;
} }
} }
} }