feat: add closing animation to all modal dialogs and fix drag-dismiss bug

This commit is contained in:
Xiaohan-Tian
2026-04-20 00:36:32 -07:00
parent 778c0236b6
commit 55861cf3cd
6 changed files with 154 additions and 35 deletions
@@ -39,6 +39,30 @@
}
}
@keyframes openProjectFadeOut {
from {
opacity: 1;
transform: scale(1) translateY(0);
}
to {
opacity: 0;
transform: scale(0.95) translateY(-10px);
}
}
@keyframes openProjectOverlayFadeOut {
from { opacity: 1; }
to { opacity: 0; }
}
.open-project-overlay-closing {
animation: openProjectOverlayFadeOut 0.15s ease-in forwards;
}
.open-project-panel-closing {
animation: openProjectFadeOut 0.15s ease-in forwards;
}
/* Header */
.open-project-header {
display: flex;