feat: add closing animation to all modal dialogs and fix drag-dismiss bug
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user