style(frontend): enforce color-function-alias-notation in scss

- Stylelint:
  - re-enable `color-function-alias-notation` in the frontend Stylelint config while preserving the agreed Angular and legacy Sass exceptions
- SCSS:
  - replace legacy `rgba(...)` aliases with `rgb(...)` across the frontend stylesheet tree without changing color values or selector structure
- Validation:
  - `just ui stylelint`
This commit is contained in:
James Cox
2026-04-22 17:26:43 -04:00
committed by Zach Yale
parent 6921da76ba
commit 130463bc4b
121 changed files with 800 additions and 801 deletions
@@ -10,8 +10,8 @@
}
.author-count-badge {
background: linear-gradient(135deg, rgba(139, 92, 246, 20%), rgba(139, 92, 246, 10%));
border: 1px solid rgba(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: rgba(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 rgba(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, rgba(139, 92, 246, 10%), rgba(139, 92, 246, 5%));
border: 1px solid rgba(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, rgba(139, 92, 246, 15%), rgba(139, 92, 246, 8%));
border-color: rgba(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);
}
@@ -10,8 +10,8 @@
}
.books-count-badge {
background: linear-gradient(135deg, rgba(167, 139, 250, 20%), rgba(167, 139, 250, 10%));
border: 1px solid rgba(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 rgba(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: rgba(255, 255, 255, 3%);
border: 1px solid rgba(255, 255, 255, 8%);
background: rgb(255, 255, 255, 3%);
border: 1px solid rgb(255, 255, 255, 8%);
.insight-label {
font-size: 0.7rem;
@@ -10,8 +10,8 @@
}
.year-range-badge {
background: linear-gradient(135deg, rgba(6, 182, 212, 20%), rgba(6, 182, 212, 10%));
border: 1px solid rgba(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 rgba(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: rgba(255, 255, 255, 3%);
border: 1px solid rgba(255, 255, 255, 8%);
background: rgb(255, 255, 255, 3%);
border: 1px solid rgb(255, 255, 255, 8%);
.insight-label {
font-size: 0.7rem;
@@ -10,8 +10,8 @@
}
.date-range-badge {
background: linear-gradient(135deg, rgba(16, 185, 129, 20%), rgba(16, 185, 129, 10%));
border: 1px solid rgba(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 rgba(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: rgba(255, 255, 255, 3%);
border: 1px solid rgba(255, 255, 255, 8%);
background: rgb(255, 255, 255, 3%);
border: 1px solid rgb(255, 255, 255, 8%);
.insight-label {
font-size: 0.7rem;
@@ -61,9 +61,9 @@
flex-direction: column;
align-items: center;
padding: 0.5rem 0.75rem;
background: rgba(255, 255, 255, 5%);
background: rgb(255, 255, 255, 5%);
border-radius: 8px;
border: 1px solid rgba(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: rgba(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: rgba(255, 255, 255, 5%);
background: rgb(255, 255, 255, 5%);
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 10%);
border: 1px solid rgb(255, 255, 255, 10%);
> i {
font-size: 1.1rem;
@@ -14,7 +14,7 @@
margin-bottom: 30px;
backdrop-filter: blur(10px);
border: 1px solid var(--p-content-border-color);
box-shadow: 0 4px 6px rgba(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: rgba(255, 255, 255, 2%);
background: rgb(255, 255, 255, 2%);
padding: 6px 10px;
border-radius: 6px;
border: 1px solid rgba(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: rgba(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, rgba(30, 30, 30, 95%));
background: var(--surface-card, rgb(30, 30, 30, 95%));
border-radius: 12px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 40%);
border: 1px solid rgba(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 rgba(255, 255, 255, 10%);
background: var(--surface-ground, rgba(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 rgba(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: rgba(255, 255, 255, 10%);
border-color: rgba(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 rgba(255, 255, 255, 10%);
background: var(--surface-ground, rgba(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: rgba(255, 255, 255, 10%);
border: 1px solid rgba(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: rgba(255, 255, 255, 15%);
border-color: rgba(255, 255, 255, 30%);
background: rgb(255, 255, 255, 15%);
border-color: rgb(255, 255, 255, 30%);
transform: translateY(-1px);
}
&.enable-all {
background: rgba(34, 197, 94, 20%);
border-color: rgba(34, 197, 94, 40%);
background: rgb(34, 197, 94, 20%);
border-color: rgb(34, 197, 94, 40%);
color: #22c55e;
&:hover {
background: rgba(34, 197, 94, 30%);
border-color: rgba(34, 197, 94, 60%);
background: rgb(34, 197, 94, 30%);
border-color: rgb(34, 197, 94, 60%);
}
}
&.disable-all {
background: rgba(239, 68, 68, 20%);
border-color: rgba(239, 68, 68, 40%);
background: rgb(239, 68, 68, 20%);
border-color: rgb(239, 68, 68, 40%);
color: #ef4444;
&:hover {
background: rgba(239, 68, 68, 30%);
border-color: rgba(239, 68, 68, 60%);
background: rgb(239, 68, 68, 30%);
border-color: rgb(239, 68, 68, 60%);
}
}
&.reset-order {
background: rgba(251, 191, 36, 20%);
border-color: rgba(251, 191, 36, 40%);
background: rgb(251, 191, 36, 20%);
border-color: rgb(251, 191, 36, 40%);
color: #fbbf24;
&:hover {
background: rgba(251, 191, 36, 30%);
border-color: rgba(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: rgba(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 rgba(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: rgba(0, 0, 0, 60%);
border: 1px solid rgba(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: rgba(0, 0, 0, 80%);
background: rgb(0, 0, 0, 80%);
border-color: var(--primary-color, #80bdff);
}
&:active {
background: rgba(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: rgba(255, 255, 255, 20%);
box-shadow: 0 4px 12px rgba(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: rgba(0, 0, 0, 70%);
background: rgb(0, 0, 0, 70%);
.pi {
font-size: 0.9rem;
@@ -43,8 +43,8 @@
display: flex;
flex-direction: column;
align-items: center;
background: rgba(255, 255, 255, 5%);
border: 1px solid rgba(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;
@@ -36,8 +36,8 @@
display: flex;
flex-direction: column;
align-items: center;
background: rgba(0, 188, 212, 15%);
border: 1px solid rgba(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: rgba(255, 255, 255, 5%);
border: 1px solid rgba(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;
@@ -43,8 +43,8 @@
flex-shrink: 0;
.year-nav-btn {
background: rgba(255, 255, 255, 10%);
border: 1px solid rgba(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: rgba(255, 255, 255, 20%);
border-color: rgba(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: rgba(255, 255, 255, 5%);
border: 1px solid rgba(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;
@@ -38,8 +38,8 @@
flex-shrink: 0;
.year-nav-btn {
background: rgba(255, 255, 255, 10%);
border: 1px solid rgba(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: rgba(255, 255, 255, 20%);
border-color: rgba(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: rgba(251, 191, 36, 100%);
color: rgb(251, 191, 36, 100%);
}
.chart-wrapper {
@@ -40,7 +40,7 @@
.favorite-days-icon {
font-size: 1.5rem;
color: rgba(139, 92, 246, 100%);
color: rgb(139, 92, 246, 100%);
}
.chart-wrapper {
@@ -32,7 +32,7 @@
.genre-title-icon {
font-size: 1.5rem;
color: rgba(34, 197, 94, 100%);
color: rgb(34, 197, 94, 100%);
}
.chart-wrapper {
@@ -32,7 +32,7 @@
.page-turner-icon {
font-size: 1.5rem;
color: rgba(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: rgba(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: rgba(255, 255, 255, 5%);
border: 1px solid rgba(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: rgba(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: rgba(251, 146, 60, 90%);
color: rgb(251, 146, 60, 90%);
}
i {
@@ -129,7 +129,7 @@
}
.book-score {
color: rgba(251, 146, 60, 100%);
color: rgb(251, 146, 60, 100%);
font-size: 1.25rem;
font-weight: 700;
flex-shrink: 0;
@@ -40,7 +40,7 @@
.peak-hours-icon {
font-size: 1.5rem;
color: rgba(34, 197, 94, 100%);
color: rgb(34, 197, 94, 100%);
}
.chart-wrapper {
@@ -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: rgba(255, 255, 255, 5%); border: 1px solid rgba(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; }
@@ -36,8 +36,8 @@
display: flex;
flex-direction: column;
align-items: center;
background: rgba(156, 39, 176, 15%);
border: 1px solid rgba(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: rgba(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: rgba(255, 255, 255, 40%);
color: rgb(255, 255, 255, 40%);
font-weight: 500;
padding: 0.25rem 0.5rem;
border-radius: 4px;
background: rgba(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: rgba(255, 255, 255, 10%);
background: rgb(255, 255, 255, 10%);
font-size: 0.85rem;
.deviation-label {
@@ -146,8 +146,8 @@
}
&.unique {
background: rgba(156, 39, 176, 20%);
border: 1px solid rgba(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: rgba(76, 175, 80, 20%);
border: 1px solid rgba(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: rgba(255, 255, 255, 5%);
background: rgb(255, 255, 255, 5%);
border-radius: 8px;
padding: 1rem;
border: 1px solid rgba(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: rgba(255, 255, 255, 10%);
background: rgb(255, 255, 255, 10%);
border-radius: 2px;
overflow: hidden;
margin-bottom: 0.25rem;
@@ -45,8 +45,8 @@
display: flex;
flex-direction: column;
align-items: center;
background: rgba(255, 255, 255, 5%);
border: 1px solid rgba(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;
@@ -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: rgba(255, 255, 255, 5%); border: 1px solid rgba(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; }
@@ -32,7 +32,7 @@
.reading-dna-icon {
font-size: 1.5rem;
color: rgba(79, 195, 247, 100%);
color: rgb(79, 195, 247, 100%);
}
.chart-wrapper {
@@ -59,10 +59,10 @@
}
.insight-card {
background: rgba(255, 255, 255, 5%);
background: rgb(255, 255, 255, 5%);
border-radius: 8px;
padding: 1rem;
border: 1px solid rgba(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: rgba(255, 255, 255, 10%);
background: rgb(255, 255, 255, 10%);
border-radius: 3px;
overflow: hidden;
margin-bottom: 0.5rem;
@@ -32,7 +32,7 @@
.reading-habits-icon {
font-size: 1.5rem;
color: rgba(156, 39, 176, 100%);
color: rgb(156, 39, 176, 100%);
}
.chart-wrapper {
@@ -59,10 +59,10 @@
}
.insight-card {
background: rgba(255, 255, 255, 5%);
background: rgb(255, 255, 255, 5%);
border-radius: 8px;
padding: 1rem;
border: 1px solid rgba(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: rgba(255, 255, 255, 10%);
background: rgb(255, 255, 255, 10%);
border-radius: 3px;
overflow: hidden;
margin-bottom: 0.5rem;
@@ -33,7 +33,7 @@
.reading-heatmap-icon {
font-size: 1.5rem;
color: rgba(239, 71, 111, 100%);
color: rgb(239, 71, 111, 100%);
}
.chart-wrapper {
@@ -35,8 +35,8 @@
justify-self: center;
.year-nav-btn {
background: rgba(255, 255, 255, 10%);
border: 1px solid rgba(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: rgba(255, 255, 255, 20%);
border-color: rgba(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: rgba(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 rgba(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 rgba(255, 255, 255, 10%);
background: rgba(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: rgba(76, 175, 80, 30%);
background: rgba(76, 175, 80, 10%);
border-color: rgb(76, 175, 80, 30%);
background: rgb(76, 175, 80, 10%);
}
&.milestone.locked {
@@ -32,8 +32,8 @@
justify-self: center;
.week-nav-btn {
background: rgba(255, 255, 255, 10%);
border: 1px solid rgba(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: rgba(255, 255, 255, 20%);
border-color: rgba(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: rgba(255, 255, 255, 5%);
background: rgb(255, 255, 255, 5%);
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 10%);
border: 1px solid rgb(255, 255, 255, 10%);
.week-nav-btn {
background: rgba(255, 255, 255, 10%);
border: 1px solid rgba(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: rgba(255, 255, 255, 20%);
border-color: rgba(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: rgba(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: rgba(255, 255, 255, 90%);
color: rgb(255, 255, 255, 90%);
padding-right: 1rem;
}
.timeline-track {
flex: 1;
position: relative;
background: rgba(255, 255, 255, 2%);
background: rgb(255, 255, 255, 2%);
border-radius: 4px;
border: 1px solid rgba(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 rgba(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: rgba(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 rgba(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 rgba(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: rgba(255, 255, 255, 10%);
background-color: rgb(255, 255, 255, 10%);
}
}
@@ -422,7 +422,7 @@
i {
font-size: 1.1rem;
color: rgba(239, 68, 68, 100%);
color: rgb(239, 68, 68, 100%);
}
}
@@ -439,7 +439,7 @@
height: 1px;
background: linear-gradient(90deg,
transparent 0%,
rgba(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: rgba(255, 255, 255, 60%);
color: rgb(255, 255, 255, 60%);
width: 16px;
text-align: center;
}
}
.session-tooltip-label {
color: rgba(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: rgba(239, 68, 68, 100%);
color: rgb(239, 68, 68, 100%);
vertical-align: middle;
margin-right: 0.25em;
}
@@ -45,8 +45,8 @@
display: flex;
flex-direction: column;
align-items: center;
background: rgba(255, 255, 255, 5%);
border: 1px solid rgba(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;
@@ -50,17 +50,17 @@
}
&.completed {
background: rgba(76, 175, 80, 20%);
background: rgb(76, 175, 80, 20%);
color: #4caf50;
}
&.in-progress {
background: rgba(255, 193, 7, 20%);
background: rgb(255, 193, 7, 20%);
color: #ffc107;
}
&.not-started {
background: rgba(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: rgba(255, 255, 255, 5%);
background: rgb(255, 255, 255, 5%);
border-radius: 20px;
border: 1px solid rgba(255, 255, 255, 10%);
border: 1px solid rgb(255, 255, 255, 10%);
.pill-value {
font-size: 1rem;
@@ -99,8 +99,8 @@
}
&.highlight {
background: rgba(103, 58, 183, 15%);
border-color: rgba(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: rgba(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: rgba(255, 255, 255, 5%);
border: 1px solid rgba(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: rgba(255, 255, 255, 5%);
border: 1px solid rgba(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: rgba(255, 255, 255, 25%);
border-color: rgb(255, 255, 255, 25%);
}
&:focus {
@@ -220,12 +220,12 @@
}
&::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 5%);
background: rgb(255, 255, 255, 5%);
border-radius: 2px;
}
&::-webkit-scrollbar-thumb {
background: rgba(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 rgba(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: rgba(255, 255, 255, 8%);
border: 1px solid rgba(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: rgba(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: rgba(255, 255, 255, 3%);
background: rgb(255, 255, 255, 3%);
border-radius: 8px;
border: 1px solid rgba(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: rgba(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 rgba(255, 255, 255, 10%);
border-top: 1px dashed rgb(255, 255, 255, 10%);
font-size: 0.7rem;
.next-label {
@@ -9,10 +9,10 @@
.year-nav {
display: flex; align-items: center; gap: 0.5rem;
.nav-btn {
background: rgba(255, 255, 255, 10%); border: 1px solid rgba(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: rgba(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: rgba(255, 255, 255, 5%); border: 1px solid rgba(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; }
@@ -12,13 +12,13 @@
padding: 1rem;
backdrop-filter: blur(10px);
border: 1px solid var(--p-content-border-color);
box-shadow: 0 4px 6px rgba(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: rgba(255, 255, 255, 20%);
box-shadow: 0 6px 12px rgba(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: rgba(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: rgba(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 rgba(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: rgba(255, 255, 255, 20%);
box-shadow: 0 6px 12px rgba(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: rgba(0, 0, 0, 30%);
background: rgb(0, 0, 0, 30%);
border-radius: 6px;
cursor: grab;
opacity: 0;
@@ -232,7 +232,7 @@
}
&:hover {
background: rgba(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 rgba(0, 0, 0, 30%);
box-shadow: 0 8px 16px rgb(0, 0, 0, 30%);
}
.cdk-drag-placeholder {