style(frontend): enforce color-hex-length in scss

- Stylelint:
  - re-enable `color-hex-length` in the frontend Stylelint config while keeping the agreed Angular and legacy Sass exceptions as-is
- SCSS:
  - normalize repeatable long hex colors to their short form where the value is identical
- Validation:
  - `just ui stylelint`
This commit is contained in:
James Cox
2026-04-22 17:26:44 -04:00
committed by Zach Yale
parent 7b9830faf5
commit a991351bb5
45 changed files with 110 additions and 111 deletions
@@ -13,7 +13,7 @@
font-size: 1.5rem; font-size: 1.5rem;
font-weight: 800; font-weight: 800;
margin-bottom: 0.75rem; margin-bottom: 0.75rem;
background: linear-gradient(135deg, #ffffff, #e2e8f0, #3b82f6); background: linear-gradient(135deg, #fff, #e2e8f0, #3b82f6);
-webkit-background-clip: text; -webkit-background-clip: text;
-webkit-text-fill-color: transparent; -webkit-text-fill-color: transparent;
background-clip: text; background-clip: text;
@@ -14,7 +14,7 @@
font-weight: 800; font-weight: 800;
margin-bottom: 1rem; margin-bottom: 1rem;
padding: 0; padding: 0;
background: linear-gradient(135deg, #ffffff, #e2e8f0, #3b82f6); background: linear-gradient(135deg, #fff, #e2e8f0, #3b82f6);
-webkit-background-clip: text; -webkit-background-clip: text;
-webkit-text-fill-color: transparent; -webkit-text-fill-color: transparent;
background-clip: text; background-clip: text;
@@ -66,7 +66,7 @@
font-size: 1.75rem; font-size: 1.75rem;
font-weight: 700; font-weight: 700;
margin-bottom: 2rem; margin-bottom: 2rem;
background: linear-gradient(135deg, #ffffff, #e2e8f0, var(--p-primary-500)); background: linear-gradient(135deg, #fff, #e2e8f0, var(--p-primary-500));
-webkit-background-clip: text; -webkit-background-clip: text;
-webkit-text-fill-color: transparent; -webkit-text-fill-color: transparent;
background-clip: text; background-clip: text;
@@ -5,7 +5,7 @@ $bg-primary: #0f0f1a;
$bg-secondary: #1a1a2e; $bg-secondary: #1a1a2e;
$bg-tertiary: #252542; $bg-tertiary: #252542;
$bg-darker: #0a0a12; $bg-darker: #0a0a12;
$text-primary: #ffffff; $text-primary: #fff;
$text-secondary: rgb(255 255 255 / 80%); $text-secondary: rgb(255 255 255 / 80%);
$text-tertiary: rgb(255 255 255 / 50%); $text-tertiary: rgb(255 255 255 / 50%);
$accent-secondary: #ec4899; $accent-secondary: #ec4899;
@@ -6,7 +6,7 @@
overflow: hidden; overflow: hidden;
box-sizing: border-box; box-sizing: border-box;
background: #1a1a1a; background: #1a1a1a;
color: #ffffff; color: #fff;
position: relative; position: relative;
touch-action: none; touch-action: none;
overscroll-behavior: none; overscroll-behavior: none;
@@ -110,7 +110,7 @@
} }
&.bg-black { &.bg-black {
background: #000000; background: #000;
} }
&.bg-gray { &.bg-gray {
@@ -118,7 +118,7 @@
} }
&.bg-white { &.bg-white {
background: #ffffff; background: #fff;
} }
&:not(.infinite-scroll) { &:not(.infinite-scroll) {
@@ -513,7 +513,7 @@
border: none; border: none;
border-radius: 12px; border-radius: 12px;
font-weight: 600; font-weight: 600;
color: #ffffff; color: #fff;
cursor: pointer; cursor: pointer;
transition: all 0.3s ease; 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%);
@@ -13,7 +13,7 @@
background: linear-gradient(135deg, #2d2d2d 0%, #1f1f1f 100%); background: linear-gradient(135deg, #2d2d2d 0%, #1f1f1f 100%);
border-bottom: 1px solid #404040; 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; color: #fff;
opacity: 1; opacity: 1;
pointer-events: auto; pointer-events: auto;
transform: translateY(0); transform: translateY(0);
@@ -142,7 +142,7 @@
padding: 8px 12px; padding: 8px 12px;
background: none; background: none;
border: none; border: none;
color: #ffffff; color: #fff;
font-size: 13px; font-size: 13px;
cursor: pointer; cursor: pointer;
border-radius: 6px; border-radius: 6px;
@@ -126,7 +126,7 @@ $transition-normal: 200ms ease;
left: 2px; left: 2px;
width: 18px; width: 18px;
height: 18px; height: 18px;
background: #ffffff; background: #fff;
border-radius: 50%; border-radius: 50%;
transition: transform 300ms ease; transition: transform 300ms ease;
box-shadow: 0 2px 4px rgb(0 0 0 / 20%); box-shadow: 0 2px 4px rgb(0 0 0 / 20%);
@@ -260,7 +260,7 @@ $transition-normal: 200ms ease;
left: 2px; left: 2px;
width: 20px; width: 20px;
height: 20px; height: 20px;
background: #ffffff; background: #fff;
border-radius: 50%; border-radius: 50%;
transition: transform 300ms ease; transition: transform 300ms ease;
box-shadow: 0 2px 4px rgb(0 0 0 / 20%); box-shadow: 0 2px 4px rgb(0 0 0 / 20%);
@@ -146,7 +146,7 @@ $transition-normal: 200ms ease;
left: 2px; left: 2px;
width: 18px; width: 18px;
height: 18px; height: 18px;
background: #ffffff; background: #fff;
border-radius: 50%; border-radius: 50%;
transition: transform 300ms ease; transition: transform 300ms ease;
box-shadow: 0 2px 4px rgb(0 0 0 / 20%); box-shadow: 0 2px 4px rgb(0 0 0 / 20%);
@@ -14,7 +14,7 @@
font-size: 1.5rem; font-size: 1.5rem;
font-weight: 800; font-weight: 800;
margin-bottom: 0.75rem; margin-bottom: 0.75rem;
background: linear-gradient(135deg, #ffffff, #e2e8f0, #3b82f6); background: linear-gradient(135deg, #fff, #e2e8f0, #3b82f6);
-webkit-background-clip: text; -webkit-background-clip: text;
-webkit-text-fill-color: transparent; -webkit-text-fill-color: transparent;
background-clip: text; background-clip: text;
@@ -14,7 +14,7 @@
font-weight: 800; font-weight: 800;
margin-bottom: 1rem; margin-bottom: 1rem;
padding: 0; padding: 0;
background: linear-gradient(135deg, #ffffff, #e2e8f0, #3b82f6); background: linear-gradient(135deg, #fff, #e2e8f0, #3b82f6);
-webkit-background-clip: text; -webkit-background-clip: text;
-webkit-text-fill-color: transparent; -webkit-text-fill-color: transparent;
background-clip: text; background-clip: text;
@@ -13,7 +13,7 @@
min-width: 200px; min-width: 200px;
h3 { h3 {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-size: 1.25rem; font-size: 1.25rem;
font-weight: 500; font-weight: 500;
margin: 0 0 0.5rem; margin: 0 0 0.5rem;
@@ -69,7 +69,7 @@
p { p {
font-size: 0.9rem; font-size: 0.9rem;
margin: 0 0 0.5rem; margin: 0 0 0.5rem;
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
} }
small { small {
@@ -81,7 +81,7 @@
.insight-text { .insight-text {
font-size: 0.85rem; font-size: 0.85rem;
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
line-height: 1.3; line-height: 1.3;
} }
} }
@@ -59,7 +59,7 @@
.insight-value { .insight-value {
font-size: 1.5rem; font-size: 1.5rem;
font-weight: 600; font-weight: 600;
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
} }
.insight-detail { .insight-detail {
@@ -62,7 +62,7 @@
.insight-value { .insight-value {
font-size: 1.5rem; font-size: 1.5rem;
font-weight: 600; font-weight: 600;
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
} }
.insight-detail { .insight-detail {
@@ -59,7 +59,7 @@
.insight-value { .insight-value {
font-size: 1.5rem; font-size: 1.5rem;
font-weight: 600; font-weight: 600;
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
} }
.insight-detail { .insight-detail {
@@ -17,7 +17,7 @@
min-width: 200px; min-width: 200px;
h3 { h3 {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-size: 1.25rem; font-size: 1.25rem;
font-weight: 500; font-weight: 500;
margin: 0 0 0.5rem; margin: 0 0 0.5rem;
@@ -68,7 +68,7 @@
.badge-value { .badge-value {
font-size: 1.25rem; font-size: 1.25rem;
font-weight: 600; font-weight: 600;
color: #ffffff; color: #fff;
line-height: 1; line-height: 1;
} }
@@ -122,7 +122,7 @@
.insight-value { .insight-value {
font-size: 0.9rem; font-size: 0.9rem;
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-weight: 500; font-weight: 500;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
@@ -44,7 +44,7 @@
} }
label { label {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-weight: 500; font-weight: 500;
white-space: nowrap; white-space: nowrap;
font-size: 1.15rem; font-size: 1.15rem;
@@ -81,7 +81,7 @@
} }
.total-value { .total-value {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-weight: 600; font-weight: 600;
margin-left: 4px; margin-left: 4px;
font-size: 1.35rem; font-size: 1.35rem;
@@ -123,7 +123,7 @@
background: var(--surface-ground, rgb(40 40 40 / 80%)); background: var(--surface-ground, rgb(40 40 40 / 80%));
h3 { h3 {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-weight: 500; font-weight: 500;
font-size: 1.2rem; font-size: 1.2rem;
margin: 0; margin: 0;
@@ -140,7 +140,7 @@
.close-btn { .close-btn {
background: transparent; background: transparent;
border: 1px solid rgb(255 255 255 / 20%); border: 1px solid rgb(255 255 255 / 20%);
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
padding: 8px; padding: 8px;
border-radius: 6px; border-radius: 6px;
cursor: pointer; cursor: pointer;
@@ -172,7 +172,7 @@
.config-action-btn { .config-action-btn {
background: rgb(255 255 255 / 10%); background: rgb(255 255 255 / 10%);
border: 1px solid rgb(255 255 255 / 20%); border: 1px solid rgb(255 255 255 / 20%);
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
padding: 10px 16px; padding: 10px 16px;
border-radius: 6px; border-radius: 6px;
cursor: pointer; cursor: pointer;
@@ -241,7 +241,7 @@
.config-category { .config-category {
h4 { h4 {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-size: 1rem; font-size: 1rem;
font-weight: 600; font-weight: 600;
margin: 0 0 15px; margin: 0 0 15px;
@@ -285,12 +285,12 @@
flex: 1; flex: 1;
&:hover { &:hover {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
} }
} }
input[type="checkbox"]:checked + label { input[type="checkbox"]:checked + label {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-weight: 500; font-weight: 500;
} }
} }
@@ -371,7 +371,7 @@
} }
.pi { .pi {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-size: 0.8rem; font-size: 0.8rem;
cursor: grab; cursor: grab;
@@ -440,7 +440,7 @@
} }
.no-data-message { .no-data-message {
color: var(--text-color-secondary, #999999); color: var(--text-color-secondary, #999);
small { small {
display: block; display: block;
@@ -11,7 +11,7 @@
.chart-title { .chart-title {
flex: 1; flex: 1;
h3 { h3 {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-size: 1.25rem; font-size: 1.25rem;
font-weight: 500; font-weight: 500;
margin: 0 0 0.5rem; margin: 0 0 0.5rem;
@@ -53,7 +53,7 @@
.stat-value { .stat-value {
font-size: 1.3rem; font-size: 1.3rem;
font-weight: 600; font-weight: 600;
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
} }
.stat-label { .stat-label {
font-size: 0.75rem; font-size: 0.75rem;
@@ -86,7 +86,7 @@
text-align: center; text-align: center;
color: var(--text-secondary-color); color: var(--text-secondary-color);
i { font-size: 2.5rem; margin-bottom: 1rem; opacity: 0.5; } i { font-size: 2.5rem; margin-bottom: 1rem; opacity: 0.5; }
p { font-size: 1rem; margin: 0 0 0.5rem; color: var(--text-color, #ffffff); } p { font-size: 1rem; margin: 0 0 0.5rem; color: var(--text-color, #fff); }
small { font-size: 0.85rem; opacity: 0.7; } small { font-size: 0.85rem; opacity: 0.7; }
} }
@@ -15,7 +15,7 @@
min-width: 200px; min-width: 200px;
h3 { h3 {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-size: 1.25rem; font-size: 1.25rem;
font-weight: 500; font-weight: 500;
margin: 0 0 0.5rem; margin: 0 0 0.5rem;
@@ -80,7 +80,7 @@
.stat-value-sm { .stat-value-sm {
font-size: 0.9rem; font-size: 0.9rem;
font-weight: 500; font-weight: 500;
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
text-align: center; text-align: center;
} }
@@ -118,7 +118,7 @@
p { p {
font-size: 1rem; font-size: 1rem;
margin: 0 0 0.5rem; margin: 0 0 0.5rem;
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
} }
small { small {
@@ -13,7 +13,7 @@
flex: 1; flex: 1;
h3 { h3 {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-size: 1.25rem; font-size: 1.25rem;
font-weight: 500; font-weight: 500;
margin: 0 0 0.5rem; margin: 0 0 0.5rem;
@@ -47,7 +47,7 @@
border: 1px solid rgb(255 255 255 / 20%); border: 1px solid rgb(255 255 255 / 20%);
border-radius: 6px; border-radius: 6px;
padding: 0.6rem; padding: 0.6rem;
color: #ffffff; color: #fff;
cursor: pointer; cursor: pointer;
transition: all 0.3s ease; transition: all 0.3s ease;
display: flex; display: flex;
@@ -68,7 +68,7 @@
.current-year { .current-year {
font-size: 1.125rem; font-size: 1.125rem;
font-weight: 600; font-weight: 600;
color: #ffffff; color: #fff;
min-width: 4.5rem; min-width: 4.5rem;
text-align: center; text-align: center;
} }
@@ -150,7 +150,7 @@
p { p {
font-size: 1rem; font-size: 1rem;
margin: 0 0 0.5rem; margin: 0 0 0.5rem;
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
} }
small { small {
@@ -13,7 +13,7 @@
flex: 1; flex: 1;
h3 { h3 {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-size: 1.25rem; font-size: 1.25rem;
font-weight: 500; font-weight: 500;
margin: 0 0 0.5rem; margin: 0 0 0.5rem;
@@ -42,7 +42,7 @@
border: 1px solid rgb(255 255 255 / 20%); border: 1px solid rgb(255 255 255 / 20%);
border-radius: 6px; border-radius: 6px;
padding: 0.6rem; padding: 0.6rem;
color: #ffffff; color: #fff;
cursor: pointer; cursor: pointer;
transition: all 0.3s ease; transition: all 0.3s ease;
display: flex; display: flex;
@@ -67,7 +67,7 @@
.current-year { .current-year {
font-size: 1.125rem; font-size: 1.125rem;
font-weight: 600; font-weight: 600;
color: #ffffff; color: #fff;
min-width: 4.5rem; min-width: 4.5rem;
text-align: center; text-align: center;
} }
@@ -13,7 +13,7 @@
flex: 1; flex: 1;
h3 { h3 {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-size: 1.25rem; font-size: 1.25rem;
font-weight: 500; font-weight: 500;
margin: 0 0 0.5rem; margin: 0 0 0.5rem;
@@ -12,7 +12,7 @@
flex: 1; flex: 1;
h3 { h3 {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-size: 1.25rem; font-size: 1.25rem;
font-weight: 500; font-weight: 500;
margin: 0 0 0.5rem; margin: 0 0 0.5rem;
@@ -12,7 +12,7 @@
flex: 1; flex: 1;
h3 { h3 {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-size: 1.25rem; font-size: 1.25rem;
font-weight: 500; font-weight: 500;
margin: 0 0 0.5rem; margin: 0 0 0.5rem;
@@ -52,7 +52,7 @@
min-width: 100px; min-width: 100px;
.stat-value { .stat-value {
color: #ffffff; color: #fff;
font-size: 0.95rem; font-size: 0.95rem;
font-weight: 600; font-weight: 600;
white-space: nowrap; white-space: nowrap;
@@ -95,7 +95,7 @@
overflow: hidden; overflow: hidden;
.book-name { .book-name {
color: #ffffff; color: #fff;
font-size: 0.85rem; font-size: 0.85rem;
font-weight: 500; font-weight: 500;
display: block; display: block;
@@ -13,7 +13,7 @@
flex: 1; flex: 1;
h3 { h3 {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-size: 1.25rem; font-size: 1.25rem;
font-weight: 500; font-weight: 500;
margin: 0 0 0.5rem; margin: 0 0 0.5rem;
@@ -13,7 +13,7 @@
flex: 1; flex: 1;
h3 { h3 {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-size: 1.25rem; font-size: 1.25rem;
font-weight: 500; font-weight: 500;
margin: 0 0 0.5rem; margin: 0 0 0.5rem;
@@ -3,7 +3,7 @@
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 { .chart-title {
flex: 1; flex: 1;
h3 { color: var(--text-color, #ffffff); font-size: 1.25rem; font-weight: 500; margin: 0 0 0.5rem; display: flex; align-items: center; gap: 0.5rem; } 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; } .chart-description { color: var(--text-secondary-color); font-size: 0.9rem; margin: 0; line-height: 1.4; }
} }
} }
@@ -14,7 +14,7 @@
display: flex; flex-direction: column; align-items: center; 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; 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-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; } .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; } &.best .stat-value { color: #673ab7; }
&.avg .stat-value { color: #ffc107; } &.avg .stat-value { color: #ffc107; }
@@ -25,7 +25,7 @@
.no-data-message { .no-data-message {
display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem; text-align: center; color: var(--text-secondary-color); 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; } i { font-size: 2.5rem; margin-bottom: 1rem; opacity: 0.5; }
p { font-size: 1rem; margin: 0 0 0.5rem; color: var(--text-color, #ffffff); } p { font-size: 1rem; margin: 0 0 0.5rem; color: var(--text-color, #fff); }
small { font-size: 0.85rem; opacity: 0.7; } small { font-size: 0.85rem; opacity: 0.7; }
} }
@media (width <= 768px) { .chart-wrapper { height: 280px; } } @media (width <= 768px) { .chart-wrapper { height: 280px; } }
@@ -15,7 +15,7 @@
min-width: 200px; min-width: 200px;
h3 { h3 {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-size: 1.25rem; font-size: 1.25rem;
font-weight: 500; font-weight: 500;
margin: 0 0 0.5rem; margin: 0 0 0.5rem;
@@ -116,7 +116,7 @@
gap: 0.75rem; gap: 0.75rem;
h4 { h4 {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-size: 1.1rem; font-size: 1.1rem;
font-weight: 500; font-weight: 500;
margin: 0; margin: 0;
@@ -136,7 +136,7 @@
} }
.deviation-value { .deviation-value {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-weight: 600; font-weight: 600;
} }
@@ -190,7 +190,7 @@
} }
.quadrant-name { .quadrant-name {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-weight: 500; font-weight: 500;
font-size: 0.95rem; font-size: 0.95rem;
flex: 1; flex: 1;
@@ -199,7 +199,7 @@
.quadrant-count { .quadrant-count {
font-weight: 600; font-weight: 600;
font-size: 0.85rem; font-size: 0.85rem;
color: #ffffff; color: #fff;
padding: 0.15rem 0.5rem; padding: 0.15rem 0.5rem;
border-radius: 12px; border-radius: 12px;
min-width: 24px; min-width: 24px;
@@ -253,7 +253,7 @@
p { p {
font-size: 1rem; font-size: 1rem;
margin: 0 0 0.5rem; margin: 0 0 0.5rem;
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
} }
small { small {
@@ -13,7 +13,7 @@
flex: 1; flex: 1;
h3 { h3 {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-size: 1.25rem; font-size: 1.25rem;
font-weight: 500; font-weight: 500;
margin: 0 0 0.5rem; margin: 0 0 0.5rem;
@@ -12,7 +12,7 @@
flex: 1; flex: 1;
h3 { h3 {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-size: 1.25rem; font-size: 1.25rem;
font-weight: 500; font-weight: 500;
margin: 0 0 0.5rem; margin: 0 0 0.5rem;
@@ -55,7 +55,7 @@
.stat-value { .stat-value {
font-size: 1.5rem; font-size: 1.5rem;
font-weight: 600; font-weight: 600;
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
} }
.stat-label { .stat-label {
@@ -105,7 +105,7 @@
p { p {
font-size: 1rem; font-size: 1rem;
margin: 0 0 0.5rem; margin: 0 0 0.5rem;
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
} }
small { small {
@@ -3,7 +3,7 @@
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 { .chart-title {
flex: 1; flex: 1;
h3 { color: var(--text-color, #ffffff); font-size: 1.25rem; font-weight: 500; margin: 0 0 0.5rem; display: flex; align-items: center; gap: 0.5rem; } 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; } .chart-description { color: var(--text-secondary-color); font-size: 0.9rem; margin: 0; line-height: 1.4; }
} }
} }
@@ -14,7 +14,7 @@
display: flex; flex-direction: column; align-items: center; 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; 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-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; } .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; } &.backlog .stat-value { color: #ffc107; }
&.trend .stat-value { color: #42a5f5; } &.trend .stat-value { color: #42a5f5; }
@@ -24,7 +24,7 @@
.no-data-message { .no-data-message {
display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem; text-align: center; color: var(--text-secondary-color); 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; } i { font-size: 2.5rem; margin-bottom: 1rem; opacity: 0.5; }
p { font-size: 1rem; margin: 0 0 0.5rem; color: var(--text-color, #ffffff); } p { font-size: 1rem; margin: 0 0 0.5rem; color: var(--text-color, #fff); }
small { font-size: 0.85rem; opacity: 0.7; } small { font-size: 0.85rem; opacity: 0.7; }
} }
@media (width <= 768px) { .chart-wrapper { height: 280px; } } @media (width <= 768px) { .chart-wrapper { height: 280px; } }
@@ -12,7 +12,7 @@
flex: 1; flex: 1;
h3 { h3 {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-size: 1.25rem; font-size: 1.25rem;
font-weight: 500; font-weight: 500;
margin: 0 0 0.5rem; margin: 0 0 0.5rem;
@@ -46,7 +46,7 @@
margin-top: 2rem; margin-top: 2rem;
h4 { h4 {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-size: 1.1rem; font-size: 1.1rem;
font-weight: 500; font-weight: 500;
margin: 0 0 1rem; margin: 0 0 1rem;
@@ -71,7 +71,7 @@
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
.insight-trait { .insight-trait {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-weight: 500; font-weight: 500;
font-size: 0.95rem; font-size: 0.95rem;
} }
@@ -12,7 +12,7 @@
flex: 1; flex: 1;
h3 { h3 {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-size: 1.25rem; font-size: 1.25rem;
font-weight: 500; font-weight: 500;
margin: 0 0 0.5rem; margin: 0 0 0.5rem;
@@ -46,7 +46,7 @@
margin-top: 2rem; margin-top: 2rem;
h4 { h4 {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-size: 1.1rem; font-size: 1.1rem;
font-weight: 500; font-weight: 500;
margin: 0 0 1rem; margin: 0 0 1rem;
@@ -71,7 +71,7 @@
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
.insight-trait { .insight-trait {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-weight: 500; font-weight: 500;
font-size: 0.95rem; font-size: 0.95rem;
} }
@@ -13,7 +13,7 @@
flex: 1; flex: 1;
h3 { h3 {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-size: 1.25rem; font-size: 1.25rem;
font-weight: 500; font-weight: 500;
margin: 0 0 0.5rem; margin: 0 0 0.5rem;
@@ -14,7 +14,7 @@
flex: 1; flex: 1;
h3 { h3 {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-size: 1.25rem; font-size: 1.25rem;
font-weight: 500; font-weight: 500;
margin: 0 0 0.5rem; margin: 0 0 0.5rem;
@@ -11,7 +11,7 @@
.chart-title { .chart-title {
h3 { h3 {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-size: 1.25rem; font-size: 1.25rem;
font-weight: 500; font-weight: 500;
margin: 0 0 0.5rem; margin: 0 0 0.5rem;
@@ -39,7 +39,7 @@
border: 1px solid rgb(255 255 255 / 20%); border: 1px solid rgb(255 255 255 / 20%);
border-radius: 6px; border-radius: 6px;
padding: 0.6rem; padding: 0.6rem;
color: #ffffff; color: #fff;
cursor: pointer; cursor: pointer;
transition: all 0.3s ease; transition: all 0.3s ease;
display: flex; display: flex;
@@ -64,7 +64,7 @@
.current-year { .current-year {
font-size: 1.125rem; font-size: 1.125rem;
font-weight: 600; font-weight: 600;
color: #ffffff; color: #fff;
min-width: 4.5rem; min-width: 4.5rem;
text-align: center; text-align: center;
} }
@@ -125,7 +125,7 @@
border: 1px solid rgb(255 255 255 / 10%); border: 1px solid rgb(255 255 255 / 10%);
background: rgb(255 255 255 / 5%); background: rgb(255 255 255 / 5%);
font-size: 0.85rem; font-size: 0.85rem;
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-weight: 500; font-weight: 500;
white-space: nowrap; white-space: nowrap;
@@ -12,7 +12,7 @@
.header-title { .header-title {
h3 { h3 {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-size: 1.25rem; font-size: 1.25rem;
font-weight: 500; font-weight: 500;
margin: 0 0 0.5rem; margin: 0 0 0.5rem;
@@ -36,7 +36,7 @@
border: 1px solid rgb(255 255 255 / 20%); border: 1px solid rgb(255 255 255 / 20%);
border-radius: 6px; border-radius: 6px;
padding: 0.6rem; padding: 0.6rem;
color: #ffffff; color: #fff;
cursor: pointer; cursor: pointer;
transition: all 0.3s ease; transition: all 0.3s ease;
display: flex; display: flex;
@@ -67,7 +67,7 @@
.week-label { .week-label {
font-size: 1rem; font-size: 1rem;
font-weight: 600; font-weight: 600;
color: #ffffff; color: #fff;
white-space: nowrap; white-space: nowrap;
line-height: 1.2; line-height: 1.2;
} }
@@ -106,7 +106,7 @@
border: 1px solid rgb(255 255 255 / 20%); border: 1px solid rgb(255 255 255 / 20%);
border-radius: 6px; border-radius: 6px;
padding: 0.6rem 6rem; padding: 0.6rem 6rem;
color: #ffffff; color: #fff;
cursor: pointer; cursor: pointer;
transition: all 0.3s ease; transition: all 0.3s ease;
display: flex; display: flex;
@@ -137,7 +137,7 @@
.week-label { .week-label {
font-size: 1.125rem; font-size: 1.125rem;
font-weight: 600; font-weight: 600;
color: #ffffff; color: #fff;
white-space: nowrap; white-space: nowrap;
} }
@@ -370,7 +370,7 @@
::ng-deep .session-timeline-tooltip.p-tooltip { ::ng-deep .session-timeline-tooltip.p-tooltip {
--p-tooltip-max-width: 300px; --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-color: #fff;
--p-tooltip-border-radius: 12px; --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-padding: 0 !important;
@@ -427,7 +427,7 @@
} }
.session-tooltip-title { .session-tooltip-title {
color: #ffffff; color: #fff;
font-weight: 600; font-weight: 600;
font-size: 0.95rem; font-size: 0.95rem;
overflow: hidden; overflow: hidden;
@@ -471,7 +471,7 @@
} }
.session-tooltip-value { .session-tooltip-value {
color: #ffffff; color: #fff;
text-align: right; text-align: right;
font-weight: 500; font-weight: 500;
} }
@@ -12,7 +12,7 @@
flex: 1; flex: 1;
h3 { h3 {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-size: 1.25rem; font-size: 1.25rem;
font-weight: 500; font-weight: 500;
margin: 0 0 0.5rem; margin: 0 0 0.5rem;
@@ -106,7 +106,7 @@
p { p {
font-size: 1rem; font-size: 1rem;
margin: 0 0 0.5rem; margin: 0 0 0.5rem;
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
} }
small { small {
@@ -15,7 +15,7 @@
min-width: 200px; min-width: 200px;
h3 { h3 {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-size: 1.25rem; font-size: 1.25rem;
font-weight: 500; font-weight: 500;
margin: 0 0 0.5rem; margin: 0 0 0.5rem;
@@ -90,7 +90,7 @@
.pill-value { .pill-value {
font-size: 1rem; font-size: 1rem;
font-weight: 600; font-weight: 600;
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
} }
.pill-label { .pill-label {
@@ -123,7 +123,7 @@
margin-bottom: 0.75rem; margin-bottom: 0.75rem;
h4 { h4 {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-size: 0.95rem; font-size: 0.95rem;
font-weight: 500; font-weight: 500;
margin: 0; margin: 0;
@@ -166,7 +166,7 @@
background: transparent; background: transparent;
border: none; border: none;
outline: none; outline: none;
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-size: 0.8rem; font-size: 0.8rem;
font-family: inherit; font-family: inherit;
@@ -186,7 +186,7 @@
background: rgb(255 255 255 / 5%); background: rgb(255 255 255 / 5%);
border: 1px solid rgb(255 255 255 / 12%); border: 1px solid rgb(255 255 255 / 12%);
border-radius: 6px; border-radius: 6px;
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-size: 0.75rem; font-size: 0.75rem;
font-family: inherit; font-family: inherit;
cursor: pointer; cursor: pointer;
@@ -194,7 +194,7 @@
option { option {
background: #1e1e1e; background: #1e1e1e;
color: #ffffff; color: #fff;
} }
&:hover { &:hover {
@@ -262,7 +262,7 @@
background: rgb(255 255 255 / 8%); background: rgb(255 255 255 / 8%);
border: 1px solid rgb(255 255 255 / 12%); border: 1px solid rgb(255 255 255 / 12%);
border-radius: 6px; border-radius: 6px;
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: all 0.2s ease;
@@ -331,7 +331,7 @@
display: block; display: block;
font-size: 0.9rem; font-size: 0.9rem;
font-weight: 500; font-weight: 500;
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
@@ -401,7 +401,7 @@
.progress-text { .progress-text {
font-size: 0.75rem; font-size: 0.75rem;
font-weight: 600; font-weight: 600;
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
min-width: 32px; min-width: 32px;
text-align: right; text-align: right;
} }
@@ -444,7 +444,7 @@
p { p {
font-size: 0.95rem; font-size: 0.95rem;
margin: 0 0 0.35rem; margin: 0 0 0.35rem;
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
} }
small { small {
@@ -3,18 +3,18 @@
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 { .chart-title {
flex: 1; flex: 1;
h3 { color: var(--text-color, #ffffff); font-size: 1.25rem; font-weight: 500; margin: 0 0 0.5rem; display: flex; align-items: center; gap: 0.5rem; } 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; } .chart-description { color: var(--text-secondary-color); font-size: 0.9rem; margin: 0; line-height: 1.4; }
} }
.year-nav { .year-nav {
display: flex; align-items: center; gap: 0.5rem; display: flex; align-items: center; gap: 0.5rem;
.nav-btn { .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; border-radius: 6px; color: var(--text-color, #fff); padding: 0.3rem 0.5rem;
cursor: pointer; transition: background 0.2s; 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; } .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 { font-size: 1.5rem; color: #ff9800; }
@@ -24,7 +24,7 @@
display: flex; flex-direction: column; align-items: center; 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; 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-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; } .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; } &.sessions .stat-value { color: #ff9800; }
&.archetype .stat-value { color: #42a5f5; font-size: 1.1rem; } &.archetype .stat-value { color: #42a5f5; font-size: 1.1rem; }
@@ -34,7 +34,7 @@
.no-data-message { .no-data-message {
display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem; text-align: center; color: var(--text-secondary-color); 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; } i { font-size: 2.5rem; margin-bottom: 1rem; opacity: 0.5; }
p { font-size: 1rem; margin: 0 0 0.5rem; color: var(--text-color, #ffffff); } p { font-size: 1rem; margin: 0 0 0.5rem; color: var(--text-color, #fff); }
small { font-size: 0.85rem; opacity: 0.7; } small { font-size: 0.85rem; opacity: 0.7; }
} }
@media (width <= 768px) { .chart-wrapper { height: 280px; } } @media (width <= 768px) { .chart-wrapper { height: 280px; } }
@@ -43,7 +43,7 @@
} }
h2 { h2 {
color: var(--text-color, #ffffff); color: var(--text-color, #fff);
font-size: 1.5rem; font-size: 1.5rem;
font-weight: 600; font-weight: 600;
margin: 0; margin: 0;
@@ -112,7 +112,7 @@
font-size: 2rem; font-size: 2rem;
font-weight: 700; font-weight: 700;
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 100%); background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
-webkit-background-clip: text; -webkit-background-clip: text;
-webkit-text-fill-color: transparent; -webkit-text-fill-color: transparent;
background-clip: text; background-clip: text;
@@ -19,7 +19,7 @@ body {
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
--glow-image: url("../../../images/topbar.png"), radial-gradient(50% 50% at center -25px, var(--p-primary-color) 0%, #000000 100%); --glow-image: url("../../../images/topbar.png"), radial-gradient(50% 50% at center -25px, var(--p-primary-color) 0%, #000 100%);
--glow-blend: hard-light, color-dodge; --glow-blend: hard-light, color-dodge;
} }
-1
View File
@@ -3,7 +3,6 @@ module.exports = {
ignoreFiles: ["dist/**", "node_modules/**"], ignoreFiles: ["dist/**", "node_modules/**"],
rules: { rules: {
"at-rule-empty-line-before": null, "at-rule-empty-line-before": null,
"color-hex-length": null,
"declaration-block-single-line-max-declarations": null, "declaration-block-single-line-max-declarations": null,
"declaration-empty-line-before": null, "declaration-empty-line-before": null,
"declaration-property-value-keyword-no-deprecated": null, "declaration-property-value-keyword-no-deprecated": null,