From ddcbb5b66638ccfa160bbdb24f3c4f0d3338371b Mon Sep 17 00:00:00 2001 From: James Cox Date: Wed, 25 Mar 2026 18:14:25 -0500 Subject: [PATCH] style(frontend): enforce color-function-notation in scss - Stylelint: - re-enable `color-function-notation` in the frontend Stylelint config while keeping the agreed Angular and legacy Sass exceptions unchanged - SCSS: - normalize comma-based `rgb(...)` color syntax to modern space-and-slash notation across frontend stylesheets without changing color values - Validation: - `just ui stylelint` --- .../author-browser.component.scss | 8 +- .../author-card/author-card.component.scss | 16 ++-- .../author-detail.component.scss | 6 +- .../author-photo-search.component.scss | 4 +- .../add-physical-book-dialog.component.scss | 4 +- .../additional-file-uploader.component.scss | 2 +- .../book-browser/book-browser.component.scss | 6 +- .../book-card/book-card.component.scss | 26 +++---- .../multi-sort-popover.component.scss | 2 +- .../book-card-lite-component.scss | 2 +- .../book-file-attacher.component.scss | 6 +- .../book-notes/book-notes-component.scss | 8 +- .../book-reviews/book-reviews.component.scss | 12 +-- .../book-searcher.component.scss | 8 +- .../book-sender/book-sender.component.scss | 8 +- .../bulk-isbn-import-dialog.component.scss | 56 ++++++------- .../duplicate-merger.component.scss | 2 +- .../series-page/series-page.component.scss | 12 +-- .../shelf-assigner.component.scss | 4 +- .../shelf-creator.component.scss | 6 +- .../shelf-edit-dialog.component.scss | 2 +- .../bookdrop-bulk-edit-dialog.component.scss | 2 +- ...okdrop-file-metadata-picker.component.scss | 10 +-- .../bookdrop-file-review.component.scss | 22 +++--- ...drop-finalize-result-dialog.component.scss | 10 +-- ...drop-pattern-extract-dialog.component.scss | 12 +-- .../dashboard-scroller.component.scss | 8 +- .../main-dashboard.component.scss | 10 +-- .../library-creator.component.scss | 14 ++-- .../library-loading.component.scss | 4 +- .../component/magic-shelf-component.scss | 4 +- .../book-reading-sessions.component.scss | 20 ++--- .../metadata-editor.component.scss | 2 +- .../metadata-picker.component.scss | 12 +-- .../metadata-searcher.component.scss | 22 +++--- .../metadata-viewer.component.scss | 6 +- .../bulk-metadata-update-component.scss | 4 +- .../cover-search/cover-search.component.scss | 8 +- .../metadata-manager.component.scss | 14 ++-- .../metadata-review-dialog-component.scss | 2 +- .../multi-book-metadata-editor-component.scss | 2 +- .../multi-book-metadata-fetch-component.scss | 2 +- .../audiobook-player.component.scss | 52 ++++++------- .../cbx-reader/cbx-reader.component.scss | 18 ++--- .../dialogs/cbx-note-dialog.component.scss | 36 ++++----- .../dialogs/cbx-shortcuts-help.component.scss | 32 ++++---- .../layout/footer/cbx-footer.component.scss | 34 ++++---- .../layout/header/cbx-header.component.scss | 14 ++-- .../cbx-quick-settings.component.scss | 26 +++---- .../layout/sidebar/cbx-sidebar.component.scss | 38 ++++----- .../dialogs/metadata-dialog.component.scss | 34 ++++---- .../dialogs/note-dialog.component.scss | 36 ++++----- .../dialogs/settings-dialog.component.scss | 68 ++++++++-------- .../dialogs/shortcuts-help.component.scss | 32 ++++---- .../ebook-reader/ebook-reader.component.scss | 4 +- .../layout/footer/footer.component.scss | 30 +++---- .../layout/header/header.component.scss | 10 +-- .../header/quick-settings.component.scss | 32 ++++---- .../layout/panel/panel.component.scss | 48 ++++++------ .../layout/sidebar/sidebar.component.scss | 42 +++++----- .../shared/selection-popup.component.scss | 34 ++++---- .../pdf-reader/pdf-reader.component.scss | 4 +- .../series-browser.component.scss | 4 +- .../series-card/series-card.component.scss | 6 +- .../series-scroller.component.scss | 6 +- .../font-upload-dialog.component.scss | 2 +- ...reate-email-provider-dialog.component.scss | 2 +- ...eate-email-recipient-dialog.component.scss | 2 +- .../cbx-reader-preferences-component.scss | 4 +- .../epub-reader-preferences-component.scss | 2 +- .../settings-application-mode.component.scss | 2 +- ...content-restrictions-editor.component.scss | 12 +-- .../create-user-dialog.component.scss | 6 +- .../user-management.component.scss | 8 +- .../user-profile-dialog.component.scss | 2 +- .../filter-preferences.component.scss | 2 +- .../view-preferences.component.scss | 2 +- .../author-universe-chart.component.scss | 16 ++-- .../publication-timeline-chart.component.scss | 10 +-- .../publication-trend-chart.component.scss | 10 +-- .../reading-journey-chart.component.scss | 10 +-- .../top-items-chart.component.scss | 10 +-- .../library-stats.component.scss | 78 +++++++++---------- .../book-flow-chart.component.scss | 4 +- .../book-length-chart.component.scss | 8 +- .../completion-race-chart.component.scss | 12 +-- .../completion-timeline-chart.component.scss | 10 +-- .../favorite-days-chart.component.scss | 2 +- .../genre-stats-chart.component.scss | 2 +- .../page-turner-chart.component.scss | 14 ++-- .../peak-hours-chart.component.scss | 2 +- .../publication-era-chart.component.scss | 2 +- .../rating-taste-chart.component.scss | 26 +++---- .../reading-clock-chart.component.scss | 4 +- .../reading-debt-chart.component.scss | 2 +- .../reading-dna-chart.component.scss | 8 +- .../reading-habits-chart.component.scss | 8 +- .../reading-heatmap-chart.component.scss | 2 +- .../reading-session-heatmap.component.scss | 20 ++--- .../reading-session-timeline.component.scss | 48 ++++++------ .../reading-survival-chart.component.scss | 4 +- .../series-progress-chart.component.scss | 46 +++++------ .../session-archetypes-chart.component.scss | 6 +- .../user-stats/user-stats.component.scss | 22 +++--- .../book-uploader.component.scss | 4 +- .../change-password.component.scss | 2 +- .../directory-picker.component.scss | 4 +- .../file-mover/file-mover-component.scss | 2 +- .../icon-picker/icon-picker-component.scss | 12 +-- .../components/login/login.component.scss | 22 +++--- .../layout-menu/app.menuitem.component.scss | 4 +- .../version-changelog-dialog.component.scss | 2 +- .../layout-topbar/app.topbar.component.scss | 4 +- .../src/app/shared/styles/_auth-shared.scss | 22 +++--- .../src/app/shared/styles/_panel-shared.scss | 20 ++--- .../app/shared/styles/_settings-shared.scss | 2 +- .../assets/layout/styles/layout/_menu.scss | 2 +- .../layout/styles/layout/_responsive.scss | 2 +- .../assets/layout/styles/layout/_topbar.scss | 2 +- frontend/src/styles.scss | 12 +-- frontend/stylelint.config.js | 1 - 121 files changed, 790 insertions(+), 791 deletions(-) diff --git a/frontend/src/app/features/author-browser/components/author-browser/author-browser.component.scss b/frontend/src/app/features/author-browser/components/author-browser/author-browser.component.scss index 03693cfd6..53b188524 100644 --- a/frontend/src/app/features/author-browser/components/author-browser/author-browser.component.scss +++ b/frontend/src/app/features/author-browser/components/author-browser/author-browser.component.scss @@ -145,14 +145,14 @@ overflow-y: auto; scrollbar-width: thin; - scrollbar-color: var(--primary-color) rgb(20, 20, 30, 50%); + scrollbar-color: var(--primary-color) rgb(20 20 30 / 50%); &::-webkit-scrollbar { width: 12px; } &::-webkit-scrollbar-track { - background: rgb(20, 20, 30, 50%); + background: rgb(20 20 30 / 50%); border-radius: 10px; } @@ -213,10 +213,10 @@ padding: 1rem 0.5rem 0.5rem; z-index: 1; border-radius: 10px 10px 0 0; - border: 1px solid rgb(255, 255, 255, 50%); + border: 1px solid rgb(255 255 255 / 50%); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); - background: rgb(0, 0, 0, 65%); + background: rgb(0 0 0 / 65%); transition: transform 0.1s ease, opacity 0.1s ease; &.footer-hidden { diff --git a/frontend/src/app/features/author-browser/components/author-card/author-card.component.scss b/frontend/src/app/features/author-browser/components/author-card/author-card.component.scss index 0255eb604..fa1eb2df1 100644 --- a/frontend/src/app/features/author-browser/components/author-card/author-card.component.scss +++ b/frontend/src/app/features/author-browser/components/author-card/author-card.component.scss @@ -6,12 +6,12 @@ height: 100%; display: flex; flex-direction: column; - box-shadow: 0 2px 8px rgb(0, 0, 0, 15%); + box-shadow: 0 2px 8px rgb(0 0 0 / 15%); transition: box-shadow 0.25s ease, transform 0.25s ease; cursor: pointer; &:hover { - box-shadow: 0 8px 24px rgb(0, 0, 0, 30%); + box-shadow: 0 8px 24px rgb(0 0 0 / 30%); transform: translateY(-2px); } @@ -45,7 +45,7 @@ background: linear-gradient( 90deg, var(--surface-ground) 25%, - var(--surface-hover, rgb(255, 255, 255, 8%)) 50%, + var(--surface-hover, rgb(255 255 255 / 8%)) 50%, var(--surface-ground) 75% ); background-size: 200% 100%; @@ -90,7 +90,7 @@ font-size: 0.8rem; font-weight: 700; color: #fff; - background: rgb(0, 0, 0, 60%); + background: rgb(0 0 0 / 60%); padding: 3px 9px; border-radius: 10px; line-height: 1.3; @@ -103,7 +103,7 @@ left: 0; right: 0; padding: 8px 2px 4px 8px; - background: linear-gradient(to top, rgb(0, 0, 0, 90%) 0%, rgb(0, 0, 0, 50%) 70%, transparent 100%); + background: linear-gradient(to top, rgb(0 0 0 / 90%) 0%, rgb(0 0 0 / 50%) 70%, transparent 100%); display: flex; align-items: center; gap: 6px; @@ -114,7 +114,7 @@ color: #22c55e; font-size: 0.85rem; flex-shrink: 0; - filter: drop-shadow(0 1px 2px rgb(0, 0, 0, 50%)); + filter: drop-shadow(0 1px 2px rgb(0 0 0 / 50%)); } .author-name { @@ -128,7 +128,7 @@ line-height: 1.3; flex: 1; min-width: 0; - text-shadow: 0 1px 3px rgb(0, 0, 0, 60%); + text-shadow: 0 1px 3px rgb(0 0 0 / 60%); } .menu-button-container { @@ -140,7 +140,7 @@ color: #fff !important; &:hover { - background: rgb(255, 255, 255, 15%) !important; + background: rgb(255 255 255 / 15%) !important; } } diff --git a/frontend/src/app/features/author-browser/components/author-detail/author-detail.component.scss b/frontend/src/app/features/author-browser/components/author-detail/author-detail.component.scss index 72141b411..1556dc371 100644 --- a/frontend/src/app/features/author-browser/components/author-detail/author-detail.component.scss +++ b/frontend/src/app/features/author-browser/components/author-detail/author-detail.component.scss @@ -47,7 +47,7 @@ height: 220px; object-fit: cover; border-radius: 12px; - box-shadow: 0 4px 16px rgb(0, 0, 0, 30%); + box-shadow: 0 4px 16px rgb(0 0 0 / 30%); @media (max-width: 767px) { width: 140px; @@ -164,14 +164,14 @@ overflow-y: auto; scrollbar-width: thin; - scrollbar-color: var(--primary-color) rgb(20, 20, 30, 50%); + scrollbar-color: var(--primary-color) rgb(20 20 30 / 50%); &::-webkit-scrollbar { width: 12px; } &::-webkit-scrollbar-track { - background: rgb(20, 20, 30, 50%); + background: rgb(20 20 30 / 50%); border-radius: 10px; } } diff --git a/frontend/src/app/features/author-browser/components/author-photo-search/author-photo-search.component.scss b/frontend/src/app/features/author-browser/components/author-photo-search/author-photo-search.component.scss index a9d8fc863..81b7aba15 100644 --- a/frontend/src/app/features/author-browser/components/author-photo-search/author-photo-search.component.scss +++ b/frontend/src/app/features/author-browser/components/author-photo-search/author-photo-search.component.scss @@ -200,7 +200,7 @@ position: absolute; top: 6px; right: 6px; - background: rgb(0, 0, 0, 80%); + background: rgb(0 0 0 / 80%); color: white; padding: 3px 6px; border-radius: 4px; @@ -219,7 +219,7 @@ align-items: center; justify-content: center; padding: 0.5rem; - background: linear-gradient(to top, rgb(0, 0, 0, 80%), transparent); + background: linear-gradient(to top, rgb(0 0 0 / 80%), transparent); opacity: 0; z-index: 3; } diff --git a/frontend/src/app/features/book/components/add-physical-book-dialog/add-physical-book-dialog.component.scss b/frontend/src/app/features/book/components/add-physical-book-dialog/add-physical-book-dialog.component.scss index 6eacf9415..d8ebb2f18 100644 --- a/frontend/src/app/features/book/components/add-physical-book-dialog/add-physical-book-dialog.component.scss +++ b/frontend/src/app/features/book/components/add-physical-book-dialog/add-physical-book-dialog.component.scss @@ -24,7 +24,7 @@ background: var(--card-background); border: 1px solid var(--border-color); border-top: none; - box-shadow: 0 2px 6px rgb(0, 0, 0, 8%); + box-shadow: 0 2px 6px rgb(0 0 0 / 8%); overflow-y: auto; max-height: calc(90vh - 200px); @@ -143,7 +143,7 @@ height: 180px; border-radius: 4px; border: 1px solid var(--border-color); - box-shadow: 0 2px 6px rgb(0, 0, 0, 12%); + box-shadow: 0 2px 6px rgb(0 0 0 / 12%); object-fit: contain; } diff --git a/frontend/src/app/features/book/components/additional-file-uploader/additional-file-uploader.component.scss b/frontend/src/app/features/book/components/additional-file-uploader/additional-file-uploader.component.scss index c9a392fc9..3f2f7a890 100644 --- a/frontend/src/app/features/book/components/additional-file-uploader/additional-file-uploader.component.scss +++ b/frontend/src/app/features/book/components/additional-file-uploader/additional-file-uploader.component.scss @@ -20,7 +20,7 @@ border: 1px solid var(--border-color); border-top: none; border-radius: 0 0 10px 10px; - box-shadow: 0 2px 6px rgb(0, 0, 0, 8%); + box-shadow: 0 2px 6px rgb(0 0 0 / 8%); display: flex; flex-direction: column; gap: 1.5rem; diff --git a/frontend/src/app/features/book/components/book-browser/book-browser.component.scss b/frontend/src/app/features/book/components/book-browser/book-browser.component.scss index 1471e1efd..fb61de7ce 100644 --- a/frontend/src/app/features/book/components/book-browser/book-browser.component.scss +++ b/frontend/src/app/features/book/components/book-browser/book-browser.component.scss @@ -248,7 +248,7 @@ padding: 1rem 0.5rem 0.5rem; z-index: 1; border-radius: 10px 10px 0 0; - border: 1px solid rgb(255, 255, 255, 50%); + border: 1px solid rgb(255 255 255 / 50%); border-width: 1px 1px 0 1px; background-color: var(--card-background); transition: transform 0.15s ease-out, opacity 0.15s ease-out; @@ -482,7 +482,7 @@ z-index: 998; width: 100%; height: 100%; - background-color: rgb(0, 0, 0, 40%); + background-color: rgb(0 0 0 / 40%); } } @@ -498,7 +498,7 @@ bottom: 0; height: calc(100% - 3.85rem); background-color: var(--card-background); - box-shadow: -2px 0 10px rgb(0, 0, 0, 15%); + box-shadow: -2px 0 10px rgb(0 0 0 / 15%); transform: translateX(100%); transition: transform 0.3s ease; z-index: 1001; diff --git a/frontend/src/app/features/book/components/book-browser/book-card/book-card.component.scss b/frontend/src/app/features/book/components/book-browser/book-card/book-card.component.scss index d5fdb977f..28bc4bbfa 100644 --- a/frontend/src/app/features/book/components/book-browser/book-card/book-card.component.scss +++ b/frontend/src/app/features/book/components/book-browser/book-card/book-card.component.scss @@ -6,11 +6,11 @@ height: 100%; display: flex; flex-direction: column; - box-shadow: 0 2px 8px rgb(0, 0, 0, 15%); + box-shadow: 0 2px 8px rgb(0 0 0 / 15%); transition: box-shadow 0.25s ease, transform 0.25s ease; &:hover { - box-shadow: 0 8px 24px rgb(0, 0, 0, 30%); + box-shadow: 0 8px 24px rgb(0 0 0 / 30%); transform: translateY(-2px); } @@ -44,7 +44,7 @@ background: linear-gradient( 90deg, var(--surface-ground) 25%, - var(--surface-hover, rgb(255, 255, 255, 8%)) 50%, + var(--surface-hover, rgb(255 255 255 / 8%)) 50%, var(--surface-ground) 75% ); background-size: 200% 100%; @@ -88,7 +88,7 @@ left: 0; width: 100%; height: 100%; - background: radial-gradient(circle, rgb(0, 0, 0, 0%) 25%, rgb(0, 0, 0, 60%) 100%); + background: radial-gradient(circle, rgb(0 0 0 / 0%) 25%, rgb(0 0 0 / 60%) 100%); opacity: 0; transition: opacity 0.15s ease-in-out; pointer-events: none; @@ -134,16 +134,16 @@ ::ng-deep .p-button { box-shadow: - 0 2px 8px rgb(0, 0, 0, 40%), - inset 0 1px 0 rgb(255, 255, 255, 15%); - border: 1px solid rgb(255, 255, 255, 10%); + 0 2px 8px rgb(0 0 0 / 40%), + inset 0 1px 0 rgb(255 255 255 / 15%); + border: 1px solid rgb(255 255 255 / 10%); transition: transform 0.15s ease, box-shadow 0.15s ease; &:hover { transform: scale(1.08); box-shadow: - 0 4px 12px rgb(0, 0, 0, 50%), - inset 0 1px 0 rgb(255, 255, 255, 20%); + 0 4px 12px rgb(0 0 0 / 50%), + inset 0 1px 0 rgb(255 255 255 / 20%); } @media (max-width: 767px) { @@ -227,7 +227,7 @@ position: absolute; top: 8px; left: 8px; - background-color: rgb(0, 0, 0, 70%); + background-color: rgb(0 0 0 / 70%); color: white; font-size: 0.75rem; padding: 1px 3px; @@ -247,8 +247,8 @@ user-select: none; font-weight: 700; text-align: center; - box-shadow: 0 2px 6px rgb(0, 0, 0, 30%); - border: 1px solid rgb(255, 255, 255, 20%); + box-shadow: 0 2px 6px rgb(0 0 0 / 30%); + border: 1px solid rgb(255 255 255 / 20%); display: flex; align-items: center; gap: 2px; @@ -268,7 +268,7 @@ padding: 1px 6px; border-radius: 6px; z-index: 3; - box-shadow: 0 2px 6px rgb(0, 0, 0, 25%); + box-shadow: 0 2px 6px rgb(0 0 0 / 25%); letter-spacing: 0.03em; user-select: none; pointer-events: none; diff --git a/frontend/src/app/features/book/components/book-browser/sorting/multi-sort-popover/multi-sort-popover.component.scss b/frontend/src/app/features/book/components/book-browser/sorting/multi-sort-popover/multi-sort-popover.component.scss index 9dcad4d90..9fe50422b 100644 --- a/frontend/src/app/features/book/components/book-browser/sorting/multi-sort-popover/multi-sort-popover.component.scss +++ b/frontend/src/app/features/book/components/book-browser/sorting/multi-sort-popover/multi-sort-popover.component.scss @@ -49,7 +49,7 @@ background-color: var(--card-background); border: 1px solid var(--primary-color); border-radius: 6px; - box-shadow: 0 5px 15px rgb(0, 0, 0, 25%); + box-shadow: 0 5px 15px rgb(0 0 0 / 25%); } .cdk-drag-placeholder { diff --git a/frontend/src/app/features/book/components/book-card-lite/book-card-lite-component.scss b/frontend/src/app/features/book/components/book-card-lite/book-card-lite-component.scss index cea43a787..4f11b344e 100644 --- a/frontend/src/app/features/book/components/book-card-lite/book-card-lite-component.scss +++ b/frontend/src/app/features/book/components/book-card-lite/book-card-lite-component.scss @@ -37,7 +37,7 @@ position: absolute; top: 4px; left: 4px; - background-color: rgb(0, 0, 0, 70%); + background-color: rgb(0 0 0 / 70%); color: white; font-size: 0.75rem; padding: 1px 3px; diff --git a/frontend/src/app/features/book/components/book-file-attacher/book-file-attacher.component.scss b/frontend/src/app/features/book/components/book-file-attacher/book-file-attacher.component.scss index 371c02311..0198035a5 100644 --- a/frontend/src/app/features/book/components/book-file-attacher/book-file-attacher.component.scss +++ b/frontend/src/app/features/book/components/book-file-attacher/book-file-attacher.component.scss @@ -20,7 +20,7 @@ border: 1px solid var(--border-color); border-top: none; border-radius: 0 0 10px 10px; - box-shadow: 0 2px 6px rgb(0, 0, 0, 8%); + box-shadow: 0 2px 6px rgb(0 0 0 / 8%); display: flex; flex-direction: column; gap: 1.5rem; @@ -161,8 +161,8 @@ :host-context(.p-dark) { .warning-message { - background: rgb(234, 179, 8, 10%); - border-color: rgb(234, 179, 8, 30%); + background: rgb(234 179 8 / 10%); + border-color: rgb(234 179 8 / 30%); color: var(--p-yellow-400); } diff --git a/frontend/src/app/features/book/components/book-notes/book-notes-component.scss b/frontend/src/app/features/book/components/book-notes/book-notes-component.scss index ef622517b..f35ebdb76 100644 --- a/frontend/src/app/features/book/components/book-notes/book-notes-component.scss +++ b/frontend/src/app/features/book/components/book-notes/book-notes-component.scss @@ -76,7 +76,7 @@ } &::-webkit-scrollbar-track { - background: rgb(30, 30, 30, 50%); + background: rgb(30 30 30 / 50%); border-radius: 10px; } @@ -128,8 +128,8 @@ .note-header { flex-shrink: 0; - background: linear-gradient(135deg, rgb(40, 40, 40, 80%), rgb(30, 30, 30, 80%)); - border-bottom: 1px solid rgb(255, 255, 255, 10%); + background: linear-gradient(135deg, rgb(40 40 40 / 80%), rgb(30 30 30 / 80%)); + border-bottom: 1px solid rgb(255 255 255 / 10%); position: relative; .note-header-inner { @@ -224,7 +224,7 @@ left: 0; right: 0; height: 30px; - background: linear-gradient(transparent, rgb(20, 20, 20, 90%)); + background: linear-gradient(transparent, rgb(20 20 20 / 90%)); pointer-events: none; } } diff --git a/frontend/src/app/features/book/components/book-reviews/book-reviews.component.scss b/frontend/src/app/features/book/components/book-reviews/book-reviews.component.scss index 2a2ebae7a..626f10296 100644 --- a/frontend/src/app/features/book/components/book-reviews/book-reviews.component.scss +++ b/frontend/src/app/features/book/components/book-reviews/book-reviews.component.scss @@ -26,9 +26,9 @@ flex-direction: column; gap: 8px; padding: 16px 8px; - background: rgb(0, 0, 0, 10%); + background: rgb(0 0 0 / 10%); border-radius: 8px; - border: 1px solid rgb(255, 255, 255, 20%); + border: 1px solid rgb(255 255 255 / 20%); backdrop-filter: blur(8px); pointer-events: auto; position: relative; @@ -183,7 +183,7 @@ content: ''; position: absolute; inset: 0 0 0 0; - background: rgb(0, 0, 0, 30%); + background: rgb(0 0 0 / 30%); z-index: 50; pointer-events: none; } @@ -191,8 +191,8 @@ .review-header { flex-shrink: 0; - background: linear-gradient(135deg, rgb(40, 40, 40, 80%), rgb(30, 30, 30, 80%)); - border-bottom: 1px solid rgb(255, 255, 255, 10%); + background: linear-gradient(135deg, rgb(40 40 40 / 80%), rgb(30 30 30 / 80%)); + border-bottom: 1px solid rgb(255 255 255 / 10%); position: relative; .review-header-inner { @@ -312,7 +312,7 @@ left: 0; right: 0; height: 30px; - background: linear-gradient(transparent, rgb(20, 20, 20, 90%)); + background: linear-gradient(transparent, rgb(20 20 20 / 90%)); pointer-events: none; } } diff --git a/frontend/src/app/features/book/components/book-searcher/book-searcher.component.scss b/frontend/src/app/features/book/components/book-searcher/book-searcher.component.scss index dee3ef01a..b78d5847f 100644 --- a/frontend/src/app/features/book/components/book-searcher/book-searcher.component.scss +++ b/frontend/src/app/features/book/components/book-searcher/book-searcher.component.scss @@ -59,9 +59,9 @@ background-color: var(--card-background); border: 1px solid var(--border-color); border-radius: 8px; - box-shadow: 0 4px 6px -1px rgb(0, 0, 0, 10%), - 0 2px 4px -1px rgb(0, 0, 0, 6%), - 0 10px 15px -3px rgb(0, 0, 0, 10%); + box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%), + 0 2px 4px -1px rgb(0 0 0 / 6%), + 0 10px 15px -3px rgb(0 0 0 / 10%); z-index: 1000; max-height: min(70vh, calc(100dvh - 4rem)); overflow-y: auto; @@ -138,7 +138,7 @@ min-width: 50px; object-fit: cover; border-radius: 4px; - box-shadow: 0 2px 4px rgb(0, 0, 0, 10%); + box-shadow: 0 2px 4px rgb(0 0 0 / 10%); background-color: var(--surface-ground); aspect-ratio: 2/3; } diff --git a/frontend/src/app/features/book/components/book-sender/book-sender.component.scss b/frontend/src/app/features/book/components/book-sender/book-sender.component.scss index 284a9ba00..6c5fac70a 100644 --- a/frontend/src/app/features/book/components/book-sender/book-sender.component.scss +++ b/frontend/src/app/features/book/components/book-sender/book-sender.component.scss @@ -18,7 +18,7 @@ border: 1px solid var(--border-color); border-top: none; border-bottom: none; - box-shadow: 0 2px 6px rgb(0, 0, 0, 8%); + box-shadow: 0 2px 6px rgb(0 0 0 / 8%); } .dialog-footer { @@ -64,7 +64,7 @@ transition: all 0.15s ease; &:hover { - background: rgb(255, 255, 255, 3%); + background: rgb(255 255 255 / 3%); border-color: var(--p-primary-400); } @@ -107,8 +107,8 @@ align-items: flex-start; gap: 0.75rem; padding: 0.75rem 1rem; - background: rgb(234, 179, 8, 10%); - border: 1px solid rgb(234, 179, 8, 30%); + background: rgb(234 179 8 / 10%); + border: 1px solid rgb(234 179 8 / 30%); border-radius: 6px; color: #fbbf24; diff --git a/frontend/src/app/features/book/components/bulk-isbn-import-dialog/bulk-isbn-import-dialog.component.scss b/frontend/src/app/features/book/components/bulk-isbn-import-dialog/bulk-isbn-import-dialog.component.scss index b88b5cc06..19059e8f9 100644 --- a/frontend/src/app/features/book/components/bulk-isbn-import-dialog/bulk-isbn-import-dialog.component.scss +++ b/frontend/src/app/features/book/components/bulk-isbn-import-dialog/bulk-isbn-import-dialog.component.scss @@ -24,7 +24,7 @@ background: var(--card-background); border: 1px solid var(--border-color); border-top: none; - box-shadow: 0 2px 6px rgb(0, 0, 0, 8%); + box-shadow: 0 2px 6px rgb(0 0 0 / 8%); overflow-y: auto; max-height: calc(90vh - 200px); @@ -105,8 +105,8 @@ align-items: center; gap: 0.5rem; padding: 0.75rem 1rem; - background: rgb(239, 68, 68, 10%); - border: 1px solid rgb(239, 68, 68, 30%); + background: rgb(239 68 68 / 10%); + border: 1px solid rgb(239 68 68 / 30%); border-radius: 6px; color: var(--p-red-500); font-size: 0.875rem; @@ -135,22 +135,22 @@ font-weight: 500; &.success { - background: rgb(34, 197, 94, 10%); + background: rgb(34 197 94 / 10%); color: var(--p-green-500); - border: 1px solid rgb(34, 197, 94, 30%); + border: 1px solid rgb(34 197 94 / 30%); } &.warn { - background: rgb(234, 179, 8, 10%); + background: rgb(234 179 8 / 10%); color: var(--p-yellow-500); - border: 1px solid rgb(234, 179, 8, 30%); + border: 1px solid rgb(234 179 8 / 30%); cursor: pointer; } &.info { - background: rgb(59, 130, 246, 10%); + background: rgb(59 130 246 / 10%); color: var(--p-blue-500); - border: 1px solid rgb(59, 130, 246, 30%); + border: 1px solid rgb(59 130 246 / 30%); } } @@ -159,8 +159,8 @@ flex-direction: column; gap: 0.25rem; padding: 0.5rem; - background: rgb(234, 179, 8, 5%); - border: 1px solid rgb(234, 179, 8, 20%); + background: rgb(234 179 8 / 5%); + border: 1px solid rgb(234 179 8 / 20%); border-radius: 6px; max-height: 150px; overflow-y: auto; @@ -305,19 +305,19 @@ } &.status-looking-up { - background: rgb(59, 130, 246, 5%); + background: rgb(59 130 246 / 5%); } &.status-created { - background: rgb(34, 197, 94, 5%); + background: rgb(34 197 94 / 5%); } &.status-created-no-metadata { - background: rgb(234, 179, 8, 5%); + background: rgb(234 179 8 / 5%); } &.status-failed { - background: rgb(239, 68, 68, 5%); + background: rgb(239 68 68 / 5%); } } @@ -396,26 +396,26 @@ } &.success { - background: rgb(34, 197, 94, 10%); - border: 1px solid rgb(34, 197, 94, 30%); + background: rgb(34 197 94 / 10%); + border: 1px solid rgb(34 197 94 / 30%); > i { color: var(--p-green-500); } } &.warn { - background: rgb(234, 179, 8, 10%); - border: 1px solid rgb(234, 179, 8, 30%); + background: rgb(234 179 8 / 10%); + border: 1px solid rgb(234 179 8 / 30%); > i { color: var(--p-yellow-500); } } &.error { - background: rgb(239, 68, 68, 10%); - border: 1px solid rgb(239, 68, 68, 30%); + background: rgb(239 68 68 / 10%); + border: 1px solid rgb(239 68 68 / 30%); > i { color: var(--p-red-500); } } &.info { - background: rgb(59, 130, 246, 10%); - border: 1px solid rgb(59, 130, 246, 30%); + background: rgb(59 130 246 / 10%); + border: 1px solid rgb(59 130 246 / 30%); > i { color: var(--p-blue-500); } } } @@ -452,15 +452,15 @@ font-size: 0.85rem; &.status-created { - background: rgb(34, 197, 94, 4%); + background: rgb(34 197 94 / 4%); } &.status-created-no-metadata { - background: rgb(234, 179, 8, 4%); + background: rgb(234 179 8 / 4%); } &.status-failed { - background: rgb(239, 68, 68, 4%); + background: rgb(239 68 68 / 4%); } } @@ -498,9 +498,9 @@ @include panel.validation-message; &.info { - background: rgb(59, 130, 246, 10%); + background: rgb(59 130 246 / 10%); color: var(--p-blue-500); - border: 1px solid rgb(59, 130, 246, 30%); + border: 1px solid rgb(59 130 246 / 30%); i { color: var(--p-blue-500); diff --git a/frontend/src/app/features/book/components/duplicate-merger/duplicate-merger.component.scss b/frontend/src/app/features/book/components/duplicate-merger/duplicate-merger.component.scss index b2257fbf4..3f815cda5 100644 --- a/frontend/src/app/features/book/components/duplicate-merger/duplicate-merger.component.scss +++ b/frontend/src/app/features/book/components/duplicate-merger/duplicate-merger.component.scss @@ -20,7 +20,7 @@ border: 1px solid var(--border-color); border-top: none; border-radius: 0 0 10px 10px; - box-shadow: 0 2px 6px rgb(0, 0, 0, 8%); + box-shadow: 0 2px 6px rgb(0 0 0 / 8%); display: flex; flex-direction: column; gap: 1rem; diff --git a/frontend/src/app/features/book/components/series-page/series-page.component.scss b/frontend/src/app/features/book/components/series-page/series-page.component.scss index 45ba4a23c..cc3c7f2c5 100644 --- a/frontend/src/app/features/book/components/series-page/series-page.component.scss +++ b/frontend/src/app/features/book/components/series-page/series-page.component.scss @@ -57,7 +57,7 @@ height: 360px; object-fit: cover; border-radius: 12px; - box-shadow: 0 6px 24px rgb(0, 0, 0, 40%); + box-shadow: 0 6px 24px rgb(0 0 0 / 40%); @media (max-width: 767px) { width: 180px; @@ -276,7 +276,7 @@ transition: box-shadow 0.3s ease; &:hover { - box-shadow: 0 2px 8px rgb(0, 0, 0, 10%); + box-shadow: 0 2px 8px rgb(0 0 0 / 10%); } } @@ -469,7 +469,7 @@ object-fit: cover; border-radius: 0.25rem; flex-shrink: 0; - box-shadow: 0 2px 6px rgb(0, 0, 0, 25%); + box-shadow: 0 2px 6px rgb(0 0 0 / 25%); } .next-up-info { @@ -577,7 +577,7 @@ &:hover { background: color-mix(in srgb, var(--p-surface-700), transparent 40%); border-color: var(--border-color); - box-shadow: 0 2px 8px rgb(0, 0, 0, 15%); + box-shadow: 0 2px 8px rgb(0 0 0 / 15%); } @media (max-width: 768px) { @@ -609,7 +609,7 @@ object-fit: cover; border-radius: 0.375rem; flex-shrink: 0; - box-shadow: 0 2px 6px rgb(0, 0, 0, 20%); + box-shadow: 0 2px 6px rgb(0 0 0 / 20%); } .list-book-info { @@ -819,7 +819,7 @@ padding: 1rem 0.5rem 0.5rem; z-index: 100; border-radius: 10px 10px 0 0; - border: 1px solid rgb(255, 255, 255, 50%); + border: 1px solid rgb(255 255 255 / 50%); border-width: 1px 1px 0 1px; background-color: var(--card-background); diff --git a/frontend/src/app/features/book/components/shelf-assigner/shelf-assigner.component.scss b/frontend/src/app/features/book/components/shelf-assigner/shelf-assigner.component.scss index 0ec677582..7b514cda9 100644 --- a/frontend/src/app/features/book/components/shelf-assigner/shelf-assigner.component.scss +++ b/frontend/src/app/features/book/components/shelf-assigner/shelf-assigner.component.scss @@ -24,7 +24,7 @@ padding: 1rem 2rem; background: var(--card-background); border: 1px solid var(--border-color); - box-shadow: 0 2px 6px rgb(0, 0, 0, 8%); + box-shadow: 0 2px 6px rgb(0 0 0 / 8%); min-height: 350px; max-height: 450px; overflow: hidden; @@ -155,7 +155,7 @@ &:hover { border-color: var(--primary-color); transform: translateX(3px); - box-shadow: 0 3px 8px rgb(0, 0, 0, 10%); + box-shadow: 0 3px 8px rgb(0 0 0 / 10%); .shelf-icon { color: var(--primary-color); diff --git a/frontend/src/app/features/book/components/shelf-creator/shelf-creator.component.scss b/frontend/src/app/features/book/components/shelf-creator/shelf-creator.component.scss index 170f82986..b2050c924 100644 --- a/frontend/src/app/features/book/components/shelf-creator/shelf-creator.component.scss +++ b/frontend/src/app/features/book/components/shelf-creator/shelf-creator.component.scss @@ -23,7 +23,7 @@ background: var(--card-background); border: 1px solid var(--border-color); border-top: none; - box-shadow: 0 2px 6px rgb(0, 0, 0, 8%); + box-shadow: 0 2px 6px rgb(0 0 0 / 8%); @media (max-width: 480px) { padding: 1rem; @@ -115,7 +115,7 @@ border-color: var(--primary-color); color: var(--primary-color); transform: translateY(-1px); - box-shadow: 0 3px 8px rgb(0, 0, 0, 15%); + box-shadow: 0 3px 8px rgb(0 0 0 / 15%); } i { @@ -176,7 +176,7 @@ height: 42px; background: var(--primary-color); border-radius: 8px; - box-shadow: 0 3px 8px rgb(0, 0, 0, 20%); + box-shadow: 0 3px 8px rgb(0 0 0 / 20%); app-icon-display { display: flex; diff --git a/frontend/src/app/features/book/components/shelf-edit-dialog/shelf-edit-dialog.component.scss b/frontend/src/app/features/book/components/shelf-edit-dialog/shelf-edit-dialog.component.scss index ceeda04f4..62aa38991 100644 --- a/frontend/src/app/features/book/components/shelf-edit-dialog/shelf-edit-dialog.component.scss +++ b/frontend/src/app/features/book/components/shelf-edit-dialog/shelf-edit-dialog.component.scss @@ -24,7 +24,7 @@ padding: 1.75rem; background: var(--card-background); border: 1px solid var(--border-color); - box-shadow: 0 2px 6px rgb(0, 0, 0, 8%); + box-shadow: 0 2px 6px rgb(0 0 0 / 8%); min-height: 200px; @media (max-width: 480px) { diff --git a/frontend/src/app/features/bookdrop/component/bookdrop-bulk-edit-dialog/bookdrop-bulk-edit-dialog.component.scss b/frontend/src/app/features/bookdrop/component/bookdrop-bulk-edit-dialog/bookdrop-bulk-edit-dialog.component.scss index 1b39a46a2..5c6d3c80a 100644 --- a/frontend/src/app/features/bookdrop/component/bookdrop-bulk-edit-dialog/bookdrop-bulk-edit-dialog.component.scss +++ b/frontend/src/app/features/bookdrop/component/bookdrop-bulk-edit-dialog/bookdrop-bulk-edit-dialog.component.scss @@ -28,7 +28,7 @@ align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; - background: rgb(59, 130, 246, 8%); + background: rgb(59 130 246 / 8%); border: 1px solid var(--p-primary-color); border-radius: 6px; color: var(--p-text-color); diff --git a/frontend/src/app/features/bookdrop/component/bookdrop-file-metadata-picker/bookdrop-file-metadata-picker.component.scss b/frontend/src/app/features/bookdrop/component/bookdrop-file-metadata-picker/bookdrop-file-metadata-picker.component.scss index 78e03caaf..cede5aabf 100644 --- a/frontend/src/app/features/bookdrop/component/bookdrop-file-metadata-picker/bookdrop-file-metadata-picker.component.scss +++ b/frontend/src/app/features/bookdrop/component/bookdrop-file-metadata-picker/bookdrop-file-metadata-picker.component.scss @@ -1,7 +1,7 @@ .thumbnail { border: 1px solid var(--border-color); border-radius: 0.5rem; - box-shadow: 0 1px 3px rgb(0, 0, 0, 10%); + box-shadow: 0 1px 3px rgb(0 0 0 / 10%); margin: 0 auto 1rem; } @@ -296,15 +296,15 @@ textarea.changed, .metadata-status { &.copied { - color: rgb(34, 197, 94); + color: rgb(34 197 94); } &.no-metadata { - color: rgb(59, 130, 246); + color: rgb(59 130 246); } &.not-applied { - color: rgb(239, 68, 68); + color: rgb(239 68 68); } } @@ -474,7 +474,7 @@ textarea.changed, .cdk-drag-preview { box-sizing: border-box; border-radius: 1rem; - box-shadow: 0 2px 8px rgb(0, 0, 0, 20%); + box-shadow: 0 2px 8px rgb(0 0 0 / 20%); } .cdk-drag-placeholder { diff --git a/frontend/src/app/features/bookdrop/component/bookdrop-file-review/bookdrop-file-review.component.scss b/frontend/src/app/features/bookdrop/component/bookdrop-file-review/bookdrop-file-review.component.scss index d4646c473..6402bd0cc 100644 --- a/frontend/src/app/features/bookdrop/component/bookdrop-file-review/bookdrop-file-review.component.scss +++ b/frontend/src/app/features/bookdrop/component/bookdrop-file-review/bookdrop-file-review.component.scss @@ -40,7 +40,7 @@ p { font-size: 0.875rem; - color: rgb(156, 163, 175); + color: rgb(156 163 175); strong { color: var(--primary-color); @@ -63,7 +63,7 @@ } .external-link-icon { - color: rgb(2, 132, 199); + color: rgb(2 132 199); cursor: pointer; font-size: 0.9rem; } @@ -113,7 +113,7 @@ .saving-overlay { position: absolute; inset: 0; - background: rgb(0, 0, 0, 50%); + background: rgb(0 0 0 / 50%); display: flex; flex-direction: column; align-items: center; @@ -132,13 +132,13 @@ } .saving-message { - background: rgb(17, 24, 39, 90%); + background: rgb(17 24 39 / 90%); padding: 0.5rem 1rem; border-radius: 0.375rem; span { font-size: 0.875rem; - color: rgb(229, 231, 235); + color: rgb(229 231 235); text-align: center; } } @@ -255,7 +255,7 @@ p-inputgroup.disabled { display: flex; align-items: center; justify-content: center; - color: rgb(156, 163, 175); + color: rgb(156 163 175); font-style: italic; padding: 2rem 0; } @@ -291,7 +291,7 @@ p-inputgroup.disabled { &:hover { transform: scale(1.05); - box-shadow: 0 4px 6px -1px rgb(0, 0, 0, 10%); + box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%); } @media (max-width: 768px) { @@ -301,7 +301,7 @@ p-inputgroup.disabled { div.cover-image { display: block; - background-color: rgb(255, 255, 255, 10%); + background-color: rgb(255 255 255 / 10%); text-align: center; line-height: 2rem; } @@ -321,15 +321,15 @@ div.cover-image { .metadata-status { &.copied { - color: rgb(34, 197, 94); + color: rgb(34 197 94); } &.no-metadata { - color: rgb(59, 130, 246); + color: rgb(59 130 246); } &.not-applied { - color: rgb(239, 68, 68); + color: rgb(239 68 68); } } diff --git a/frontend/src/app/features/bookdrop/component/bookdrop-finalize-result-dialog/bookdrop-finalize-result-dialog.component.scss b/frontend/src/app/features/bookdrop/component/bookdrop-finalize-result-dialog/bookdrop-finalize-result-dialog.component.scss index 2e06b7ac8..5258f2d5a 100644 --- a/frontend/src/app/features/bookdrop/component/bookdrop-finalize-result-dialog/bookdrop-finalize-result-dialog.component.scss +++ b/frontend/src/app/features/bookdrop/component/bookdrop-finalize-result-dialog/bookdrop-finalize-result-dialog.component.scss @@ -17,7 +17,7 @@ border: 1px solid var(--border-color); border-top: none; border-radius: 0 0 10px 10px; - box-shadow: 0 2px 6px rgb(0, 0, 0, 8%); + box-shadow: 0 2px 6px rgb(0 0 0 / 8%); } .stats-grid { @@ -105,8 +105,8 @@ transition: all 0.2s ease; &.success { - background: rgb(34, 197, 94, 10%); - border-color: rgb(34, 197, 94, 40%); + background: rgb(34 197 94 / 10%); + border-color: rgb(34 197 94 / 40%); .status-icon { color: #22c55e; @@ -114,8 +114,8 @@ } &.error { - background: rgb(239, 68, 68, 10%); - border-color: rgb(239, 68, 68, 40%); + background: rgb(239 68 68 / 10%); + border-color: rgb(239 68 68 / 40%); .status-icon { color: #ef4444; diff --git a/frontend/src/app/features/bookdrop/component/bookdrop-pattern-extract-dialog/bookdrop-pattern-extract-dialog.component.scss b/frontend/src/app/features/bookdrop/component/bookdrop-pattern-extract-dialog/bookdrop-pattern-extract-dialog.component.scss index b33373001..9d9c41cb6 100644 --- a/frontend/src/app/features/bookdrop/component/bookdrop-pattern-extract-dialog/bookdrop-pattern-extract-dialog.component.scss +++ b/frontend/src/app/features/bookdrop/component/bookdrop-pattern-extract-dialog/bookdrop-pattern-extract-dialog.component.scss @@ -16,7 +16,7 @@ align-items: flex-start; gap: 0.75rem; padding: 0.75rem 1rem; - background: rgb(59, 130, 246, 8%); + background: rgb(59 130 246 / 8%); border: 1px solid var(--p-primary-color); border-radius: 6px; color: var(--p-text-color); @@ -28,7 +28,7 @@ } code { - background: rgb(255, 255, 255, 10%); + background: rgb(255 255 255 / 10%); padding: 0.1rem 0.3rem; border-radius: 4px; font-family: monospace; @@ -99,13 +99,13 @@ border: 1px solid var(--p-surface-300); &.preview-success { - background-color: rgb(76, 175, 80, 10%); - border-color: rgb(76, 175, 80, 30%); + background-color: rgb(76 175 80 / 10%); + border-color: rgb(76 175 80 / 30%); } &.preview-failure { - background-color: rgb(244, 67, 54, 10%); - border-color: rgb(244, 67, 54, 30%); + background-color: rgb(244 67 54 / 10%); + border-color: rgb(244 67 54 / 30%); } } diff --git a/frontend/src/app/features/dashboard/components/dashboard-scroller/dashboard-scroller.component.scss b/frontend/src/app/features/dashboard/components/dashboard-scroller/dashboard-scroller.component.scss index ced339e0e..d6c0b1299 100644 --- a/frontend/src/app/features/dashboard/components/dashboard-scroller/dashboard-scroller.component.scss +++ b/frontend/src/app/features/dashboard/components/dashboard-scroller/dashboard-scroller.component.scss @@ -57,7 +57,7 @@ i { font-size: 2rem; color: white; - filter: drop-shadow(0 2px 4px rgb(0, 0, 0, 30%)); + filter: drop-shadow(0 2px 4px rgb(0 0 0 / 30%)); } } @@ -67,7 +67,7 @@ font-weight: 500; max-width: 400px; line-height: 1.7; - text-shadow: 0 1px 2px rgb(0, 0, 0, 50%); + text-shadow: 0 1px 2px rgb(0 0 0 / 50%); } } @@ -82,7 +82,7 @@ position: relative; z-index: 2; - scrollbar-color: var(--primary-color) rgb(20, 20, 30, 50%); + scrollbar-color: var(--primary-color) rgb(20 20 30 / 50%); } .dashboard-scroller-card { @@ -106,7 +106,7 @@ &:hover, &.menu-open { transform: translateY(-4px) scale(1.04); - filter: drop-shadow(0 25px 50px rgb(0, 0, 0, 40%)); + filter: drop-shadow(0 25px 50px rgb(0 0 0 / 40%)); &::after { opacity: 1; diff --git a/frontend/src/app/features/dashboard/components/main-dashboard/main-dashboard.component.scss b/frontend/src/app/features/dashboard/components/main-dashboard/main-dashboard.component.scss index 268991424..78e609764 100644 --- a/frontend/src/app/features/dashboard/components/main-dashboard/main-dashboard.component.scss +++ b/frontend/src/app/features/dashboard/components/main-dashboard/main-dashboard.component.scss @@ -16,12 +16,12 @@ } &::-webkit-scrollbar-track { - background: rgb(20, 20, 30, 50%); + background: rgb(20 20 30 / 50%); border-radius: 10px; } scrollbar-width: thin; - scrollbar-color: var(--primary-color) rgb(20, 20, 30, 50%); + scrollbar-color: var(--primary-color) rgb(20 20 30 / 50%); } @media (max-width: 768px) { @@ -70,7 +70,7 @@ -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; - text-shadow: 0 2px 4px rgb(0, 0, 0, 30%); + text-shadow: 0 2px 4px rgb(0 0 0 / 30%); letter-spacing: -0.02em; } @@ -89,7 +89,7 @@ } ::ng-deep .p-dialog-mask { - background-color: rgb(0, 0, 0, 50%); + background-color: rgb(0 0 0 / 50%); backdrop-filter: blur(3px); } @@ -100,7 +100,7 @@ z-index: 100; ::ng-deep .p-button { - box-shadow: 0 4px 12px rgb(0, 0, 0, 30%); + box-shadow: 0 4px 12px rgb(0 0 0 / 30%); backdrop-filter: blur(10px); background: rgb(var(--p-surface-900-rgb), 80%); border: 1px solid var(--p-content-border-color); diff --git a/frontend/src/app/features/library-creator/library-creator.component.scss b/frontend/src/app/features/library-creator/library-creator.component.scss index 242171bc6..019f08e3d 100644 --- a/frontend/src/app/features/library-creator/library-creator.component.scss +++ b/frontend/src/app/features/library-creator/library-creator.component.scss @@ -241,7 +241,7 @@ transition: all 0.2s ease; &:hover { - background: rgb(239, 68, 68, 15%); + background: rgb(239 68 68 / 15%); color: var(--p-red-400); } @@ -256,8 +256,8 @@ align-items: center; gap: 0.625rem; padding: 0.625rem 0.75rem; - background: rgb(234, 179, 8, 8%); - border: 1px solid rgb(234, 179, 8, 25%); + background: rgb(234 179 8 / 8%); + border: 1px solid rgb(234 179 8 / 25%); border-radius: 6px; font-size: 0.8125rem; color: var(--text-secondary-color); @@ -265,7 +265,7 @@ i { font-size: 0.9rem; - color: rgb(234, 179, 8); + color: rgb(234 179 8); flex-shrink: 0; } @@ -391,7 +391,7 @@ &:hover { opacity: 1; - background: rgb(239, 68, 68, 15%); + background: rgb(239 68 68 / 15%); color: var(--p-red-400); } @@ -530,7 +530,7 @@ align-items: center; gap: 0.5rem; padding: 0.625rem 0.75rem; - background: rgb(234, 179, 8, 10%); + background: rgb(234 179 8 / 10%); border: 1px solid var(--p-orange-400); border-radius: 6px; font-size: 0.75rem; @@ -600,7 +600,7 @@ .cdk-drag-preview { box-sizing: border-box; border-radius: 6px; - box-shadow: 0 4px 12px rgb(0, 0, 0, 25%); + box-shadow: 0 4px 12px rgb(0 0 0 / 25%); background: var(--overlay-background); border: 1px solid var(--primary-color); } diff --git a/frontend/src/app/features/library-creator/library-loading/library-loading.component.scss b/frontend/src/app/features/library-creator/library-loading/library-loading.component.scss index a7cec6cd2..d945e286f 100644 --- a/frontend/src/app/features/library-creator/library-loading/library-loading.component.scss +++ b/frontend/src/app/features/library-creator/library-loading/library-loading.component.scss @@ -4,7 +4,7 @@ left: 0; width: 100%; height: 100%; - background: rgb(0, 0, 0, 85%); + background: rgb(0 0 0 / 85%); backdrop-filter: blur(8px); display: flex; justify-content: center; @@ -132,7 +132,7 @@ &:hover { background: var(--primary-hover-color); transform: translateY(-2px); - box-shadow: 0 4px 12px rgb(0, 0, 0, 20%); + box-shadow: 0 4px 12px rgb(0 0 0 / 20%); } &:active { diff --git a/frontend/src/app/features/magic-shelf/component/magic-shelf-component.scss b/frontend/src/app/features/magic-shelf/component/magic-shelf-component.scss index 3a1356180..8c2294090 100644 --- a/frontend/src/app/features/magic-shelf/component/magic-shelf-component.scss +++ b/frontend/src/app/features/magic-shelf/component/magic-shelf-component.scss @@ -42,7 +42,7 @@ background: var(--card-background); border: 1px solid var(--border-color); border-bottom: none; - box-shadow: 0 2px 6px rgb(0, 0, 0, 8%); + box-shadow: 0 2px 6px rgb(0 0 0 / 8%); min-height: 450px; @media (max-width: 480px) { @@ -236,7 +236,7 @@ transition: all 0.3s ease; &:hover { - box-shadow: 0 3px 8px rgb(0, 0, 0, 10%); + box-shadow: 0 3px 8px rgb(0 0 0 / 10%); } @media (max-width: 768px) { diff --git a/frontend/src/app/features/metadata/component/book-metadata-center/book-reading-sessions/book-reading-sessions.component.scss b/frontend/src/app/features/metadata/component/book-metadata-center/book-reading-sessions/book-reading-sessions.component.scss index 6c4697d66..d57b39461 100644 --- a/frontend/src/app/features/metadata/component/book-metadata-center/book-reading-sessions/book-reading-sessions.component.scss +++ b/frontend/src/app/features/metadata/component/book-metadata-center/book-reading-sessions/book-reading-sessions.component.scss @@ -58,12 +58,12 @@ &.book-type-pdf { color: var(--book-type-pdf-color); - background-color: rgb(220, 38, 38, 10%); + background-color: rgb(220 38 38 / 10%); } &.book-type-epub { color: var(--book-type-epub-color); - background-color: rgb(22, 163, 74, 10%); + background-color: rgb(22 163 74 / 10%); } &.book-type-cbx, @@ -71,27 +71,27 @@ &.book-type-cbr, &.book-type-cb7 { color: var(--book-type-cbx-color); - background-color: rgb(59, 130, 246, 10%); + background-color: rgb(59 130 246 / 10%); } &.book-type-fb2 { color: var(--book-type-fb2-color); - background-color: rgb(236, 72, 153, 10%); + background-color: rgb(236 72 153 / 10%); } &.book-type-mobi { color: var(--book-type-mobi-color); - background-color: rgb(99, 102, 241, 10%); + background-color: rgb(99 102 241 / 10%); } &.book-type-azw3 { color: var(--book-type-azw3-color); - background-color: rgb(20, 184, 166, 10%); + background-color: rgb(20 184 166 / 10%); } &.book-type-audiobook { color: var(--book-type-audiobook-color); - background-color: rgb(234, 179, 8, 10%); + background-color: rgb(234 179 8 / 10%); } } @@ -110,17 +110,17 @@ &.progress-positive { color: #16a34a; - background-color: rgb(22, 163, 74, 10%); + background-color: rgb(22 163 74 / 10%); } &.progress-negative { color: #dc2626; - background-color: rgb(220, 38, 38, 10%); + background-color: rgb(220 38 38 / 10%); } &.progress-neutral { color: var(--text-color-secondary); - background-color: rgb(128, 128, 128, 10%); + background-color: rgb(128 128 128 / 10%); } } diff --git a/frontend/src/app/features/metadata/component/book-metadata-center/metadata-editor/metadata-editor.component.scss b/frontend/src/app/features/metadata/component/book-metadata-center/metadata-editor/metadata-editor.component.scss index 15e8a61fe..b7f070308 100644 --- a/frontend/src/app/features/metadata/component/book-metadata-center/metadata-editor/metadata-editor.component.scss +++ b/frontend/src/app/features/metadata/component/book-metadata-center/metadata-editor/metadata-editor.component.scss @@ -325,7 +325,7 @@ label { .cdk-drag-preview { box-sizing: border-box; border-radius: 1rem; - box-shadow: 0 2px 8px rgb(0, 0, 0, 20%); + box-shadow: 0 2px 8px rgb(0 0 0 / 20%); } .cdk-drag-placeholder { diff --git a/frontend/src/app/features/metadata/component/book-metadata-center/metadata-picker/metadata-picker.component.scss b/frontend/src/app/features/metadata/component/book-metadata-center/metadata-picker/metadata-picker.component.scss index 2ad514f36..bfcaa4024 100644 --- a/frontend/src/app/features/metadata/component/book-metadata-center/metadata-picker/metadata-picker.component.scss +++ b/frontend/src/app/features/metadata/component/book-metadata-center/metadata-picker/metadata-picker.component.scss @@ -32,8 +32,8 @@ justify-content: center; gap: 0.5rem; padding: 0.625rem 1rem; - background: rgb(34, 197, 94, 10%); - border: 1px solid rgb(34, 197, 94, 30%); + background: rgb(34 197 94 / 10%); + border: 1px solid rgb(34 197 94 / 30%); border-radius: 8px; color: var(--p-green-400); font-size: 0.875rem; @@ -207,7 +207,7 @@ height: auto; border-radius: 6px; overflow: hidden; - box-shadow: 0 2px 8px rgb(0, 0, 0, 15%); + box-shadow: 0 2px 8px rgb(0 0 0 / 15%); @media (min-width: 768px) { width: 150px; @@ -540,7 +540,7 @@ &.copied { border-color: var(--p-yellow-500); - background: rgb(234, 179, 8, 15%); + background: rgb(234 179 8 / 15%); i { color: var(--p-yellow-500); @@ -549,7 +549,7 @@ &.reset { border-color: var(--p-red-500); - background: rgb(239, 68, 68, 15%); + background: rgb(239 68 68 / 15%); i { color: var(--p-red-500); @@ -706,7 +706,7 @@ .cdk-drag-preview { box-sizing: border-box; border-radius: 1rem; - box-shadow: 0 2px 8px rgb(0, 0, 0, 20%); + box-shadow: 0 2px 8px rgb(0 0 0 / 20%); } .cdk-drag-placeholder { diff --git a/frontend/src/app/features/metadata/component/book-metadata-center/metadata-searcher/metadata-searcher.component.scss b/frontend/src/app/features/metadata/component/book-metadata-center/metadata-searcher/metadata-searcher.component.scss index ef8f51478..f8351d74a 100644 --- a/frontend/src/app/features/metadata/component/book-metadata-center/metadata-searcher/metadata-searcher.component.scss +++ b/frontend/src/app/features/metadata/component/book-metadata-center/metadata-searcher/metadata-searcher.component.scss @@ -55,13 +55,13 @@ $provider-colors: ( background: var(--p-surface-900); border-radius: 0.75rem; padding: 1.25rem; - box-shadow: 0 2px 4px rgb(0, 0, 0, 20%); + box-shadow: 0 2px 4px rgb(0 0 0 / 20%); border: 1px solid var(--border-color); margin-bottom: 1.25rem; transition: all 0.3s ease; &:hover { - box-shadow: 0 4px 8px rgb(0, 0, 0, 30%); + box-shadow: 0 4px 8px rgb(0 0 0 / 30%); } } @@ -158,7 +158,7 @@ $provider-colors: ( background: var(--p-surface-900); border-radius: 0.75rem; padding: 1rem; - box-shadow: 0 2px 4px rgb(0, 0, 0, 20%); + box-shadow: 0 2px 4px rgb(0 0 0 / 20%); border: 1px solid var(--border-color); margin-bottom: 1.25rem; animation: slideIn 0.3s ease-out; @@ -231,12 +231,12 @@ $provider-colors: ( align-items: center; gap: 0.375rem; padding: 0.25rem 0.85rem; - background: rgb(34, 197, 94, 80%); + background: rgb(34 197 94 / 80%); color: white; border-radius: 2rem; font-size: 0.85rem; font-weight: 700; - box-shadow: 0 2px 8px rgb(34, 197, 94, 35%); + box-shadow: 0 2px 8px rgb(34 197 94 / 35%); } .provider-pills { @@ -343,7 +343,7 @@ $provider-colors: ( &:hover { transform: translateY(-2px); - box-shadow: 0 2px 6px rgb(0, 0, 0, 20%); + box-shadow: 0 2px 6px rgb(0 0 0 / 20%); } &.active:hover { @@ -392,7 +392,7 @@ $provider-colors: ( border-radius: 2rem; font-weight: 800; font-size: 1rem; - text-shadow: 0 1px 2px rgb(0, 0, 0, 12%); + text-shadow: 0 1px 2px rgb(0 0 0 / 12%); } } @@ -455,7 +455,7 @@ $provider-colors: ( padding: 1rem; background: var(--p-surface-900); border-radius: 0.75rem; - box-shadow: 0 2px 4px rgb(0, 0, 0, 20%); + box-shadow: 0 2px 4px rgb(0 0 0 / 20%); border: 1px solid var(--border-color); @media (min-width: 768px) { @@ -544,7 +544,7 @@ $provider-colors: ( background: var(--p-surface-900); border-radius: 0.75rem; overflow: hidden; - box-shadow: 0 2px 6px rgb(0, 0, 0, 20%); + box-shadow: 0 2px 6px rgb(0 0 0 / 20%); border: 1px solid var(--border-color); cursor: pointer; transition: all 0.3s ease; @@ -555,7 +555,7 @@ $provider-colors: ( &:hover { transform: translateY(-4px); - box-shadow: 0 8px 16px rgb(0, 0, 0, 30%); + box-shadow: 0 8px 16px rgb(0 0 0 / 30%); border-color: var(--primary-color); .card-overlay { @@ -590,7 +590,7 @@ $provider-colors: ( .card-overlay { position: absolute; inset: 0; - background: rgb(0, 0, 0, 75%); + background: rgb(0 0 0 / 75%); display: flex; flex-direction: column; align-items: center; diff --git a/frontend/src/app/features/metadata/component/book-metadata-center/metadata-viewer/metadata-viewer.component.scss b/frontend/src/app/features/metadata/component/book-metadata-center/metadata-viewer/metadata-viewer.component.scss index 0172510e6..a32489fe7 100644 --- a/frontend/src/app/features/metadata/component/book-metadata-center/metadata-viewer/metadata-viewer.component.scss +++ b/frontend/src/app/features/metadata/component/book-metadata-center/metadata-viewer/metadata-viewer.component.scss @@ -334,7 +334,7 @@ .rating-link:hover .rating-favicon { transform: scale(1.2); - filter: drop-shadow(0 2px 4px rgb(0, 0, 0, 30%)); + filter: drop-shadow(0 2px 4px rgb(0 0 0 / 30%)); } .rating-favicon { @@ -683,7 +683,7 @@ transition: box-shadow 0.3s ease; &:hover { - box-shadow: 0 2px 8px rgb(0, 0, 0, 10%); + box-shadow: 0 2px 8px rgb(0 0 0 / 10%); } } @@ -776,7 +776,7 @@ transition: box-shadow 0.3s ease; &:hover { - box-shadow: 0 2px 8px rgb(0, 0, 0, 10%); + box-shadow: 0 2px 8px rgb(0 0 0 / 10%); } } diff --git a/frontend/src/app/features/metadata/component/bulk-metadata-update/bulk-metadata-update-component.scss b/frontend/src/app/features/metadata/component/bulk-metadata-update/bulk-metadata-update-component.scss index 2112f33ae..47d0e14c9 100644 --- a/frontend/src/app/features/metadata/component/bulk-metadata-update/bulk-metadata-update-component.scss +++ b/frontend/src/app/features/metadata/component/bulk-metadata-update/bulk-metadata-update-component.scss @@ -19,7 +19,7 @@ border: 1px solid var(--border-color); border-top: none; border-radius: 0 0 10px 10px; - box-shadow: 0 2px 6px rgb(0, 0, 0, 8%); + box-shadow: 0 2px 6px rgb(0 0 0 / 8%); position: relative; } @@ -30,7 +30,7 @@ display: flex; align-items: center; justify-content: center; - background: rgb(0, 0, 0, 60%); + background: rgb(0 0 0 / 60%); } .info-box { diff --git a/frontend/src/app/features/metadata/component/cover-search/cover-search.component.scss b/frontend/src/app/features/metadata/component/cover-search/cover-search.component.scss index f676971a6..cdeb96fee 100644 --- a/frontend/src/app/features/metadata/component/cover-search/cover-search.component.scss +++ b/frontend/src/app/features/metadata/component/cover-search/cover-search.component.scss @@ -29,7 +29,7 @@ border: 1px solid var(--border-color); border-top: none; border-radius: 0 0 10px 10px; - box-shadow: 0 2px 6px rgb(0, 0, 0, 8%); + box-shadow: 0 2px 6px rgb(0 0 0 / 8%); } } @@ -256,7 +256,7 @@ } .p-image-preview-mask { - background: rgb(0, 0, 0, 60%); + background: rgb(0 0 0 / 60%); } .p-image-preview-indicator { @@ -269,7 +269,7 @@ position: absolute; top: 6px; right: 6px; - background: rgb(0, 0, 0, 80%); + background: rgb(0 0 0 / 80%); color: white; padding: 3px 6px; border-radius: 4px; @@ -288,7 +288,7 @@ align-items: center; justify-content: center; padding: 0.5rem; - background: linear-gradient(to top, rgb(0, 0, 0, 80%), transparent); + background: linear-gradient(to top, rgb(0 0 0 / 80%), transparent); opacity: 0; z-index: 3; } diff --git a/frontend/src/app/features/metadata/component/metadata-manager/metadata-manager.component.scss b/frontend/src/app/features/metadata/component/metadata-manager/metadata-manager.component.scss index cc28d8112..36ce41649 100644 --- a/frontend/src/app/features/metadata/component/metadata-manager/metadata-manager.component.scss +++ b/frontend/src/app/features/metadata/component/metadata-manager/metadata-manager.component.scss @@ -184,14 +184,14 @@ gap: 0.5rem; padding: 0.5rem 0.75rem; margin-bottom: 1.25rem; - background: rgb(251, 146, 60, 5%); - border: 1px solid rgb(251, 146, 60, 30%); + background: rgb(251 146 60 / 5%); + border: 1px solid rgb(251 146 60 / 30%); border-radius: 6px; color: var(--p-text-color-secondary); .pi-exclamation-triangle { font-size: 1rem; - color: rgb(251, 146, 60, 70%); + color: rgb(251 146 60 / 70%); flex-shrink: 0; margin-top: 0.1rem; } @@ -254,7 +254,7 @@ } .table-card { - border: 1px solid rgb(128, 128, 128, 20%); + border: 1px solid rgb(128 128 128 / 20%); border-radius: 8px; overflow: hidden; background: var(--surface-ground); @@ -331,7 +331,7 @@ align-items: center; gap: 0.75rem; padding: 1rem; - background: rgb(251, 146, 60, 15%); + background: rgb(251 146 60 / 15%); border: 1px solid var(--p-orange-500); border-radius: 8px; color: var(--p-text-color); @@ -351,7 +351,7 @@ padding: 1rem; background: var(--surface-ground); border-radius: 8px; - border: 1px solid rgb(128, 128, 128, 20%); + border: 1px solid rgb(128 128 128 / 20%); p { margin: 0 0 0.5rem 0; @@ -395,7 +395,7 @@ .current-value { padding: 1rem; background: var(--surface-ground); - border: 1px solid rgb(128, 128, 128, 20%); + border: 1px solid rgb(128 128 128 / 20%); border-radius: 8px; margin-bottom: 1.5rem; display: flex; diff --git a/frontend/src/app/features/metadata/component/metadata-review-dialog/metadata-review-dialog-component.scss b/frontend/src/app/features/metadata/component/metadata-review-dialog/metadata-review-dialog-component.scss index 95c708cde..adfc70694 100644 --- a/frontend/src/app/features/metadata/component/metadata-review-dialog/metadata-review-dialog-component.scss +++ b/frontend/src/app/features/metadata/component/metadata-review-dialog/metadata-review-dialog-component.scss @@ -49,7 +49,7 @@ transition: all 0.3s ease; &:hover { - box-shadow: 0 2px 4px rgb(0, 0, 0, 10%); + box-shadow: 0 2px 4px rgb(0 0 0 / 10%); } } diff --git a/frontend/src/app/features/metadata/component/multi-book-metadata-editor/multi-book-metadata-editor-component.scss b/frontend/src/app/features/metadata/component/multi-book-metadata-editor/multi-book-metadata-editor-component.scss index f0f582ca2..95fb4f21e 100644 --- a/frontend/src/app/features/metadata/component/multi-book-metadata-editor/multi-book-metadata-editor-component.scss +++ b/frontend/src/app/features/metadata/component/multi-book-metadata-editor/multi-book-metadata-editor-component.scss @@ -29,7 +29,7 @@ border: 1px solid var(--border-color); border-top: none; border-radius: 0 0 10px 10px; - box-shadow: 0 2px 6px rgb(0, 0, 0, 8%); + box-shadow: 0 2px 6px rgb(0 0 0 / 8%); ::ng-deep { p-tabs { diff --git a/frontend/src/app/features/metadata/component/multi-book-metadata-fetch/multi-book-metadata-fetch-component.scss b/frontend/src/app/features/metadata/component/multi-book-metadata-fetch/multi-book-metadata-fetch-component.scss index 8e2c7ab53..0c88aa806 100644 --- a/frontend/src/app/features/metadata/component/multi-book-metadata-fetch/multi-book-metadata-fetch-component.scss +++ b/frontend/src/app/features/metadata/component/multi-book-metadata-fetch/multi-book-metadata-fetch-component.scss @@ -30,7 +30,7 @@ border: 1px solid var(--border-color); border-top: none; border-radius: 0 0 10px 10px; - box-shadow: 0 2px 6px rgb(0, 0, 0, 8%); + box-shadow: 0 2px 6px rgb(0 0 0 / 8%); } .book-list-section { diff --git a/frontend/src/app/features/readers/audiobook-player/audiobook-player.component.scss b/frontend/src/app/features/readers/audiobook-player/audiobook-player.component.scss index ba54137d8..54c760710 100644 --- a/frontend/src/app/features/readers/audiobook-player/audiobook-player.component.scss +++ b/frontend/src/app/features/readers/audiobook-player/audiobook-player.component.scss @@ -6,11 +6,11 @@ $bg-secondary: #1a1a2e; $bg-tertiary: #252542; $bg-darker: #0a0a12; $text-primary: #ffffff; -$text-secondary: rgb(255, 255, 255, 80%); -$text-tertiary: rgb(255, 255, 255, 50%); +$text-secondary: rgb(255 255 255 / 80%); +$text-tertiary: rgb(255 255 255 / 50%); $accent-secondary: #ec4899; $accent-tertiary: #06b6d4; -$border-color: rgb(255, 255, 255, 10%); +$border-color: rgb(255 255 255 / 10%); // CSS variable for primary color from theme :host { @@ -80,7 +80,7 @@ $border-color: rgb(255, 255, 255, 10%); align-items: center; justify-content: space-between; padding: 1rem 1.5rem; - background: rgb(0, 0, 0, 40%); + background: rgb(0 0 0 / 40%); backdrop-filter: blur(20px); border-bottom: 1px solid $border-color; z-index: 10; @@ -155,8 +155,8 @@ $border-color: rgb(255, 255, 255, 10%); border-radius: 16px; overflow: hidden; box-shadow: - 0 25px 60px -12px rgb(0, 0, 0, 60%), - 0 0 0 1px rgb(255, 255, 255, 10%), + 0 25px 60px -12px rgb(0 0 0 / 60%), + 0 0 0 1px rgb(255 255 255 / 10%), 0 0 60px color-mix(in srgb, var(--accent-color) 20%, transparent), 0 0 100px rgb($accent-secondary, 10%); transition: transform 0.3s ease, box-shadow 0.3s ease; @@ -164,8 +164,8 @@ $border-color: rgb(255, 255, 255, 10%); &:hover { transform: scale(1.02); box-shadow: - 0 30px 70px -12px rgb(0, 0, 0, 70%), - 0 0 0 1px rgb(255, 255, 255, 15%), + 0 30px 70px -12px rgb(0 0 0 / 70%), + 0 0 0 1px rgb(255 255 255 / 15%), 0 0 80px color-mix(in srgb, var(--accent-color) 30%, transparent), 0 0 120px rgb($accent-secondary, 15%); } @@ -182,7 +182,7 @@ $border-color: rgb(255, 255, 255, 10%); display: flex; align-items: center; justify-content: center; - background: rgb(0, 0, 0, 70%); + background: rgb(0 0 0 / 70%); backdrop-filter: blur(4px); } @@ -197,8 +197,8 @@ $border-color: rgb(255, 255, 255, 10%); i { font-size: 5rem; - color: rgb(255, 255, 255, 90%); - text-shadow: 0 0 30px rgb(255, 255, 255, 50%); + color: rgb(255 255 255 / 90%); + text-shadow: 0 0 30px rgb(255 255 255 / 50%); } } } @@ -242,7 +242,7 @@ $border-color: rgb(255, 255, 255, 10%); .progress-bar-wrapper { position: relative; height: 8px; - background: rgb(255, 255, 255, 10%); + background: rgb(255 255 255 / 10%); border-radius: 4px; overflow: visible; @@ -251,7 +251,7 @@ $border-color: rgb(255, 255, 255, 10%); top: 0; left: 0; height: 100%; - background: rgb(255, 255, 255, 15%); + background: rgb(255 255 255 / 15%); border-radius: 4px; transition: width 0.3s ease; } @@ -278,13 +278,13 @@ $border-color: rgb(255, 255, 255, 10%); height: 18px; background: $text-primary; border: 3px solid var(--accent-color); - box-shadow: 0 2px 10px rgb(0, 0, 0, 40%), + box-shadow: 0 2px 10px rgb(0 0 0 / 40%), 0 0 15px color-mix(in srgb, var(--accent-color) 40%, transparent); transition: transform 0.15s ease, box-shadow 0.15s ease; &:hover { transform: scale(1.2); - box-shadow: 0 2px 15px rgb(0, 0, 0, 50%), + box-shadow: 0 2px 15px rgb(0 0 0 / 50%), 0 0 25px color-mix(in srgb, var(--accent-color) 60%, transparent); } } @@ -381,7 +381,7 @@ $border-color: rgb(255, 255, 255, 10%); width: 100px; .p-slider { - background: rgb(255, 255, 255, 15%); + background: rgb(255 255 255 / 15%); height: 5px; border-radius: 3px; @@ -395,7 +395,7 @@ $border-color: rgb(255, 255, 255, 10%); height: 14px; background: $text-primary; border: 2px solid $accent-tertiary; - box-shadow: 0 2px 8px rgb(0, 0, 0, 30%); + box-shadow: 0 2px 8px rgb(0 0 0 / 30%); } } } @@ -407,15 +407,15 @@ $border-color: rgb(255, 255, 255, 10%); padding: 0.5rem 0.75rem; font-size: 0.8rem; font-weight: 600; - background: rgb(255, 255, 255, 8%); - border: 1px solid rgb(255, 255, 255, 10%); + background: rgb(255 255 255 / 8%); + border: 1px solid rgb(255 255 255 / 10%); color: $text-secondary; transition: all 0.2s ease; &:hover { - background: rgb(255, 255, 255, 12%); + background: rgb(255 255 255 / 12%); color: $text-primary; - border-color: rgb(255, 255, 255, 20%); + border-color: rgb(255 255 255 / 20%); } &.p-highlight { @@ -438,7 +438,7 @@ $border-color: rgb(255, 255, 255, 10%); padding: 1rem; color: $text-tertiary; font-size: 0.8rem; - background: rgb(255, 255, 255, 3%); + background: rgb(255 255 255 / 3%); border-radius: 12px; margin-top: 0.5rem; @@ -447,7 +447,7 @@ $border-color: rgb(255, 255, 255, 10%); align-items: center; gap: 0.5rem; padding: 0.5rem 0.75rem; - background: rgb(255, 255, 255, 5%); + background: rgb(255 255 255 / 5%); border-radius: 8px; white-space: nowrap; @@ -485,7 +485,7 @@ $border-color: rgb(255, 255, 255, 10%); color: #fbbf24 !important; &:hover { - background: rgb(251, 191, 36, 15%) !important; + background: rgb(251 191 36 / 15%) !important; } } } @@ -553,7 +553,7 @@ $border-color: rgb(255, 255, 255, 10%); display: flex; flex-direction: column; animation: slideIn 0.25s ease-out; - box-shadow: -10px 0 40px rgb(0, 0, 0, 50%); + box-shadow: -10px 0 40px rgb(0 0 0 / 50%); @keyframes slideIn { from { @@ -572,7 +572,7 @@ $border-color: rgb(255, 255, 255, 10%); justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid $border-color; - background: rgb(0, 0, 0, 20%); + background: rgb(0 0 0 / 20%); h2 { margin: 0; diff --git a/frontend/src/app/features/readers/cbx-reader/cbx-reader.component.scss b/frontend/src/app/features/readers/cbx-reader/cbx-reader.component.scss index dffe0dfcd..088b0d451 100644 --- a/frontend/src/app/features/readers/cbx-reader/cbx-reader.component.scss +++ b/frontend/src/app/features/readers/cbx-reader/cbx-reader.component.scss @@ -56,8 +56,8 @@ left: 0; display: none; border-radius: 50%; - border: 3px solid rgb(255, 255, 255, 80%); - box-shadow: 0 0 0 1px rgb(0, 0, 0, 30%), 0 8px 32px rgb(0, 0, 0, 50%); + border: 3px solid rgb(255 255 255 / 80%); + box-shadow: 0 0 0 1px rgb(0 0 0 / 30%), 0 8px 32px rgb(0 0 0 / 50%); pointer-events: none; z-index: 1000; background-repeat: no-repeat; @@ -69,7 +69,7 @@ right: 24px; z-index: 10; pointer-events: none; - filter: drop-shadow(0 2px 4px rgb(0, 0, 0, 30%)); + filter: drop-shadow(0 2px 4px rgb(0 0 0 / 30%)); svg { display: block; @@ -168,7 +168,7 @@ .page-image { object-fit: contain; - box-shadow: 0 8px 32px rgb(0, 0, 0, 60%); + box-shadow: 0 8px 32px rgb(0 0 0 / 60%); border-radius: 4px; transition: transform 0.2s ease; @@ -327,7 +327,7 @@ } .page-image { - box-shadow: 0 8px 32px rgb(0, 0, 0, 60%); + box-shadow: 0 8px 32px rgb(0 0 0 / 60%); border-radius: 4px; transition: none; @@ -516,12 +516,12 @@ color: #ffffff; cursor: pointer; transition: all 0.3s ease; - box-shadow: 0 4px 20px rgb(74, 144, 226, 30%); + box-shadow: 0 4px 20px rgb(74 144 226 / 30%); min-width: 280px; &:hover { transform: translateY(-2px); - box-shadow: 0 8px 30px rgb(74, 144, 226, 50%); + box-shadow: 0 8px 30px rgb(74 144 226 / 50%); background: linear-gradient(135deg, #357abd 0%, #2a6399 100%); } @@ -582,7 +582,7 @@ .loader-overlay { position: fixed; inset: 0 0 0 0; - background-color: rgb(0, 0, 0, 80%); + background-color: rgb(0 0 0 / 80%); display: flex; align-items: center; justify-content: center; @@ -599,7 +599,7 @@ .spinner { width: 48px; height: 48px; - border: 4px solid rgb(255, 255, 255, 20%); + border: 4px solid rgb(255 255 255 / 20%); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; diff --git a/frontend/src/app/features/readers/cbx-reader/dialogs/cbx-note-dialog.component.scss b/frontend/src/app/features/readers/cbx-reader/dialogs/cbx-note-dialog.component.scss index f2efc2976..b62299c30 100644 --- a/frontend/src/app/features/readers/cbx-reader/dialogs/cbx-note-dialog.component.scss +++ b/frontend/src/app/features/readers/cbx-reader/dialogs/cbx-note-dialog.component.scss @@ -1,19 +1,19 @@ // Variables matching reader styling $dialog-bg: #1a1a1a; -$text-primary: rgb(255, 255, 255, 95%); -$text-secondary: rgb(255, 255, 255, 60%); -$text-muted: rgb(255, 255, 255, 40%); -$border-color: rgb(255, 255, 255, 8%); -$hover-bg: rgb(255, 255, 255, 8%); +$text-primary: rgb(255 255 255 / 95%); +$text-secondary: rgb(255 255 255 / 60%); +$text-muted: rgb(255 255 255 / 40%); +$border-color: rgb(255 255 255 / 8%); +$hover-bg: rgb(255 255 255 / 8%); $active-color: #4a90e2; -$active-bg: rgb(74, 144, 226, 15%); +$active-bg: rgb(74 144 226 / 15%); $transition-fast: 150ms ease; $transition-normal: 200ms ease; .dialog-overlay { position: fixed; inset: 0; - background: rgb(0, 0, 0, 50%); + background: rgb(0 0 0 / 50%); backdrop-filter: blur(4px); z-index: 13000; display: flex; @@ -37,7 +37,7 @@ $transition-normal: 200ms ease; display: flex; flex-direction: column; overflow: hidden; - box-shadow: 0 20px 60px rgb(0, 0, 0, 50%); + box-shadow: 0 20px 60px rgb(0 0 0 / 50%); animation: slideUp 250ms cubic-bezier(0.4, 0, 0.2, 1); } @@ -58,7 +58,7 @@ $transition-normal: 200ms ease; display: flex; align-items: center; justify-content: space-between; - background: linear-gradient(180deg, rgb(255, 255, 255, 2%) 0%, transparent 100%); + background: linear-gradient(180deg, rgb(255 255 255 / 2%) 0%, transparent 100%); h2 { margin: 0; @@ -107,11 +107,11 @@ $transition-normal: 200ms ease; } &::-webkit-scrollbar-thumb { - background: rgb(255, 255, 255, 15%); + background: rgb(255 255 255 / 15%); border-radius: 3px; &:hover { - background: rgb(255, 255, 255, 25%); + background: rgb(255 255 255 / 25%); } } } @@ -130,7 +130,7 @@ $transition-normal: 200ms ease; .page-info { margin: 0; padding: 12px 16px; - background: rgb(255, 255, 255, 3%); + background: rgb(255 255 255 / 3%); border-left: 3px solid $active-color; border-radius: 0 8px 8px 0; color: $text-secondary; @@ -149,7 +149,7 @@ $transition-normal: 200ms ease; flex: 1; min-height: 120px; padding: 12px 16px; - background: rgb(255, 255, 255, 3%); + background: rgb(255 255 255 / 3%); border: 1px solid $border-color; border-radius: 8px; color: $text-primary; @@ -166,7 +166,7 @@ $transition-normal: 200ms ease; &:focus { outline: none; border-color: $active-color; - box-shadow: 0 0 0 3px rgb(74, 144, 226, 15%); + box-shadow: 0 0 0 3px rgb(74 144 226 / 15%); } } @@ -193,7 +193,7 @@ $transition-normal: 200ms ease; &.selected { border-color: $text-primary; - box-shadow: 0 0 0 3px rgb(255, 255, 255, 20%); + box-shadow: 0 0 0 3px rgb(255 255 255 / 20%); &::after { content: '\2713'; @@ -205,7 +205,7 @@ $transition-normal: 200ms ease; color: white; font-size: 14px; font-weight: bold; - text-shadow: 0 1px 2px rgb(0, 0, 0, 50%); + text-shadow: 0 1px 2px rgb(0 0 0 / 50%); } } } @@ -216,7 +216,7 @@ $transition-normal: 200ms ease; display: flex; justify-content: flex-end; gap: 12px; - background: linear-gradient(0deg, rgb(255, 255, 255, 2%) 0%, transparent 100%); + background: linear-gradient(0deg, rgb(255 255 255 / 2%) 0%, transparent 100%); } .btn { @@ -244,7 +244,7 @@ $transition-normal: 200ms ease; color: $text-primary; &:hover:not(:disabled) { - background: rgb(255, 255, 255, 12%); + background: rgb(255 255 255 / 12%); } } diff --git a/frontend/src/app/features/readers/cbx-reader/dialogs/cbx-shortcuts-help.component.scss b/frontend/src/app/features/readers/cbx-reader/dialogs/cbx-shortcuts-help.component.scss index cd1c9afb9..ce0e3e31e 100644 --- a/frontend/src/app/features/readers/cbx-reader/dialogs/cbx-shortcuts-help.component.scss +++ b/frontend/src/app/features/readers/cbx-reader/dialogs/cbx-shortcuts-help.component.scss @@ -1,9 +1,9 @@ $dialog-bg: #1a1a1a; -$text-primary: rgb(255, 255, 255, 95%); -$text-secondary: rgb(255, 255, 255, 60%); -$text-muted: rgb(255, 255, 255, 40%); -$border-color: rgb(255, 255, 255, 8%); -$hover-bg: rgb(255, 255, 255, 8%); +$text-primary: rgb(255 255 255 / 95%); +$text-secondary: rgb(255 255 255 / 60%); +$text-muted: rgb(255 255 255 / 40%); +$border-color: rgb(255 255 255 / 8%); +$hover-bg: rgb(255 255 255 / 8%); $active-color: #4a90e2; $transition-fast: 150ms ease; $transition-normal: 200ms ease; @@ -11,7 +11,7 @@ $transition-normal: 200ms ease; .dialog-overlay { position: fixed; inset: 0; - background: rgb(0, 0, 0, 50%); + background: rgb(0 0 0 / 50%); backdrop-filter: blur(4px); z-index: 13000; display: flex; @@ -35,7 +35,7 @@ $transition-normal: 200ms ease; display: flex; flex-direction: column; overflow: hidden; - box-shadow: 0 20px 60px rgb(0, 0, 0, 50%); + box-shadow: 0 20px 60px rgb(0 0 0 / 50%); animation: slideUp 250ms cubic-bezier(0.4, 0, 0.2, 1); } @@ -56,7 +56,7 @@ $transition-normal: 200ms ease; display: flex; align-items: center; justify-content: space-between; - background: linear-gradient(180deg, rgb(255, 255, 255, 2%) 0%, transparent 100%); + background: linear-gradient(180deg, rgb(255 255 255 / 2%) 0%, transparent 100%); h2 { margin: 0; @@ -105,11 +105,11 @@ $transition-normal: 200ms ease; } &::-webkit-scrollbar-thumb { - background: rgb(255, 255, 255, 15%); + background: rgb(255 255 255 / 15%); border-radius: 3px; &:hover { - background: rgb(255, 255, 255, 25%); + background: rgb(255 255 255 / 25%); } } } @@ -137,12 +137,12 @@ $transition-normal: 200ms ease; justify-content: space-between; gap: 16px; padding: 8px 12px; - background: rgb(255, 255, 255, 3%); + background: rgb(255 255 255 / 3%); border-radius: 8px; transition: background $transition-fast; &:hover { - background: rgb(255, 255, 255, 5%); + background: rgb(255 255 255 / 5%); } } @@ -160,14 +160,14 @@ $transition-normal: 200ms ease; min-width: 28px; height: 26px; padding: 0 8px; - background: rgb(255, 255, 255, 10%); - border: 1px solid rgb(255, 255, 255, 15%); + background: rgb(255 255 255 / 10%); + border: 1px solid rgb(255 255 255 / 15%); border-radius: 5px; font-family: inherit; font-size: 12px; font-weight: 500; color: $text-primary; - box-shadow: 0 2px 0 rgb(0, 0, 0, 20%); + box-shadow: 0 2px 0 rgb(0 0 0 / 20%); } .key-separator { @@ -200,7 +200,7 @@ $transition-normal: 200ms ease; border-top: 1px solid $border-color; display: flex; justify-content: flex-end; - background: linear-gradient(0deg, rgb(255, 255, 255, 2%) 0%, transparent 100%); + background: linear-gradient(0deg, rgb(255 255 255 / 2%) 0%, transparent 100%); } .btn { diff --git a/frontend/src/app/features/readers/cbx-reader/layout/footer/cbx-footer.component.scss b/frontend/src/app/features/readers/cbx-reader/layout/footer/cbx-footer.component.scss index f75f27364..f646478cf 100644 --- a/frontend/src/app/features/readers/cbx-reader/layout/footer/cbx-footer.component.scss +++ b/frontend/src/app/features/readers/cbx-reader/layout/footer/cbx-footer.component.scss @@ -2,11 +2,11 @@ // Variables $footer-bg: #1a1a1a; -$text-primary: rgb(255, 255, 255, 95%); -$text-secondary: rgb(255, 255, 255, 60%); -$text-muted: rgb(255, 255, 255, 40%); -$border-color: rgb(255, 255, 255, 8%); -$hover-bg: rgb(255, 255, 255, 8%); +$text-primary: rgb(255 255 255 / 95%); +$text-secondary: rgb(255 255 255 / 60%); +$text-muted: rgb(255 255 255 / 40%); +$border-color: rgb(255 255 255 / 8%); +$hover-bg: rgb(255 255 255 / 8%); $active-color: #4a90e2; $transition-fast: 150ms ease; @@ -24,7 +24,7 @@ $transition-fast: 150ms ease; z-index: 1000; background: linear-gradient(135deg, #2d2d2d 0%, #1f1f1f 100%); border-top: 1px solid #404040; - box-shadow: 0 -2px 8px rgb(0, 0, 0, 30%); + box-shadow: 0 -2px 8px rgb(0 0 0 / 30%); color: $text-primary; transform: translateY(100%); opacity: 0; @@ -59,7 +59,7 @@ $transition-fast: 150ms ease; } .nav-btn { - background: rgb(51, 51, 51, 90%); + background: rgb(51 51 51 / 90%); border: 1px solid #555; color: $text-primary; padding: 6px 10px; @@ -110,7 +110,7 @@ $transition-fast: 150ms ease; .page-info { padding: 4px 12px; - background: rgb(255, 255, 255, 10%); + background: rgb(255 255 255 / 10%); border-radius: 4px; font-size: 13px; font-weight: 500; @@ -160,7 +160,7 @@ $transition-fast: 150ms ease; &::-webkit-slider-runnable-track { width: 100%; height: 6px; - background: rgb(255, 255, 255, 12%); + background: rgb(255 255 255 / 12%); border-radius: 3px; cursor: pointer; } @@ -168,14 +168,14 @@ $transition-fast: 150ms ease; &::-moz-range-track { width: 100%; height: 6px; - background: rgb(255, 255, 255, 12%); + background: rgb(255 255 255 / 12%); border-radius: 3px; cursor: pointer; } &::-ms-fill-lower, &::-ms-fill-upper { - background: rgb(255, 255, 255, 12%); + background: rgb(255 255 255 / 12%); border-radius: 3px; } @@ -188,7 +188,7 @@ $transition-fast: 150ms ease; border-radius: 50%; background: $active-color; cursor: pointer; - box-shadow: 0 2px 6px rgb(0, 0, 0, 30%); + box-shadow: 0 2px 6px rgb(0 0 0 / 30%); transition: transform $transition-fast, box-shadow $transition-fast; margin-top: calc((6px - 18px) / 2); /* center thumb on track */ } @@ -200,7 +200,7 @@ $transition-fast: 150ms ease; background: $active-color; cursor: pointer; border: none; - box-shadow: 0 2px 6px rgb(0, 0, 0, 30%); + box-shadow: 0 2px 6px rgb(0 0 0 / 30%); transition: transform $transition-fast, box-shadow $transition-fast; margin-top: calc((6px - 18px) / 2); } @@ -212,7 +212,7 @@ $transition-fast: 150ms ease; background: $active-color; cursor: pointer; border: none; - box-shadow: 0 2px 6px rgb(0, 0, 0, 30%); + box-shadow: 0 2px 6px rgb(0 0 0 / 30%); } } @@ -241,7 +241,7 @@ $transition-fast: 150ms ease; transform: translateX(-50%); width: 2px; height: 10px; - background: rgb(255, 255, 255, 50%); + background: rgb(255 255 255 / 50%); top: 0; } } @@ -252,7 +252,7 @@ $transition-fast: 150ms ease; display: flex; align-items: center; gap: 4px; - background: rgb(51, 51, 51, 90%); + background: rgb(51 51 51 / 90%); border-radius: 4px; padding: 2px; border: 1px solid #555; @@ -271,7 +271,7 @@ $transition-fast: 150ms ease; &:focus { outline: none; background: #4a4a4a; - box-shadow: 0 0 0 1px rgb(74, 144, 226, 50%); + box-shadow: 0 0 0 1px rgb(74 144 226 / 50%); } &::placeholder { diff --git a/frontend/src/app/features/readers/cbx-reader/layout/header/cbx-header.component.scss b/frontend/src/app/features/readers/cbx-reader/layout/header/cbx-header.component.scss index 3c7d97446..9bc1dcd10 100644 --- a/frontend/src/app/features/readers/cbx-reader/layout/header/cbx-header.component.scss +++ b/frontend/src/app/features/readers/cbx-reader/layout/header/cbx-header.component.scss @@ -12,7 +12,7 @@ z-index: 1000; background: linear-gradient(135deg, #2d2d2d 0%, #1f1f1f 100%); border-bottom: 1px solid #404040; - box-shadow: 0 2px 8px rgb(0, 0, 0, 30%); + box-shadow: 0 2px 8px rgb(0 0 0 / 30%); color: #ffffff; opacity: 1; pointer-events: auto; @@ -51,7 +51,7 @@ } &:hover { - background: rgb(255, 255, 255, 12%); + background: rgb(255 255 255 / 12%); } &:last-child { @@ -65,13 +65,13 @@ } &:hover { - background: rgb(239, 68, 68, 20%); + background: rgb(239 68 68 / 20%); } } &.active { color: #ef4444; - background: rgb(239, 68, 68, 15%); + background: rgb(239 68 68 / 15%); } &.has-notes { @@ -128,7 +128,7 @@ background: #2d2d2d; border: 1px solid #404040; border-radius: 8px; - box-shadow: 0 4px 12px rgb(0, 0, 0, 40%); + box-shadow: 0 4px 12px rgb(0 0 0 / 40%); z-index: 1000; min-width: 180px; padding: 4px; @@ -149,12 +149,12 @@ white-space: nowrap; &:hover { - background: rgb(255, 255, 255, 12%); + background: rgb(255 255 255 / 12%); } &.active { color: #ef4444; - background: rgb(239, 68, 68, 15%); + background: rgb(239 68 68 / 15%); } } } diff --git a/frontend/src/app/features/readers/cbx-reader/layout/quick-settings/cbx-quick-settings.component.scss b/frontend/src/app/features/readers/cbx-reader/layout/quick-settings/cbx-quick-settings.component.scss index a0875dd97..8edc3f514 100644 --- a/frontend/src/app/features/readers/cbx-reader/layout/quick-settings/cbx-quick-settings.component.scss +++ b/frontend/src/app/features/readers/cbx-reader/layout/quick-settings/cbx-quick-settings.component.scss @@ -2,13 +2,13 @@ // Variables $panel-bg: #1a1a1a; -$text-primary: rgb(255, 255, 255, 95%); -$text-secondary: rgb(255, 255, 255, 60%); -$text-muted: rgb(255, 255, 255, 40%); -$border-color: rgb(255, 255, 255, 8%); -$hover-bg: rgb(255, 255, 255, 8%); +$text-primary: rgb(255 255 255 / 95%); +$text-secondary: rgb(255 255 255 / 60%); +$text-muted: rgb(255 255 255 / 40%); +$border-color: rgb(255 255 255 / 8%); +$hover-bg: rgb(255 255 255 / 8%); $active-color: #4a90e2; -$active-bg: rgb(74, 144, 226, 15%); +$active-bg: rgb(74 144 226 / 15%); $transition-fast: 150ms ease; $transition-normal: 200ms ease; @@ -16,7 +16,7 @@ $transition-normal: 200ms ease; position: fixed; inset: 0; z-index: 12000; - background: rgb(0, 0, 0, 30%); + background: rgb(0 0 0 / 30%); animation: fadeIn $transition-normal; cursor: pointer; } @@ -34,7 +34,7 @@ $transition-normal: 200ms ease; background: $panel-bg; border: 1px solid $border-color; border-radius: 12px; - box-shadow: 0 12px 40px rgb(0, 0, 0, 50%); + box-shadow: 0 12px 40px rgb(0 0 0 / 50%); animation: slideDown 200ms cubic-bezier(0.4, 0, 0.2, 1); overflow: visible; cursor: default; @@ -105,7 +105,7 @@ $transition-normal: 200ms ease; position: relative; width: 40px; height: 22px; - background: rgb(255, 255, 255, 15%); + background: rgb(255 255 255 / 15%); border: none; border-radius: 11px; cursor: pointer; @@ -129,11 +129,11 @@ $transition-normal: 200ms ease; background: #ffffff; border-radius: 50%; transition: transform 300ms ease; - box-shadow: 0 2px 4px rgb(0, 0, 0, 20%); + box-shadow: 0 2px 4px rgb(0 0 0 / 20%); } &:hover { - background: rgb(255, 255, 255, 20%); + background: rgb(255 255 255 / 20%); &.active { background: color.adjust($active-color, $lightness: 5%); @@ -145,7 +145,7 @@ $transition-normal: 200ms ease; .button-group { display: flex; gap: 4px; - background: rgb(255, 255, 255, 3%); + background: rgb(255 255 255 / 3%); padding: 3px; border-radius: 6px; border: 1px solid $border-color; @@ -200,7 +200,7 @@ $transition-normal: 200ms ease; width: 20px; height: 20px; border-radius: 50%; - border: 1px solid rgb(255, 255, 255, 30%); + border: 1px solid rgb(255 255 255 / 30%); } } diff --git a/frontend/src/app/features/readers/cbx-reader/layout/sidebar/cbx-sidebar.component.scss b/frontend/src/app/features/readers/cbx-reader/layout/sidebar/cbx-sidebar.component.scss index ec8406807..ed1cde3f3 100644 --- a/frontend/src/app/features/readers/cbx-reader/layout/sidebar/cbx-sidebar.component.scss +++ b/frontend/src/app/features/readers/cbx-reader/layout/sidebar/cbx-sidebar.component.scss @@ -1,12 +1,12 @@ // Variables $sidebar-width: 300px; $sidebar-bg: #1a1a1a; -$text-primary: rgb(255, 255, 255, 95%); -$text-secondary: rgb(255, 255, 255, 60%); -$text-muted: rgb(255, 255, 255, 40%); -$border-color: rgb(255, 255, 255, 8%); -$hover-bg: rgb(255, 255, 255, 6%); -$active-bg: rgb(74, 144, 226, 15%); +$text-primary: rgb(255 255 255 / 95%); +$text-secondary: rgb(255 255 255 / 60%); +$text-muted: rgb(255 255 255 / 40%); +$border-color: rgb(255 255 255 / 8%); +$hover-bg: rgb(255 255 255 / 6%); +$active-bg: rgb(74 144 226 / 15%); $active-color: #4a90e2; $transition-fast: 150ms ease; $transition-normal: 200ms ease; @@ -15,7 +15,7 @@ $transition-normal: 200ms ease; .sidebar-overlay { position: fixed; inset: 0; - background: rgb(0, 0, 0, 40%); + background: rgb(0 0 0 / 40%); backdrop-filter: blur(2px); z-index: 12000; animation: fadeIn $transition-normal; @@ -36,7 +36,7 @@ $transition-normal: 200ms ease; display: flex; flex-direction: column; color: $text-primary; - box-shadow: 4px 0 24px rgb(0, 0, 0, 30%); + box-shadow: 4px 0 24px rgb(0 0 0 / 30%); animation: slideIn 250ms cubic-bezier(0.4, 0, 0.2, 1); z-index: 12001; @@ -51,7 +51,7 @@ $transition-normal: 200ms ease; gap: 14px; padding: 20px 16px; border-bottom: 1px solid $border-color; - background: linear-gradient(180deg, rgb(255, 255, 255, 3%) 0%, transparent 100%); + background: linear-gradient(180deg, rgb(255 255 255 / 3%) 0%, transparent 100%); } .book-cover { @@ -59,7 +59,7 @@ $transition-normal: 200ms ease; height: 90px; object-fit: cover; border-radius: 4px; - box-shadow: 0 4px 12px rgb(0, 0, 0, 30%); + box-shadow: 0 4px 12px rgb(0 0 0 / 30%); flex-shrink: 0; } @@ -96,7 +96,7 @@ $transition-normal: 200ms ease; .tabs { display: flex; border-bottom: 1px solid $border-color; - background: rgb(0, 0, 0, 20%); + background: rgb(0 0 0 / 20%); } .tab { @@ -173,11 +173,11 @@ $transition-normal: 200ms ease; } &::-webkit-scrollbar-thumb { - background: rgb(255, 255, 255, 15%); + background: rgb(255 255 255 / 15%); border-radius: 3px; &:hover { - background: rgb(255, 255, 255, 25%); + background: rgb(255 255 255 / 25%); } } } @@ -288,7 +288,7 @@ $transition-normal: 200ms ease; border-radius: 4px; &:hover { - background: rgb(255, 255, 255, 10%); + background: rgb(255 255 255 / 10%); color: $text-primary; } @@ -426,12 +426,12 @@ $transition-normal: 200ms ease; } .edit-btn:hover { - background: rgb(74, 144, 226, 15%); + background: rgb(74 144 226 / 15%); color: $active-color; } .delete-btn:hover { - background: rgb(239, 68, 68, 15%); + background: rgb(239 68 68 / 15%); color: #ef4444; } @@ -447,7 +447,7 @@ $transition-normal: 200ms ease; align-items: center; gap: 10px; padding: 12px 16px; - background: rgb(0, 0, 0, 20%); + background: rgb(0 0 0 / 20%); border-bottom: 1px solid $border-color; .search-icon { @@ -475,7 +475,7 @@ $transition-normal: 200ms ease; display: flex; align-items: center; justify-content: center; - background: rgb(255, 255, 255, 10%); + background: rgb(255 255 255 / 10%); border: none; border-radius: 50%; color: $text-secondary; @@ -484,7 +484,7 @@ $transition-normal: 200ms ease; flex-shrink: 0; &:hover { - background: rgb(255, 255, 255, 15%); + background: rgb(255 255 255 / 15%); color: $text-primary; } } diff --git a/frontend/src/app/features/readers/ebook-reader/dialogs/metadata-dialog.component.scss b/frontend/src/app/features/readers/ebook-reader/dialogs/metadata-dialog.component.scss index 2fc3024e0..f0bae0df5 100644 --- a/frontend/src/app/features/readers/ebook-reader/dialogs/metadata-dialog.component.scss +++ b/frontend/src/app/features/readers/ebook-reader/dialogs/metadata-dialog.component.scss @@ -1,19 +1,19 @@ // Variables matching sidebar styling $dialog-bg: #1a1a1a; -$text-primary: rgb(255, 255, 255, 95%); -$text-secondary: rgb(255, 255, 255, 60%); -$text-muted: rgb(255, 255, 255, 40%); -$border-color: rgb(255, 255, 255, 8%); -$hover-bg: rgb(255, 255, 255, 8%); +$text-primary: rgb(255 255 255 / 95%); +$text-secondary: rgb(255 255 255 / 60%); +$text-muted: rgb(255 255 255 / 40%); +$border-color: rgb(255 255 255 / 8%); +$hover-bg: rgb(255 255 255 / 8%); $active-color: #818cf8; -$active-bg: rgb(129, 140, 248, 15%); +$active-bg: rgb(129 140 248 / 15%); $transition-fast: 150ms ease; $transition-normal: 200ms ease; .dialog-overlay { position: fixed; inset: 0; - background: rgb(0, 0, 0, 50%); + background: rgb(0 0 0 / 50%); backdrop-filter: blur(4px); z-index: 12000; display: flex; @@ -37,7 +37,7 @@ $transition-normal: 200ms ease; display: flex; flex-direction: column; overflow: hidden; - box-shadow: 0 20px 60px rgb(0, 0, 0, 50%); + box-shadow: 0 20px 60px rgb(0 0 0 / 50%); animation: slideUp 250ms cubic-bezier(0.4, 0, 0.2, 1); @media (max-width: 768px) { @@ -64,7 +64,7 @@ $transition-normal: 200ms ease; display: flex; align-items: center; justify-content: space-between; - background: linear-gradient(180deg, rgb(255, 255, 255, 2%) 0%, transparent 100%); + background: linear-gradient(180deg, rgb(255 255 255 / 2%) 0%, transparent 100%); h2 { margin: 0; @@ -121,11 +121,11 @@ $transition-normal: 200ms ease; } &::-webkit-scrollbar-thumb { - background: rgb(255, 255, 255, 15%); + background: rgb(255 255 255 / 15%); border-radius: 3px; &:hover { - background: rgb(255, 255, 255, 25%); + background: rgb(255 255 255 / 25%); } } } @@ -155,7 +155,7 @@ $transition-normal: 200ms ease; width: 100%; height: auto; border-radius: 8px; - box-shadow: 0 8px 24px rgb(0, 0, 0, 40%); + box-shadow: 0 8px 24px rgb(0 0 0 / 40%); max-height: 300px; object-fit: cover; @@ -167,8 +167,8 @@ $transition-normal: 200ms ease; .cover-placeholder { width: 100%; aspect-ratio: 2/3; - background: linear-gradient(135deg, rgb(255, 255, 255, 4%) 0%, rgb(255, 255, 255, 1%) 100%); - border: 2px dashed rgb(255, 255, 255, 12%); + background: linear-gradient(135deg, rgb(255 255 255 / 4%) 0%, rgb(255 255 255 / 1%) 100%); + border: 2px dashed rgb(255 255 255 / 12%); border-radius: 8px; display: flex; align-items: center; @@ -247,7 +247,7 @@ $transition-normal: 200ms ease; font-family: 'SF Mono', Monaco, Inconsolata, 'Roboto Mono', monospace; font-size: 12px; color: $text-secondary; - background: rgb(255, 255, 255, 3%); + background: rgb(255 255 255 / 3%); padding: 4px 8px; border-radius: 4px; } @@ -272,11 +272,11 @@ $transition-normal: 200ms ease; border-radius: 12px; font-size: 12px; font-weight: 500; - border: 1px solid rgb(129, 140, 248, 20%); + border: 1px solid rgb(129 140 248 / 20%); transition: background $transition-fast; &:hover { - background: rgb(129, 140, 248, 25%); + background: rgb(129 140 248 / 25%); } } diff --git a/frontend/src/app/features/readers/ebook-reader/dialogs/note-dialog.component.scss b/frontend/src/app/features/readers/ebook-reader/dialogs/note-dialog.component.scss index bac15e74f..8a35f5fa8 100644 --- a/frontend/src/app/features/readers/ebook-reader/dialogs/note-dialog.component.scss +++ b/frontend/src/app/features/readers/ebook-reader/dialogs/note-dialog.component.scss @@ -1,19 +1,19 @@ // Variables matching reader styling $dialog-bg: #1a1a1a; -$text-primary: rgb(255, 255, 255, 95%); -$text-secondary: rgb(255, 255, 255, 60%); -$text-muted: rgb(255, 255, 255, 40%); -$border-color: rgb(255, 255, 255, 8%); -$hover-bg: rgb(255, 255, 255, 8%); +$text-primary: rgb(255 255 255 / 95%); +$text-secondary: rgb(255 255 255 / 60%); +$text-muted: rgb(255 255 255 / 40%); +$border-color: rgb(255 255 255 / 8%); +$hover-bg: rgb(255 255 255 / 8%); $active-color: #818cf8; -$active-bg: rgb(129, 140, 248, 15%); +$active-bg: rgb(129 140 248 / 15%); $transition-fast: 150ms ease; $transition-normal: 200ms ease; .dialog-overlay { position: fixed; inset: 0; - background: rgb(0, 0, 0, 50%); + background: rgb(0 0 0 / 50%); backdrop-filter: blur(4px); z-index: 13000; display: flex; @@ -37,7 +37,7 @@ $transition-normal: 200ms ease; display: flex; flex-direction: column; overflow: hidden; - box-shadow: 0 20px 60px rgb(0, 0, 0, 50%); + box-shadow: 0 20px 60px rgb(0 0 0 / 50%); animation: slideUp 250ms cubic-bezier(0.4, 0, 0.2, 1); } @@ -58,7 +58,7 @@ $transition-normal: 200ms ease; display: flex; align-items: center; justify-content: space-between; - background: linear-gradient(180deg, rgb(255, 255, 255, 2%) 0%, transparent 100%); + background: linear-gradient(180deg, rgb(255 255 255 / 2%) 0%, transparent 100%); h2 { margin: 0; @@ -107,11 +107,11 @@ $transition-normal: 200ms ease; } &::-webkit-scrollbar-thumb { - background: rgb(255, 255, 255, 15%); + background: rgb(255 255 255 / 15%); border-radius: 3px; &:hover { - background: rgb(255, 255, 255, 25%); + background: rgb(255 255 255 / 25%); } } } @@ -130,7 +130,7 @@ $transition-normal: 200ms ease; .selected-text { margin: 0; padding: 12px 16px; - background: rgb(255, 255, 255, 3%); + background: rgb(255 255 255 / 3%); border-left: 3px solid $active-color; border-radius: 0 8px 8px 0; color: $text-secondary; @@ -152,7 +152,7 @@ $transition-normal: 200ms ease; flex: 1; min-height: 120px; padding: 12px 16px; - background: rgb(255, 255, 255, 3%); + background: rgb(255 255 255 / 3%); border: 1px solid $border-color; border-radius: 8px; color: $text-primary; @@ -169,7 +169,7 @@ $transition-normal: 200ms ease; &:focus { outline: none; border-color: $active-color; - box-shadow: 0 0 0 3px rgb(129, 140, 248, 15%); + box-shadow: 0 0 0 3px rgb(129 140 248 / 15%); } } @@ -196,7 +196,7 @@ $transition-normal: 200ms ease; &.selected { border-color: $text-primary; - box-shadow: 0 0 0 3px rgb(255, 255, 255, 20%); + box-shadow: 0 0 0 3px rgb(255 255 255 / 20%); &::after { content: '✓'; @@ -208,7 +208,7 @@ $transition-normal: 200ms ease; color: white; font-size: 14px; font-weight: bold; - text-shadow: 0 1px 2px rgb(0, 0, 0, 50%); + text-shadow: 0 1px 2px rgb(0 0 0 / 50%); } } } @@ -219,7 +219,7 @@ $transition-normal: 200ms ease; display: flex; justify-content: flex-end; gap: 12px; - background: linear-gradient(0deg, rgb(255, 255, 255, 2%) 0%, transparent 100%); + background: linear-gradient(0deg, rgb(255 255 255 / 2%) 0%, transparent 100%); } .btn { @@ -247,7 +247,7 @@ $transition-normal: 200ms ease; color: $text-primary; &:hover:not(:disabled) { - background: rgb(255, 255, 255, 12%); + background: rgb(255 255 255 / 12%); } } diff --git a/frontend/src/app/features/readers/ebook-reader/dialogs/settings-dialog.component.scss b/frontend/src/app/features/readers/ebook-reader/dialogs/settings-dialog.component.scss index e3ecec989..c5eeee53c 100644 --- a/frontend/src/app/features/readers/ebook-reader/dialogs/settings-dialog.component.scss +++ b/frontend/src/app/features/readers/ebook-reader/dialogs/settings-dialog.component.scss @@ -1,19 +1,19 @@ // Variables matching sidebar styling $dialog-bg: #1a1a1a; -$text-primary: rgb(255, 255, 255, 95%); -$text-secondary: rgb(255, 255, 255, 60%); -$text-muted: rgb(255, 255, 255, 40%); -$border-color: rgb(255, 255, 255, 8%); -$hover-bg: rgb(255, 255, 255, 8%); +$text-primary: rgb(255 255 255 / 95%); +$text-secondary: rgb(255 255 255 / 60%); +$text-muted: rgb(255 255 255 / 40%); +$border-color: rgb(255 255 255 / 8%); +$hover-bg: rgb(255 255 255 / 8%); $active-color: #818cf8; -$active-bg: rgb(129, 140, 248, 15%); +$active-bg: rgb(129 140 248 / 15%); $transition-fast: 150ms ease; $transition-normal: 200ms ease; .dialog-overlay { position: fixed; inset: 0; - background: rgb(0, 0, 0, 25%); + background: rgb(0 0 0 / 25%); z-index: 12000; display: flex; align-items: center; @@ -35,7 +35,7 @@ $transition-normal: 200ms ease; height: 600px; max-height: 85vh; overflow: hidden; - box-shadow: 0 20px 60px rgb(0, 0, 0, 50%); + box-shadow: 0 20px 60px rgb(0 0 0 / 50%); animation: slideUp 250ms cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; @@ -56,7 +56,7 @@ $transition-normal: 200ms ease; display: flex; align-items: center; border-bottom: 1px solid $border-color; - background: rgb(0, 0, 0, 20%); + background: rgb(0 0 0 / 20%); padding: 0 20px; justify-content: center; position: relative; @@ -147,11 +147,11 @@ $transition-normal: 200ms ease; } &::-webkit-scrollbar-thumb { - background: rgb(255, 255, 255, 15%); + background: rgb(255 255 255 / 15%); border-radius: 3px; &:hover { - background: rgb(255, 255, 255, 25%); + background: rgb(255 255 255 / 25%); } } } @@ -239,7 +239,7 @@ $transition-normal: 200ms ease; position: relative; width: 44px; height: 24px; - background: rgb(255, 255, 255, 15%); + background: rgb(255 255 255 / 15%); border: none; border-radius: 12px; cursor: pointer; @@ -263,11 +263,11 @@ $transition-normal: 200ms ease; background: #ffffff; border-radius: 50%; transition: transform 300ms ease; - box-shadow: 0 2px 4px rgb(0, 0, 0, 20%); + box-shadow: 0 2px 4px rgb(0 0 0 / 20%); } &:hover { - background: rgb(255, 255, 255, 20%); + background: rgb(255 255 255 / 20%); &.active { background: #9aa3fa; @@ -301,7 +301,7 @@ $transition-normal: 200ms ease; } .theme-card { - background: rgb(255, 255, 255, 3%); + background: rgb(255 255 255 / 3%); border: 2px solid $border-color; border-radius: 8px; padding: 10px; @@ -312,7 +312,7 @@ $transition-normal: 200ms ease; &:hover { background: $hover-bg; - border-color: rgb(255, 255, 255, 15%); + border-color: rgb(255 255 255 / 15%); } } @@ -330,7 +330,7 @@ $transition-normal: 200ms ease; .color-swatch { flex: 1; border-radius: 4px; - border: 1px solid rgb(0, 0, 0, 20%); + border: 1px solid rgb(0 0 0 / 20%); } .theme-name { @@ -349,7 +349,7 @@ $transition-normal: 200ms ease; } .font-option { - background: rgb(255, 255, 255, 3%); + background: rgb(255 255 255 / 3%); border: 2px solid $border-color; border-radius: 8px; padding: 12px; @@ -362,7 +362,7 @@ $transition-normal: 200ms ease; &:hover { background: $hover-bg; - border-color: rgb(255, 255, 255, 15%); + border-color: rgb(255 255 255 / 15%); } &.active { @@ -406,7 +406,7 @@ $transition-normal: 200ms ease; flex: 1; margin: 0 10px; height: 5px; - background: rgb(255, 255, 255, 12%); + background: rgb(255 255 255 / 12%); border-radius: 3px; outline: none; cursor: pointer; @@ -419,12 +419,12 @@ $transition-normal: 200ms ease; border-radius: 50%; background: $active-color; cursor: pointer; - box-shadow: 0 2px 4px rgb(0, 0, 0, 30%); + box-shadow: 0 2px 4px rgb(0 0 0 / 30%); transition: all $transition-fast; &:hover { transform: scale(1.1); - box-shadow: 0 2px 8px rgb(129, 140, 248, 50%); + box-shadow: 0 2px 8px rgb(129 140 248 / 50%); } } @@ -435,7 +435,7 @@ $transition-normal: 200ms ease; background: $active-color; border: none; cursor: pointer; - box-shadow: 0 2px 4px rgb(0, 0, 0, 30%); + box-shadow: 0 2px 4px rgb(0 0 0 / 30%); } } @@ -473,7 +473,7 @@ $transition-normal: 200ms ease; display: flex; align-items: center; gap: 4px; - background: rgb(255, 255, 255, 3%); + background: rgb(255 255 255 / 3%); padding: 3px; border-radius: 6px; border: 1px solid $border-color; @@ -481,7 +481,7 @@ $transition-normal: 200ms ease; button { width: 28px; height: 28px; - background: rgb(255, 255, 255, 5%); + background: rgb(255 255 255 / 5%); color: $text-secondary; border: none; border-radius: 4px; @@ -534,14 +534,14 @@ $transition-normal: 200ms ease; height: 18px; border: 2px solid $active-color; border-radius: 50%; - background: rgb(255, 255, 255, 5%); + background: rgb(255 255 255 / 5%); margin: 0 6px 0 0; outline: none; transition: border-color $transition-fast, box-shadow $transition-fast; &:checked { background: $active-color; - box-shadow: 0 0 0 2px rgb(129, 140, 248, 15%); + box-shadow: 0 0 0 2px rgb(129 140 248 / 15%); border-color: $active-color; } @@ -564,19 +564,19 @@ $transition-normal: 200ms ease; width: 44px; height: 44px; border-radius: 50%; - border: 3px solid rgb(255, 255, 255, 15%); + border: 3px solid rgb(255 255 255 / 15%); cursor: pointer; transition: all $transition-fast; position: relative; display: flex; align-items: center; justify-content: center; - box-shadow: 0 2px 8px rgb(0, 0, 0, 20%); + box-shadow: 0 2px 8px rgb(0 0 0 / 20%); &:hover { transform: scale(1.08); - border-color: rgb(255, 255, 255, 30%); - box-shadow: 0 4px 12px rgb(0, 0, 0, 30%); + border-color: rgb(255 255 255 / 30%); + box-shadow: 0 4px 12px rgb(0 0 0 / 30%); } &:active { @@ -586,13 +586,13 @@ $transition-normal: 200ms ease; &.active { border-color: $active-color; border-width: 3px; - box-shadow: 0 0 0 3px rgb(129, 140, 248, 25%), 0 4px 12px rgb(0, 0, 0, 30%); + box-shadow: 0 0 0 3px rgb(129 140 248 / 25%), 0 4px 12px rgb(0 0 0 / 30%); .check-icon { - color: rgb(0, 0, 0, 70%); + color: rgb(0 0 0 / 70%); font-size: 18px; font-weight: bold; - text-shadow: 0 1px 2px rgb(255, 255, 255, 50%); + text-shadow: 0 1px 2px rgb(255 255 255 / 50%); } } diff --git a/frontend/src/app/features/readers/ebook-reader/dialogs/shortcuts-help.component.scss b/frontend/src/app/features/readers/ebook-reader/dialogs/shortcuts-help.component.scss index a157e69bd..8f60068b5 100644 --- a/frontend/src/app/features/readers/ebook-reader/dialogs/shortcuts-help.component.scss +++ b/frontend/src/app/features/readers/ebook-reader/dialogs/shortcuts-help.component.scss @@ -1,9 +1,9 @@ $dialog-bg: #1a1a1a; -$text-primary: rgb(255, 255, 255, 95%); -$text-secondary: rgb(255, 255, 255, 60%); -$text-muted: rgb(255, 255, 255, 40%); -$border-color: rgb(255, 255, 255, 8%); -$hover-bg: rgb(255, 255, 255, 8%); +$text-primary: rgb(255 255 255 / 95%); +$text-secondary: rgb(255 255 255 / 60%); +$text-muted: rgb(255 255 255 / 40%); +$border-color: rgb(255 255 255 / 8%); +$hover-bg: rgb(255 255 255 / 8%); $active-color: #818cf8; $transition-fast: 150ms ease; $transition-normal: 200ms ease; @@ -11,7 +11,7 @@ $transition-normal: 200ms ease; .dialog-overlay { position: fixed; inset: 0; - background: rgb(0, 0, 0, 50%); + background: rgb(0 0 0 / 50%); backdrop-filter: blur(4px); z-index: 13000; display: flex; @@ -35,7 +35,7 @@ $transition-normal: 200ms ease; display: flex; flex-direction: column; overflow: hidden; - box-shadow: 0 20px 60px rgb(0, 0, 0, 50%); + box-shadow: 0 20px 60px rgb(0 0 0 / 50%); animation: slideUp 250ms cubic-bezier(0.4, 0, 0.2, 1); } @@ -56,7 +56,7 @@ $transition-normal: 200ms ease; display: flex; align-items: center; justify-content: space-between; - background: linear-gradient(180deg, rgb(255, 255, 255, 2%) 0%, transparent 100%); + background: linear-gradient(180deg, rgb(255 255 255 / 2%) 0%, transparent 100%); h2 { margin: 0; @@ -105,11 +105,11 @@ $transition-normal: 200ms ease; } &::-webkit-scrollbar-thumb { - background: rgb(255, 255, 255, 15%); + background: rgb(255 255 255 / 15%); border-radius: 3px; &:hover { - background: rgb(255, 255, 255, 25%); + background: rgb(255 255 255 / 25%); } } } @@ -137,12 +137,12 @@ $transition-normal: 200ms ease; justify-content: space-between; gap: 16px; padding: 8px 12px; - background: rgb(255, 255, 255, 3%); + background: rgb(255 255 255 / 3%); border-radius: 8px; transition: background $transition-fast; &:hover { - background: rgb(255, 255, 255, 5%); + background: rgb(255 255 255 / 5%); } } @@ -160,14 +160,14 @@ $transition-normal: 200ms ease; min-width: 28px; height: 26px; padding: 0 8px; - background: rgb(255, 255, 255, 10%); - border: 1px solid rgb(255, 255, 255, 15%); + background: rgb(255 255 255 / 10%); + border: 1px solid rgb(255 255 255 / 15%); border-radius: 5px; font-family: inherit; font-size: 12px; font-weight: 500; color: $text-primary; - box-shadow: 0 2px 0 rgb(0, 0, 0, 20%); + box-shadow: 0 2px 0 rgb(0 0 0 / 20%); } .key-separator { @@ -200,7 +200,7 @@ $transition-normal: 200ms ease; border-top: 1px solid $border-color; display: flex; justify-content: flex-end; - background: linear-gradient(0deg, rgb(255, 255, 255, 2%) 0%, transparent 100%); + background: linear-gradient(0deg, rgb(255 255 255 / 2%) 0%, transparent 100%); } .btn { diff --git a/frontend/src/app/features/readers/ebook-reader/ebook-reader.component.scss b/frontend/src/app/features/readers/ebook-reader/ebook-reader.component.scss index 2a60bacb5..a5af5d80d 100644 --- a/frontend/src/app/features/readers/ebook-reader/ebook-reader.component.scss +++ b/frontend/src/app/features/readers/ebook-reader/ebook-reader.component.scss @@ -87,7 +87,7 @@ .loader-overlay { position: fixed; inset: 0 0 0 0; - background-color: rgb(0, 0, 0, 80%); + background-color: rgb(0 0 0 / 80%); display: flex; align-items: center; justify-content: center; @@ -104,7 +104,7 @@ .spinner { width: 48px; height: 48px; - border: 4px solid rgb(255, 255, 255, 20%); + border: 4px solid rgb(255 255 255 / 20%); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; diff --git a/frontend/src/app/features/readers/ebook-reader/layout/footer/footer.component.scss b/frontend/src/app/features/readers/ebook-reader/layout/footer/footer.component.scss index 53d2c62df..e1cef883f 100644 --- a/frontend/src/app/features/readers/ebook-reader/layout/footer/footer.component.scss +++ b/frontend/src/app/features/readers/ebook-reader/layout/footer/footer.component.scss @@ -1,10 +1,10 @@ // Variables matching sidebar styling $navbar-bg: #1a1a1a; -$text-primary: rgb(255, 255, 255, 95%); -$text-secondary: rgb(255, 255, 255, 60%); -$text-muted: rgb(255, 255, 255, 40%); -$border-color: rgb(255, 255, 255, 8%); -$hover-bg: rgb(255, 255, 255, 8%); +$text-primary: rgb(255 255 255 / 95%); +$text-secondary: rgb(255 255 255 / 60%); +$text-muted: rgb(255 255 255 / 40%); +$border-color: rgb(255 255 255 / 8%); +$hover-bg: rgb(255 255 255 / 8%); $active-color: #818cf8; $transition-fast: 150ms ease; $transition-normal: 200ms ease; @@ -24,7 +24,7 @@ $transition-normal: 200ms ease; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid $border-color; - box-shadow: 0 -2px 12px rgb(0, 0, 0, 30%); + box-shadow: 0 -2px 12px rgb(0 0 0 / 30%); color: $text-primary; opacity: 0; pointer-events: none; @@ -79,7 +79,7 @@ $transition-normal: 200ms ease; gap: 12px; .location-btn { - background: rgb(255, 255, 255, 5%); + background: rgb(255 255 255 / 5%); border: 1px solid $border-color; color: $text-primary; padding: 6px 14px; @@ -92,7 +92,7 @@ $transition-normal: 200ms ease; &:hover { background: $hover-bg; - border-color: rgb(255, 255, 255, 15%); + border-color: rgb(255 255 255 / 15%); } &:focus-visible { @@ -113,7 +113,7 @@ $transition-normal: 200ms ease; border-radius: 3px; outline: none; -webkit-appearance: none; - background: rgb(255, 255, 255, 12%); + background: rgb(255 255 255 / 12%); position: relative; z-index: 1; cursor: pointer; @@ -125,12 +125,12 @@ $transition-normal: 200ms ease; border-radius: 50%; background: $active-color; cursor: pointer; - box-shadow: 0 2px 6px rgb(0, 0, 0, 30%); + box-shadow: 0 2px 6px rgb(0 0 0 / 30%); transition: transform $transition-fast, box-shadow $transition-fast; &:hover { transform: scale(1.1); - box-shadow: 0 2px 8px rgb(129, 140, 248, 40%); + box-shadow: 0 2px 8px rgb(129 140 248 / 40%); } } @@ -141,7 +141,7 @@ $transition-normal: 200ms ease; background: $active-color; cursor: pointer; border: none; - box-shadow: 0 2px 6px rgb(0, 0, 0, 30%); + box-shadow: 0 2px 6px rgb(0 0 0 / 30%); } &:focus-visible { @@ -166,7 +166,7 @@ $transition-normal: 200ms ease; top: 0; width: 1.5px; height: 10px; - background: rgb(255, 255, 255, 40%); + background: rgb(255 255 255 / 40%); border-radius: 2px; } } @@ -182,7 +182,7 @@ $transition-normal: 200ms ease; -webkit-backdrop-filter: blur(8px); border: 1px solid $border-color; border-radius: 12px; - box-shadow: 0 8px 32px rgb(0, 0, 0, 50%); + box-shadow: 0 8px 32px rgb(0 0 0 / 50%); z-index: 1001; min-width: 380px; animation: popoverSlideIn 200ms cubic-bezier(0.4, 0, 0.2, 1); @@ -326,7 +326,7 @@ $transition-normal: 200ms ease; input { width: 65px; padding: 6px 10px; - background: rgb(255, 255, 255, 5%); + background: rgb(255 255 255 / 5%); border: 1px solid $border-color; border-radius: 6px; color: $text-primary; diff --git a/frontend/src/app/features/readers/ebook-reader/layout/header/header.component.scss b/frontend/src/app/features/readers/ebook-reader/layout/header/header.component.scss index df2084123..4c406f4b9 100644 --- a/frontend/src/app/features/readers/ebook-reader/layout/header/header.component.scss +++ b/frontend/src/app/features/readers/ebook-reader/layout/header/header.component.scss @@ -11,8 +11,8 @@ font-size: 14px; z-index: 1000; background: inherit; - border-bottom: 1px solid rgb(0,0,0,13%); - box-shadow: 0 2px 8px 0 rgb(0,0,0,13%); + border-bottom: 1px solid rgb(0 0 0 / 13%); + box-shadow: 0 2px 8px 0 rgb(0 0 0 / 13%); opacity: 0; pointer-events: none; transform: translateY(-100%); @@ -98,9 +98,9 @@ top: 100%; right: 0; margin-top: 4px; - border: 1px solid rgb(0, 0, 0, 15%); + border: 1px solid rgb(0 0 0 / 15%); border-radius: 8px; - box-shadow: 0 4px 12px rgb(0, 0, 0, 25%); + box-shadow: 0 4px 12px rgb(0 0 0 / 25%); z-index: 1000; min-width: 180px; padding: 4px; @@ -121,7 +121,7 @@ white-space: nowrap; &:hover { - background: rgb(128, 128, 128, 15%); + background: rgb(128 128 128 / 15%); } } } diff --git a/frontend/src/app/features/readers/ebook-reader/layout/header/quick-settings.component.scss b/frontend/src/app/features/readers/ebook-reader/layout/header/quick-settings.component.scss index ac38411b7..ffe64ba92 100644 --- a/frontend/src/app/features/readers/ebook-reader/layout/header/quick-settings.component.scss +++ b/frontend/src/app/features/readers/ebook-reader/layout/header/quick-settings.component.scss @@ -1,12 +1,12 @@ // Variables matching sidebar/dialog styling $panel-bg: #1a1a1a; -$text-primary: rgb(255, 255, 255, 95%); -$text-secondary: rgb(255, 255, 255, 60%); -$text-muted: rgb(255, 255, 255, 40%); -$border-color: rgb(255, 255, 255, 8%); -$hover-bg: rgb(255, 255, 255, 8%); +$text-primary: rgb(255 255 255 / 95%); +$text-secondary: rgb(255 255 255 / 60%); +$text-muted: rgb(255 255 255 / 40%); +$border-color: rgb(255 255 255 / 8%); +$hover-bg: rgb(255 255 255 / 8%); $active-color: #818cf8; -$active-bg: rgb(129, 140, 248, 15%); +$active-bg: rgb(129 140 248 / 15%); $transition-fast: 150ms ease; $transition-normal: 200ms ease; @@ -14,7 +14,7 @@ $transition-normal: 200ms ease; position: fixed; inset: 0; z-index: 12000; - background: rgb(0, 0, 0, 30%); + background: rgb(0 0 0 / 30%); animation: fadeIn $transition-normal; cursor: pointer; } @@ -32,7 +32,7 @@ $transition-normal: 200ms ease; background: $panel-bg; border: 1px solid $border-color; border-radius: 12px; - box-shadow: 0 12px 40px rgb(0, 0, 0, 50%); + box-shadow: 0 12px 40px rgb(0 0 0 / 50%); animation: slideDown 200ms cubic-bezier(0.4, 0, 0.2, 1); overflow: visible; cursor: default; @@ -125,7 +125,7 @@ $transition-normal: 200ms ease; position: relative; width: 40px; height: 22px; - background: rgb(255, 255, 255, 15%); + background: rgb(255 255 255 / 15%); border: none; border-radius: 11px; cursor: pointer; @@ -149,11 +149,11 @@ $transition-normal: 200ms ease; background: #ffffff; border-radius: 50%; transition: transform 300ms ease; - box-shadow: 0 2px 4px rgb(0, 0, 0, 20%); + box-shadow: 0 2px 4px rgb(0 0 0 / 20%); } &:hover { - background: rgb(255, 255, 255, 20%); + background: rgb(255 255 255 / 20%); &.active { background: #9aa3fa; @@ -166,7 +166,7 @@ $transition-normal: 200ms ease; display: flex; align-items: center; gap: 2px; - background: rgb(255, 255, 255, 3%); + background: rgb(255 255 255 / 3%); padding: 2px; border-radius: 6px; border: 1px solid $border-color; @@ -174,7 +174,7 @@ $transition-normal: 200ms ease; button { width: 26px; height: 26px; - background: rgb(255, 255, 255, 5%); + background: rgb(255 255 255 / 5%); color: $text-secondary; border: none; border-radius: 4px; @@ -209,7 +209,7 @@ $transition-normal: 200ms ease; .panel-footer { padding: 12px 16px; border-top: 1px solid $border-color; - background: rgb(0, 0, 0, 15%); + background: rgb(0 0 0 / 15%); border-radius: 0 0 12px 12px; } @@ -220,7 +220,7 @@ $transition-normal: 200ms ease; gap: 8px; width: 100%; padding: 10px 16px; - background: rgb(255, 255, 255, 5%); + background: rgb(255 255 255 / 5%); border: 1px solid $border-color; border-radius: 8px; color: $text-primary; @@ -231,7 +231,7 @@ $transition-normal: 200ms ease; &:hover { background: $hover-bg; - border-color: rgb(255, 255, 255, 15%); + border-color: rgb(255 255 255 / 15%); } &:active { diff --git a/frontend/src/app/features/readers/ebook-reader/layout/panel/panel.component.scss b/frontend/src/app/features/readers/ebook-reader/layout/panel/panel.component.scss index fb78eca3b..e37d278b8 100644 --- a/frontend/src/app/features/readers/ebook-reader/layout/panel/panel.component.scss +++ b/frontend/src/app/features/readers/ebook-reader/layout/panel/panel.component.scss @@ -1,12 +1,12 @@ // Variables $sidebar-width: 320px; $sidebar-bg: #1a1a1a; -$text-primary: rgb(255, 255, 255, 95%); -$text-secondary: rgb(255, 255, 255, 60%); -$text-muted: rgb(255, 255, 255, 40%); -$border-color: rgb(255, 255, 255, 8%); -$hover-bg: rgb(255, 255, 255, 6%); -$active-bg: rgb(99, 102, 241, 15%); +$text-primary: rgb(255 255 255 / 95%); +$text-secondary: rgb(255 255 255 / 60%); +$text-muted: rgb(255 255 255 / 40%); +$border-color: rgb(255 255 255 / 8%); +$hover-bg: rgb(255 255 255 / 6%); +$active-bg: rgb(99 102 241 / 15%); $active-color: #818cf8; $transition-fast: 150ms ease; $transition-normal: 200ms ease; @@ -15,7 +15,7 @@ $transition-normal: 200ms ease; .sidebar-overlay { position: fixed; inset: 0; - background: rgb(0, 0, 0, 40%); + background: rgb(0 0 0 / 40%); backdrop-filter: blur(1px); z-index: 12000; animation: fadeIn $transition-normal; @@ -36,7 +36,7 @@ $transition-normal: 200ms ease; display: flex; flex-direction: column; color: $text-primary; - box-shadow: -4px 0 24px rgb(0, 0, 0, 30%); + box-shadow: -4px 0 24px rgb(0 0 0 / 30%); animation: slideInRight 250ms cubic-bezier(0.4, 0, 0.2, 1); z-index: 12001; @@ -51,7 +51,7 @@ $transition-normal: 200ms ease; align-items: center; padding: 20px 16px; border-bottom: 1px solid $border-color; - background: linear-gradient(180deg, rgb(255, 255, 255, 3%) 0%, transparent 100%); + background: linear-gradient(180deg, rgb(255 255 255 / 3%) 0%, transparent 100%); } .sidebar-title { @@ -65,7 +65,7 @@ $transition-normal: 200ms ease; .tabs { display: flex; border-bottom: 1px solid $border-color; - background: rgb(0, 0, 0, 20%); + background: rgb(0 0 0 / 20%); } .tab { @@ -142,11 +142,11 @@ $transition-normal: 200ms ease; } &::-webkit-scrollbar-thumb { - background: rgb(255, 255, 255, 15%); + background: rgb(255 255 255 / 15%); border-radius: 3px; &:hover { - background: rgb(255, 255, 255, 25%); + background: rgb(255 255 255 / 25%); } } } @@ -195,7 +195,7 @@ $transition-normal: 200ms ease; align-items: center; gap: 10px; padding: 12px 16px; - background: rgb(0, 0, 0, 20%); + background: rgb(0 0 0 / 20%); border-bottom: 1px solid $border-color; .search-icon { @@ -223,7 +223,7 @@ $transition-normal: 200ms ease; display: flex; align-items: center; justify-content: center; - background: rgb(255, 255, 255, 10%); + background: rgb(255 255 255 / 10%); border: none; border-radius: 50%; color: $text-secondary; @@ -232,7 +232,7 @@ $transition-normal: 200ms ease; flex-shrink: 0; &:hover { - background: rgb(255, 255, 255, 15%); + background: rgb(255 255 255 / 15%); color: $text-primary; } } @@ -303,7 +303,7 @@ $transition-normal: 200ms ease; } &:hover { - background: rgb(99, 102, 241, 15%); + background: rgb(99 102 241 / 15%); color: $active-color; } } @@ -343,7 +343,7 @@ $transition-normal: 200ms ease; } &:hover { - background: rgb(239, 68, 68, 15%); + background: rgb(239 68 68 / 15%); color: #ef4444; } } @@ -389,7 +389,7 @@ $transition-normal: 200ms ease; align-items: center; gap: 10px; padding: 12px 16px; - background: rgb(0, 0, 0, 20%); + background: rgb(0 0 0 / 20%); border-bottom: 1px solid $border-color; .search-icon { @@ -417,7 +417,7 @@ $transition-normal: 200ms ease; display: flex; align-items: center; justify-content: center; - background: rgb(255, 255, 255, 10%); + background: rgb(255 255 255 / 10%); border: none; border-radius: 50%; color: $text-secondary; @@ -426,7 +426,7 @@ $transition-normal: 200ms ease; flex-shrink: 0; &:hover { - background: rgb(255, 255, 255, 15%); + background: rgb(255 255 255 / 15%); color: $text-primary; } } @@ -440,7 +440,7 @@ $transition-normal: 200ms ease; .progress-bar { height: 3px; - background: rgb(255, 255, 255, 10%); + background: rgb(255 255 255 / 10%); border-radius: 2px; overflow: hidden; @@ -470,7 +470,7 @@ $transition-normal: 200ms ease; display: flex; align-items: center; justify-content: center; - background: rgb(255, 255, 255, 8%); + background: rgb(255 255 255 / 8%); border: none; border-radius: 50%; color: $text-muted; @@ -479,7 +479,7 @@ $transition-normal: 200ms ease; flex-shrink: 0; &:hover { - background: rgb(239, 68, 68, 15%); + background: rgb(239 68 68 / 15%); color: #ef4444; } } @@ -520,7 +520,7 @@ $transition-normal: 200ms ease; } .excerpt-match { - background: rgb(255, 255, 0, 25%); + background: rgb(255 255 0 / 25%); color: $text-primary; font-weight: 500; padding: 1px 2px; diff --git a/frontend/src/app/features/readers/ebook-reader/layout/sidebar/sidebar.component.scss b/frontend/src/app/features/readers/ebook-reader/layout/sidebar/sidebar.component.scss index ced5fd1a6..f4fd880dc 100644 --- a/frontend/src/app/features/readers/ebook-reader/layout/sidebar/sidebar.component.scss +++ b/frontend/src/app/features/readers/ebook-reader/layout/sidebar/sidebar.component.scss @@ -1,12 +1,12 @@ // Variables $sidebar-width: 300px; $sidebar-bg: #1a1a1a; -$text-primary: rgb(255, 255, 255, 95%); -$text-secondary: rgb(255, 255, 255, 60%); -$text-muted: rgb(255, 255, 255, 40%); -$border-color: rgb(255, 255, 255, 8%); -$hover-bg: rgb(255, 255, 255, 6%); -$active-bg: rgb(99, 102, 241, 15%); +$text-primary: rgb(255 255 255 / 95%); +$text-secondary: rgb(255 255 255 / 60%); +$text-muted: rgb(255 255 255 / 40%); +$border-color: rgb(255 255 255 / 8%); +$hover-bg: rgb(255 255 255 / 6%); +$active-bg: rgb(99 102 241 / 15%); $active-color: #818cf8; $transition-fast: 150ms ease; $transition-normal: 200ms ease; @@ -15,7 +15,7 @@ $transition-normal: 200ms ease; .sidebar-overlay { position: fixed; inset: 0; - background: rgb(0, 0, 0, 40%); + background: rgb(0 0 0 / 40%); backdrop-filter: blur(2px); z-index: 12000; animation: fadeIn $transition-normal; @@ -36,7 +36,7 @@ $transition-normal: 200ms ease; display: flex; flex-direction: column; color: $text-primary; - box-shadow: 4px 0 24px rgb(0, 0, 0, 30%); + box-shadow: 4px 0 24px rgb(0 0 0 / 30%); animation: slideIn 250ms cubic-bezier(0.4, 0, 0.2, 1); z-index: 12001; @@ -51,7 +51,7 @@ $transition-normal: 200ms ease; gap: 14px; padding: 20px 16px; border-bottom: 1px solid $border-color; - background: linear-gradient(180deg, rgb(255, 255, 255, 3%) 0%, transparent 100%); + background: linear-gradient(180deg, rgb(255 255 255 / 3%) 0%, transparent 100%); } .book-cover { @@ -59,14 +59,14 @@ $transition-normal: 200ms ease; height: 90px; object-fit: cover; border-radius: 4px; - box-shadow: 0 4px 12px rgb(0, 0, 0, 30%); + box-shadow: 0 4px 12px rgb(0 0 0 / 30%); flex-shrink: 0; cursor: pointer; transition: transform $transition-fast, box-shadow $transition-fast; &:hover { transform: scale(1.03); - box-shadow: 0 6px 16px rgb(0, 0, 0, 40%); + box-shadow: 0 6px 16px rgb(0 0 0 / 40%); } &:focus-visible { @@ -108,7 +108,7 @@ $transition-normal: 200ms ease; .tabs { display: flex; border-bottom: 1px solid $border-color; - background: rgb(0, 0, 0, 20%); + background: rgb(0 0 0 / 20%); } .tab { @@ -185,11 +185,11 @@ $transition-normal: 200ms ease; } &::-webkit-scrollbar-thumb { - background: rgb(255, 255, 255, 15%); + background: rgb(255 255 255 / 15%); border-radius: 3px; &:hover { - background: rgb(255, 255, 255, 25%); + background: rgb(255 255 255 / 25%); } } } @@ -367,12 +367,12 @@ $transition-normal: 200ms ease; } .edit-btn:hover { - background: rgb(99, 102, 241, 15%); + background: rgb(99 102 241 / 15%); color: $active-color; } .delete-btn:hover { - background: rgb(239, 68, 68, 15%); + background: rgb(239 68 68 / 15%); color: #ef4444; } @@ -417,7 +417,7 @@ $transition-normal: 200ms ease; align-items: center; gap: 10px; padding: 12px 16px; - background: rgb(0, 0, 0, 20%); + background: rgb(0 0 0 / 20%); border-bottom: 1px solid $border-color; .search-icon { @@ -445,7 +445,7 @@ $transition-normal: 200ms ease; display: flex; align-items: center; justify-content: center; - background: rgb(255, 255, 255, 10%); + background: rgb(255 255 255 / 10%); border: none; border-radius: 50%; color: $text-secondary; @@ -454,7 +454,7 @@ $transition-normal: 200ms ease; flex-shrink: 0; &:hover { - background: rgb(255, 255, 255, 15%); + background: rgb(255 255 255 / 15%); color: $text-primary; } } @@ -468,7 +468,7 @@ $transition-normal: 200ms ease; .progress-bar { height: 3px; - background: rgb(255, 255, 255, 10%); + background: rgb(255 255 255 / 10%); border-radius: 2px; overflow: hidden; @@ -522,7 +522,7 @@ $transition-normal: 200ms ease; } .excerpt-match { - background: rgb(255, 255, 0, 25%); + background: rgb(255 255 0 / 25%); color: $text-primary; font-weight: 500; padding: 1px 2px; diff --git a/frontend/src/app/features/readers/ebook-reader/shared/selection-popup.component.scss b/frontend/src/app/features/readers/ebook-reader/shared/selection-popup.component.scss index ec7448598..2e828f62a 100644 --- a/frontend/src/app/features/readers/ebook-reader/shared/selection-popup.component.scss +++ b/frontend/src/app/features/readers/ebook-reader/shared/selection-popup.component.scss @@ -12,9 +12,9 @@ gap: 4px; padding: 6px 8px; background: linear-gradient(180deg, #2d3139 0%, #252830 100%); - border: 1px solid rgb(255, 255, 255, 8%); + border: 1px solid rgb(255 255 255 / 8%); border-radius: 8px; - box-shadow: 0 4px 16px rgb(0, 0, 0, 30%), 0 0 1px rgb(0, 0, 0, 20%); + box-shadow: 0 4px 16px rgb(0 0 0 / 30%), 0 0 1px rgb(0 0 0 / 20%); z-index: 99999; transform: translateX(-50%); animation: popupFadeIn 0.15s ease-out; @@ -57,17 +57,17 @@ border: none; border-radius: 6px; background: transparent; - color: rgb(255, 255, 255, 80%); + color: rgb(255 255 255 / 80%); cursor: pointer; transition: all 0.15s ease; &:hover { - background: rgb(255, 255, 255, 10%); + background: rgb(255 255 255 / 10%); color: #fff; } &.active { - background: rgb(255, 255, 255, 12%); + background: rgb(255 255 255 / 12%); color: #fff; } @@ -87,7 +87,7 @@ .delete-btn { &:hover { - background: rgb(239, 68, 68, 15%); + background: rgb(239 68 68 / 15%); color: #ef4444; } } @@ -95,7 +95,7 @@ .divider { width: 1px; height: 20px; - background: rgb(255, 255, 255, 10%); + background: rgb(255 255 255 / 10%); margin: 0 2px; } @@ -109,9 +109,9 @@ transform: translateX(-50%); padding: 8px; background: linear-gradient(180deg, #2d3139 0%, #252830 100%); - border: 1px solid rgb(255, 255, 255, 8%); + border: 1px solid rgb(255 255 255 / 8%); border-radius: 8px; - box-shadow: 0 8px 24px rgb(0, 0, 0, 35%); + box-shadow: 0 8px 24px rgb(0 0 0 / 35%); z-index: 100000; display: flex; flex-direction: column; @@ -159,10 +159,10 @@ width: 32px; height: 28px; padding: 0; - border: 1px solid rgb(255, 255, 255, 10%); + border: 1px solid rgb(255 255 255 / 10%); border-radius: 4px; - background: rgb(255, 255, 255, 3%); - color: rgb(255, 255, 255, 70%); + background: rgb(255 255 255 / 3%); + color: rgb(255 255 255 / 70%); font-size: 13px; font-weight: 600; cursor: pointer; @@ -173,7 +173,7 @@ } &.highlight-style .style-text { - background: linear-gradient(180deg, rgb(255, 255, 0, 40%) 60%, transparent 60%); + background: linear-gradient(180deg, rgb(255 255 0 / 40%) 60%, transparent 60%); } &.underline-style .style-text { @@ -190,14 +190,14 @@ } &:hover { - border-color: rgb(255, 255, 255, 20%); - background: rgb(255, 255, 255, 8%); + border-color: rgb(255 255 255 / 20%); + background: rgb(255 255 255 / 8%); color: #fff; } &.selected { border-color: #3b82f6; - background: rgb(59, 130, 246, 15%); + background: rgb(59 130 246 / 15%); color: #fff; } } @@ -224,7 +224,7 @@ &.selected { border-color: #fff; - box-shadow: 0 0 0 2px rgb(59, 130, 246, 50%); + box-shadow: 0 0 0 2px rgb(59 130 246 / 50%); } } diff --git a/frontend/src/app/features/readers/pdf-reader/pdf-reader.component.scss b/frontend/src/app/features/readers/pdf-reader/pdf-reader.component.scss index b893afafc..ac259a0b3 100644 --- a/frontend/src/app/features/readers/pdf-reader/pdf-reader.component.scss +++ b/frontend/src/app/features/readers/pdf-reader/pdf-reader.component.scss @@ -24,7 +24,7 @@ transition: background-color 0.2s ease, color 0.2s ease; &:hover { - background: rgb(0, 0, 0, 10%); + background: rgb(0 0 0 / 10%); } svg { @@ -37,7 +37,7 @@ color: #e8e8e8; &:hover { - background: rgb(255, 255, 255, 15%); + background: rgb(255 255 255 / 15%); } } diff --git a/frontend/src/app/features/series-browser/components/series-browser/series-browser.component.scss b/frontend/src/app/features/series-browser/components/series-browser/series-browser.component.scss index 3b03bfbc8..a66ad1097 100644 --- a/frontend/src/app/features/series-browser/components/series-browser/series-browser.component.scss +++ b/frontend/src/app/features/series-browser/components/series-browser/series-browser.component.scss @@ -112,14 +112,14 @@ overflow-y: auto; scrollbar-width: thin; - scrollbar-color: var(--primary-color) rgb(20, 20, 30, 50%); + scrollbar-color: var(--primary-color) rgb(20 20 30 / 50%); &::-webkit-scrollbar { width: 12px; } &::-webkit-scrollbar-track { - background: rgb(20, 20, 30, 50%); + background: rgb(20 20 30 / 50%); border-radius: 10px; } diff --git a/frontend/src/app/features/series-browser/components/series-card/series-card.component.scss b/frontend/src/app/features/series-browser/components/series-card/series-card.component.scss index ccde763e9..66e7bee18 100644 --- a/frontend/src/app/features/series-browser/components/series-card/series-card.component.scss +++ b/frontend/src/app/features/series-browser/components/series-card/series-card.component.scss @@ -14,7 +14,7 @@ &:hover { transform: translateY(-4px) scale(1.02); border-color: color-mix(in srgb, var(--p-primary-400), transparent 50%); - box-shadow: 0 8px 32px rgb(0, 0, 0, 30%), + box-shadow: 0 8px 32px rgb(0 0 0 / 30%), 0 0 0 1px color-mix(in srgb, var(--p-primary-500), transparent 70%); z-index: 10; } @@ -37,7 +37,7 @@ height: calc(152px * var(--card-scale, 1)); object-fit: cover; border-radius: 4px; - box-shadow: 0 4px 12px rgb(0, 0, 0, 40%); + box-shadow: 0 4px 12px rgb(0 0 0 / 40%); transition: transform 0.3s ease, width 0.2s ease, height 0.2s ease; } @@ -188,7 +188,7 @@ ::ng-deep .p-progressbar { height: 6px; border-radius: 3px; - background: rgb(255, 255, 255, 10%); + background: rgb(255 255 255 / 10%); } &.progress-complete ::ng-deep .p-progressbar-value { diff --git a/frontend/src/app/features/series-browser/components/series-scroller/series-scroller.component.scss b/frontend/src/app/features/series-browser/components/series-scroller/series-scroller.component.scss index 3cd87db8b..cf3ccb746 100644 --- a/frontend/src/app/features/series-browser/components/series-scroller/series-scroller.component.scss +++ b/frontend/src/app/features/series-browser/components/series-scroller/series-scroller.component.scss @@ -54,7 +54,7 @@ i { font-size: 2rem; color: white; - filter: drop-shadow(0 2px 4px rgb(0, 0, 0, 30%)); + filter: drop-shadow(0 2px 4px rgb(0 0 0 / 30%)); } } @@ -64,7 +64,7 @@ font-weight: 500; max-width: 400px; line-height: 1.7; - text-shadow: 0 1px 2px rgb(0, 0, 0, 50%); + text-shadow: 0 1px 2px rgb(0 0 0 / 50%); } } @@ -78,7 +78,7 @@ position: relative; z-index: 2; - scrollbar-color: var(--primary-color) rgb(20, 20, 30, 50%); + scrollbar-color: var(--primary-color) rgb(20 20 30 / 50%); > * { scroll-snap-align: start; diff --git a/frontend/src/app/features/settings/custom-fonts/font-upload-dialog/font-upload-dialog.component.scss b/frontend/src/app/features/settings/custom-fonts/font-upload-dialog/font-upload-dialog.component.scss index b50e68b48..000570126 100644 --- a/frontend/src/app/features/settings/custom-fonts/font-upload-dialog/font-upload-dialog.component.scss +++ b/frontend/src/app/features/settings/custom-fonts/font-upload-dialog/font-upload-dialog.component.scss @@ -25,7 +25,7 @@ background: var(--card-background); border: 1px solid var(--border-color); border-radius: 0 0 10px 10px; - box-shadow: 0 2px 6px rgb(0, 0, 0, 8%); + box-shadow: 0 2px 6px rgb(0 0 0 / 8%); @media (max-width: 480px) { padding: 1rem; diff --git a/frontend/src/app/features/settings/email-v2/create-email-provider-dialog/create-email-provider-dialog.component.scss b/frontend/src/app/features/settings/email-v2/create-email-provider-dialog/create-email-provider-dialog.component.scss index ecd213e31..074edfeb5 100644 --- a/frontend/src/app/features/settings/email-v2/create-email-provider-dialog/create-email-provider-dialog.component.scss +++ b/frontend/src/app/features/settings/email-v2/create-email-provider-dialog/create-email-provider-dialog.component.scss @@ -29,7 +29,7 @@ background: var(--card-background); border: 1px solid var(--border-color); border-top: none; - box-shadow: 0 2px 6px rgb(0, 0, 0, 8%); + box-shadow: 0 2px 6px rgb(0 0 0 / 8%); max-height: 60vh; overflow-y: auto; diff --git a/frontend/src/app/features/settings/email-v2/create-email-recipient-dialog/create-email-recipient-dialog.component.scss b/frontend/src/app/features/settings/email-v2/create-email-recipient-dialog/create-email-recipient-dialog.component.scss index 15bbc0b76..c3a9b3f52 100644 --- a/frontend/src/app/features/settings/email-v2/create-email-recipient-dialog/create-email-recipient-dialog.component.scss +++ b/frontend/src/app/features/settings/email-v2/create-email-recipient-dialog/create-email-recipient-dialog.component.scss @@ -22,7 +22,7 @@ background: var(--card-background); border: 1px solid var(--border-color); border-top: none; - box-shadow: 0 2px 6px rgb(0, 0, 0, 8%); + box-shadow: 0 2px 6px rgb(0 0 0 / 8%); max-height: 60vh; overflow-y: auto; diff --git a/frontend/src/app/features/settings/reader-preferences/cbx-reader-preferences/cbx-reader-preferences-component.scss b/frontend/src/app/features/settings/reader-preferences/cbx-reader-preferences/cbx-reader-preferences-component.scss index 517488a53..f20b6d192 100644 --- a/frontend/src/app/features/settings/reader-preferences/cbx-reader-preferences/cbx-reader-preferences-component.scss +++ b/frontend/src/app/features/settings/reader-preferences/cbx-reader-preferences/cbx-reader-preferences-component.scss @@ -82,12 +82,12 @@ color: white; font-size: settings.$settings-section-description-size; font-weight: bold; - text-shadow: 0 1px 2px rgb(0, 0, 0, 30%); + text-shadow: 0 1px 2px rgb(0 0 0 / 30%); } &:hover { transform: scale(1.1); - box-shadow: 0 4px 12px rgb(0, 0, 0, 15%); + box-shadow: 0 4px 12px rgb(0 0 0 / 15%); } &.selected { diff --git a/frontend/src/app/features/settings/reader-preferences/epub-reader-preferences/epub-reader-preferences-component.scss b/frontend/src/app/features/settings/reader-preferences/epub-reader-preferences/epub-reader-preferences-component.scss index a8af2ae34..532bc70e3 100644 --- a/frontend/src/app/features/settings/reader-preferences/epub-reader-preferences/epub-reader-preferences-component.scss +++ b/frontend/src/app/features/settings/reader-preferences/epub-reader-preferences/epub-reader-preferences-component.scss @@ -162,7 +162,7 @@ &:hover { transform: translateY(-2px); - box-shadow: 0 4px 12px rgb(0, 0, 0, 10%); + box-shadow: 0 4px 12px rgb(0 0 0 / 10%); .theme-colors { border-color: color-mix(in srgb, var(--primary-color) 40%, transparent); diff --git a/frontend/src/app/features/settings/reader-preferences/settings-application-mode/settings-application-mode.component.scss b/frontend/src/app/features/settings/reader-preferences/settings-application-mode/settings-application-mode.component.scss index 2d678a369..3e5a54f44 100644 --- a/frontend/src/app/features/settings/reader-preferences/settings-application-mode/settings-application-mode.component.scss +++ b/frontend/src/app/features/settings/reader-preferences/settings-application-mode/settings-application-mode.component.scss @@ -132,7 +132,7 @@ &:hover { transform: translateY(-2px); - box-shadow: 0 4px 12px rgb(0, 0, 0, 10%); + box-shadow: 0 4px 12px rgb(0 0 0 / 10%); border-color: color-mix(in srgb, var(--primary-color) 40%, transparent); } diff --git a/frontend/src/app/features/settings/user-management/content-restrictions-editor/content-restrictions-editor.component.scss b/frontend/src/app/features/settings/user-management/content-restrictions-editor/content-restrictions-editor.component.scss index bbac2d86c..96c502f1b 100644 --- a/frontend/src/app/features/settings/user-management/content-restrictions-editor/content-restrictions-editor.component.scss +++ b/frontend/src/app/features/settings/user-management/content-restrictions-editor/content-restrictions-editor.component.scss @@ -117,8 +117,8 @@ transition: all 0.2s ease; &.mode-exclude { - background: rgb(239, 68, 68, 10%); - border: 1px solid rgb(239, 68, 68, 30%); + background: rgb(239 68 68 / 10%); + border: 1px solid rgb(239 68 68 / 30%); color: var(--red-500); .chip-type { @@ -127,8 +127,8 @@ } &.mode-allow { - background: rgb(34, 197, 94, 10%); - border: 1px solid rgb(34, 197, 94, 30%); + background: rgb(34 197 94 / 10%); + border: 1px solid rgb(34 197 94 / 30%); color: var(--green-500); .chip-type { @@ -166,7 +166,7 @@ } &:hover { - background: rgb(0, 0, 0, 10%); + background: rgb(0 0 0 / 10%); } } } @@ -176,7 +176,7 @@ align-items: center; gap: 0.5rem; padding: 0.75rem; - background: rgb(59, 130, 246, 10%); + background: rgb(59 130 246 / 10%); border-radius: 6px; font-size: 0.8rem; color: var(--blue-500); diff --git a/frontend/src/app/features/settings/user-management/create-user-dialog/create-user-dialog.component.scss b/frontend/src/app/features/settings/user-management/create-user-dialog/create-user-dialog.component.scss index 0497fcf09..b26fce283 100644 --- a/frontend/src/app/features/settings/user-management/create-user-dialog/create-user-dialog.component.scss +++ b/frontend/src/app/features/settings/user-management/create-user-dialog/create-user-dialog.component.scss @@ -197,7 +197,7 @@ &:hover { border-color: var(--primary-color); transform: translateX(3px); - box-shadow: 0 3px 8px rgb(0, 0, 0, 10%); + box-shadow: 0 3px 8px rgb(0 0 0 / 10%); .permission-icon { color: var(--primary-color); @@ -206,7 +206,7 @@ } &.admin-permission { - background: rgb(255, 152, 0, 5%); + background: rgb(255 152 0 / 5%); &:hover { border-color: #ff9800; @@ -217,7 +217,7 @@ } .permission-icon-wrapper.admin-icon { - background: rgb(255, 152, 0, 10%); + background: rgb(255 152 0 / 10%); .permission-icon { color: #ff9800; diff --git a/frontend/src/app/features/settings/user-management/user-management.component.scss b/frontend/src/app/features/settings/user-management/user-management.component.scss index 1b6a80f11..46fc77f4c 100644 --- a/frontend/src/app/features/settings/user-management/user-management.component.scss +++ b/frontend/src/app/features/settings/user-management/user-management.component.scss @@ -492,7 +492,7 @@ .p-dialog { border-radius: 10px; overflow: hidden; - box-shadow: 0 10px 40px rgb(0, 0, 0, 15%); + box-shadow: 0 10px 40px rgb(0 0 0 / 15%); } .p-dialog-header { @@ -526,7 +526,7 @@ color: var(--p-primary-contrast-color); border-radius: 8px; font-size: 1.25rem; - box-shadow: 0 2px 6px rgb(0, 0, 0, 15%); + box-shadow: 0 2px 6px rgb(0 0 0 / 15%); } } @@ -657,10 +657,10 @@ } &:not(.p-button-outlined) { - box-shadow: 0 2px 4px rgb(0, 0, 0, 10%); + box-shadow: 0 2px 4px rgb(0 0 0 / 10%); &:hover { - box-shadow: 0 4px 10px rgb(0, 0, 0, 18%); + box-shadow: 0 4px 10px rgb(0 0 0 / 18%); transform: translateY(-1px); } diff --git a/frontend/src/app/features/settings/user-profile-dialog/user-profile-dialog.component.scss b/frontend/src/app/features/settings/user-profile-dialog/user-profile-dialog.component.scss index 3b7f244ef..488891338 100644 --- a/frontend/src/app/features/settings/user-profile-dialog/user-profile-dialog.component.scss +++ b/frontend/src/app/features/settings/user-profile-dialog/user-profile-dialog.component.scss @@ -29,7 +29,7 @@ border: 1px solid var(--border-color); border-top: none; border-radius: 0 0 10px 10px; - box-shadow: 0 2px 6px rgb(0, 0, 0, 8%); + box-shadow: 0 2px 6px rgb(0 0 0 / 8%); max-height: 60vh; overflow-y: auto; diff --git a/frontend/src/app/features/settings/view-preferences-parent/filter-preferences/filter-preferences.component.scss b/frontend/src/app/features/settings/view-preferences-parent/filter-preferences/filter-preferences.component.scss index 3396b0407..0d0255cdc 100644 --- a/frontend/src/app/features/settings/view-preferences-parent/filter-preferences/filter-preferences.component.scss +++ b/frontend/src/app/features/settings/view-preferences-parent/filter-preferences/filter-preferences.component.scss @@ -94,7 +94,7 @@ background-color: var(--card-background); border: 1px solid var(--primary-color); border-radius: 6px; - box-shadow: 0 5px 15px rgb(0, 0, 0, 25%); + box-shadow: 0 5px 15px rgb(0 0 0 / 25%); } .cdk-drag-placeholder { diff --git a/frontend/src/app/features/settings/view-preferences-parent/view-preferences/view-preferences.component.scss b/frontend/src/app/features/settings/view-preferences-parent/view-preferences/view-preferences.component.scss index 2e006b582..e83a98f5b 100644 --- a/frontend/src/app/features/settings/view-preferences-parent/view-preferences/view-preferences.component.scss +++ b/frontend/src/app/features/settings/view-preferences-parent/view-preferences/view-preferences.component.scss @@ -118,7 +118,7 @@ background-color: var(--card-background); border: 1px solid var(--primary-color); border-radius: 6px; - box-shadow: 0 5px 15px rgb(0, 0, 0, 25%); + box-shadow: 0 5px 15px rgb(0 0 0 / 25%); } .cdk-drag-placeholder { diff --git a/frontend/src/app/features/stats/component/library-stats/charts/author-universe-chart/author-universe-chart.component.scss b/frontend/src/app/features/stats/component/library-stats/charts/author-universe-chart/author-universe-chart.component.scss index 1c215429a..aee5e32d2 100644 --- a/frontend/src/app/features/stats/component/library-stats/charts/author-universe-chart/author-universe-chart.component.scss +++ b/frontend/src/app/features/stats/component/library-stats/charts/author-universe-chart/author-universe-chart.component.scss @@ -10,8 +10,8 @@ } .author-count-badge { - background: linear-gradient(135deg, rgb(139, 92, 246, 20%), rgb(139, 92, 246, 10%)); - border: 1px solid rgb(139, 92, 246, 30%); + background: linear-gradient(135deg, rgb(139 92 246 / 20%), rgb(139 92 246 / 10%)); + border: 1px solid rgb(139 92 246 / 30%); border-radius: 20px; padding: 0.4rem 1rem; font-size: 0.85rem; @@ -29,7 +29,7 @@ gap: 0.5rem; font-size: 0.8rem; color: var(--text-secondary-color); - background: rgb(255, 255, 255, 5%); + background: rgb(255 255 255 / 5%); border-radius: 6px; padding: 0.5rem 0.75rem; @@ -48,7 +48,7 @@ .insights-section { margin-top: 1.25rem; padding-top: 1rem; - border-top: 1px solid rgb(255, 255, 255, 10%); + border-top: 1px solid rgb(255 255 255 / 10%); } .insights-grid { @@ -61,15 +61,15 @@ display: flex; align-items: center; gap: 0.6rem; - background: linear-gradient(135deg, rgb(139, 92, 246, 10%), rgb(139, 92, 246, 5%)); - border: 1px solid rgb(139, 92, 246, 20%); + background: linear-gradient(135deg, rgb(139 92 246 / 10%), rgb(139 92 246 / 5%)); + border: 1px solid rgb(139 92 246 / 20%); border-radius: 8px; padding: 0.6rem 0.85rem; transition: all 0.2s ease; &:hover { - background: linear-gradient(135deg, rgb(139, 92, 246, 15%), rgb(139, 92, 246, 8%)); - border-color: rgb(139, 92, 246, 35%); + background: linear-gradient(135deg, rgb(139 92 246 / 15%), rgb(139 92 246 / 8%)); + border-color: rgb(139 92 246 / 35%); transform: translateY(-1px); } diff --git a/frontend/src/app/features/stats/component/library-stats/charts/publication-timeline-chart/publication-timeline-chart.component.scss b/frontend/src/app/features/stats/component/library-stats/charts/publication-timeline-chart/publication-timeline-chart.component.scss index 746712496..e4a81c87f 100644 --- a/frontend/src/app/features/stats/component/library-stats/charts/publication-timeline-chart/publication-timeline-chart.component.scss +++ b/frontend/src/app/features/stats/component/library-stats/charts/publication-timeline-chart/publication-timeline-chart.component.scss @@ -10,8 +10,8 @@ } .books-count-badge { - background: linear-gradient(135deg, rgb(167, 139, 250, 20%), rgb(167, 139, 250, 10%)); - border: 1px solid rgb(167, 139, 250, 30%); + background: linear-gradient(135deg, rgb(167 139 250 / 20%), rgb(167 139 250 / 10%)); + border: 1px solid rgb(167 139 250 / 30%); border-radius: 20px; padding: 0.4rem 1rem; font-size: 0.85rem; @@ -29,7 +29,7 @@ .insights-section { margin-top: 1rem; padding-top: 1rem; - border-top: 1px solid rgb(255, 255, 255, 10%); + border-top: 1px solid rgb(255 255 255 / 10%); } .insights-row { @@ -45,8 +45,8 @@ text-align: center; padding: 0.75rem; border-radius: 8px; - background: rgb(255, 255, 255, 3%); - border: 1px solid rgb(255, 255, 255, 8%); + background: rgb(255 255 255 / 3%); + border: 1px solid rgb(255 255 255 / 8%); .insight-label { font-size: 0.7rem; diff --git a/frontend/src/app/features/stats/component/library-stats/charts/publication-trend-chart/publication-trend-chart.component.scss b/frontend/src/app/features/stats/component/library-stats/charts/publication-trend-chart/publication-trend-chart.component.scss index 9a9c19a9d..83cb536e5 100644 --- a/frontend/src/app/features/stats/component/library-stats/charts/publication-trend-chart/publication-trend-chart.component.scss +++ b/frontend/src/app/features/stats/component/library-stats/charts/publication-trend-chart/publication-trend-chart.component.scss @@ -10,8 +10,8 @@ } .year-range-badge { - background: linear-gradient(135deg, rgb(6, 182, 212, 20%), rgb(6, 182, 212, 10%)); - border: 1px solid rgb(6, 182, 212, 30%); + background: linear-gradient(135deg, rgb(6 182 212 / 20%), rgb(6 182 212 / 10%)); + border: 1px solid rgb(6 182 212 / 30%); border-radius: 20px; padding: 0.4rem 1rem; font-size: 0.85rem; @@ -29,7 +29,7 @@ .insights-section { margin-top: 1rem; padding-top: 1rem; - border-top: 1px solid rgb(255, 255, 255, 10%); + border-top: 1px solid rgb(255 255 255 / 10%); } .insights-row { @@ -48,8 +48,8 @@ text-align: center; padding: 0.75rem; border-radius: 8px; - background: rgb(255, 255, 255, 3%); - border: 1px solid rgb(255, 255, 255, 8%); + background: rgb(255 255 255 / 3%); + border: 1px solid rgb(255 255 255 / 8%); .insight-label { font-size: 0.7rem; diff --git a/frontend/src/app/features/stats/component/library-stats/charts/reading-journey-chart/reading-journey-chart.component.scss b/frontend/src/app/features/stats/component/library-stats/charts/reading-journey-chart/reading-journey-chart.component.scss index becb6ca23..cb1eebce9 100644 --- a/frontend/src/app/features/stats/component/library-stats/charts/reading-journey-chart/reading-journey-chart.component.scss +++ b/frontend/src/app/features/stats/component/library-stats/charts/reading-journey-chart/reading-journey-chart.component.scss @@ -10,8 +10,8 @@ } .date-range-badge { - background: linear-gradient(135deg, rgb(16, 185, 129, 20%), rgb(16, 185, 129, 10%)); - border: 1px solid rgb(16, 185, 129, 30%); + background: linear-gradient(135deg, rgb(16 185 129 / 20%), rgb(16 185 129 / 10%)); + border: 1px solid rgb(16 185 129 / 30%); border-radius: 20px; padding: 0.4rem 1rem; font-size: 0.85rem; @@ -29,7 +29,7 @@ .insights-section { margin-top: 1rem; padding-top: 1rem; - border-top: 1px solid rgb(255, 255, 255, 10%); + border-top: 1px solid rgb(255 255 255 / 10%); } .insights-row { @@ -45,8 +45,8 @@ text-align: center; padding: 0.75rem; border-radius: 8px; - background: rgb(255, 255, 255, 3%); - border: 1px solid rgb(255, 255, 255, 8%); + background: rgb(255 255 255 / 3%); + border: 1px solid rgb(255 255 255 / 8%); .insight-label { font-size: 0.7rem; diff --git a/frontend/src/app/features/stats/component/library-stats/charts/top-items-chart/top-items-chart.component.scss b/frontend/src/app/features/stats/component/library-stats/charts/top-items-chart/top-items-chart.component.scss index 882e23f58..3343e6c91 100644 --- a/frontend/src/app/features/stats/component/library-stats/charts/top-items-chart/top-items-chart.component.scss +++ b/frontend/src/app/features/stats/component/library-stats/charts/top-items-chart/top-items-chart.component.scss @@ -61,9 +61,9 @@ flex-direction: column; align-items: center; padding: 0.5rem 0.75rem; - background: rgb(255, 255, 255, 5%); + background: rgb(255 255 255 / 5%); border-radius: 8px; - border: 1px solid rgb(255, 255, 255, 10%); + border: 1px solid rgb(255 255 255 / 10%); .badge-value { font-size: 1.25rem; @@ -74,7 +74,7 @@ .badge-label { font-size: 0.7rem; - color: rgb(255, 255, 255, 60%); + color: rgb(255 255 255 / 60%); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 0.25rem; @@ -98,9 +98,9 @@ align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; - background: rgb(255, 255, 255, 5%); + background: rgb(255 255 255 / 5%); border-radius: 8px; - border: 1px solid rgb(255, 255, 255, 10%); + border: 1px solid rgb(255 255 255 / 10%); > i { font-size: 1.1rem; diff --git a/frontend/src/app/features/stats/component/library-stats/library-stats.component.scss b/frontend/src/app/features/stats/component/library-stats/library-stats.component.scss index 2d5327403..6159543ef 100644 --- a/frontend/src/app/features/stats/component/library-stats/library-stats.component.scss +++ b/frontend/src/app/features/stats/component/library-stats/library-stats.component.scss @@ -14,7 +14,7 @@ margin-bottom: 30px; backdrop-filter: blur(10px); border: 1px solid var(--p-content-border-color); - box-shadow: 0 4px 6px rgb(0, 0, 0, 10%); + box-shadow: 0 4px 6px rgb(0 0 0 / 10%); overflow: visible; } @@ -63,10 +63,10 @@ display: inline-flex; align-items: center; gap: 8px; - background: rgb(255, 255, 255, 2%); + background: rgb(255 255 255 / 2%); padding: 6px 10px; border-radius: 6px; - border: 1px solid rgb(255, 255, 255, 4%); + border: 1px solid rgb(255 255 255 / 4%); } .pi { @@ -93,7 +93,7 @@ .config-modal-overlay { position: fixed; inset: 0 0 0 0; - background: rgb(0, 0, 0, 70%); + background: rgb(0 0 0 / 70%); backdrop-filter: blur(4px); z-index: 1000; display: flex; @@ -103,10 +103,10 @@ } .config-modal { - background: var(--surface-card, rgb(30, 30, 30, 95%)); + background: var(--surface-card, rgb(30 30 30 / 95%)); border-radius: 12px; - box-shadow: 0 20px 40px rgb(0, 0, 0, 40%); - border: 1px solid rgb(255, 255, 255, 15%); + box-shadow: 0 20px 40px rgb(0 0 0 / 40%); + border: 1px solid rgb(255 255 255 / 15%); width: 100%; max-width: 800px; max-height: 80vh; @@ -119,8 +119,8 @@ justify-content: space-between; align-items: center; padding: 20px 25px; - border-bottom: 1px solid rgb(255, 255, 255, 10%); - background: var(--surface-ground, rgb(40, 40, 40, 80%)); + border-bottom: 1px solid rgb(255 255 255 / 10%); + background: var(--surface-ground, rgb(40 40 40 / 80%)); h3 { color: var(--text-color, #ffffff); @@ -139,7 +139,7 @@ .close-btn { background: transparent; - border: 1px solid rgb(255, 255, 255, 20%); + border: 1px solid rgb(255 255 255 / 20%); color: var(--text-color, #ffffff); padding: 8px; border-radius: 6px; @@ -152,8 +152,8 @@ height: 36px; &:hover { - background: rgb(255, 255, 255, 10%); - border-color: rgb(255, 255, 255, 30%); + background: rgb(255 255 255 / 10%); + border-color: rgb(255 255 255 / 30%); } .pi { @@ -166,12 +166,12 @@ display: flex; gap: 12px; padding: 20px 25px; - border-bottom: 1px solid rgb(255, 255, 255, 10%); - background: var(--surface-ground, rgb(35, 35, 35, 60%)); + border-bottom: 1px solid rgb(255 255 255 / 10%); + background: var(--surface-ground, rgb(35 35 35 / 60%)); .config-action-btn { - background: rgb(255, 255, 255, 10%); - border: 1px solid rgb(255, 255, 255, 20%); + background: rgb(255 255 255 / 10%); + border: 1px solid rgb(255 255 255 / 20%); color: var(--text-color, #ffffff); padding: 10px 16px; border-radius: 6px; @@ -185,41 +185,41 @@ justify-content: center; &:hover { - background: rgb(255, 255, 255, 15%); - border-color: rgb(255, 255, 255, 30%); + background: rgb(255 255 255 / 15%); + border-color: rgb(255 255 255 / 30%); transform: translateY(-1px); } &.enable-all { - background: rgb(34, 197, 94, 20%); - border-color: rgb(34, 197, 94, 40%); + background: rgb(34 197 94 / 20%); + border-color: rgb(34 197 94 / 40%); color: #22c55e; &:hover { - background: rgb(34, 197, 94, 30%); - border-color: rgb(34, 197, 94, 60%); + background: rgb(34 197 94 / 30%); + border-color: rgb(34 197 94 / 60%); } } &.disable-all { - background: rgb(239, 68, 68, 20%); - border-color: rgb(239, 68, 68, 40%); + background: rgb(239 68 68 / 20%); + border-color: rgb(239 68 68 / 40%); color: #ef4444; &:hover { - background: rgb(239, 68, 68, 30%); - border-color: rgb(239, 68, 68, 60%); + background: rgb(239 68 68 / 30%); + border-color: rgb(239 68 68 / 60%); } } &.reset-order { - background: rgb(251, 191, 36, 20%); - border-color: rgb(251, 191, 36, 40%); + background: rgb(251 191 36 / 20%); + border-color: rgb(251 191 36 / 40%); color: #fbbf24; &:hover { - background: rgb(251, 191, 36, 30%); - border-color: rgb(251, 191, 36, 60%); + background: rgb(251 191 36 / 30%); + border-color: rgb(251 191 36 / 60%); } } @@ -266,7 +266,7 @@ transition: background-color 0.2s ease; &:hover { - background: rgb(255, 255, 255, 5%); + background: rgb(255 255 255 / 5%); } input[type="checkbox"] { @@ -324,7 +324,7 @@ } &.cdk-drag-preview { - box-shadow: 0 8px 32px rgb(0, 0, 0, 30%); + box-shadow: 0 8px 32px rgb(0 0 0 / 30%); backdrop-filter: blur(15px); border: 2px solid var(--primary-color, #80bdff); border-radius: 8px; @@ -347,8 +347,8 @@ top: 8px; right: 8px; z-index: 10; - background: rgb(0, 0, 0, 60%); - border: 1px solid rgb(255, 255, 255, 20%); + background: rgb(0 0 0 / 60%); + border: 1px solid rgb(255 255 255 / 20%); border-radius: 4px; padding: 6px; cursor: default; @@ -361,12 +361,12 @@ height: 28px; &:hover { - background: rgb(0, 0, 0, 80%); + background: rgb(0 0 0 / 80%); border-color: var(--primary-color, #80bdff); } &:active { - background: rgb(0, 0, 0, 90%); + background: rgb(0 0 0 / 90%); transform: scale(1.1); } @@ -398,8 +398,8 @@ transition: all 0.3s ease; &:hover { - border-color: rgb(255, 255, 255, 20%); - box-shadow: 0 4px 12px rgb(0, 0, 0, 15%); + border-color: rgb(255 255 255 / 20%); + box-shadow: 0 4px 12px rgb(0 0 0 / 15%); } &.small { @@ -574,7 +574,7 @@ right: 4px; width: 32px; height: 32px; - background: rgb(0, 0, 0, 70%); + background: rgb(0 0 0 / 70%); .pi { font-size: 0.9rem; diff --git a/frontend/src/app/features/stats/component/user-stats/charts/book-flow-chart/book-flow-chart.component.scss b/frontend/src/app/features/stats/component/user-stats/charts/book-flow-chart/book-flow-chart.component.scss index 00c09ac09..d939cac0f 100644 --- a/frontend/src/app/features/stats/component/user-stats/charts/book-flow-chart/book-flow-chart.component.scss +++ b/frontend/src/app/features/stats/component/user-stats/charts/book-flow-chart/book-flow-chart.component.scss @@ -43,8 +43,8 @@ display: flex; flex-direction: column; align-items: center; - background: rgb(255, 255, 255, 5%); - border: 1px solid rgb(255, 255, 255, 10%); + background: rgb(255 255 255 / 5%); + border: 1px solid rgb(255 255 255 / 10%); border-radius: 8px; padding: 0.5rem 1rem; flex: 1; diff --git a/frontend/src/app/features/stats/component/user-stats/charts/book-length-chart/book-length-chart.component.scss b/frontend/src/app/features/stats/component/user-stats/charts/book-length-chart/book-length-chart.component.scss index 94a334c36..041d5b967 100644 --- a/frontend/src/app/features/stats/component/user-stats/charts/book-length-chart/book-length-chart.component.scss +++ b/frontend/src/app/features/stats/component/user-stats/charts/book-length-chart/book-length-chart.component.scss @@ -36,8 +36,8 @@ display: flex; flex-direction: column; align-items: center; - background: rgb(0, 188, 212, 15%); - border: 1px solid rgb(0, 188, 212, 30%); + background: rgb(0 188 212 / 15%); + border: 1px solid rgb(0 188 212 / 30%); border-radius: 8px; padding: 0.5rem 1rem; @@ -71,8 +71,8 @@ display: flex; flex-direction: column; align-items: center; - background: rgb(255, 255, 255, 5%); - border: 1px solid rgb(255, 255, 255, 10%); + background: rgb(255 255 255 / 5%); + border: 1px solid rgb(255 255 255 / 10%); border-radius: 8px; padding: 0.5rem 1rem; flex: 1; diff --git a/frontend/src/app/features/stats/component/user-stats/charts/completion-race-chart/completion-race-chart.component.scss b/frontend/src/app/features/stats/component/user-stats/charts/completion-race-chart/completion-race-chart.component.scss index 8946c3f01..a328a0cc1 100644 --- a/frontend/src/app/features/stats/component/user-stats/charts/completion-race-chart/completion-race-chart.component.scss +++ b/frontend/src/app/features/stats/component/user-stats/charts/completion-race-chart/completion-race-chart.component.scss @@ -43,8 +43,8 @@ flex-shrink: 0; .year-nav-btn { - background: rgb(255, 255, 255, 10%); - border: 1px solid rgb(255, 255, 255, 20%); + background: rgb(255 255 255 / 10%); + border: 1px solid rgb(255 255 255 / 20%); border-radius: 6px; padding: 0.6rem; color: #ffffff; @@ -55,8 +55,8 @@ justify-content: center; &:hover { - background: rgb(255, 255, 255, 20%); - border-color: rgb(255, 255, 255, 30%); + background: rgb(255 255 255 / 20%); + border-color: rgb(255 255 255 / 30%); transform: translateY(-1px); } @@ -84,8 +84,8 @@ display: flex; flex-direction: column; align-items: center; - background: rgb(255, 255, 255, 5%); - border: 1px solid rgb(255, 255, 255, 10%); + background: rgb(255 255 255 / 5%); + border: 1px solid rgb(255 255 255 / 10%); border-radius: 8px; padding: 0.5rem 1rem; min-width: 80px; diff --git a/frontend/src/app/features/stats/component/user-stats/charts/completion-timeline-chart/completion-timeline-chart.component.scss b/frontend/src/app/features/stats/component/user-stats/charts/completion-timeline-chart/completion-timeline-chart.component.scss index e3d334b16..4979e174d 100644 --- a/frontend/src/app/features/stats/component/user-stats/charts/completion-timeline-chart/completion-timeline-chart.component.scss +++ b/frontend/src/app/features/stats/component/user-stats/charts/completion-timeline-chart/completion-timeline-chart.component.scss @@ -38,8 +38,8 @@ flex-shrink: 0; .year-nav-btn { - background: rgb(255, 255, 255, 10%); - border: 1px solid rgb(255, 255, 255, 20%); + background: rgb(255 255 255 / 10%); + border: 1px solid rgb(255 255 255 / 20%); border-radius: 6px; padding: 0.6rem 0.6rem; color: #ffffff; @@ -50,8 +50,8 @@ justify-content: center; &:hover { - background: rgb(255, 255, 255, 20%); - border-color: rgb(255, 255, 255, 30%); + background: rgb(255 255 255 / 20%); + border-color: rgb(255 255 255 / 30%); transform: translateY(-1px); } @@ -75,7 +75,7 @@ .completion-title-icon { font-size: 1.5rem; - color: rgb(251, 191, 36, 100%); + color: rgb(251 191 36 / 100%); } .chart-wrapper { diff --git a/frontend/src/app/features/stats/component/user-stats/charts/favorite-days-chart/favorite-days-chart.component.scss b/frontend/src/app/features/stats/component/user-stats/charts/favorite-days-chart/favorite-days-chart.component.scss index 6a9e2fc56..ba7ad857d 100644 --- a/frontend/src/app/features/stats/component/user-stats/charts/favorite-days-chart/favorite-days-chart.component.scss +++ b/frontend/src/app/features/stats/component/user-stats/charts/favorite-days-chart/favorite-days-chart.component.scss @@ -40,7 +40,7 @@ .favorite-days-icon { font-size: 1.5rem; - color: rgb(139, 92, 246, 100%); + color: rgb(139 92 246 / 100%); } .chart-wrapper { diff --git a/frontend/src/app/features/stats/component/user-stats/charts/genre-stats-chart/genre-stats-chart.component.scss b/frontend/src/app/features/stats/component/user-stats/charts/genre-stats-chart/genre-stats-chart.component.scss index fd2c8f4b3..baedca68e 100644 --- a/frontend/src/app/features/stats/component/user-stats/charts/genre-stats-chart/genre-stats-chart.component.scss +++ b/frontend/src/app/features/stats/component/user-stats/charts/genre-stats-chart/genre-stats-chart.component.scss @@ -32,7 +32,7 @@ .genre-title-icon { font-size: 1.5rem; - color: rgb(34, 197, 94, 100%); + color: rgb(34 197 94 / 100%); } .chart-wrapper { diff --git a/frontend/src/app/features/stats/component/user-stats/charts/page-turner-chart/page-turner-chart.component.scss b/frontend/src/app/features/stats/component/user-stats/charts/page-turner-chart/page-turner-chart.component.scss index b44519ac2..ccfd418a2 100644 --- a/frontend/src/app/features/stats/component/user-stats/charts/page-turner-chart/page-turner-chart.component.scss +++ b/frontend/src/app/features/stats/component/user-stats/charts/page-turner-chart/page-turner-chart.component.scss @@ -32,7 +32,7 @@ .page-turner-icon { font-size: 1.5rem; - color: rgb(251, 146, 60, 100%); + color: rgb(251 146 60 / 100%); } .stats-row { @@ -45,7 +45,7 @@ display: flex; flex-direction: column; gap: 0.15rem; - background: rgb(255, 255, 255, 5%); + background: rgb(255 255 255 / 5%); border-radius: 8px; padding: 0.5rem 0.75rem; flex: 1; @@ -77,15 +77,15 @@ display: flex; align-items: center; gap: 0.5rem; - background: rgb(255, 255, 255, 5%); - border: 1px solid rgb(255, 255, 255, 10%); + background: rgb(255 255 255 / 5%); + border: 1px solid rgb(255 255 255 / 10%); border-radius: 8px; padding: 0.5rem 0.75rem; flex: 1; min-width: 180px; .book-rank { - color: rgb(251, 146, 60, 100%); + color: rgb(251 146 60 / 100%); font-weight: 700; font-size: 1rem; } @@ -118,7 +118,7 @@ gap: 0.2rem; &.burst { - color: rgb(251, 146, 60, 90%); + color: rgb(251 146 60 / 90%); } i { @@ -129,7 +129,7 @@ } .book-score { - color: rgb(251, 146, 60, 100%); + color: rgb(251 146 60 / 100%); font-size: 1.25rem; font-weight: 700; flex-shrink: 0; diff --git a/frontend/src/app/features/stats/component/user-stats/charts/peak-hours-chart/peak-hours-chart.component.scss b/frontend/src/app/features/stats/component/user-stats/charts/peak-hours-chart/peak-hours-chart.component.scss index dc49ffa29..50d3020e0 100644 --- a/frontend/src/app/features/stats/component/user-stats/charts/peak-hours-chart/peak-hours-chart.component.scss +++ b/frontend/src/app/features/stats/component/user-stats/charts/peak-hours-chart/peak-hours-chart.component.scss @@ -40,7 +40,7 @@ .peak-hours-icon { font-size: 1.5rem; - color: rgb(34, 197, 94, 100%); + color: rgb(34 197 94 / 100%); } .chart-wrapper { diff --git a/frontend/src/app/features/stats/component/user-stats/charts/publication-era-chart/publication-era-chart.component.scss b/frontend/src/app/features/stats/component/user-stats/charts/publication-era-chart/publication-era-chart.component.scss index c10ccffe7..a1c9abb6f 100644 --- a/frontend/src/app/features/stats/component/user-stats/charts/publication-era-chart/publication-era-chart.component.scss +++ b/frontend/src/app/features/stats/component/user-stats/charts/publication-era-chart/publication-era-chart.component.scss @@ -12,7 +12,7 @@ display: flex; gap: 0.75rem; margin-bottom: 1rem; flex-wrap: wrap; .stat-card { display: flex; flex-direction: column; align-items: center; - background: rgb(255, 255, 255, 5%); border: 1px solid rgb(255, 255, 255, 10%); + background: rgb(255 255 255 / 5%); border: 1px solid rgb(255 255 255 / 10%); border-radius: 8px; padding: 0.5rem 1rem; flex: 1; min-width: 80px; .stat-value { font-size: 1.5rem; font-weight: 600; color: var(--text-color, #ffffff); } .stat-label { font-size: 0.75rem; color: var(--text-secondary-color); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 0.25rem; } diff --git a/frontend/src/app/features/stats/component/user-stats/charts/rating-taste-chart/rating-taste-chart.component.scss b/frontend/src/app/features/stats/component/user-stats/charts/rating-taste-chart/rating-taste-chart.component.scss index 73e7292ba..d3831ee88 100644 --- a/frontend/src/app/features/stats/component/user-stats/charts/rating-taste-chart/rating-taste-chart.component.scss +++ b/frontend/src/app/features/stats/component/user-stats/charts/rating-taste-chart/rating-taste-chart.component.scss @@ -36,8 +36,8 @@ display: flex; flex-direction: column; align-items: center; - background: rgb(156, 39, 176, 15%); - border: 1px solid rgb(156, 39, 176, 30%); + background: rgb(156 39 176 / 15%); + border: 1px solid rgb(156 39 176 / 30%); border-radius: 8px; padding: 0.5rem 1rem; @@ -58,7 +58,7 @@ .rating-taste-icon { font-size: 1.5rem; - color: rgb(156, 39, 176, 100%); + color: rgb(156 39 176 / 100%); } .chart-wrapper { @@ -75,11 +75,11 @@ .quadrant-label { position: absolute; font-size: 0.7rem; - color: rgb(255, 255, 255, 40%); + color: rgb(255 255 255 / 40%); font-weight: 500; padding: 0.25rem 0.5rem; border-radius: 4px; - background: rgb(0, 0, 0, 30%); + background: rgb(0 0 0 / 30%); &.top-left { top: 60px; @@ -128,7 +128,7 @@ gap: 0.5rem; padding: 0.4rem 0.75rem; border-radius: 20px; - background: rgb(255, 255, 255, 10%); + background: rgb(255 255 255 / 10%); font-size: 0.85rem; .deviation-label { @@ -146,8 +146,8 @@ } &.unique { - background: rgb(156, 39, 176, 20%); - border: 1px solid rgb(156, 39, 176, 30%); + background: rgb(156 39 176 / 20%); + border: 1px solid rgb(156 39 176 / 30%); .deviation-value { color: #9c27b0; @@ -155,8 +155,8 @@ } &.mainstream { - background: rgb(76, 175, 80, 20%); - border: 1px solid rgb(76, 175, 80, 30%); + background: rgb(76 175 80 / 20%); + border: 1px solid rgb(76 175 80 / 30%); .deviation-value { color: #4caf50; @@ -172,10 +172,10 @@ } .quadrant-card { - background: rgb(255, 255, 255, 5%); + background: rgb(255 255 255 / 5%); border-radius: 8px; padding: 1rem; - border: 1px solid rgb(255, 255, 255, 10%); + border: 1px solid rgb(255 255 255 / 10%); border-left: 4px solid; position: relative; @@ -216,7 +216,7 @@ .quadrant-bar { height: 4px; - background: rgb(255, 255, 255, 10%); + background: rgb(255 255 255 / 10%); border-radius: 2px; overflow: hidden; margin-bottom: 0.25rem; diff --git a/frontend/src/app/features/stats/component/user-stats/charts/reading-clock-chart/reading-clock-chart.component.scss b/frontend/src/app/features/stats/component/user-stats/charts/reading-clock-chart/reading-clock-chart.component.scss index 2fcea1bf7..a7ee9e82f 100644 --- a/frontend/src/app/features/stats/component/user-stats/charts/reading-clock-chart/reading-clock-chart.component.scss +++ b/frontend/src/app/features/stats/component/user-stats/charts/reading-clock-chart/reading-clock-chart.component.scss @@ -45,8 +45,8 @@ display: flex; flex-direction: column; align-items: center; - background: rgb(255, 255, 255, 5%); - border: 1px solid rgb(255, 255, 255, 10%); + background: rgb(255 255 255 / 5%); + border: 1px solid rgb(255 255 255 / 10%); border-radius: 8px; padding: 0.5rem 1rem; flex: 1; diff --git a/frontend/src/app/features/stats/component/user-stats/charts/reading-debt-chart/reading-debt-chart.component.scss b/frontend/src/app/features/stats/component/user-stats/charts/reading-debt-chart/reading-debt-chart.component.scss index b1bc64f72..0a4c9fc3e 100644 --- a/frontend/src/app/features/stats/component/user-stats/charts/reading-debt-chart/reading-debt-chart.component.scss +++ b/frontend/src/app/features/stats/component/user-stats/charts/reading-debt-chart/reading-debt-chart.component.scss @@ -12,7 +12,7 @@ display: flex; gap: 0.75rem; margin-bottom: 1rem; flex-wrap: wrap; .stat-card { display: flex; flex-direction: column; align-items: center; - background: rgb(255, 255, 255, 5%); border: 1px solid rgb(255, 255, 255, 10%); + background: rgb(255 255 255 / 5%); border: 1px solid rgb(255 255 255 / 10%); border-radius: 8px; padding: 0.5rem 1rem; flex: 1; min-width: 80px; .stat-value { font-size: 1.5rem; font-weight: 600; color: var(--text-color, #ffffff); } .stat-label { font-size: 0.75rem; color: var(--text-secondary-color); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 0.25rem; } diff --git a/frontend/src/app/features/stats/component/user-stats/charts/reading-dna-chart/reading-dna-chart.component.scss b/frontend/src/app/features/stats/component/user-stats/charts/reading-dna-chart/reading-dna-chart.component.scss index b45c951a0..8c42fc92f 100644 --- a/frontend/src/app/features/stats/component/user-stats/charts/reading-dna-chart/reading-dna-chart.component.scss +++ b/frontend/src/app/features/stats/component/user-stats/charts/reading-dna-chart/reading-dna-chart.component.scss @@ -32,7 +32,7 @@ .reading-dna-icon { font-size: 1.5rem; - color: rgb(79, 195, 247, 100%); + color: rgb(79 195 247 / 100%); } .chart-wrapper { @@ -59,10 +59,10 @@ } .insight-card { - background: rgb(255, 255, 255, 5%); + background: rgb(255 255 255 / 5%); border-radius: 8px; padding: 1rem; - border: 1px solid rgb(255, 255, 255, 10%); + border: 1px solid rgb(255 255 255 / 10%); .insight-header { display: flex; @@ -84,7 +84,7 @@ .insight-progress { height: 6px; - background: rgb(255, 255, 255, 10%); + background: rgb(255 255 255 / 10%); border-radius: 3px; overflow: hidden; margin-bottom: 0.5rem; diff --git a/frontend/src/app/features/stats/component/user-stats/charts/reading-habits-chart/reading-habits-chart.component.scss b/frontend/src/app/features/stats/component/user-stats/charts/reading-habits-chart/reading-habits-chart.component.scss index 25a297f89..33be7a50c 100644 --- a/frontend/src/app/features/stats/component/user-stats/charts/reading-habits-chart/reading-habits-chart.component.scss +++ b/frontend/src/app/features/stats/component/user-stats/charts/reading-habits-chart/reading-habits-chart.component.scss @@ -32,7 +32,7 @@ .reading-habits-icon { font-size: 1.5rem; - color: rgb(156, 39, 176, 100%); + color: rgb(156 39 176 / 100%); } .chart-wrapper { @@ -59,10 +59,10 @@ } .insight-card { - background: rgb(255, 255, 255, 5%); + background: rgb(255 255 255 / 5%); border-radius: 8px; padding: 1rem; - border: 1px solid rgb(255, 255, 255, 10%); + border: 1px solid rgb(255 255 255 / 10%); .insight-header { display: flex; @@ -84,7 +84,7 @@ .insight-progress { height: 6px; - background: rgb(255, 255, 255, 10%); + background: rgb(255 255 255 / 10%); border-radius: 3px; overflow: hidden; margin-bottom: 0.5rem; diff --git a/frontend/src/app/features/stats/component/user-stats/charts/reading-heatmap-chart/reading-heatmap-chart.component.scss b/frontend/src/app/features/stats/component/user-stats/charts/reading-heatmap-chart/reading-heatmap-chart.component.scss index 38d4f9f4d..7721a2beb 100644 --- a/frontend/src/app/features/stats/component/user-stats/charts/reading-heatmap-chart/reading-heatmap-chart.component.scss +++ b/frontend/src/app/features/stats/component/user-stats/charts/reading-heatmap-chart/reading-heatmap-chart.component.scss @@ -33,7 +33,7 @@ .reading-heatmap-icon { font-size: 1.5rem; - color: rgb(239, 71, 111, 100%); + color: rgb(239 71 111 / 100%); } .chart-wrapper { diff --git a/frontend/src/app/features/stats/component/user-stats/charts/reading-session-heatmap/reading-session-heatmap.component.scss b/frontend/src/app/features/stats/component/user-stats/charts/reading-session-heatmap/reading-session-heatmap.component.scss index 42f90449f..e16103224 100644 --- a/frontend/src/app/features/stats/component/user-stats/charts/reading-session-heatmap/reading-session-heatmap.component.scss +++ b/frontend/src/app/features/stats/component/user-stats/charts/reading-session-heatmap/reading-session-heatmap.component.scss @@ -35,8 +35,8 @@ justify-self: center; .year-nav-btn { - background: rgb(255, 255, 255, 10%); - border: 1px solid rgb(255, 255, 255, 20%); + background: rgb(255 255 255 / 10%); + border: 1px solid rgb(255 255 255 / 20%); border-radius: 6px; padding: 0.6rem 0.6rem; color: #ffffff; @@ -47,8 +47,8 @@ justify-content: center; &:hover { - background: rgb(255, 255, 255, 20%); - border-color: rgb(255, 255, 255, 30%); + background: rgb(255 255 255 / 20%); + border-color: rgb(255 255 255 / 30%); transform: translateY(-1px); } @@ -89,7 +89,7 @@ .heatmap-title-icon { font-size: 1.5rem; - color: rgb(59, 130, 246, 100%); + color: rgb(59 130 246 / 100%); vertical-align: middle; margin-right: 0.25em; } @@ -102,7 +102,7 @@ gap: 0.75rem; margin-top: 1rem; padding-top: 1rem; - border-top: 1px solid rgb(255, 255, 255, 8%); + border-top: 1px solid rgb(255 255 255 / 8%); } .footer-pills { @@ -122,8 +122,8 @@ gap: 0.35rem; padding: 0.35rem 0.65rem; border-radius: 6px; - border: 1px solid rgb(255, 255, 255, 10%); - background: rgb(255, 255, 255, 5%); + border: 1px solid rgb(255 255 255 / 10%); + background: rgb(255 255 255 / 5%); font-size: 0.85rem; color: var(--text-color, #ffffff); font-weight: 500; @@ -139,8 +139,8 @@ &.consistency .pill-value { color: #9c27b0; } &.milestone.unlocked { - border-color: rgb(76, 175, 80, 30%); - background: rgb(76, 175, 80, 10%); + border-color: rgb(76 175 80 / 30%); + background: rgb(76 175 80 / 10%); } &.milestone.locked { diff --git a/frontend/src/app/features/stats/component/user-stats/charts/reading-session-timeline/reading-session-timeline.component.scss b/frontend/src/app/features/stats/component/user-stats/charts/reading-session-timeline/reading-session-timeline.component.scss index 5f5724c0c..2fae2382d 100644 --- a/frontend/src/app/features/stats/component/user-stats/charts/reading-session-timeline/reading-session-timeline.component.scss +++ b/frontend/src/app/features/stats/component/user-stats/charts/reading-session-timeline/reading-session-timeline.component.scss @@ -32,8 +32,8 @@ justify-self: center; .week-nav-btn { - background: rgb(255, 255, 255, 10%); - border: 1px solid rgb(255, 255, 255, 20%); + background: rgb(255 255 255 / 10%); + border: 1px solid rgb(255 255 255 / 20%); border-radius: 6px; padding: 0.6rem 0.6rem; color: #ffffff; @@ -44,8 +44,8 @@ justify-content: center; &:hover { - background: rgb(255, 255, 255, 20%); - border-color: rgb(255, 255, 255, 30%); + background: rgb(255 255 255 / 20%); + border-color: rgb(255 255 255 / 30%); transform: translateY(-1px); } @@ -97,13 +97,13 @@ gap: 1rem; margin-bottom: 1rem; padding: 0.75rem; - background: rgb(255, 255, 255, 5%); + background: rgb(255 255 255 / 5%); border-radius: 8px; - border: 1px solid rgb(255, 255, 255, 10%); + border: 1px solid rgb(255 255 255 / 10%); .week-nav-btn { - background: rgb(255, 255, 255, 10%); - border: 1px solid rgb(255, 255, 255, 20%); + background: rgb(255 255 255 / 10%); + border: 1px solid rgb(255 255 255 / 20%); border-radius: 6px; padding: 0.6rem 6rem; color: #ffffff; @@ -114,8 +114,8 @@ justify-content: center; &:hover { - background: rgb(255, 255, 255, 20%); - border-color: rgb(255, 255, 255, 30%); + background: rgb(255 255 255 / 20%); + border-color: rgb(255 255 255 / 30%); transform: translateY(-1px); } @@ -187,7 +187,7 @@ .hour-label { display: none; font-size: 0.75rem; - color: rgb(255, 255, 255, 60%); + color: rgb(255 255 255 / 60%); position: absolute; left: 0; transform: translateX(-50%); @@ -214,16 +214,16 @@ align-items: center; font-size: 0.875rem; font-weight: 500; - color: rgb(255, 255, 255, 90%); + color: rgb(255 255 255 / 90%); padding-right: 1rem; } .timeline-track { flex: 1; position: relative; - background: rgb(255, 255, 255, 2%); + background: rgb(255 255 255 / 2%); border-radius: 4px; - border: 1px solid rgb(255, 255, 255, 10%); + border: 1px solid rgb(255 255 255 / 10%); min-height: 35px; overflow: visible; } @@ -237,7 +237,7 @@ pointer-events: none; .grid-line { - border-right: 1px solid rgb(255, 255, 255, 5%); + border-right: 1px solid rgb(255 255 255 / 5%); &:last-child { border-right: none; @@ -369,15 +369,15 @@ ::ng-deep .session-timeline-tooltip.p-tooltip { --p-tooltip-max-width: 300px; - --p-tooltip-background: rgb(30, 30, 30, 98%); + --p-tooltip-background: rgb(30 30 30 / 98%); --p-tooltip-color: #ffffff; --p-tooltip-border-radius: 12px; - --p-tooltip-shadow: 0 4px 20px rgb(0, 0, 0, 50%); + --p-tooltip-shadow: 0 4px 20px rgb(0 0 0 / 50%); --p-tooltip-padding: 0 !important; --p-tooltip-gutter: 12px; backdrop-filter: blur(10px); - border: 1px solid rgb(255, 255, 255, 20%); + border: 1px solid rgb(255 255 255 / 20%); min-width: 320px; padding: 0 !important; @@ -403,7 +403,7 @@ height: 100%; object-fit: cover; border-radius: 4px; - background-color: rgb(255, 255, 255, 10%); + background-color: rgb(255 255 255 / 10%); } } @@ -422,7 +422,7 @@ i { font-size: 1.1rem; - color: rgb(239, 68, 68, 100%); + color: rgb(239 68 68 / 100%); } } @@ -439,7 +439,7 @@ height: 1px; background: linear-gradient(90deg, transparent 0%, - rgb(255, 255, 255, 10%) 50%, + rgb(255 255 255 / 10%) 50%, transparent 100%); margin-bottom: 0.75rem; } @@ -459,14 +459,14 @@ i { font-size: 0.875rem; - color: rgb(255, 255, 255, 60%); + color: rgb(255 255 255 / 60%); width: 16px; text-align: center; } } .session-tooltip-label { - color: rgb(255, 255, 255, 70%); + color: rgb(255 255 255 / 70%); font-weight: 500; } @@ -479,7 +479,7 @@ .timeline-title-icon { font-size: 1.5rem; - color: rgb(239, 68, 68, 100%); + color: rgb(239 68 68 / 100%); vertical-align: middle; margin-right: 0.25em; } diff --git a/frontend/src/app/features/stats/component/user-stats/charts/reading-survival-chart/reading-survival-chart.component.scss b/frontend/src/app/features/stats/component/user-stats/charts/reading-survival-chart/reading-survival-chart.component.scss index fd8065a97..ec04fe953 100644 --- a/frontend/src/app/features/stats/component/user-stats/charts/reading-survival-chart/reading-survival-chart.component.scss +++ b/frontend/src/app/features/stats/component/user-stats/charts/reading-survival-chart/reading-survival-chart.component.scss @@ -45,8 +45,8 @@ display: flex; flex-direction: column; align-items: center; - background: rgb(255, 255, 255, 5%); - border: 1px solid rgb(255, 255, 255, 10%); + background: rgb(255 255 255 / 5%); + border: 1px solid rgb(255 255 255 / 10%); border-radius: 8px; padding: 0.5rem 1rem; flex: 1; diff --git a/frontend/src/app/features/stats/component/user-stats/charts/series-progress-chart/series-progress-chart.component.scss b/frontend/src/app/features/stats/component/user-stats/charts/series-progress-chart/series-progress-chart.component.scss index f7418f218..c1976dde4 100644 --- a/frontend/src/app/features/stats/component/user-stats/charts/series-progress-chart/series-progress-chart.component.scss +++ b/frontend/src/app/features/stats/component/user-stats/charts/series-progress-chart/series-progress-chart.component.scss @@ -50,17 +50,17 @@ } &.completed { - background: rgb(76, 175, 80, 20%); + background: rgb(76 175 80 / 20%); color: #4caf50; } &.in-progress { - background: rgb(255, 193, 7, 20%); + background: rgb(255 193 7 / 20%); color: #ffc107; } &.not-started { - background: rgb(158, 158, 158, 20%); + background: rgb(158 158 158 / 20%); color: #9e9e9e; } } @@ -83,9 +83,9 @@ align-items: center; gap: 0.5rem; padding: 0.5rem 0.85rem; - background: rgb(255, 255, 255, 5%); + background: rgb(255 255 255 / 5%); border-radius: 20px; - border: 1px solid rgb(255, 255, 255, 10%); + border: 1px solid rgb(255 255 255 / 10%); .pill-value { font-size: 1rem; @@ -99,8 +99,8 @@ } &.highlight { - background: rgb(103, 58, 183, 15%); - border-color: rgb(103, 58, 183, 30%); + background: rgb(103 58 183 / 15%); + border-color: rgb(103 58 183 / 30%); .pill-value { color: #673ab7; @@ -132,7 +132,7 @@ .series-count { font-size: 0.75rem; color: var(--text-secondary-color); - background: rgb(255, 255, 255, 8%); + background: rgb(255 255 255 / 8%); padding: 0.25rem 0.5rem; border-radius: 4px; } @@ -152,8 +152,8 @@ align-items: center; gap: 0.5rem; padding: 0.4rem 0.65rem; - background: rgb(255, 255, 255, 5%); - border: 1px solid rgb(255, 255, 255, 12%); + background: rgb(255 255 255 / 5%); + border: 1px solid rgb(255 255 255 / 12%); border-radius: 6px; i { @@ -183,8 +183,8 @@ .filter-select, .sort-select { padding: 0.4rem 0.5rem; - background: rgb(255, 255, 255, 5%); - border: 1px solid rgb(255, 255, 255, 12%); + background: rgb(255 255 255 / 5%); + border: 1px solid rgb(255 255 255 / 12%); border-radius: 6px; color: var(--text-color, #ffffff); font-size: 0.75rem; @@ -198,7 +198,7 @@ } &:hover { - border-color: rgb(255, 255, 255, 25%); + border-color: rgb(255 255 255 / 25%); } &:focus { @@ -220,12 +220,12 @@ } &::-webkit-scrollbar-track { - background: rgb(255, 255, 255, 5%); + background: rgb(255 255 255 / 5%); border-radius: 2px; } &::-webkit-scrollbar-thumb { - background: rgb(255, 255, 255, 20%); + background: rgb(255 255 255 / 20%); border-radius: 2px; } @@ -251,7 +251,7 @@ gap: 0.75rem; margin-top: 0.75rem; padding-top: 0.75rem; - border-top: 1px solid rgb(255, 255, 255, 8%); + border-top: 1px solid rgb(255 255 255 / 8%); .page-btn { display: flex; @@ -259,8 +259,8 @@ justify-content: center; width: 28px; height: 28px; - background: rgb(255, 255, 255, 8%); - border: 1px solid rgb(255, 255, 255, 12%); + background: rgb(255 255 255 / 8%); + border: 1px solid rgb(255 255 255 / 12%); border-radius: 6px; color: var(--text-color, #ffffff); cursor: pointer; @@ -271,7 +271,7 @@ } &:hover:not(:disabled) { - background: rgb(103, 58, 183, 30%); + background: rgb(103 58 183 / 30%); border-color: #673ab7; } @@ -291,9 +291,9 @@ .series-card { padding: 0.5rem 0.75rem; - background: rgb(255, 255, 255, 3%); + background: rgb(255 255 255 / 3%); border-radius: 8px; - border: 1px solid rgb(255, 255, 255, 8%); + border: 1px solid rgb(255 255 255 / 8%); border-left: 3px solid; &.completed { @@ -375,7 +375,7 @@ .progress-bar-container { flex: 1; height: 6px; - background: rgb(255, 255, 255, 10%); + background: rgb(255 255 255 / 10%); border-radius: 3px; overflow: hidden; position: relative; @@ -410,7 +410,7 @@ .next-up { margin-top: 0.35rem; padding-top: 0.3rem; - border-top: 1px dashed rgb(255, 255, 255, 10%); + border-top: 1px dashed rgb(255 255 255 / 10%); font-size: 0.7rem; .next-label { diff --git a/frontend/src/app/features/stats/component/user-stats/charts/session-archetypes-chart/session-archetypes-chart.component.scss b/frontend/src/app/features/stats/component/user-stats/charts/session-archetypes-chart/session-archetypes-chart.component.scss index 56fd9df1d..b7a27a7ac 100644 --- a/frontend/src/app/features/stats/component/user-stats/charts/session-archetypes-chart/session-archetypes-chart.component.scss +++ b/frontend/src/app/features/stats/component/user-stats/charts/session-archetypes-chart/session-archetypes-chart.component.scss @@ -9,10 +9,10 @@ .year-nav { display: flex; align-items: center; gap: 0.5rem; .nav-btn { - background: rgb(255, 255, 255, 10%); border: 1px solid rgb(255, 255, 255, 20%); + background: rgb(255 255 255 / 10%); border: 1px solid rgb(255 255 255 / 20%); border-radius: 6px; color: var(--text-color, #ffffff); padding: 0.3rem 0.5rem; cursor: pointer; transition: background 0.2s; - &:hover { background: rgb(255, 255, 255, 20%); } + &:hover { background: rgb(255 255 255 / 20%); } } .year-label { color: var(--text-color, #ffffff); font-weight: 600; font-size: 1.1rem; min-width: 50px; text-align: center; } } @@ -22,7 +22,7 @@ display: flex; gap: 0.75rem; margin-bottom: 1rem; flex-wrap: wrap; .stat-card { display: flex; flex-direction: column; align-items: center; - background: rgb(255, 255, 255, 5%); border: 1px solid rgb(255, 255, 255, 10%); + background: rgb(255 255 255 / 5%); border: 1px solid rgb(255 255 255 / 10%); border-radius: 8px; padding: 0.5rem 1rem; flex: 1; min-width: 80px; .stat-value { font-size: 1.5rem; font-weight: 600; color: var(--text-color, #ffffff); } .stat-label { font-size: 0.75rem; color: var(--text-secondary-color); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 0.25rem; } diff --git a/frontend/src/app/features/stats/component/user-stats/user-stats.component.scss b/frontend/src/app/features/stats/component/user-stats/user-stats.component.scss index 8c05e0978..4845a121a 100644 --- a/frontend/src/app/features/stats/component/user-stats/user-stats.component.scss +++ b/frontend/src/app/features/stats/component/user-stats/user-stats.component.scss @@ -12,13 +12,13 @@ padding: 1rem; backdrop-filter: blur(10px); border: 1px solid var(--p-content-border-color); - box-shadow: 0 4px 6px rgb(0, 0, 0, 10%); + box-shadow: 0 4px 6px rgb(0 0 0 / 10%); margin-bottom: 2rem; transition: all 0.3s ease; &:hover { - border-color: rgb(255, 255, 255, 20%); - box-shadow: 0 6px 12px rgb(0, 0, 0, 15%); + border-color: rgb(255 255 255 / 20%); + box-shadow: 0 6px 12px rgb(0 0 0 / 15%); } .header-content { @@ -130,14 +130,14 @@ align-items: center; gap: 1rem; padding: 0.5rem 1.25rem; - background: rgb(255, 255, 255, 3%); + background: rgb(255 255 255 / 3%); border: 1px solid var(--p-content-border-color); border-radius: 8px; cursor: move; transition: all 0.2s ease; &:hover { - background: rgb(255, 255, 255, 5%); + background: rgb(255 255 255 / 5%); border-color: var(--p-primary-color); } @@ -200,14 +200,14 @@ padding: 1.5rem; backdrop-filter: blur(10px); border: 1px solid var(--p-content-border-color); - box-shadow: 0 4px 6px rgb(0, 0, 0, 10%); + box-shadow: 0 4px 6px rgb(0 0 0 / 10%); transition: all 0.3s ease; position: relative; overflow: visible; &:hover { - border-color: rgb(255, 255, 255, 20%); - box-shadow: 0 6px 12px rgb(0, 0, 0, 15%); + border-color: rgb(255 255 255 / 20%); + box-shadow: 0 6px 12px rgb(0 0 0 / 15%); .chart-drag-handle { opacity: 1; @@ -219,7 +219,7 @@ top: 0.5rem; right: 0.5rem; padding: 0.5rem; - background: rgb(0, 0, 0, 30%); + background: rgb(0 0 0 / 30%); border-radius: 6px; cursor: grab; opacity: 0; @@ -232,7 +232,7 @@ } &:hover { - background: rgb(0, 0, 0, 50%); + background: rgb(0 0 0 / 50%); } } @@ -263,7 +263,7 @@ .cdk-drag-preview { opacity: 0.8; - box-shadow: 0 8px 16px rgb(0, 0, 0, 30%); + box-shadow: 0 8px 16px rgb(0 0 0 / 30%); } .cdk-drag-placeholder { diff --git a/frontend/src/app/shared/components/book-uploader/book-uploader.component.scss b/frontend/src/app/shared/components/book-uploader/book-uploader.component.scss index 778853367..29b76145f 100644 --- a/frontend/src/app/shared/components/book-uploader/book-uploader.component.scss +++ b/frontend/src/app/shared/components/book-uploader/book-uploader.component.scss @@ -25,7 +25,7 @@ background: var(--card-background); border: 1px solid var(--border-color); border-radius: 0 0 10px 10px; - box-shadow: 0 2px 6px rgb(0, 0, 0, 8%); + box-shadow: 0 2px 6px rgb(0 0 0 / 8%); @media (max-width: 480px) { padding: 1rem; @@ -300,7 +300,7 @@ &:hover { border-color: var(--primary-color); - box-shadow: 0 2px 6px rgb(0, 0, 0, 8%); + box-shadow: 0 2px 6px rgb(0 0 0 / 8%); } .file-info { diff --git a/frontend/src/app/shared/components/change-password/change-password.component.scss b/frontend/src/app/shared/components/change-password/change-password.component.scss index 0f29d8f71..42b51a195 100644 --- a/frontend/src/app/shared/components/change-password/change-password.component.scss +++ b/frontend/src/app/shared/components/change-password/change-password.component.scss @@ -22,7 +22,7 @@ .app-title { @apply text-5xl font-extrabold text-white drop-shadow-lg; - text-shadow: 0 4px 6px rgb(0, 0, 0, 30%); + text-shadow: 0 4px 6px rgb(0 0 0 / 30%); } .change-password-header { diff --git a/frontend/src/app/shared/components/directory-picker/directory-picker.component.scss b/frontend/src/app/shared/components/directory-picker/directory-picker.component.scss index 4f7f25512..fed191e97 100644 --- a/frontend/src/app/shared/components/directory-picker/directory-picker.component.scss +++ b/frontend/src/app/shared/components/directory-picker/directory-picker.component.scss @@ -162,7 +162,7 @@ background: var(--card-background); border: 1px solid var(--border-color); border-top: none; - box-shadow: 0 2px 6px rgb(0, 0, 0, 8%); + box-shadow: 0 2px 6px rgb(0 0 0 / 8%); flex: 1; min-height: 0; overflow: hidden; @@ -372,7 +372,7 @@ &:hover { border-color: var(--primary-color); transform: translateY(3px); - box-shadow: 0 3px 8px rgb(0, 0, 0, 10%); + box-shadow: 0 3px 8px rgb(0 0 0 / 10%); .directory-icon { color: var(--primary-color); diff --git a/frontend/src/app/shared/components/file-mover/file-mover-component.scss b/frontend/src/app/shared/components/file-mover/file-mover-component.scss index 48569b7dc..6f58a5515 100644 --- a/frontend/src/app/shared/components/file-mover/file-mover-component.scss +++ b/frontend/src/app/shared/components/file-mover/file-mover-component.scss @@ -446,7 +446,7 @@ } .row-moved { - background: rgb(34, 197, 94, 5%) !important; + background: rgb(34 197 94 / 5%) !important; } // Footer diff --git a/frontend/src/app/shared/components/icon-picker/icon-picker-component.scss b/frontend/src/app/shared/components/icon-picker/icon-picker-component.scss index 4f7b4bd67..39fa9c092 100644 --- a/frontend/src/app/shared/components/icon-picker/icon-picker-component.scss +++ b/frontend/src/app/shared/components/icon-picker/icon-picker-component.scss @@ -261,7 +261,7 @@ &.active { border-color: var(--p-red-400); - background: rgb(239, 68, 68, 8%); + background: rgb(239 68 68 / 8%); color: var(--p-red-400); } } @@ -386,8 +386,8 @@ align-items: center; gap: 0.5rem; padding: 0.75rem 1rem; - background: rgb(239, 68, 68, 10%); - border: 1px solid rgb(239, 68, 68, 20%); + background: rgb(239 68 68 / 10%); + border: 1px solid rgb(239 68 68 / 20%); border-radius: 6px; color: var(--p-red-400); font-size: 0.875rem; @@ -473,7 +473,7 @@ transition: all 0.15s ease; &:hover { - background: rgb(239, 68, 68, 15%); + background: rgb(239 68 68 / 15%); color: var(--p-red-400); } @@ -501,8 +501,8 @@ padding: 0.5rem 0.625rem; font-size: 0.6875rem; color: var(--p-red-400); - background: rgb(239, 68, 68, 8%); - border-top: 1px solid rgb(239, 68, 68, 15%); + background: rgb(239 68 68 / 8%); + border-top: 1px solid rgb(239 68 68 / 15%); } } diff --git a/frontend/src/app/shared/components/login/login.component.scss b/frontend/src/app/shared/components/login/login.component.scss index 122b0b7db..6895fe851 100644 --- a/frontend/src/app/shared/components/login/login.component.scss +++ b/frontend/src/app/shared/components/login/login.component.scss @@ -41,8 +41,8 @@ margin-bottom: 1.5rem; padding: 1rem; border-radius: 0.75rem; - background: rgb(245, 158, 11, 10%); - border: 1px solid rgb(245, 158, 11, 30%); + background: rgb(245 158 11 / 10%); + border: 1px solid rgb(245 158 11 / 30%); animation: fadeIn 0.3s ease-out; } @@ -113,13 +113,13 @@ &::after { content: ''; flex: 1; - border-bottom: 1px solid rgb(255, 255, 255, 15%); + border-bottom: 1px solid rgb(255 255 255 / 15%); } span { padding: 0 1rem; font-size: 0.875rem; - color: rgb(255, 255, 255, 50%); + color: rgb(255 255 255 / 50%); font-weight: 500; } } @@ -127,14 +127,14 @@ .oidc-button { ::ng-deep button { height: 2.75rem; - background: rgb(255, 255, 255, 5%); - border: 1px solid rgb(255, 255, 255, 15%); - color: rgb(255, 255, 255, 90%); + background: rgb(255 255 255 / 5%); + border: 1px solid rgb(255 255 255 / 15%); + color: rgb(255 255 255 / 90%); transition: all 0.3s ease; &:hover:not(:disabled) { - background: rgb(255, 255, 255, 10%); - border-color: rgb(255, 255, 255, 25%); + background: rgb(255 255 255 / 10%); + border-color: rgb(255 255 255 / 25%); transform: translateY(-1px); } } @@ -149,14 +149,14 @@ background: none; border: none; font-size: 0.8rem; - color: rgb(255, 255, 255, 50%); + color: rgb(255 255 255 / 50%); text-decoration: underline; cursor: pointer; transition: color 0.2s ease; padding: 0; &:hover { - color: rgb(255, 255, 255, 80%); + color: rgb(255 255 255 / 80%); } &.primary { diff --git a/frontend/src/app/shared/layout/component/layout-menu/app.menuitem.component.scss b/frontend/src/app/shared/layout/component/layout-menu/app.menuitem.component.scss index 819e03401..4ac6c606d 100644 --- a/frontend/src/app/shared/layout/component/layout-menu/app.menuitem.component.scss +++ b/frontend/src/app/shared/layout/component/layout-menu/app.menuitem.component.scss @@ -107,10 +107,10 @@ @keyframes pulse { 0%, 100% { opacity: 1; - box-shadow: 0 0 0 0 rgb(239, 68, 68, 70%); + box-shadow: 0 0 0 0 rgb(239 68 68 / 70%); } 50% { opacity: 0.85; - box-shadow: 0 0 0 5px rgb(239, 68, 68, 0%); + box-shadow: 0 0 0 5px rgb(239 68 68 / 0%); } } diff --git a/frontend/src/app/shared/layout/component/layout-menu/version-changelog-dialog/version-changelog-dialog.component.scss b/frontend/src/app/shared/layout/component/layout-menu/version-changelog-dialog/version-changelog-dialog.component.scss index 20e7ff02a..f0202563e 100644 --- a/frontend/src/app/shared/layout/component/layout-menu/version-changelog-dialog/version-changelog-dialog.component.scss +++ b/frontend/src/app/shared/layout/component/layout-menu/version-changelog-dialog/version-changelog-dialog.component.scss @@ -16,7 +16,7 @@ border: 1px solid var(--border-color); border-top: none; border-radius: 0 0 10px 10px; - box-shadow: 0 2px 6px rgb(0, 0, 0, 8%); + box-shadow: 0 2px 6px rgb(0 0 0 / 8%); overflow-y: auto; flex: 1; } diff --git a/frontend/src/app/shared/layout/component/layout-topbar/app.topbar.component.scss b/frontend/src/app/shared/layout/component/layout-topbar/app.topbar.component.scss index b4ae36dde..1f516d613 100644 --- a/frontend/src/app/shared/layout/component/layout-topbar/app.topbar.component.scss +++ b/frontend/src/app/shared/layout/component/layout-topbar/app.topbar.component.scss @@ -59,7 +59,7 @@ &:hover .heart-icon { animation: heartbeat 0.6s ease-in-out; - filter: drop-shadow(0 0 8px rgb(236, 72, 153, 80%)); + filter: drop-shadow(0 0 8px rgb(236 72 153 / 80%)); } &:hover .heart-ripple { @@ -115,7 +115,7 @@ color: #e8366d !important; font-size: 1.05rem; animation: heart-float 2.5s ease-in-out infinite; - filter: drop-shadow(0 0 6px rgb(232, 54, 109, 80%)); + filter: drop-shadow(0 0 6px rgb(232 54 109 / 80%)); transition: filter 0.3s; } diff --git a/frontend/src/app/shared/styles/_auth-shared.scss b/frontend/src/app/shared/styles/_auth-shared.scss index e09fb0e91..fc0b670d3 100644 --- a/frontend/src/app/shared/styles/_auth-shared.scss +++ b/frontend/src/app/shared/styles/_auth-shared.scss @@ -15,7 +15,7 @@ left: -50%; width: 200%; height: 200%; - background: radial-gradient(circle, rgb(59, 130, 246, 10%) 0%, transparent 70%); + background: radial-gradient(circle, rgb(59 130 246 / 10%) 0%, transparent 70%); animation: float 20s ease-in-out infinite; } } @@ -42,19 +42,19 @@ width: 100%; border-radius: 2rem; padding: 2px; - background: linear-gradient(135deg, var(--primary-color) 0%, rgb(59, 130, 246, 30%) 50%, transparent 100%); - box-shadow: 0 20px 60px rgb(0, 0, 0, 40%); + background: linear-gradient(135deg, var(--primary-color) 0%, rgb(59 130 246 / 30%) 50%, transparent 100%); + box-shadow: 0 20px 60px rgb(0 0 0 / 40%); transition: all 0.3s ease; &:hover { - box-shadow: 0 25px 70px rgb(0, 0, 0, 50%); + box-shadow: 0 25px 70px rgb(0 0 0 / 50%); transform: translateY(-2px); } } @mixin auth-card { width: 100%; - background: rgb(17, 24, 39, 95%); + background: rgb(17 24 39 / 95%); backdrop-filter: blur(20px); border-radius: calc(2rem - 2px); padding: 3rem 2.5rem; @@ -78,7 +78,7 @@ width: 4rem; height: 4rem; margin: 0 auto; - filter: drop-shadow(0 4px 12px rgb(59, 130, 246, 40%)); + filter: drop-shadow(0 4px 12px rgb(59 130 246 / 40%)); transition: transform 0.3s ease; &:hover { @@ -95,7 +95,7 @@ justify-content: center; border-radius: 50%; background: linear-gradient(135deg, var(--primary-color) 0%, #2563eb 100%); - box-shadow: 0 4px 12px rgb(59, 130, 246, 40%); + box-shadow: 0 4px 12px rgb(59 130 246 / 40%); transition: transform 0.3s ease; i { @@ -124,7 +124,7 @@ @mixin auth-subtitle { font-size: 0.95rem; - color: rgb(255, 255, 255, 70%); + color: rgb(255 255 255 / 70%); font-weight: 400; line-height: 1.5; max-width: 400px; @@ -149,7 +149,7 @@ gap: 0.5rem; font-size: 0.95rem; font-weight: 600; - color: rgb(255, 255, 255, 90%); + color: rgb(255 255 255 / 90%); i { color: var(--primary-color); @@ -161,7 +161,7 @@ transition: all 0.3s ease; &:focus { - box-shadow: 0 0 0 3px rgb(59, 130, 246, 20%); + box-shadow: 0 0 0 3px rgb(59 130 246 / 20%); } } @@ -192,7 +192,7 @@ &:hover:not(:disabled) { transform: translateY(-2px); - box-shadow: 0 8px 24px rgb(59, 130, 246, 40%); + box-shadow: 0 8px 24px rgb(59 130 246 / 40%); } &:active:not(:disabled) { diff --git a/frontend/src/app/shared/styles/_panel-shared.scss b/frontend/src/app/shared/styles/_panel-shared.scss index 0c0e367df..7266cc4df 100644 --- a/frontend/src/app/shared/styles/_panel-shared.scss +++ b/frontend/src/app/shared/styles/_panel-shared.scss @@ -9,7 +9,7 @@ padding: 1.5rem 1.5rem 1.25rem 1.5rem; border-radius: 10px 10px 0 0; border: 1px solid var(--border-color); - box-shadow: 0 2px 6px rgb(0, 0, 0, 8%); + box-shadow: 0 2px 6px rgb(0 0 0 / 8%); .header-icon-wrapper { display: flex; @@ -90,7 +90,7 @@ background: var(--card-background); border: 1px solid var(--border-color); border-radius: 0 0 10px 10px; - box-shadow: 0 -2px 8px rgb(0, 0, 0, 6%); + box-shadow: 0 -2px 8px rgb(0 0 0 / 6%); .footer-info, .validation-status { @@ -159,22 +159,22 @@ } &.error { - background: rgb(239, 68, 68, 10%); - color: rgb(239, 68, 68); - border: 1px solid rgb(239, 68, 68, 30%); + background: rgb(239 68 68 / 10%); + color: rgb(239 68 68); + border: 1px solid rgb(239 68 68 / 30%); i { - color: rgb(239, 68, 68); + color: rgb(239 68 68); } } &.success { - background: rgb(34, 197, 94, 10%); - color: rgb(34, 197, 94); - border: 1px solid rgb(34, 197, 94, 30%); + background: rgb(34 197 94 / 10%); + color: rgb(34 197 94); + border: 1px solid rgb(34 197 94 / 30%); i { - color: rgb(34, 197, 94); + color: rgb(34 197 94); } } diff --git a/frontend/src/app/shared/styles/_settings-shared.scss b/frontend/src/app/shared/styles/_settings-shared.scss index 61021842e..42406d8f9 100644 --- a/frontend/src/app/shared/styles/_settings-shared.scss +++ b/frontend/src/app/shared/styles/_settings-shared.scss @@ -517,7 +517,7 @@ $settings-item-border-left-width: 3px; &:hover { transform: translateY(-2px); - box-shadow: 0 4px 12px rgb(0, 0, 0, 10%); + box-shadow: 0 4px 12px rgb(0 0 0 / 10%); border-color: color-mix(in srgb, var(--primary-color) 40%, transparent); } diff --git a/frontend/src/assets/layout/styles/layout/_menu.scss b/frontend/src/assets/layout/styles/layout/_menu.scss index de797fb73..3d055d2e9 100644 --- a/frontend/src/assets/layout/styles/layout/_menu.scss +++ b/frontend/src/assets/layout/styles/layout/_menu.scss @@ -15,7 +15,7 @@ border: 1px solid var(--p-content-border-color); border-radius: variables.$borderRadius; padding: 0.5rem 0.8rem 0.5rem 1.35rem; - box-shadow: 0 3px 5px rgb(0, 0, 0, 2%), 0 0 2px rgb(0, 0, 0, 5%), 0 1px 4px rgb(0, 0, 0, 8%); + box-shadow: 0 3px 5px rgb(0 0 0 / 2%), 0 0 2px rgb(0 0 0 / 5%), 0 1px 4px rgb(0 0 0 / 8%); } diff --git a/frontend/src/assets/layout/styles/layout/_responsive.scss b/frontend/src/assets/layout/styles/layout/_responsive.scss index df8f06f61..fc448a155 100644 --- a/frontend/src/assets/layout/styles/layout/_responsive.scss +++ b/frontend/src/assets/layout/styles/layout/_responsive.scss @@ -85,7 +85,7 @@ z-index: 998; width: 100%; height: 100%; - background-color: rgb(0, 0, 0, 60%); + background-color: rgb(0 0 0 / 60%); } &.layout-mobile-active { diff --git a/frontend/src/assets/layout/styles/layout/_topbar.scss b/frontend/src/assets/layout/styles/layout/_topbar.scss index 72959fba3..c9335d147 100644 --- a/frontend/src/assets/layout/styles/layout/_topbar.scss +++ b/frontend/src/assets/layout/styles/layout/_topbar.scss @@ -15,7 +15,7 @@ transition: left variables.$transitionDuration; display: flex; align-items: center; - box-shadow: 0 3px 5px rgb(0, 0, 0, 2%), 0 0 2px rgb(0, 0, 0, 5%), 0 1px 4px rgb(0, 0, 0, 8%); + box-shadow: 0 3px 5px rgb(0 0 0 / 2%), 0 0 2px rgb(0 0 0 / 5%), 0 1px 4px rgb(0 0 0 / 8%); .layout-topbar-logo { display: flex; diff --git a/frontend/src/styles.scss b/frontend/src/styles.scss index 2699f1721..6b261adbc 100644 --- a/frontend/src/styles.scss +++ b/frontend/src/styles.scss @@ -33,21 +33,21 @@ html { } &::-webkit-scrollbar-track { - background: rgb(0, 0, 0, 10%); + background: rgb(0 0 0 / 10%); border-radius: 10px; } &::-webkit-scrollbar-thumb { - background: rgb(128, 128, 128, 50%); + background: rgb(128 128 128 / 50%); border-radius: 10px; &:hover { - background: rgb(128, 128, 128, 70%); + background: rgb(128 128 128 / 70%); } } scrollbar-width: thin; - scrollbar-color: rgb(128, 128, 128, 50%) rgb(0, 0, 0, 10%); + scrollbar-color: rgb(128 128 128 / 50%) rgb(0 0 0 / 10%); } .chart-info-tooltip.p-tooltip { @@ -55,13 +55,13 @@ html { } .chart-info-icon { - color: rgb(255, 255, 255, 35%); + color: rgb(255 255 255 / 35%); font-size: 0.9rem; cursor: help; transition: color 0.2s ease; &:hover { - color: rgb(255, 255, 255, 80%); + color: rgb(255 255 255 / 80%); } } diff --git a/frontend/stylelint.config.js b/frontend/stylelint.config.js index 534689cec..a2ede20c6 100644 --- a/frontend/stylelint.config.js +++ b/frontend/stylelint.config.js @@ -3,7 +3,6 @@ module.exports = { ignoreFiles: ["dist/**", "node_modules/**"], rules: { "at-rule-empty-line-before": null, - "color-function-notation": null, "color-hex-length": null, "declaration-block-single-line-max-declarations": null, "declaration-empty-line-before": null,