From 34d195bbbe1a15326fa0d043df71a04f48a78600 Mon Sep 17 00:00:00 2001 From: Aditya Chandel <8075870+adityachandelgit@users.noreply.github.com> Date: Mon, 13 Oct 2025 13:02:27 -0600 Subject: [PATCH] Improve login and initial user setup screen appearance (#1336) --- .../book-browser/book-browser.component.scss | 2 +- .../book-notes/book-notes-component.scss | 2 +- .../book-reviews/book-reviews.component.scss | 2 +- .../book-searcher.component.html | 41 ++- .../book-searcher.component.scss | 246 +++++++++++++-- .../book-searcher/book-searcher.component.ts | 41 ++- .../series-page/series-page.component.html | 2 +- .../src/app/features/book/model/book.model.ts | 3 - .../main-dashboard.component.scss | 2 +- .../book-metadata-center.component.html | 2 +- .../cover-search/cover-search.component.scss | 4 +- .../metadata-manager.component.scss | 6 +- .../stats/component/stats-component.scss | 18 +- .../change-password.component.html | 101 ++++-- .../change-password.component.scss | 68 ++++- .../change-password.component.ts | 7 +- .../duplicate-files-dialog.component.scss | 4 +- .../icon-picker/icon-picker-component.scss | 4 +- .../components/login/login.component.html | 94 +++--- .../components/login/login.component.scss | 169 +++++++++++ .../components/setup/setup.component.html | 137 +++++---- .../components/setup/setup.component.scss | 73 +++++ .../src/app/shared/styles/_auth-shared.scss | 287 ++++++++++++++++++ .../assets/layout/styles/layout/_main.scss | 37 ++- .../assets/layout/styles/layout/_topbar.scss | 2 +- .../styles/layout/variables/main/_dark.scss | 1 + 26 files changed, 1136 insertions(+), 219 deletions(-) create mode 100644 booklore-ui/src/app/shared/styles/_auth-shared.scss diff --git a/booklore-ui/src/app/features/book/components/book-browser/book-browser.component.scss b/booklore-ui/src/app/features/book/components/book-browser/book-browser.component.scss index ea261132d..ed51163b5 100644 --- a/booklore-ui/src/app/features/book/components/book-browser/book-browser.component.scss +++ b/booklore-ui/src/app/features/book/components/book-browser/book-browser.component.scss @@ -94,7 +94,7 @@ top: 50%; left: 10px; transform: translateY(-50%); - color: var(--text-color-secondary); + color: var(--text-secondary-color); font-size: 1.0rem; pointer-events: none; } diff --git a/booklore-ui/src/app/features/book/components/book-notes/book-notes-component.scss b/booklore-ui/src/app/features/book/components/book-notes/book-notes-component.scss index 1ad32a5ef..a3bcfbd8f 100644 --- a/booklore-ui/src/app/features/book/components/book-notes/book-notes-component.scss +++ b/booklore-ui/src/app/features/book/components/book-notes/book-notes-component.scss @@ -82,7 +82,7 @@ flex-direction: column; overflow: hidden; position: relative; - border: 1px solid rgba(255, 255, 255, 0.1); + border: 1px solid var(--p-content-border-color); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); diff --git a/booklore-ui/src/app/features/book/components/book-reviews/book-reviews.component.scss b/booklore-ui/src/app/features/book/components/book-reviews/book-reviews.component.scss index 53f5fe972..87343f657 100644 --- a/booklore-ui/src/app/features/book/components/book-reviews/book-reviews.component.scss +++ b/booklore-ui/src/app/features/book/components/book-reviews/book-reviews.component.scss @@ -124,7 +124,7 @@ flex-direction: column; overflow: hidden; position: relative; - border: 1px solid rgba(255, 255, 255, 0.1); + border: 1px solid var(--p-content-border-color); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); @media (max-width: 768px) { diff --git a/booklore-ui/src/app/features/book/components/book-searcher/book-searcher.component.html b/booklore-ui/src/app/features/book/components/book-searcher/book-searcher.component.html index c581c21a8..b53dc5045 100644 --- a/booklore-ui/src/app/features/book/components/book-searcher/book-searcher.component.html +++ b/booklore-ui/src/app/features/book/components/book-searcher/book-searcher.component.html @@ -1,14 +1,15 @@ -
+
{{ book.metadata?.title | slice: 0:70 }}
by: {{ getAuthorNames(book.metadata?.authors) }}
+by {{ getAuthorNames(book.metadata?.authors) }}
+ } + @if (getPublishedYear(book.metadata?.publishedDate)) { + {{ getPublishedYear(book.metadata?.publishedDate) }} + } +Update your password to keep your account secure
+Sign in to continue your journey
- {{ oidcBypassMessage }} -
-{{ oidcBypassMessage }}
+Setup your initial admin account to get started