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 d4f62ac9a..bbc2c99da 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 @@ -489,9 +489,19 @@ white-space: nowrap; font-size: 0.8rem; - .status-created & { color: var(--text-color); } - .status-created-no-metadata & { color: var(--p-yellow-500); font-style: italic; } - .status-failed & { color: var(--p-red-500); font-style: italic; } + .status-created & { + color: var(--text-color); + } + + .status-created-no-metadata & { + color: var(--p-yellow-500); + font-style: italic; + } + + .status-failed & { + color: var(--p-red-500); + font-style: italic; + } } .validation-message { 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 603a69bed..88aa328d5 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 @@ -77,7 +77,10 @@ position: relative; width: 100%; height: 500px; - canvas { display: block; } + + canvas { + display: block; + } } .no-data-message { @@ -88,9 +91,23 @@ padding: 3rem; text-align: center; color: var(--text-secondary-color); - i { font-size: 2.5rem; margin-bottom: 1rem; opacity: 0.5; } - p { font-size: 1rem; margin: 0 0 0.5rem; color: var(--text-color, #fff); } - small { font-size: 0.85rem; opacity: 0.7; } + + i { + font-size: 2.5rem; + margin-bottom: 1rem; + opacity: 0.5; + } + + p { + font-size: 1rem; + margin: 0 0 0.5rem; + color: var(--text-color, #fff); + } + + small { + font-size: 0.85rem; + opacity: 0.7; + } } @media (width <= 768px) { 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 dfdf7091b..0c84b4407 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 @@ -1,39 +1,126 @@ -.publication-era-container { width: 100%; } +.publication-era-container { + width: 100%; +} .chart-header { - display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.5rem; + display: flex; + justify-content: space-between; + align-items: flex-start; + margin-bottom: 0.5rem; .chart-title { flex: 1; - h3 { color: var(--text-color, #fff); font-size: 1.25rem; font-weight: 500; margin: 0 0 0.5rem; display: flex; align-items: center; gap: 0.5rem; } - .chart-description { color: var(--text-secondary-color); font-size: 0.9rem; margin: 0; line-height: 1.4; } + + h3 { + display: flex; + gap: 0.5rem; + align-items: center; + margin: 0 0 0.5rem; + color: var(--text-color, #fff); + font-size: 1.25rem; + font-weight: 500; + } + + .chart-description { + margin: 0; + color: var(--text-secondary-color); + font-size: 0.9rem; + line-height: 1.4; + } } } -.publication-era-icon { font-size: 1.5rem; color: #673ab7; } + +.publication-era-icon { + color: #673ab7; + font-size: 1.5rem; +} .stats-row { - display: flex; gap: 0.75rem; margin-bottom: 1rem; flex-wrap: wrap; + display: flex; + gap: 0.75rem; + flex-wrap: wrap; + margin-bottom: 1rem; .stat-card { - display: flex; flex-direction: column; align-items: center; - 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, #fff); } - .stat-label { font-size: 0.75rem; color: var(--text-secondary-color); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 0.25rem; } - &.best .stat-value { color: #673ab7; } - &.avg .stat-value { color: #ffc107; } - &.total .stat-value { color: #42a5f5; } + display: flex; + flex: 1; + flex-direction: column; + align-items: center; + min-width: 80px; + padding: 0.5rem 1rem; + border: 1px solid rgb(255 255 255 / 10%); + border-radius: 8px; + background: rgb(255 255 255 / 5%); + + .stat-value { + color: var(--text-color, #fff); + font-size: 1.5rem; + font-weight: 600; + } + + .stat-label { + margin-top: 0.25rem; + color: var(--text-secondary-color); + font-size: 0.75rem; + letter-spacing: 0.5px; + text-transform: uppercase; + } + + &.best .stat-value { + color: #673ab7; + } + + &.avg .stat-value { + color: #ffc107; + } + + &.total .stat-value { + color: #42a5f5; + } } } -.chart-wrapper { position: relative; height: 350px; width: 100%; } -.no-data-message { - display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem; text-align: center; color: var(--text-secondary-color); - i { font-size: 2.5rem; margin-bottom: 1rem; opacity: 0.5; } - p { font-size: 1rem; margin: 0 0 0.5rem; color: var(--text-color, #fff); } - small { font-size: 0.85rem; opacity: 0.7; } +.chart-wrapper { + position: relative; + width: 100%; + height: 350px; } -@media (width <= 768px) { .chart-wrapper { height: 280px; } } +.no-data-message { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + padding: 3rem; + color: var(--text-secondary-color); + text-align: center; -@media (width <= 480px) { .chart-header .chart-title h3 { font-size: 1rem; } } + i { + margin-bottom: 1rem; + opacity: 0.5; + font-size: 2.5rem; + } + + p { + margin: 0 0 0.5rem; + color: var(--text-color, #fff); + font-size: 1rem; + } + + small { + opacity: 0.7; + font-size: 0.85rem; + } +} + +@media (width <= 768px) { + .chart-wrapper { + height: 280px; + } +} + +@media (width <= 480px) { + .chart-header .chart-title h3 { + font-size: 1rem; + } +} 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 0e0e33c6e..452275b54 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 @@ -1,38 +1,122 @@ -.reading-debt-container { width: 100%; } +.reading-debt-container { + width: 100%; +} .chart-header { - display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.5rem; + display: flex; + justify-content: space-between; + align-items: flex-start; + margin-bottom: 0.5rem; .chart-title { flex: 1; - h3 { color: var(--text-color, #fff); font-size: 1.25rem; font-weight: 500; margin: 0 0 0.5rem; display: flex; align-items: center; gap: 0.5rem; } - .chart-description { color: var(--text-secondary-color); font-size: 0.9rem; margin: 0; line-height: 1.4; } + + h3 { + display: flex; + gap: 0.5rem; + align-items: center; + margin: 0 0 0.5rem; + color: var(--text-color, #fff); + font-size: 1.25rem; + font-weight: 500; + } + + .chart-description { + margin: 0; + color: var(--text-secondary-color); + font-size: 0.9rem; + line-height: 1.4; + } } } -.reading-debt-icon { font-size: 1.5rem; color: #ef5350; } + +.reading-debt-icon { + color: #ef5350; + font-size: 1.5rem; +} .stats-row { - display: flex; gap: 0.75rem; margin-bottom: 1rem; flex-wrap: wrap; + display: flex; + gap: 0.75rem; + flex-wrap: wrap; + margin-bottom: 1rem; .stat-card { - display: flex; flex-direction: column; align-items: center; - 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, #fff); } - .stat-label { font-size: 0.75rem; color: var(--text-secondary-color); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 0.25rem; } - &.backlog .stat-value { color: #ffc107; } - &.trend .stat-value { color: #42a5f5; } + display: flex; + flex: 1; + flex-direction: column; + align-items: center; + min-width: 80px; + padding: 0.5rem 1rem; + border: 1px solid rgb(255 255 255 / 10%); + border-radius: 8px; + background: rgb(255 255 255 / 5%); + + .stat-value { + color: var(--text-color, #fff); + font-size: 1.5rem; + font-weight: 600; + } + + .stat-label { + margin-top: 0.25rem; + color: var(--text-secondary-color); + font-size: 0.75rem; + letter-spacing: 0.5px; + text-transform: uppercase; + } + + &.backlog .stat-value { + color: #ffc107; + } + + &.trend .stat-value { + color: #42a5f5; + } } } -.chart-wrapper { position: relative; height: 350px; width: 100%; } -.no-data-message { - display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem; text-align: center; color: var(--text-secondary-color); - i { font-size: 2.5rem; margin-bottom: 1rem; opacity: 0.5; } - p { font-size: 1rem; margin: 0 0 0.5rem; color: var(--text-color, #fff); } - small { font-size: 0.85rem; opacity: 0.7; } +.chart-wrapper { + position: relative; + width: 100%; + height: 350px; } -@media (width <= 768px) { .chart-wrapper { height: 280px; } } +.no-data-message { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + padding: 3rem; + color: var(--text-secondary-color); + text-align: center; -@media (width <= 480px) { .chart-header .chart-title h3 { font-size: 1rem; } } + i { + margin-bottom: 1rem; + opacity: 0.5; + font-size: 2.5rem; + } + + p { + margin: 0 0 0.5rem; + color: var(--text-color, #fff); + font-size: 1rem; + } + + small { + opacity: 0.7; + font-size: 0.85rem; + } +} + +@media (width <= 768px) { + .chart-wrapper { + height: 280px; + } +} + +@media (width <= 480px) { + .chart-header .chart-title h3 { + font-size: 1rem; + } +} 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 b611def48..8ca6be159 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 @@ -1,50 +1,151 @@ -.session-archetypes-container { width: 100%; } +.session-archetypes-container { + width: 100%; +} .chart-header { - display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.5rem; + display: flex; + justify-content: space-between; + align-items: flex-start; + margin-bottom: 0.5rem; .chart-title { flex: 1; - h3 { color: var(--text-color, #fff); font-size: 1.25rem; font-weight: 500; margin: 0 0 0.5rem; display: flex; align-items: center; gap: 0.5rem; } - .chart-description { color: var(--text-secondary-color); font-size: 0.9rem; margin: 0; line-height: 1.4; } + + h3 { + display: flex; + gap: 0.5rem; + align-items: center; + margin: 0 0 0.5rem; + color: var(--text-color, #fff); + font-size: 1.25rem; + font-weight: 500; + } + + .chart-description { + margin: 0; + color: var(--text-secondary-color); + font-size: 0.9rem; + line-height: 1.4; + } } .year-nav { - display: flex; align-items: center; gap: 0.5rem; + display: flex; + gap: 0.5rem; + align-items: center; .nav-btn { - background: rgb(255 255 255 / 10%); border: 1px solid rgb(255 255 255 / 20%); - border-radius: 6px; color: var(--text-color, #fff); padding: 0.3rem 0.5rem; - cursor: pointer; transition: background 0.2s; - &:hover { background: rgb(255 255 255 / 20%); } + padding: 0.3rem 0.5rem; + border: 1px solid rgb(255 255 255 / 20%); + border-radius: 6px; + background: rgb(255 255 255 / 10%); + color: var(--text-color, #fff); + cursor: pointer; + transition: background 0.2s; + + &:hover { + background: rgb(255 255 255 / 20%); + } + } + + .year-label { + min-width: 50px; + color: var(--text-color, #fff); + font-size: 1.1rem; + font-weight: 600; + text-align: center; } - .year-label { color: var(--text-color, #fff); font-weight: 600; font-size: 1.1rem; min-width: 50px; text-align: center; } } } -.session-archetypes-icon { font-size: 1.5rem; color: #ff9800; } + +.session-archetypes-icon { + color: #ff9800; + font-size: 1.5rem; +} .stats-row { - display: flex; gap: 0.75rem; margin-bottom: 1rem; flex-wrap: wrap; + display: flex; + gap: 0.75rem; + flex-wrap: wrap; + margin-bottom: 1rem; .stat-card { - display: flex; flex-direction: column; align-items: center; - 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, #fff); } - .stat-label { font-size: 0.75rem; color: var(--text-secondary-color); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 0.25rem; } - &.sessions .stat-value { color: #ff9800; } - &.archetype .stat-value { color: #42a5f5; font-size: 1.1rem; } + display: flex; + flex: 1; + flex-direction: column; + align-items: center; + min-width: 80px; + padding: 0.5rem 1rem; + border: 1px solid rgb(255 255 255 / 10%); + border-radius: 8px; + background: rgb(255 255 255 / 5%); + + .stat-value { + color: var(--text-color, #fff); + font-size: 1.5rem; + font-weight: 600; + } + + .stat-label { + margin-top: 0.25rem; + color: var(--text-secondary-color); + font-size: 0.75rem; + letter-spacing: 0.5px; + text-transform: uppercase; + } + + &.sessions .stat-value { + color: #ff9800; + } + + &.archetype .stat-value { + color: #42a5f5; + font-size: 1.1rem; + } } } -.chart-wrapper { position: relative; height: 350px; width: 100%; } -.no-data-message { - display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem; text-align: center; color: var(--text-secondary-color); - i { font-size: 2.5rem; margin-bottom: 1rem; opacity: 0.5; } - p { font-size: 1rem; margin: 0 0 0.5rem; color: var(--text-color, #fff); } - small { font-size: 0.85rem; opacity: 0.7; } +.chart-wrapper { + position: relative; + width: 100%; + height: 350px; } -@media (width <= 768px) { .chart-wrapper { height: 280px; } } +.no-data-message { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + padding: 3rem; + color: var(--text-secondary-color); + text-align: center; -@media (width <= 480px) { .chart-header .chart-title h3 { font-size: 1rem; } } + i { + margin-bottom: 1rem; + opacity: 0.5; + font-size: 2.5rem; + } + + p { + margin: 0 0 0.5rem; + color: var(--text-color, #fff); + font-size: 1rem; + } + + small { + opacity: 0.7; + font-size: 0.85rem; + } +} + +@media (width <= 768px) { + .chart-wrapper { + height: 280px; + } +} + +@media (width <= 480px) { + .chart-header .chart-title h3 { + font-size: 1rem; + } +} 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 4747104d1..2c3c0f660 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 @@ -197,8 +197,15 @@ } @keyframes ripple-burst { - 0% { transform: scale(0.8); opacity: 0.6; } - 100% { transform: scale(2.2); opacity: 0; } + 0% { + transform: scale(0.8); + opacity: 0.6; + } + + 100% { + transform: scale(2.2); + opacity: 0; + } } @keyframes heart-float { @@ -215,9 +222,20 @@ } @keyframes pulsate { - 0% { transform: scale(1); opacity: 1; } - 50% { transform: scale(1.25); opacity: 0.8; } - 100% { transform: scale(1); opacity: 1; } + 0% { + transform: scale(1); + opacity: 1; + } + + 50% { + transform: scale(1.25); + opacity: 0.8; + } + + 100% { + transform: scale(1); + opacity: 1; + } } .pulsating { diff --git a/frontend/stylelint.config.js b/frontend/stylelint.config.js index d08eb2094..41690e0ec 100644 --- a/frontend/stylelint.config.js +++ b/frontend/stylelint.config.js @@ -2,7 +2,6 @@ module.exports = { extends: ["stylelint-config-standard-scss"], ignoreFiles: ["dist/**", "node_modules/**"], rules: { - "declaration-block-single-line-max-declarations": null, "keyframes-name-pattern": null, "no-descending-specificity": null, "no-invalid-position-declaration": null,