From 382341e5ee9e78ead12c7d6b79fae8afc3169540 Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Tue, 30 Sep 2025 17:03:51 -0600 Subject: [PATCH] Make the login/reset/forbidden dialogs look better. --- frontend/src/App.vue | 56 +++++++++++++-- frontend/src/assets/style.css | 46 +++++++++++++ frontend/src/components/LoginView.vue | 44 ++++++------ .../src/components/PermissionDeniedView.vue | 46 ++++++------- frontend/src/components/ResetView.vue | 68 +++++++++---------- 5 files changed, 171 insertions(+), 89 deletions(-) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 03bcb08..4d99848 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -2,17 +2,25 @@
- - - - - + + + +
+
+

Loading...

+
+ + diff --git a/frontend/src/assets/style.css b/frontend/src/assets/style.css index 775b263..ef6c04b 100644 --- a/frontend/src/assets/style.css +++ b/frontend/src/assets/style.css @@ -597,3 +597,49 @@ th { top: 1rem; } } + +/* Dialog styles for auth views */ +.dialog-backdrop { + position: fixed; + top: 0; + left: 0; + width: 100vw; + height: 100vh; + background: rgba(0, 0, 0, 0.5); + backdrop-filter: blur(4px); + display: flex; + align-items: center; + justify-content: center; + z-index: 1000; +} + +.dialog-container { + max-width: 90vw; + max-height: 90vh; + overflow-y: auto; +} + +.dialog-content { + flex: none; + width: 100%; + max-width: 480px; + padding: 2rem; + background: var(--color-surface); + border-radius: var(--radius-lg); + box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); + border: 1px solid var(--color-border); +} + +.dialog-content--wide { + max-width: 540px; +} + +.dialog-content--narrow { + max-width: 420px; +} + +@media (max-width: 720px) { + .dialog-content { + padding: 1.5rem; + } +} diff --git a/frontend/src/components/LoginView.vue b/frontend/src/components/LoginView.vue index fb990b7..5bde772 100644 --- a/frontend/src/components/LoginView.vue +++ b/frontend/src/components/LoginView.vue @@ -1,23 +1,25 @@