From 329ed5adb04a813707f9111a610b642aab2a53d4 Mon Sep 17 00:00:00 2001 From: BinarySandia04 Date: Mon, 27 Apr 2026 18:48:17 +0200 Subject: [PATCH] Good --- .../app/components/managers/WindowManager.vue | 16 ++++--- .../windows/CreateCampaignWindow.vue | 42 +++++++++++++++++++ .../app/components/windows/MainMenuWindow.vue | 42 ++++++++++++++++--- frontend/app/services/WindowDefinitions.js | 7 ++++ frontend/i18n/locales/ca.json | 9 ++-- frontend/i18n/locales/en.json | 5 ++- frontend/i18n/locales/es.json | 5 ++- 7 files changed, 103 insertions(+), 23 deletions(-) create mode 100644 frontend/app/components/windows/CreateCampaignWindow.vue diff --git a/frontend/app/components/managers/WindowManager.vue b/frontend/app/components/managers/WindowManager.vue index cbccfd9..616753b 100644 --- a/frontend/app/components/managers/WindowManager.vue +++ b/frontend/app/components/managers/WindowManager.vue @@ -4,13 +4,9 @@ import { windows, getComponent } from '@/services/Windows'; @@ -21,16 +17,18 @@ import { windows, getComponent } from '@/services/Windows'; } .window-enter-from, .window-leave-to { + transition: all 0.15s ease; opacity: 0; transform: translateY(15px); } +.window-move { + transition: transform 0.15s ease; +} .window-wrapper { background-color: var(--color-window-background); /* backdrop-filter: blur(10px); */ - position: fixed; - display: flex; flex-direction: column; diff --git a/frontend/app/components/windows/CreateCampaignWindow.vue b/frontend/app/components/windows/CreateCampaignWindow.vue new file mode 100644 index 0000000..810b317 --- /dev/null +++ b/frontend/app/components/windows/CreateCampaignWindow.vue @@ -0,0 +1,42 @@ + + + + + + + + + diff --git a/frontend/app/components/windows/MainMenuWindow.vue b/frontend/app/components/windows/MainMenuWindow.vue index 83fa5a9..411d141 100644 --- a/frontend/app/components/windows/MainMenuWindow.vue +++ b/frontend/app/components/windows/MainMenuWindow.vue @@ -1,6 +1,6 @@