diff --git a/app/components/DesktopIcon.vue b/app/components/DesktopIcon.vue index 31d056f..7e38abd 100644 --- a/app/components/DesktopIcon.vue +++ b/app/components/DesktopIcon.vue @@ -1,22 +1,25 @@ diff --git a/app/components/TaskbarButton.vue b/app/components/TaskbarButton.vue index 7403533..79fcf39 100644 --- a/app/components/TaskbarButton.vue +++ b/app/components/TaskbarButton.vue @@ -2,7 +2,7 @@ diff --git a/app/components/Window.vue b/app/components/Window.vue index 87423dd..1ac61eb 100644 --- a/app/components/Window.vue +++ b/app/components/Window.vue @@ -2,24 +2,42 @@ @@ -106,7 +186,23 @@ onUnmounted(() => { background: linear-gradient(90deg, #000080, #1084d0); } -.close-btn:active { +.title-btn:active { border-style: inset; } + +.minimize-animation { + animation: minimize 0.3s ease-out forwards; + transform-origin: bottom left; +} + +@keyframes minimize { + 0% { + transform: scale(1) translateY(0); + opacity: 1; + } + 100% { + transform: scale(0.1) translateY(calc(100vh - 100px)); + opacity: 0; + } +} diff --git a/app/pages/desktop.vue b/app/pages/desktop.vue index a8157a8..c849ce6 100644 --- a/app/pages/desktop.vue +++ b/app/pages/desktop.vue @@ -1,7 +1,11 @@