chore(ui): normalise text size and spacing (#1656)

This commit is contained in:
Alex
2026-06-07 08:46:25 +01:00
committed by GitHub
parent 2675c4a04a
commit 349f046062
180 changed files with 4555 additions and 4466 deletions
@@ -18,8 +18,8 @@
@include accent-surface;
@include accent-text;
padding: 0.4rem 1rem;
font-size: 0.85rem;
padding: 0.35rem 0.875rem;
font-size: 0.7438rem;
font-weight: 500;
}
@@ -33,9 +33,9 @@
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 1rem;
margin-bottom: 0.875rem;
flex-wrap: wrap;
gap: 1rem;
gap: 0.875rem;
.chart-title {
flex: 1;
@@ -43,17 +43,17 @@
h3 {
color: var(--color-text);
font-size: 1.25rem;
font-size: 1.0938rem;
font-weight: 500;
margin: 0 0 0.5rem;
margin: 0 0 0.4375rem;
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
}
.chart-description {
color: var(--color-text-secondary);
font-size: 0.9rem;
font-size: 0.7875rem;
margin: 0;
line-height: 1.4;
}
@@ -65,16 +65,16 @@
display: flex;
flex-direction: column;
align-items: center;
padding: 0.5rem 1rem;
padding: 0.4375rem 0.875rem;
.badge-value {
font-size: 1.5rem;
font-size: 1.3125rem;
font-weight: 600;
color: var(--color-text);
}
.badge-label {
font-size: 0.75rem;
font-size: var(--app-text-xs);
color: var(--color-text-secondary);
text-transform: uppercase;
letter-spacing: 0.5px;
@@ -87,24 +87,24 @@
flex-direction: column;
align-items: center;
justify-content: center;
padding: 2rem;
padding: 1.75rem;
text-align: center;
color: var(--color-text-secondary);
i {
font-size: 2rem;
margin-bottom: 0.75rem;
font-size: 1.75rem;
margin-bottom: 0.6563rem;
opacity: 0.5;
}
p {
font-size: 0.9rem;
margin: 0 0 0.5rem;
font-size: 0.7875rem;
margin: 0 0 0.4375rem;
color: var(--color-text);
}
small {
font-size: 0.85rem;
font-size: 0.7438rem;
opacity: 0.7;
}
}
@@ -113,11 +113,11 @@
.chart-header {
.chart-title {
h3 {
font-size: 1.1rem;
font-size: 0.9625rem;
}
.chart-description {
font-size: 0.85rem;
font-size: 0.7438rem;
}
}
}
@@ -127,17 +127,17 @@
.chart-header {
.chart-title {
h3 {
font-size: 1rem;
font-size: var(--app-text-base);
}
.chart-description {
font-size: 0.8rem;
font-size: 0.7rem;
}
}
.stats-badge {
.badge-value {
font-size: 1.25rem;
font-size: 1.0938rem;
}
}
}
@@ -5,7 +5,7 @@
}
.author-title-icon {
font-size: 1.5rem;
font-size: 1.3125rem;
color: var(--color-violet-500);
}
@@ -18,14 +18,14 @@
}
.chart-legend-info {
margin-bottom: 1rem;
margin-bottom: 0.875rem;
.legend-note {
display: inline-flex;
align-items: center;
gap: 0.5rem;
font-size: 0.8rem;
padding: 0.5rem 0.75rem;
gap: 0.4375rem;
font-size: 0.7rem;
padding: 0.4375rem 0.6563rem;
color: var(--color-text-secondary);
@include chart-shared.neutral-surface(6px);
@@ -43,21 +43,21 @@
}
.insights-section {
margin-top: 1.25rem;
padding-top: 1rem;
margin-top: 1.0938rem;
padding-top: 0.875rem;
border-top: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent);
}
.insights-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 0.75rem;
gap: 0.6563rem;
}
.insight-card {
display: flex;
align-items: center;
gap: 0.6rem;
gap: 0.525rem;
background: linear-gradient(
135deg,
color-mix(in srgb, var(--color-violet-500) 10%, transparent),
@@ -65,7 +65,7 @@
);
border: 1px solid color-mix(in srgb, var(--color-violet-500) 20%, transparent);
border-radius: 8px;
padding: 0.6rem 0.85rem;
padding: 0.525rem 0.7438rem;
transition: all 0.2s ease;
&:hover {
@@ -80,12 +80,12 @@
.insight-icon {
color: var(--color-amber-500);
font-size: 0.85rem;
font-size: 0.7438rem;
flex-shrink: 0;
}
.insight-text {
font-size: 0.85rem;
font-size: 0.7438rem;
color: var(--color-text);
line-height: 1.3;
}
@@ -102,7 +102,7 @@
.chart-legend-info {
.legend-note {
font-size: 0.75rem;
font-size: var(--app-text-xs);
}
}
}
@@ -113,15 +113,15 @@
}
.author-count-badge {
font-size: 0.8rem;
padding: 0.3rem 0.75rem;
font-size: 0.7rem;
padding: 0.2625rem 0.6563rem;
}
.insight-card {
padding: 0.5rem 0.7rem;
padding: 0.4375rem 0.6125rem;
.insight-text {
font-size: 0.8rem;
font-size: 0.7rem;
}
}
}
@@ -5,7 +5,7 @@
}
.formats-title-icon {
font-size: 1.5rem;
font-size: 1.3125rem;
color: #E11D48;
}
@@ -5,7 +5,7 @@
}
.language-title-icon {
font-size: 1.5rem;
font-size: 1.3125rem;
color: #2563EB;
}
@@ -5,7 +5,7 @@
}
.score-title-icon {
font-size: 1.5rem;
font-size: 1.3125rem;
color: #16A34A;
}
@@ -5,7 +5,7 @@
}
.page-title-icon {
font-size: 1.5rem;
font-size: 1.3125rem;
color: #8B5CF6;
}
@@ -5,7 +5,7 @@
}
.timeline-title-icon {
font-size: 1.5rem;
font-size: 1.3125rem;
color: var(--color-violet-400);
}
@@ -24,15 +24,15 @@
}
.insights-section {
margin-top: 1rem;
padding-top: 1rem;
margin-top: 0.875rem;
padding-top: 0.875rem;
border-top: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent);
}
.insights-row {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 0.75rem;
gap: 0.6563rem;
}
.insight-item {
@@ -40,28 +40,28 @@
flex-direction: column;
align-items: center;
text-align: center;
padding: 0.75rem;
padding: 0.6563rem;
@include chart-shared.neutral-surface;
.insight-label {
font-size: 0.7rem;
font-size: 0.6125rem;
text-transform: uppercase;
letter-spacing: 0.5px;
color: var(--color-text-secondary);
margin-bottom: 0.25rem;
margin-bottom: 0.2188rem;
}
.insight-value {
font-size: 1.5rem;
font-size: 1.3125rem;
font-weight: 600;
color: var(--color-text);
}
.insight-detail {
font-size: 0.75rem;
font-size: var(--app-text-xs);
color: var(--color-text-secondary);
margin-top: 0.25rem;
margin-top: 0.2188rem;
max-width: 150px;
overflow: hidden;
text-overflow: ellipsis;
@@ -118,7 +118,7 @@
}
.insights-row + .insights-row {
margin-top: 0.75rem;
margin-top: 0.6563rem;
}
@media (width <= 768px) {
@@ -128,14 +128,14 @@
.insights-row {
grid-template-columns: repeat(4, 1fr);
gap: 0.5rem;
gap: 0.4375rem;
}
.insight-item {
padding: 0.6rem;
padding: 0.525rem;
.insight-value {
font-size: 1.25rem;
font-size: 1.0938rem;
}
.insight-detail {
@@ -150,8 +150,8 @@
}
.books-count-badge {
font-size: 0.8rem;
padding: 0.3rem 0.75rem;
font-size: 0.7rem;
padding: 0.2625rem 0.6563rem;
}
.insights-row {
@@ -159,14 +159,14 @@
}
.insight-item {
padding: 0.5rem;
padding: 0.4375rem;
.insight-value {
font-size: 1.1rem;
font-size: 0.9625rem;
}
.insight-label {
font-size: 0.65rem;
font-size: 0.5687rem;
}
}
}
@@ -5,7 +5,7 @@
}
.trend-title-icon {
font-size: 1.5rem;
font-size: 1.3125rem;
color: var(--color-cyan-500);
}
@@ -24,15 +24,15 @@
}
.insights-section {
margin-top: 1rem;
padding-top: 1rem;
margin-top: 0.875rem;
padding-top: 0.875rem;
border-top: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent);
}
.insights-row {
display: flex;
justify-content: space-between;
gap: 1rem;
gap: 0.875rem;
flex-wrap: wrap;
}
@@ -43,28 +43,28 @@
flex-direction: column;
align-items: center;
text-align: center;
padding: 0.75rem;
padding: 0.6563rem;
@include chart-shared.neutral-surface;
.insight-label {
font-size: 0.7rem;
font-size: 0.6125rem;
text-transform: uppercase;
letter-spacing: 0.5px;
color: var(--color-text-secondary);
margin-bottom: 0.25rem;
margin-bottom: 0.2188rem;
}
.insight-value {
font-size: 1.5rem;
font-size: 1.3125rem;
font-weight: 600;
color: var(--color-text);
}
.insight-detail {
font-size: 0.75rem;
font-size: var(--app-text-xs);
color: var(--color-text-secondary);
margin-top: 0.25rem;
margin-top: 0.2188rem;
}
&.peak {
@@ -88,7 +88,7 @@
&.productive {
.insight-value {
color: var(--color-green-400);
font-size: 1.25rem;
font-size: 1.0938rem;
}
}
@@ -123,19 +123,19 @@
}
.insights-row {
gap: 0.75rem;
gap: 0.6563rem;
}
.insight-item {
padding: 0.6rem;
padding: 0.525rem;
min-width: 100px;
.insight-value {
font-size: 1.25rem;
font-size: 1.0938rem;
}
&.productive .insight-value {
font-size: 1.1rem;
font-size: 0.9625rem;
}
}
}
@@ -146,30 +146,30 @@
}
.year-range-badge {
font-size: 0.8rem;
padding: 0.3rem 0.75rem;
font-size: 0.7rem;
padding: 0.2625rem 0.6563rem;
}
.insights-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0.5rem;
gap: 0.4375rem;
}
.insight-item {
min-width: unset;
padding: 0.5rem;
padding: 0.4375rem;
.insight-value {
font-size: 1.1rem;
font-size: 0.9625rem;
}
.insight-label {
font-size: 0.65rem;
font-size: 0.5687rem;
}
&.productive .insight-value {
font-size: 1rem;
font-size: var(--app-text-base);
}
}
}
@@ -5,7 +5,7 @@
}
.journey-title-icon {
font-size: 1.5rem;
font-size: 1.3125rem;
color: var(--color-emerald-500);
}
@@ -24,15 +24,15 @@
}
.insights-section {
margin-top: 1rem;
padding-top: 1rem;
margin-top: 0.875rem;
padding-top: 0.875rem;
border-top: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent);
}
.insights-row {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 0.75rem;
gap: 0.6563rem;
}
.insight-item {
@@ -40,28 +40,28 @@
flex-direction: column;
align-items: center;
text-align: center;
padding: 0.75rem;
padding: 0.6563rem;
@include chart-shared.neutral-surface;
.insight-label {
font-size: 0.7rem;
font-size: 0.6125rem;
text-transform: uppercase;
letter-spacing: 0.5px;
color: var(--color-text-secondary);
margin-bottom: 0.25rem;
margin-bottom: 0.2188rem;
}
.insight-value {
font-size: 1.5rem;
font-size: 1.3125rem;
font-weight: 600;
color: var(--color-text);
}
.insight-detail {
font-size: 0.75rem;
font-size: var(--app-text-xs);
color: var(--color-text-secondary);
margin-top: 0.25rem;
margin-top: 0.2188rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
@@ -107,29 +107,29 @@
&.recent {
.insight-value {
color: var(--color-violet-400);
font-size: 1.1rem;
font-size: 0.9625rem;
}
}
&.total {
.insight-value {
color: var(--color-cyan-400);
font-size: 1.1rem;
font-size: 0.9625rem;
}
}
}
@media (width <= 1200px) {
.insight-item {
padding: 0.6rem;
padding: 0.525rem;
.insight-value {
font-size: 1.2rem;
font-size: 1.05rem;
}
&.recent .insight-value,
&.total .insight-value {
font-size: 1rem;
font-size: var(--app-text-base);
}
}
}
@@ -141,22 +141,22 @@
.insights-row {
grid-template-columns: repeat(4, 1fr);
gap: 0.5rem;
gap: 0.4375rem;
}
.insight-item {
padding: 0.5rem;
padding: 0.4375rem;
.insight-value {
font-size: 1.1rem;
font-size: 0.9625rem;
}
.insight-label {
font-size: 0.6rem;
font-size: 0.525rem;
}
.insight-detail {
font-size: 0.6rem;
font-size: 0.525rem;
}
}
}
@@ -167,8 +167,8 @@
}
.date-range-badge {
font-size: 0.75rem;
padding: 0.3rem 0.75rem;
font-size: var(--app-text-xs);
padding: 0.2625rem 0.6563rem;
}
.insights-row {
@@ -177,7 +177,7 @@
.insight-item {
.insight-value {
font-size: 1rem;
font-size: var(--app-text-base);
}
}
}
@@ -8,9 +8,9 @@
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 1rem;
margin-bottom: 0.875rem;
flex-wrap: wrap;
gap: 1rem;
gap: 0.875rem;
.chart-title {
flex: 1;
@@ -18,21 +18,21 @@
h3 {
color: var(--color-text);
font-size: 1.25rem;
font-size: 1.0938rem;
font-weight: 500;
margin: 0 0 0.5rem;
margin: 0 0 0.4375rem;
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
i {
font-size: 1.5rem;
font-size: 1.3125rem;
}
}
.chart-description {
color: var(--color-text-secondary);
font-size: 0.9rem;
font-size: 0.7875rem;
margin: 0;
line-height: 1.4;
}
@@ -41,7 +41,7 @@
.header-controls {
display: flex;
align-items: center;
gap: 0.75rem;
gap: 0.6563rem;
flex-shrink: 0;
}
}
@@ -49,10 +49,10 @@
.select-item {
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
i {
font-size: 0.9rem;
font-size: 0.7875rem;
}
}
@@ -60,23 +60,23 @@
display: flex;
flex-direction: column;
align-items: center;
padding: 0.5rem 0.75rem;
padding: 0.4375rem 0.6563rem;
@include chart-shared.neutral-surface;
.badge-value {
font-size: 1.25rem;
font-size: 1.0938rem;
font-weight: 600;
color: var(--color-text);
line-height: 1;
}
.badge-label {
font-size: 0.7rem;
font-size: 0.6125rem;
color: var(--color-text-secondary);
text-transform: uppercase;
letter-spacing: 0.5px;
margin-top: 0.25rem;
margin-top: 0.2188rem;
}
}
@@ -89,37 +89,37 @@
.insights-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 0.75rem;
margin-top: 1rem;
gap: 0.6563rem;
margin-top: 0.875rem;
.insight-card {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.75rem 1rem;
gap: 0.6563rem;
padding: 0.6563rem 0.875rem;
@include chart-shared.neutral-surface;
> i {
font-size: 1.1rem;
font-size: 0.9625rem;
flex-shrink: 0;
}
.insight-content {
display: flex;
flex-direction: column;
gap: 0.15rem;
gap: 0.1313rem;
min-width: 0;
.insight-label {
font-size: 0.75rem;
font-size: var(--app-text-xs);
color: var(--color-text-secondary);
text-transform: uppercase;
letter-spacing: 0.3px;
}
.insight-value {
font-size: 0.9rem;
font-size: 0.7875rem;
color: var(--color-text);
font-weight: 500;
white-space: nowrap;
@@ -146,10 +146,10 @@
.insights-grid {
grid-template-columns: 1fr 1fr;
gap: 0.5rem;
gap: 0.4375rem;
.insight-card {
padding: 0.6rem 0.75rem;
padding: 0.525rem 0.6563rem;
}
}
}
@@ -5,7 +5,7 @@
box-sizing: border-box;
height: 100%;
overflow-y: auto;
padding: 0.5rem;
padding: 0.4375rem;
}
.header-card {
@@ -27,7 +27,7 @@
display: flex;
flex-direction: column;
align-items: center;
gap: 1.5rem;
gap: 1.3125rem;
.select-row {
display: flex;
@@ -40,7 +40,7 @@
.dropdown-row {
display: flex;
width: 100%;
gap: 0.5rem;
gap: 0.4375rem;
align-items: center;
}
@@ -48,7 +48,7 @@
color: var(--color-text);
font-weight: 500;
white-space: nowrap;
font-size: 1.15rem;
font-size: 1.0063rem;
}
.library-totals {
@@ -56,7 +56,7 @@
gap: 12px;
align-items: center;
margin-top: 8px;
font-size: 0.95rem;
font-size: 0.8313rem;
color: var(--color-text-secondary);
flex-wrap: wrap;
@@ -71,13 +71,13 @@
}
.pi {
font-size: 1.35rem;
font-size: 1.1812rem;
color: var(--color-primary);
}
.total-label {
color: var(--color-text-secondary);
font-size: 0.9rem;
font-size: 0.7875rem;
white-space: nowrap;
}
@@ -85,7 +85,7 @@
color: var(--color-text);
font-weight: 600;
margin-left: 4px;
font-size: 1.35rem;
font-size: 1.1812rem;
}
}
}
@@ -126,7 +126,7 @@
h3 {
color: var(--color-text);
font-weight: 500;
font-size: 1.2rem;
font-size: 1.05rem;
margin: 0;
display: flex;
align-items: center;
@@ -134,7 +134,7 @@
.pi {
color: var(--color-primary);
font-size: 1.1rem;
font-size: 0.9625rem;
}
}
@@ -158,7 +158,7 @@
}
.pi {
font-size: 0.9rem;
font-size: 0.7875rem;
}
}
}
@@ -225,7 +225,7 @@
}
.pi {
font-size: 0.85rem;
font-size: 0.7438rem;
}
}
}
@@ -243,7 +243,7 @@
.config-category {
h4 {
color: var(--color-text);
font-size: 1rem;
font-size: var(--app-text-base);
font-weight: 600;
margin: 0 0 15px;
padding-bottom: 8px;
@@ -279,7 +279,7 @@
label {
color: var(--color-text-secondary);
font-size: 0.9rem;
font-size: 0.7875rem;
cursor: pointer;
user-select: none;
transition: color 0.2s ease;
@@ -373,7 +373,7 @@
.pi {
color: var(--color-card);
font-size: 0.8rem;
font-size: 0.7rem;
cursor: grab;
&:hover {
@@ -446,7 +446,7 @@
small {
display: block;
margin-top: 8px;
font-size: 0.9rem;
font-size: 0.7875rem;
}
}
@@ -530,7 +530,7 @@
padding: 15px 20px;
h3 {
font-size: 1.1rem;
font-size: 0.9625rem;
}
}
@@ -578,7 +578,7 @@
background: rgb(0 0 0 / 70%);
.pi {
font-size: 0.9rem;
font-size: 0.7875rem;
}
}
@@ -608,7 +608,7 @@
padding: 12px 15px;
h3 {
font-size: 1rem;
font-size: var(--app-text-base);
}
}
@@ -626,7 +626,7 @@
height: 36px;
.pi {
font-size: 1rem;
font-size: var(--app-text-base);
}
}
}
@@ -6,24 +6,24 @@
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 0.5rem;
margin-bottom: 0.4375rem;
.chart-title {
flex: 1;
h3 {
color: var(--text-color, #fff);
font-size: 1.25rem;
font-size: 1.0938rem;
font-weight: 500;
margin: 0 0 0.5rem;
margin: 0 0 0.4375rem;
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
}
.chart-description {
color: var(--text-secondary-color);
font-size: 0.9rem;
font-size: 0.7875rem;
margin: 0;
line-height: 1.4;
}
@@ -31,14 +31,14 @@
}
.book-flow-icon {
font-size: 1.5rem;
font-size: 1.3125rem;
color: #26c6da;
}
.stats-row {
display: flex;
gap: 0.75rem;
margin-bottom: 1rem;
gap: 0.6563rem;
margin-bottom: 0.875rem;
flex-wrap: wrap;
.stat-card {
@@ -48,22 +48,22 @@
background: color-mix(in srgb, var(--color-text) 5%, transparent);
border: 1px solid var(--color-border);
border-radius: 8px;
padding: 0.5rem 1rem;
padding: 0.4375rem 0.875rem;
flex: 1;
min-width: 80px;
.stat-value {
font-size: 1.3rem;
font-size: 1.1375rem;
font-weight: 600;
color: var(--text-color, #fff);
}
.stat-label {
font-size: 0.75rem;
font-size: var(--app-text-xs);
color: var(--text-secondary-color);
text-transform: uppercase;
letter-spacing: 0.5px;
margin-top: 0.25rem;
margin-top: 0.2188rem;
}
&.total .stat-value { color: #42a5f5; }
&.quarter .stat-value { color: #26c6da; }
@@ -88,24 +88,24 @@
flex-direction: column;
align-items: center;
justify-content: center;
padding: 3rem;
padding: 2.625rem;
text-align: center;
color: var(--text-secondary-color);
i {
font-size: 2.5rem;
margin-bottom: 1rem;
font-size: 2.1875rem;
margin-bottom: 0.875rem;
opacity: 0.5;
}
p {
font-size: 1rem;
margin: 0 0 0.5rem;
font-size: var(--app-text-base);
margin: 0 0 0.4375rem;
color: var(--text-color, #fff);
}
small {
font-size: 0.85rem;
font-size: 0.7438rem;
opacity: 0.7;
}
}
@@ -8,9 +8,9 @@
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 0.5rem;
margin-bottom: 0.4375rem;
flex-wrap: wrap;
gap: 1rem;
gap: 0.875rem;
.chart-title {
flex: 1;
@@ -18,17 +18,17 @@
h3 {
color: var(--color-text);
font-size: 1.25rem;
font-size: 1.0938rem;
font-weight: 500;
margin: 0 0 0.5rem;
margin: 0 0 0.4375rem;
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
}
.chart-description {
color: var(--color-text-secondary);
font-size: 0.9rem;
font-size: 0.7875rem;
margin: 0;
line-height: 1.4;
}
@@ -40,19 +40,19 @@
display: flex;
flex-direction: column;
align-items: center;
padding: 0.5rem 1rem;
padding: 0.4375rem 0.875rem;
@include chart-shared.accent-surface(8px);
.badge-value {
font-size: 1.5rem;
font-size: 1.3125rem;
font-weight: 600;
@include chart-shared.accent-text;
}
.badge-label {
font-size: 0.75rem;
font-size: var(--app-text-xs);
color: var(--color-text-secondary);
text-transform: uppercase;
letter-spacing: 0.5px;
@@ -61,38 +61,38 @@
}
.book-length-icon {
font-size: 1.5rem;
font-size: 1.3125rem;
color: var(--color-cyan-500);
}
.stats-row {
display: flex;
gap: 0.75rem;
margin-bottom: 1rem;
gap: 0.6563rem;
margin-bottom: 0.875rem;
flex-wrap: wrap;
.stat-card {
display: flex;
flex-direction: column;
align-items: center;
padding: 0.5rem 1rem;
padding: 0.4375rem 0.875rem;
flex: 1;
@include chart-shared.neutral-surface;
.stat-value-sm {
font-size: 0.9rem;
font-size: 0.7875rem;
font-weight: 500;
color: var(--color-text);
text-align: center;
}
.stat-label {
font-size: 0.75rem;
font-size: var(--app-text-xs);
color: var(--color-text-secondary);
text-transform: uppercase;
letter-spacing: 0.5px;
margin-top: 0.25rem;
margin-top: 0.2188rem;
}
}
}
@@ -108,24 +108,24 @@
flex-direction: column;
align-items: center;
justify-content: center;
padding: 3rem;
padding: 2.625rem;
text-align: center;
color: var(--color-text-secondary);
i {
font-size: 2.5rem;
margin-bottom: 1rem;
font-size: 2.1875rem;
margin-bottom: 0.875rem;
opacity: 0.5;
}
p {
font-size: 1rem;
margin: 0 0 0.5rem;
font-size: var(--app-text-base);
margin: 0 0 0.4375rem;
color: var(--color-text);
}
small {
font-size: 0.85rem;
font-size: 0.7438rem;
opacity: 0.7;
}
}
@@ -139,11 +139,11 @@
@media (width <= 480px) {
.chart-header {
.chart-title h3 {
font-size: 1rem;
font-size: var(--app-text-base);
}
.stats-badge .badge-value {
font-size: 1.25rem;
font-size: 1.0938rem;
}
}
@@ -6,25 +6,25 @@
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 0.5rem;
gap: 1rem;
margin-bottom: 0.4375rem;
gap: 0.875rem;
.chart-title {
flex: 1;
h3 {
color: var(--text-color, #fff);
font-size: 1.25rem;
font-size: 1.0938rem;
font-weight: 500;
margin: 0 0 0.5rem;
margin: 0 0 0.4375rem;
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
}
.chart-description {
color: var(--text-secondary-color);
font-size: 0.9rem;
font-size: 0.7875rem;
margin: 0;
line-height: 1.4;
}
@@ -32,21 +32,21 @@
}
.completion-race-icon {
font-size: 1.5rem;
font-size: 1.3125rem;
color: #4caf50;
}
.year-selector {
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
flex-shrink: 0;
.year-nav-btn {
background: color-mix(in srgb, var(--color-text) 5%, transparent);
border: 1px solid var(--color-border);
border-radius: 6px;
padding: 0.6rem;
padding: 0.525rem;
color: var(--color-text);
cursor: pointer;
transition: all 0.3s ease;
@@ -61,23 +61,23 @@
}
i {
font-size: 0.875rem;
font-size: var(--app-text-sm);
}
}
.current-year {
font-size: 1.125rem;
font-size: var(--app-text-lg);
font-weight: 600;
color: var(--color-text);
min-width: 4.5rem;
min-width: 3.9375rem;
text-align: center;
}
}
.stats-row {
display: flex;
gap: 0.75rem;
margin-bottom: 1rem;
gap: 0.6563rem;
margin-bottom: 0.875rem;
flex-wrap: wrap;
.stat-card {
@@ -87,18 +87,18 @@
background: color-mix(in srgb, var(--color-text) 5%, transparent);
border: 1px solid var(--color-border);
border-radius: 8px;
padding: 0.5rem 1rem;
padding: 0.4375rem 0.875rem;
min-width: 80px;
flex: 1;
.stat-value {
font-size: 1.5rem;
font-size: 1.3125rem;
font-weight: 600;
color: #4caf50;
}
.stat-subtitle {
font-size: 0.75rem;
font-size: var(--app-text-xs);
color: var(--text-secondary-color);
text-align: center;
line-height: 1.3;
@@ -109,11 +109,11 @@
}
.stat-label {
font-size: 0.75rem;
font-size: var(--app-text-xs);
color: var(--text-secondary-color);
text-transform: uppercase;
letter-spacing: 0.5px;
margin-top: 0.25rem;
margin-top: 0.2188rem;
}
&.fastest .stat-value {
@@ -137,24 +137,24 @@
flex-direction: column;
align-items: center;
justify-content: center;
padding: 3rem;
padding: 2.625rem;
text-align: center;
color: var(--text-secondary-color);
i {
font-size: 2.5rem;
margin-bottom: 1rem;
font-size: 2.1875rem;
margin-bottom: 0.875rem;
opacity: 0.5;
}
p {
font-size: 1rem;
margin: 0 0 0.5rem;
font-size: var(--app-text-base);
margin: 0 0 0.4375rem;
color: var(--text-color, #fff);
}
small {
font-size: 0.85rem;
font-size: 0.7438rem;
opacity: 0.7;
}
}
@@ -179,22 +179,22 @@
@media (width <= 480px) {
.chart-header {
.chart-title h3 {
font-size: 1rem;
font-size: var(--app-text-base);
}
.chart-description {
font-size: 0.8rem;
font-size: 0.7rem;
}
}
.stats-row {
gap: 0.5rem;
gap: 0.4375rem;
.stat-card {
padding: 0.4rem 0.5rem;
padding: 0.35rem 0.4375rem;
.stat-value {
font-size: 1.2rem;
font-size: 1.05rem;
}
}
}
@@ -6,25 +6,25 @@
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 0.5rem;
gap: 1rem;
margin-bottom: 0.4375rem;
gap: 0.875rem;
.chart-title {
flex: 1;
h3 {
color: var(--text-color, #fff);
font-size: 1.25rem;
font-size: 1.0938rem;
font-weight: 500;
margin: 0 0 0.5rem;
margin: 0 0 0.4375rem;
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
}
.chart-description {
color: var(--text-secondary-color);
font-size: 0.9rem;
font-size: 0.7875rem;
margin: 0;
line-height: 1.4;
}
@@ -34,14 +34,14 @@
.year-selector {
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
flex-shrink: 0;
.year-nav-btn {
background: color-mix(in srgb, var(--color-text) 5%, transparent);
border: 1px solid var(--color-border);
border-radius: 6px;
padding: 0.6rem;
padding: 0.525rem;
color: var(--color-text);
cursor: pointer;
transition: all 0.3s ease;
@@ -60,21 +60,21 @@
}
i {
font-size: 0.875rem;
font-size: var(--app-text-sm);
}
}
.current-year {
font-size: 1.125rem;
font-size: var(--app-text-lg);
font-weight: 600;
color: var(--color-text);
min-width: 4.5rem;
min-width: 3.9375rem;
text-align: center;
}
}
.completion-title-icon {
font-size: 1.5rem;
font-size: 1.3125rem;
color: rgb(251 191 36 / 100%);
}
@@ -91,17 +91,17 @@
.chart-title {
h3 {
font-size: 1.1rem;
font-size: 0.9625rem;
}
.chart-description {
font-size: 0.85rem;
font-size: 0.7438rem;
}
}
.year-selector {
justify-content: center;
margin-top: 0.5rem;
margin-top: 0.4375rem;
}
}
}
@@ -110,23 +110,23 @@
.chart-header {
.chart-title {
h3 {
font-size: 1.1rem;
font-size: 0.9625rem;
}
.chart-description {
font-size: 0.85rem;
font-size: 0.7438rem;
}
}
}
.year-selector {
.current-year {
font-size: 1rem;
min-width: 4rem;
font-size: var(--app-text-base);
min-width: 3.5rem;
}
.year-nav-btn {
padding: 0.6rem;
padding: 0.525rem;
}
}
}
@@ -6,25 +6,25 @@
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 0.5rem;
gap: 1rem;
margin-bottom: 0.4375rem;
gap: 0.875rem;
.chart-title {
flex: 1;
h3 {
color: var(--text-color, #fff);
font-size: 1.25rem;
font-size: 1.0938rem;
font-weight: 500;
margin: 0 0 0.5rem;
margin: 0 0 0.4375rem;
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
}
.chart-description {
color: var(--text-secondary-color);
font-size: 0.9rem;
font-size: 0.7875rem;
margin: 0;
line-height: 1.4;
}
@@ -32,14 +32,14 @@
.filter-controls {
display: flex;
gap: 0.75rem;
gap: 0.6563rem;
align-items: center;
flex-shrink: 0;
}
}
.favorite-days-icon {
font-size: 1.5rem;
font-size: 1.3125rem;
color: rgb(139 92 246 / 100%);
}
@@ -57,7 +57,7 @@
.filter-controls {
width: 100%;
flex-direction: column;
gap: 0.5rem;
gap: 0.4375rem;
::ng-deep p-select {
width: 100%;
@@ -70,11 +70,11 @@
.chart-title {
h3 {
font-size: 1.1rem;
font-size: 0.9625rem;
}
.chart-description {
font-size: 0.85rem;
font-size: 0.7438rem;
}
}
}
@@ -84,11 +84,11 @@
.chart-header {
.chart-title {
h3 {
font-size: 1rem;
font-size: var(--app-text-base);
}
.chart-description {
font-size: 0.8rem;
font-size: 0.7rem;
}
}
}
@@ -6,24 +6,24 @@
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 1.5rem;
margin-bottom: 1.3125rem;
.chart-title {
flex: 1;
h3 {
color: var(--text-color, #fff);
font-size: 1.25rem;
font-size: 1.0938rem;
font-weight: 500;
margin: 0 0 0.5rem;
margin: 0 0 0.4375rem;
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
}
.chart-description {
color: var(--text-secondary-color);
font-size: 0.9rem;
font-size: 0.7875rem;
margin: 0;
line-height: 1.4;
}
@@ -31,7 +31,7 @@
}
.genre-title-icon {
font-size: 1.5rem;
font-size: 1.3125rem;
color: rgb(34 197 94 / 100%);
}
@@ -45,11 +45,11 @@
.chart-header {
.chart-title {
h3 {
font-size: 1.1rem;
font-size: 0.9625rem;
}
.chart-description {
font-size: 0.85rem;
font-size: 0.7438rem;
}
}
}
@@ -6,24 +6,24 @@
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 0.5rem;
margin-bottom: 0.4375rem;
.chart-title {
flex: 1;
h3 {
color: var(--text-color, #fff);
font-size: 1.25rem;
font-size: 1.0938rem;
font-weight: 500;
margin: 0 0 0.5rem;
margin: 0 0 0.4375rem;
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
}
.chart-description {
color: var(--text-secondary-color);
font-size: 0.9rem;
font-size: 0.7875rem;
margin: 0;
line-height: 1.4;
}
@@ -31,29 +31,29 @@
}
.page-turner-icon {
font-size: 1.5rem;
font-size: 1.3125rem;
color: rgb(251 146 60 / 100%);
}
.stats-row {
display: flex;
gap: 1rem;
margin-bottom: 0.75rem;
gap: 0.875rem;
margin-bottom: 0.6563rem;
flex-wrap: wrap;
.stat-item {
display: flex;
flex-direction: column;
gap: 0.15rem;
gap: 0.1313rem;
background: color-mix(in srgb, var(--color-text) 5%, transparent);
border-radius: 8px;
padding: 0.5rem 0.75rem;
padding: 0.4375rem 0.6563rem;
flex: 1;
min-width: 100px;
.stat-value {
color: var(--color-text);
font-size: 0.95rem;
font-size: 0.8313rem;
font-weight: 600;
white-space: nowrap;
overflow: hidden;
@@ -62,32 +62,32 @@
.stat-label {
color: var(--text-secondary-color);
font-size: 0.75rem;
font-size: var(--app-text-xs);
}
}
}
.top-books {
display: flex;
gap: 0.75rem;
margin-bottom: 0.75rem;
gap: 0.6563rem;
margin-bottom: 0.6563rem;
flex-wrap: wrap;
.top-book-card {
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
background: color-mix(in srgb, var(--color-text) 5%, transparent);
border: 1px solid var(--color-border);
border-radius: 8px;
padding: 0.5rem 0.75rem;
padding: 0.4375rem 0.6563rem;
flex: 1;
min-width: 180px;
.book-rank {
color: rgb(251 146 60 / 100%);
font-weight: 700;
font-size: 1rem;
font-size: var(--app-text-base);
}
.book-info {
@@ -96,7 +96,7 @@
.book-name {
color: var(--color-text);
font-size: 0.85rem;
font-size: 0.7438rem;
font-weight: 500;
display: block;
white-space: nowrap;
@@ -106,23 +106,23 @@
.book-indicators {
display: flex;
gap: 0.4rem;
margin-top: 0.2rem;
gap: 0.35rem;
margin-top: 0.175rem;
flex-wrap: wrap;
.indicator {
color: var(--text-secondary-color);
font-size: 0.7rem;
font-size: 0.6125rem;
display: flex;
align-items: center;
gap: 0.2rem;
gap: 0.175rem;
&.burst {
color: rgb(251 146 60 / 90%);
}
i {
font-size: 0.65rem;
font-size: 0.5687rem;
}
}
}
@@ -130,7 +130,7 @@
.book-score {
color: rgb(251 146 60 / 100%);
font-size: 1.25rem;
font-size: 1.0938rem;
font-weight: 700;
flex-shrink: 0;
}
@@ -155,15 +155,15 @@
@media (width <= 480px) {
.chart-header .chart-title h3 {
font-size: 1.1rem;
font-size: 0.9625rem;
}
.stats-row {
gap: 0.5rem;
gap: 0.4375rem;
.stat-item {
min-width: 80px;
padding: 0.4rem 0.5rem;
padding: 0.35rem 0.4375rem;
}
}
@@ -6,25 +6,25 @@
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 0.5rem;
gap: 1rem;
margin-bottom: 0.4375rem;
gap: 0.875rem;
.chart-title {
flex: 1;
h3 {
color: var(--text-color, #fff);
font-size: 1.25rem;
font-size: 1.0938rem;
font-weight: 500;
margin: 0 0 0.5rem;
margin: 0 0 0.4375rem;
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
}
.chart-description {
color: var(--text-secondary-color);
font-size: 0.9rem;
font-size: 0.7875rem;
margin: 0;
line-height: 1.4;
}
@@ -32,14 +32,14 @@
.filter-controls {
display: flex;
gap: 0.75rem;
gap: 0.6563rem;
align-items: center;
flex-shrink: 0;
}
}
.peak-hours-icon {
font-size: 1.5rem;
font-size: 1.3125rem;
color: rgb(34 197 94 / 100%);
}
@@ -57,7 +57,7 @@
.filter-controls {
width: 100%;
flex-direction: column;
gap: 0.5rem;
gap: 0.4375rem;
::ng-deep p-select {
width: 100%;
@@ -70,11 +70,11 @@
.chart-title {
h3 {
font-size: 1.1rem;
font-size: 0.9625rem;
}
.chart-description {
font-size: 0.85rem;
font-size: 0.7438rem;
}
}
}
@@ -84,11 +84,11 @@
.chart-header {
.chart-title {
h3 {
font-size: 1rem;
font-size: var(--app-text-base);
}
.chart-description {
font-size: 0.8rem;
font-size: 0.7rem;
}
}
}
@@ -7,24 +7,24 @@
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 0.5rem;
margin-bottom: 0.4375rem;
.chart-title {
flex: 1;
h3 {
color: var(--text-color, #fff);
font-size: 1.25rem;
font-size: 1.0938rem;
font-weight: 500;
margin: 0 0 0.5rem;
margin: 0 0 0.4375rem;
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
}
.chart-description {
color: var(--text-secondary-color);
font-size: 0.9rem;
font-size: 0.7875rem;
margin: 0;
line-height: 1.4;
}
@@ -32,7 +32,7 @@
}
.personal-rating-icon {
font-size: 1.5rem;
font-size: 1.3125rem;
color: #FACC15;
}
@@ -54,11 +54,11 @@
.chart-header {
.chart-title {
h3 {
font-size: 1rem;
font-size: var(--app-text-base);
}
.chart-description {
font-size: 0.8rem;
font-size: 0.7rem;
}
}
}
@@ -6,25 +6,25 @@
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 0.5rem;
margin-bottom: 0.4375rem;
.chart-title {
flex: 1;
h3 {
display: flex;
gap: 0.5rem;
gap: 0.4375rem;
align-items: center;
margin: 0 0 0.5rem;
margin: 0 0 0.4375rem;
color: var(--text-color, #fff);
font-size: 1.25rem;
font-size: 1.0938rem;
font-weight: 500;
}
.chart-description {
margin: 0;
color: var(--text-secondary-color);
font-size: 0.9rem;
font-size: 0.7875rem;
line-height: 1.4;
}
}
@@ -32,14 +32,14 @@
.publication-era-icon {
color: #673ab7;
font-size: 1.5rem;
font-size: 1.3125rem;
}
.stats-row {
display: flex;
gap: 0.75rem;
gap: 0.6563rem;
flex-wrap: wrap;
margin-bottom: 1rem;
margin-bottom: 0.875rem;
.stat-card {
display: flex;
@@ -47,21 +47,21 @@
flex-direction: column;
align-items: center;
min-width: 80px;
padding: 0.5rem 1rem;
padding: 0.4375rem 0.875rem;
border: 1px solid var(--color-border);
border-radius: 8px;
background: color-mix(in srgb, var(--color-text) 5%, transparent);
.stat-value {
color: var(--text-color, #fff);
font-size: 1.5rem;
font-size: 1.3125rem;
font-weight: 600;
}
.stat-label {
margin-top: 0.25rem;
margin-top: 0.2188rem;
color: var(--text-secondary-color);
font-size: 0.75rem;
font-size: var(--app-text-xs);
letter-spacing: 0.5px;
text-transform: uppercase;
}
@@ -91,25 +91,25 @@
flex-direction: column;
align-items: center;
justify-content: center;
padding: 3rem;
padding: 2.625rem;
color: var(--text-secondary-color);
text-align: center;
i {
margin-bottom: 1rem;
margin-bottom: 0.875rem;
opacity: 0.5;
font-size: 2.5rem;
font-size: 2.1875rem;
}
p {
margin: 0 0 0.5rem;
margin: 0 0 0.4375rem;
color: var(--text-color, #fff);
font-size: 1rem;
font-size: var(--app-text-base);
}
small {
opacity: 0.7;
font-size: 0.85rem;
font-size: 0.7438rem;
}
}
@@ -121,6 +121,6 @@
@media (width <= 480px) {
.chart-header .chart-title h3 {
font-size: 1rem;
font-size: var(--app-text-base);
}
}
@@ -8,9 +8,9 @@
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 1rem;
margin-bottom: 0.875rem;
flex-wrap: wrap;
gap: 1rem;
gap: 0.875rem;
.chart-title {
flex: 1;
@@ -18,17 +18,17 @@
h3 {
color: var(--color-text);
font-size: 1.25rem;
font-size: 1.0938rem;
font-weight: 500;
margin: 0 0 0.5rem;
margin: 0 0 0.4375rem;
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
}
.chart-description {
color: var(--color-text-secondary);
font-size: 0.9rem;
font-size: 0.7875rem;
margin: 0;
line-height: 1.4;
}
@@ -40,19 +40,19 @@
display: flex;
flex-direction: column;
align-items: center;
padding: 0.5rem 1rem;
padding: 0.4375rem 0.875rem;
@include chart-shared.accent-surface(8px);
.badge-value {
font-size: 1.5rem;
font-size: 1.3125rem;
font-weight: 600;
@include chart-shared.accent-text;
}
.badge-label {
font-size: 0.75rem;
font-size: var(--app-text-xs);
color: var(--color-text-secondary);
text-transform: uppercase;
letter-spacing: 0.5px;
@@ -61,7 +61,7 @@
}
.rating-taste-icon {
font-size: 1.5rem;
font-size: 1.3125rem;
color: var(--color-violet-600);
}
@@ -69,7 +69,7 @@
position: relative;
height: 500px;
width: 100%;
margin-bottom: 1.5rem;
margin-bottom: 1.3125rem;
.quadrant-labels {
position: absolute;
@@ -78,10 +78,10 @@
.quadrant-label {
position: absolute;
font-size: 0.7rem;
font-size: 0.6125rem;
color: var(--color-text-secondary);
font-weight: 500;
padding: 0.25rem 0.5rem;
padding: 0.2188rem 0.4375rem;
@include chart-shared.neutral-surface(4px);
@@ -109,19 +109,19 @@
}
.taste-insights {
margin-top: 1.5rem;
margin-top: 1.3125rem;
.insights-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
margin-bottom: 0.875rem;
flex-wrap: wrap;
gap: 0.75rem;
gap: 0.6563rem;
h4 {
color: var(--color-text);
font-size: 1.1rem;
font-size: 0.9625rem;
font-weight: 500;
margin: 0;
}
@@ -129,9 +129,9 @@
.deviation-badge {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.4rem 0.75rem;
font-size: 0.85rem;
gap: 0.4375rem;
padding: 0.35rem 0.6563rem;
font-size: 0.7438rem;
@include chart-shared.neutral-surface(20px);
@@ -146,7 +146,7 @@
.deviation-desc {
color: var(--color-text-secondary);
font-size: 0.8rem;
font-size: 0.7rem;
}
&.unique {
@@ -174,11 +174,11 @@
.quadrants-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 1rem;
gap: 0.875rem;
}
.quadrant-card {
padding: 1rem;
padding: 0.875rem;
position: relative;
@include chart-shared.neutral-surface;
@@ -188,25 +188,25 @@
.quadrant-header {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 0.5rem;
gap: 0.4375rem;
margin-bottom: 0.4375rem;
.quadrant-icon {
font-size: 1.1rem;
font-size: 0.9625rem;
}
.quadrant-name {
color: var(--color-text);
font-weight: 500;
font-size: 0.95rem;
font-size: 0.8313rem;
flex: 1;
}
.quadrant-count {
font-weight: 600;
font-size: 0.85rem;
font-size: 0.7438rem;
color: var(--color-surface-0);
padding: 0.15rem 0.5rem;
padding: 0.1313rem 0.4375rem;
border-radius: 12px;
min-width: 24px;
text-align: center;
@@ -215,8 +215,8 @@
.quadrant-description {
color: var(--color-text-secondary);
font-size: 0.8rem;
margin: 0 0 0.75rem;
font-size: 0.7rem;
margin: 0 0 0.6563rem;
line-height: 1.4;
}
@@ -225,7 +225,7 @@
background: color-mix(in srgb, var(--color-text) 8%, transparent);
border-radius: 2px;
overflow: hidden;
margin-bottom: 0.25rem;
margin-bottom: 0.2188rem;
.bar-fill {
height: 100%;
@@ -235,7 +235,7 @@
}
.quadrant-percentage {
font-size: 0.75rem;
font-size: var(--app-text-xs);
color: var(--color-text-secondary);
}
}
@@ -246,24 +246,24 @@
flex-direction: column;
align-items: center;
justify-content: center;
padding: 3rem;
padding: 2.625rem;
text-align: center;
color: var(--color-text-secondary);
i {
font-size: 2.5rem;
margin-bottom: 1rem;
font-size: 2.1875rem;
margin-bottom: 0.875rem;
opacity: 0.5;
}
p {
font-size: 1rem;
margin: 0 0 0.5rem;
font-size: var(--app-text-base);
margin: 0 0 0.4375rem;
color: var(--color-text);
}
small {
font-size: 0.85rem;
font-size: 0.7438rem;
opacity: 0.7;
}
}
@@ -274,8 +274,8 @@
.quadrant-labels {
.quadrant-label {
font-size: 0.6rem;
padding: 0.15rem 0.35rem;
font-size: 0.525rem;
padding: 0.1313rem 0.3063rem;
&.top-left {
top: 50px;
@@ -311,17 +311,17 @@
.chart-header {
.chart-title {
h3 {
font-size: 1rem;
font-size: var(--app-text-base);
}
.chart-description {
font-size: 0.8rem;
font-size: 0.7rem;
}
}
.stats-badge {
.badge-value {
font-size: 1.25rem;
font-size: 1.0938rem;
}
}
}
@@ -7,24 +7,24 @@
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 0.5rem;
margin-bottom: 0.4375rem;
.chart-title {
flex: 1;
h3 {
color: var(--text-color, #fff);
font-size: 1.25rem;
font-size: 1.0938rem;
font-weight: 500;
margin: 0 0 0.5rem;
margin: 0 0 0.4375rem;
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
}
.chart-description {
color: var(--text-secondary-color);
font-size: 0.9rem;
font-size: 0.7875rem;
margin: 0;
line-height: 1.4;
}
@@ -32,7 +32,7 @@
}
.read-status-icon {
font-size: 1.5rem;
font-size: 1.3125rem;
color: #17a2b8;
}
@@ -54,11 +54,11 @@
.chart-header {
.chart-title {
h3 {
font-size: 1rem;
font-size: var(--app-text-base);
}
.chart-description {
font-size: 0.8rem;
font-size: 0.7rem;
}
}
}
@@ -6,24 +6,24 @@
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 0.5rem;
margin-bottom: 0.4375rem;
.chart-title {
flex: 1;
h3 {
color: var(--text-color, #fff);
font-size: 1.25rem;
font-size: 1.0938rem;
font-weight: 500;
margin: 0 0 0.5rem;
margin: 0 0 0.4375rem;
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
}
.chart-description {
color: var(--text-secondary-color);
font-size: 0.9rem;
font-size: 0.7875rem;
margin: 0;
line-height: 1.4;
}
@@ -31,14 +31,14 @@
}
.reading-clock-icon {
font-size: 1.5rem;
font-size: 1.3125rem;
color: #42a5f5;
}
.stats-row {
display: flex;
gap: 0.75rem;
margin-bottom: 1rem;
gap: 0.6563rem;
margin-bottom: 0.875rem;
flex-wrap: wrap;
.stat-card {
@@ -48,22 +48,22 @@
background: color-mix(in srgb, var(--color-text) 5%, transparent);
border: 1px solid var(--color-border);
border-radius: 8px;
padding: 0.5rem 1rem;
padding: 0.4375rem 0.875rem;
flex: 1;
min-width: 80px;
.stat-value {
font-size: 1.5rem;
font-size: 1.3125rem;
font-weight: 600;
color: var(--text-color, #fff);
}
.stat-label {
font-size: 0.75rem;
font-size: var(--app-text-xs);
color: var(--text-secondary-color);
text-transform: uppercase;
letter-spacing: 0.5px;
margin-top: 0.25rem;
margin-top: 0.2188rem;
}
&.peak .stat-value {
@@ -92,24 +92,24 @@
flex-direction: column;
align-items: center;
justify-content: center;
padding: 3rem;
padding: 2.625rem;
text-align: center;
color: var(--text-secondary-color);
i {
font-size: 2.5rem;
margin-bottom: 1rem;
font-size: 2.1875rem;
margin-bottom: 0.875rem;
opacity: 0.5;
}
p {
font-size: 1rem;
margin: 0 0 0.5rem;
font-size: var(--app-text-base);
margin: 0 0 0.4375rem;
color: var(--text-color, #fff);
}
small {
font-size: 0.85rem;
font-size: 0.7438rem;
opacity: 0.7;
}
}
@@ -122,17 +122,17 @@
@media (width <= 480px) {
.chart-header .chart-title h3 {
font-size: 1rem;
font-size: var(--app-text-base);
}
.stats-row {
gap: 0.5rem;
gap: 0.4375rem;
.stat-card {
padding: 0.4rem 0.5rem;
padding: 0.35rem 0.4375rem;
.stat-value {
font-size: 1.2rem;
font-size: 1.05rem;
}
}
}
@@ -6,25 +6,25 @@
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 0.5rem;
margin-bottom: 0.4375rem;
.chart-title {
flex: 1;
h3 {
display: flex;
gap: 0.5rem;
gap: 0.4375rem;
align-items: center;
margin: 0 0 0.5rem;
margin: 0 0 0.4375rem;
color: var(--text-color, #fff);
font-size: 1.25rem;
font-size: 1.0938rem;
font-weight: 500;
}
.chart-description {
margin: 0;
color: var(--text-secondary-color);
font-size: 0.9rem;
font-size: 0.7875rem;
line-height: 1.4;
}
}
@@ -32,14 +32,14 @@
.reading-debt-icon {
color: #ef5350;
font-size: 1.5rem;
font-size: 1.3125rem;
}
.stats-row {
display: flex;
gap: 0.75rem;
gap: 0.6563rem;
flex-wrap: wrap;
margin-bottom: 1rem;
margin-bottom: 0.875rem;
.stat-card {
display: flex;
@@ -47,21 +47,21 @@
flex-direction: column;
align-items: center;
min-width: 80px;
padding: 0.5rem 1rem;
padding: 0.4375rem 0.875rem;
border: 1px solid var(--color-border);
border-radius: 8px;
background: color-mix(in srgb, var(--color-text) 5%, transparent);
.stat-value {
color: var(--text-color, #fff);
font-size: 1.5rem;
font-size: 1.3125rem;
font-weight: 600;
}
.stat-label {
margin-top: 0.25rem;
margin-top: 0.2188rem;
color: var(--text-secondary-color);
font-size: 0.75rem;
font-size: var(--app-text-xs);
letter-spacing: 0.5px;
text-transform: uppercase;
}
@@ -87,25 +87,25 @@
flex-direction: column;
align-items: center;
justify-content: center;
padding: 3rem;
padding: 2.625rem;
color: var(--text-secondary-color);
text-align: center;
i {
margin-bottom: 1rem;
margin-bottom: 0.875rem;
opacity: 0.5;
font-size: 2.5rem;
font-size: 2.1875rem;
}
p {
margin: 0 0 0.5rem;
margin: 0 0 0.4375rem;
color: var(--text-color, #fff);
font-size: 1rem;
font-size: var(--app-text-base);
}
small {
opacity: 0.7;
font-size: 0.85rem;
font-size: 0.7438rem;
}
}
@@ -117,6 +117,6 @@
@media (width <= 480px) {
.chart-header .chart-title h3 {
font-size: 1rem;
font-size: var(--app-text-base);
}
}
@@ -6,24 +6,24 @@
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 0.5rem;
margin-bottom: 0.4375rem;
.chart-title {
flex: 1;
h3 {
color: var(--text-color, #fff);
font-size: 1.25rem;
font-size: 1.0938rem;
font-weight: 500;
margin: 0 0 0.5rem;
margin: 0 0 0.4375rem;
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
}
.chart-description {
color: var(--text-secondary-color);
font-size: 0.9rem;
font-size: 0.7875rem;
margin: 0;
line-height: 1.4;
}
@@ -31,7 +31,7 @@
}
.reading-dna-icon {
font-size: 1.5rem;
font-size: 1.3125rem;
color: rgb(79 195 247 / 100%);
}
@@ -39,46 +39,46 @@
position: relative;
height: 450px;
width: 100%;
margin-bottom: 2rem;
margin-bottom: 1.75rem;
}
.personality-insights {
margin-top: 2rem;
margin-top: 1.75rem;
h4 {
color: var(--text-color, #fff);
font-size: 1.1rem;
font-size: 0.9625rem;
font-weight: 500;
margin: 0 0 1rem;
margin: 0 0 0.875rem;
}
.insights-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1rem;
gap: 0.875rem;
}
.insight-card {
background: color-mix(in srgb, var(--color-text) 5%, transparent);
border-radius: 8px;
padding: 1rem;
padding: 0.875rem;
border: 1px solid var(--color-border);
.insight-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.5rem;
margin-bottom: 0.4375rem;
.insight-trait {
color: var(--text-color, #fff);
font-weight: 500;
font-size: 0.95rem;
font-size: 0.8313rem;
}
.insight-score {
font-weight: 600;
font-size: 1rem;
font-size: var(--app-text-base);
}
}
@@ -87,7 +87,7 @@
background: color-mix(in srgb, var(--color-text) 10%, transparent);
border-radius: 3px;
overflow: hidden;
margin-bottom: 0.5rem;
margin-bottom: 0.4375rem;
.progress-bar {
height: 100%;
@@ -98,7 +98,7 @@
.insight-description {
color: var(--text-secondary-color);
font-size: 0.85rem;
font-size: 0.7438rem;
margin: 0;
line-height: 1.4;
}
@@ -121,11 +121,11 @@
.chart-header {
.chart-title {
h3 {
font-size: 1rem;
font-size: var(--app-text-base);
}
.chart-description {
font-size: 0.8rem;
font-size: 0.7rem;
}
}
}
@@ -6,24 +6,24 @@
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 0.5rem;
margin-bottom: 0.4375rem;
.chart-title {
flex: 1;
h3 {
color: var(--text-color, #fff);
font-size: 1.25rem;
font-size: 1.0938rem;
font-weight: 500;
margin: 0 0 0.5rem;
margin: 0 0 0.4375rem;
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
}
.chart-description {
color: var(--text-secondary-color);
font-size: 0.9rem;
font-size: 0.7875rem;
margin: 0;
line-height: 1.4;
}
@@ -31,7 +31,7 @@
}
.reading-habits-icon {
font-size: 1.5rem;
font-size: 1.3125rem;
color: rgb(156 39 176 / 100%);
}
@@ -39,46 +39,46 @@
position: relative;
height: 450px;
width: 100%;
margin-bottom: 2rem;
margin-bottom: 1.75rem;
}
.habit-insights {
margin-top: 2rem;
margin-top: 1.75rem;
h4 {
color: var(--text-color, #fff);
font-size: 1.1rem;
font-size: 0.9625rem;
font-weight: 500;
margin: 0 0 1rem;
margin: 0 0 0.875rem;
}
.insights-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1rem;
gap: 0.875rem;
}
.insight-card {
background: color-mix(in srgb, var(--color-text) 5%, transparent);
border-radius: 8px;
padding: 1rem;
padding: 0.875rem;
border: 1px solid var(--color-border);
.insight-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.5rem;
margin-bottom: 0.4375rem;
.insight-trait {
color: var(--text-color, #fff);
font-weight: 500;
font-size: 0.95rem;
font-size: 0.8313rem;
}
.insight-score {
font-weight: 600;
font-size: 1rem;
font-size: var(--app-text-base);
}
}
@@ -87,7 +87,7 @@
background: color-mix(in srgb, var(--color-text) 10%, transparent);
border-radius: 3px;
overflow: hidden;
margin-bottom: 0.5rem;
margin-bottom: 0.4375rem;
.progress-bar {
height: 100%;
@@ -98,7 +98,7 @@
.insight-description {
color: var(--text-secondary-color);
font-size: 0.85rem;
font-size: 0.7438rem;
margin: 0;
line-height: 1.4;
}
@@ -121,11 +121,11 @@
.chart-header {
.chart-title {
h3 {
font-size: 1rem;
font-size: var(--app-text-base);
}
.chart-description {
font-size: 0.8rem;
font-size: 0.7rem;
}
}
}
@@ -7,24 +7,24 @@
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 0.5rem;
margin-bottom: 0.4375rem;
.chart-title {
flex: 1;
h3 {
color: var(--text-color, #fff);
font-size: 1.25rem;
font-size: 1.0938rem;
font-weight: 500;
margin: 0 0 0.5rem;
margin: 0 0 0.4375rem;
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
}
.chart-description {
color: var(--text-secondary-color);
font-size: 0.9rem;
font-size: 0.7875rem;
margin: 0;
line-height: 1.4;
}
@@ -32,7 +32,7 @@
}
.reading-heatmap-icon {
font-size: 1.5rem;
font-size: 1.3125rem;
color: rgb(239 71 111 / 100%);
}
@@ -54,11 +54,11 @@
.chart-header {
.chart-title {
h3 {
font-size: 1rem;
font-size: var(--app-text-base);
}
.chart-description {
font-size: 0.8rem;
font-size: 0.7rem;
}
}
}
@@ -8,24 +8,24 @@
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 0.5rem;
margin-bottom: 0.4375rem;
.chart-title {
flex: 1;
h3 {
color: var(--text-color, #fff);
font-size: 1.25rem;
font-size: 1.0938rem;
font-weight: 500;
margin: 0 0 0.5rem;
margin: 0 0 0.4375rem;
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
}
.chart-description {
color: var(--text-secondary-color);
font-size: 0.9rem;
font-size: 0.7875rem;
margin: 0;
line-height: 1.4;
}
@@ -33,7 +33,7 @@
}
.reading-progress-icon {
font-size: 1.5rem;
font-size: 1.3125rem;
color: #17a2b8;
}
@@ -55,11 +55,11 @@
.chart-header {
.chart-title {
h3 {
font-size: 1rem;
font-size: var(--app-text-base);
}
.chart-description {
font-size: 0.8rem;
font-size: 0.7rem;
}
}
}
@@ -8,23 +8,23 @@
display: grid;
grid-template-columns: 1fr auto 1fr;
align-items: flex-start;
margin-bottom: 0.5rem;
gap: 1rem;
margin-bottom: 0.4375rem;
gap: 0.875rem;
.chart-title {
h3 {
color: var(--color-text);
font-size: 1.25rem;
font-size: 1.0938rem;
font-weight: 500;
margin: 0 0 0.5rem;
margin: 0 0 0.4375rem;
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
}
.chart-description {
color: var(--color-text-secondary);
font-size: 0.9rem;
font-size: 0.7875rem;
margin: 0;
line-height: 1.4;
}
@@ -33,11 +33,11 @@
.year-selector {
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
justify-self: center;
.year-nav-btn {
padding: 0.6rem;
padding: 0.525rem;
color: var(--color-text);
cursor: pointer;
transition: all 0.3s ease;
@@ -58,15 +58,15 @@
}
i {
font-size: 0.875rem;
font-size: var(--app-text-sm);
}
}
.current-year {
font-size: 1.125rem;
font-size: var(--app-text-lg);
font-weight: 600;
color: var(--color-text);
min-width: 4.5rem;
min-width: 3.9375rem;
text-align: center;
}
}
@@ -89,7 +89,7 @@
}
.heatmap-title-icon {
font-size: 1.5rem;
font-size: 1.3125rem;
color: var(--color-blue-500);
vertical-align: middle;
margin-right: 0.25em;
@@ -100,9 +100,9 @@
align-items: flex-start;
justify-content: space-between;
flex-wrap: wrap;
gap: 0.75rem;
margin-top: 1rem;
padding-top: 1rem;
gap: 0.6563rem;
margin-top: 0.875rem;
padding-top: 0.875rem;
border-top: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent);
}
@@ -110,7 +110,7 @@
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.5rem;
gap: 0.4375rem;
&.right {
justify-content: flex-end;
@@ -120,9 +120,9 @@
.pill {
display: inline-flex;
align-items: center;
gap: 0.35rem;
padding: 0.35rem 0.65rem;
font-size: 0.85rem;
gap: 0.3063rem;
padding: 0.3063rem 0.5687rem;
font-size: 0.7438rem;
color: var(--color-text);
font-weight: 500;
white-space: nowrap;
@@ -161,15 +161,15 @@
@media (width <= 768px) {
.chart-header {
grid-template-columns: 1fr;
gap: 0.75rem;
gap: 0.6563rem;
.chart-title {
h3 {
font-size: 1.1rem;
font-size: 0.9625rem;
}
.chart-description {
font-size: 0.85rem;
font-size: 0.7438rem;
}
}
@@ -193,23 +193,23 @@
.chart-header {
.chart-title {
h3 {
font-size: 1rem;
font-size: var(--app-text-base);
}
.chart-description {
font-size: 0.8rem;
font-size: 0.7rem;
}
}
}
.year-selector {
.current-year {
font-size: 1rem;
min-width: 4rem;
font-size: var(--app-text-base);
min-width: 3.5rem;
}
.year-nav-btn {
padding: 0.6rem;
padding: 0.525rem;
}
}
}
@@ -7,20 +7,20 @@
display: grid;
grid-template-columns: 1fr auto 1fr;
align-items: flex-start;
margin-bottom: 0.5rem;
gap: 1rem;
margin-bottom: 0.4375rem;
gap: 0.875rem;
.header-title {
h3 {
color: var(--text-color, #fff);
font-size: 1.25rem;
font-size: 1.0938rem;
font-weight: 500;
margin: 0 0 0.5rem;
margin: 0 0 0.4375rem;
}
.timeline-subtitle {
color: var(--text-secondary-color);
font-size: 0.9rem;
font-size: 0.7875rem;
margin: 0;
line-height: 1.4;
}
@@ -35,7 +35,7 @@
background: color-mix(in srgb, var(--color-text) 5%, transparent);
border: 1px solid var(--color-border);
border-radius: 6px;
padding: 0.6rem;
padding: 0.525rem;
color: var(--color-text);
cursor: pointer;
transition: all 0.3s ease;
@@ -54,7 +54,7 @@
}
i {
font-size: 0.875rem;
font-size: var(--app-text-sm);
}
}
@@ -65,7 +65,7 @@
min-width: 120px;
.week-label {
font-size: 1rem;
font-size: var(--app-text-base);
font-weight: 600;
color: var(--color-text);
white-space: nowrap;
@@ -73,10 +73,10 @@
}
.week-dates {
font-size: 0.75rem;
font-size: var(--app-text-xs);
color: var(--text-secondary-color);
white-space: nowrap;
margin-top: 0.1rem;
margin-top: 0.0875rem;
line-height: 1.2;
}
}
@@ -84,7 +84,7 @@
.filter-controls {
display: flex;
gap: 0.75rem;
gap: 0.6563rem;
align-items: center;
justify-self: end;
}
@@ -94,9 +94,9 @@
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
margin-bottom: 1rem;
padding: 0.75rem;
gap: 0.875rem;
margin-bottom: 0.875rem;
padding: 0.6563rem;
background: color-mix(in srgb, var(--color-text) 5%, transparent);
border-radius: 8px;
border: 1px solid var(--color-border);
@@ -105,7 +105,7 @@
background: color-mix(in srgb, var(--color-text) 5%, transparent);
border: 1px solid var(--color-border);
border-radius: 6px;
padding: 0.6rem 6rem;
padding: 0.525rem 5.25rem;
color: var(--color-text);
cursor: pointer;
transition: all 0.3s ease;
@@ -124,7 +124,7 @@
}
i {
font-size: 0.875rem;
font-size: var(--app-text-sm);
}
}
@@ -135,17 +135,17 @@
min-width: 150px;
.week-label {
font-size: 1.125rem;
font-size: var(--app-text-lg);
font-weight: 600;
color: var(--color-text);
white-space: nowrap;
}
.week-dates {
font-size: 0.85rem;
font-size: 0.7438rem;
color: var(--text-secondary-color);
white-space: nowrap;
margin-top: 0.25rem;
margin-top: 0.2188rem;
}
}
}
@@ -153,13 +153,13 @@
.timeline-content {
position: relative;
width: 100%;
padding: 1rem;
padding: 0.875rem;
overflow: visible;
}
.hour-markers {
display: flex;
margin-bottom: 0.5rem;
margin-bottom: 0.4375rem;
.day-label-spacer {
width: 100px;
@@ -186,7 +186,7 @@
.hour-label {
display: none;
font-size: 0.75rem;
font-size: var(--app-text-xs);
color: var(--color-text-secondary);
position: absolute;
left: 0;
@@ -212,10 +212,10 @@
flex-shrink: 0;
display: flex;
align-items: center;
font-size: 0.875rem;
font-size: var(--app-text-sm);
font-weight: 500;
color: var(--color-text);
padding-right: 1rem;
padding-right: 0.875rem;
}
.timeline-track {
@@ -343,7 +343,7 @@
height: 100%;
padding: 4px 8px;
color: white;
font-size: 0.7rem;
font-size: 0.6125rem;
font-weight: 500;
text-align: center;
gap: 2px;
@@ -358,7 +358,7 @@
}
.session-duration {
font-size: 0.65rem;
font-size: 0.5687rem;
opacity: 0.9;
white-space: nowrap;
line-height: 1;
@@ -389,8 +389,8 @@
.session-tooltip-content {
display: flex;
gap: 1rem;
padding: 0.75rem;
gap: 0.875rem;
padding: 0.6563rem;
}
.session-tooltip-cover {
@@ -417,11 +417,11 @@
.session-tooltip-header {
display: flex;
align-items: center;
gap: 0.75rem;
margin-bottom: 0.75rem;
gap: 0.6563rem;
margin-bottom: 0.6563rem;
i {
font-size: 1.1rem;
font-size: 0.9625rem;
color: rgb(239 68 68 / 100%);
}
}
@@ -429,7 +429,7 @@
.session-tooltip-title {
color: #fff;
font-weight: 600;
font-size: 0.95rem;
font-size: 0.8313rem;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
@@ -441,24 +441,24 @@
transparent 0%,
rgb(255 255 255 / 10%) 50%,
transparent 100%);
margin-bottom: 0.75rem;
margin-bottom: 0.6563rem;
}
.session-tooltip-body {
display: flex;
flex-direction: column;
gap: 0.625rem;
gap: 0.5469rem;
}
.session-tooltip-row {
display: grid;
grid-template-columns: auto auto 1fr;
align-items: center;
gap: 0.625rem;
font-size: 0.875rem;
gap: 0.5469rem;
font-size: var(--app-text-sm);
i {
font-size: 0.875rem;
font-size: var(--app-text-sm);
color: rgb(255 255 255 / 60%);
width: 16px;
text-align: center;
@@ -478,7 +478,7 @@
}
.timeline-title-icon {
font-size: 1.5rem;
font-size: 1.3125rem;
color: rgb(239 68 68 / 100%);
vertical-align: middle;
margin-right: 0.25em;
@@ -487,7 +487,7 @@
@media (width <= 1024px) {
.timeline-header {
grid-template-columns: 1fr;
gap: 0.75rem;
gap: 0.6563rem;
.header-title {
grid-column: 1;
@@ -504,7 +504,7 @@
justify-self: stretch;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0.5rem;
gap: 0.4375rem;
::ng-deep p-select {
width: 100%;
@@ -521,34 +521,34 @@
.timeline-header {
.header-title {
h3 {
font-size: 1.1rem;
font-size: 0.9625rem;
}
.timeline-subtitle {
font-size: 0.85rem;
font-size: 0.7438rem;
}
}
.week-info {
padding: 0.6rem;
padding: 0.525rem;
.week-display {
min-width: 100px;
.week-label {
font-size: 0.9rem;
font-size: 0.7875rem;
}
.week-dates {
font-size: 0.7rem;
font-size: 0.6125rem;
}
}
.week-nav-btn {
padding: 0.35rem 0.5rem;
padding: 0.3063rem 0.4375rem;
i {
font-size: 0.8rem;
font-size: 0.7rem;
}
}
}
@@ -556,14 +556,14 @@
.timeline-content {
min-height: 300px;
padding: 0.75rem;
padding: 0.6563rem;
}
.timeline-row {
.day-label {
width: 70px;
font-size: 0.75rem;
padding-right: 0.5rem;
font-size: var(--app-text-xs);
padding-right: 0.4375rem;
}
}
@@ -575,13 +575,13 @@
.hour-marker {
.hour-label {
font-size: 0.6rem;
font-size: 0.525rem;
}
}
.session-block {
.session-content {
font-size: 0.65rem;
font-size: 0.5687rem;
.session-duration {
display: none;
@@ -592,23 +592,23 @@
.session-tooltip {
min-width: 240px;
max-width: 280px;
font-size: 0.85rem;
font-size: 0.7438rem;
.tooltip-header {
padding: 0.75rem;
padding: 0.6563rem;
.tooltip-title {
font-size: 0.875rem;
font-size: var(--app-text-sm);
}
}
.tooltip-body {
padding: 0.75rem;
padding: 0.6563rem;
}
.tooltip-row {
font-size: 0.8rem;
gap: 0.5rem;
font-size: 0.7rem;
gap: 0.4375rem;
}
}
}
@@ -617,11 +617,11 @@
.timeline-header {
.header-title {
h3 {
font-size: 1rem;
font-size: var(--app-text-base);
}
.timeline-subtitle {
font-size: 0.8rem;
font-size: 0.7rem;
}
}
@@ -634,11 +634,11 @@
min-width: 90px;
.week-label {
font-size: 0.85rem;
font-size: 0.7438rem;
}
.week-dates {
font-size: 0.65rem;
font-size: 0.5687rem;
}
}
}
@@ -6,24 +6,24 @@
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 0.5rem;
margin-bottom: 0.4375rem;
.chart-title {
flex: 1;
h3 {
color: var(--text-color, #fff);
font-size: 1.25rem;
font-size: 1.0938rem;
font-weight: 500;
margin: 0 0 0.5rem;
margin: 0 0 0.4375rem;
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
}
.chart-description {
color: var(--text-secondary-color);
font-size: 0.9rem;
font-size: 0.7875rem;
margin: 0;
line-height: 1.4;
}
@@ -31,14 +31,14 @@
}
.reading-survival-icon {
font-size: 1.5rem;
font-size: 1.3125rem;
color: #e91e63;
}
.stats-row {
display: flex;
gap: 0.75rem;
margin-bottom: 1rem;
gap: 0.6563rem;
margin-bottom: 0.875rem;
flex-wrap: wrap;
.stat-card {
@@ -48,28 +48,28 @@
background: color-mix(in srgb, var(--color-text) 5%, transparent);
border: 1px solid var(--color-border);
border-radius: 8px;
padding: 0.5rem 1rem;
padding: 0.4375rem 0.875rem;
flex: 1;
min-width: 80px;
.stat-value {
font-size: 1.5rem;
font-size: 1.3125rem;
font-weight: 600;
color: #e91e63;
}
.stat-subtitle {
font-size: 0.75rem;
font-size: var(--app-text-xs);
color: var(--text-secondary-color);
text-align: center;
}
.stat-label {
font-size: 0.75rem;
font-size: var(--app-text-xs);
color: var(--text-secondary-color);
text-transform: uppercase;
letter-spacing: 0.5px;
margin-top: 0.25rem;
margin-top: 0.2188rem;
}
&.danger .stat-value {
@@ -93,24 +93,24 @@
flex-direction: column;
align-items: center;
justify-content: center;
padding: 3rem;
padding: 2.625rem;
text-align: center;
color: var(--text-secondary-color);
i {
font-size: 2.5rem;
margin-bottom: 1rem;
font-size: 2.1875rem;
margin-bottom: 0.875rem;
opacity: 0.5;
}
p {
font-size: 1rem;
margin: 0 0 0.5rem;
font-size: var(--app-text-base);
margin: 0 0 0.4375rem;
color: var(--text-color, #fff);
}
small {
font-size: 0.85rem;
font-size: 0.7438rem;
opacity: 0.7;
}
}
@@ -127,17 +127,17 @@
@media (width <= 480px) {
.chart-header .chart-title h3 {
font-size: 1rem;
font-size: var(--app-text-base);
}
.stats-row {
gap: 0.5rem;
gap: 0.4375rem;
.stat-card {
padding: 0.4rem 0.5rem;
padding: 0.35rem 0.4375rem;
.stat-value {
font-size: 1.2rem;
font-size: 1.05rem;
}
}
}
@@ -8,9 +8,9 @@
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 1rem;
margin-bottom: 0.875rem;
flex-wrap: wrap;
gap: 0.75rem;
gap: 0.6563rem;
.chart-title {
flex: 1;
@@ -18,17 +18,17 @@
h3 {
color: var(--color-text);
font-size: 1.25rem;
font-size: 1.0938rem;
font-weight: 500;
margin: 0 0 0.5rem;
margin: 0 0 0.4375rem;
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
}
.chart-description {
color: var(--color-text-secondary);
font-size: 0.9rem;
font-size: 0.7875rem;
margin: 0;
line-height: 1.4;
}
@@ -36,19 +36,19 @@
.series-summary {
display: flex;
gap: 0.5rem;
gap: 0.4375rem;
.summary-item {
display: flex;
align-items: center;
gap: 0.35rem;
padding: 0.35rem 0.6rem;
gap: 0.3063rem;
padding: 0.3063rem 0.525rem;
border-radius: 16px;
font-size: 0.8rem;
font-size: 0.7rem;
font-weight: 600;
i {
font-size: 0.75rem;
font-size: var(--app-text-xs);
}
&.completed {
@@ -75,32 +75,32 @@
}
.series-icon {
font-size: 1.5rem;
font-size: 1.3125rem;
color: var(--color-violet-700);
}
.stats-row {
display: flex;
gap: 0.75rem;
margin-bottom: 1rem;
gap: 0.6563rem;
margin-bottom: 0.875rem;
flex-wrap: wrap;
.stat-pill {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 0.85rem;
gap: 0.4375rem;
padding: 0.4375rem 0.7438rem;
@include chart-shared.neutral-surface(20px);
.pill-value {
font-size: 1rem;
font-size: var(--app-text-base);
font-weight: 600;
color: var(--color-text);
}
.pill-label {
font-size: 0.75rem;
font-size: var(--app-text-xs);
color: var(--color-text-secondary);
}
@@ -119,7 +119,7 @@
.chart-wrapper {
height: 300px;
width: 100%;
margin-bottom: 1rem;
margin-bottom: 0.875rem;
}
.series-details {
@@ -127,19 +127,19 @@
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.75rem;
margin-bottom: 0.6563rem;
h4 {
color: var(--color-text);
font-size: 0.95rem;
font-size: 0.8313rem;
font-weight: 500;
margin: 0;
}
.series-count {
font-size: 0.75rem;
font-size: var(--app-text-xs);
color: var(--color-text-secondary);
padding: 0.25rem 0.5rem;
padding: 0.2188rem 0.4375rem;
@include chart-shared.neutral-surface(4px);
}
@@ -147,8 +147,8 @@
.controls-row {
display: flex;
gap: 0.75rem;
margin-bottom: 0.75rem;
gap: 0.6563rem;
margin-bottom: 0.6563rem;
flex-wrap: wrap;
.search-box {
@@ -157,14 +157,14 @@
max-width: 250px;
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.4rem 0.65rem;
gap: 0.4375rem;
padding: 0.35rem 0.5687rem;
@include chart-shared.neutral-surface(6px);
i {
color: var(--color-text-secondary);
font-size: 0.8rem;
font-size: 0.7rem;
}
input {
@@ -173,7 +173,7 @@
border: none;
outline: none;
color: var(--color-text);
font-size: 0.8rem;
font-size: 0.7rem;
font-family: inherit;
&::placeholder {
@@ -184,13 +184,13 @@
.filter-controls {
display: flex;
gap: 0.5rem;
gap: 0.4375rem;
.filter-select,
.sort-select {
padding: 0.4rem 0.5rem;
padding: 0.35rem 0.4375rem;
color: var(--color-text);
font-size: 0.75rem;
font-size: var(--app-text-xs);
font-family: inherit;
cursor: pointer;
outline: none;
@@ -216,7 +216,7 @@
.series-list {
display: flex;
flex-direction: column;
gap: 0.4rem;
gap: 0.35rem;
max-height: 360px;
overflow-y: auto;
@@ -224,10 +224,10 @@
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 1.5rem;
gap: 0.4375rem;
padding: 1.3125rem;
color: var(--color-text-secondary);
font-size: 0.85rem;
font-size: 0.7438rem;
i {
opacity: 0.5;
@@ -239,9 +239,9 @@
display: flex;
align-items: center;
justify-content: center;
gap: 0.75rem;
margin-top: 0.75rem;
padding-top: 0.75rem;
gap: 0.6563rem;
margin-top: 0.6563rem;
padding-top: 0.6563rem;
border-top: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent);
.page-btn {
@@ -257,7 +257,7 @@
@include chart-shared.neutral-surface(6px);
i {
font-size: 0.7rem;
font-size: 0.6125rem;
}
&:hover:not(:disabled) {
@@ -272,7 +272,7 @@
}
.page-info {
font-size: 0.75rem;
font-size: var(--app-text-xs);
color: var(--color-text-secondary);
min-width: 80px;
text-align: center;
@@ -280,7 +280,7 @@
}
.series-card {
padding: 0.5rem 0.75rem;
padding: 0.4375rem 0.6563rem;
@include chart-shared.neutral-surface;
@@ -305,12 +305,12 @@
.series-main {
display: flex;
align-items: flex-start;
gap: 0.5rem;
margin-bottom: 0.35rem;
gap: 0.4375rem;
margin-bottom: 0.3063rem;
.series-status-icon {
font-size: 0.9rem;
margin-top: 0.1rem;
font-size: 0.7875rem;
margin-top: 0.0875rem;
}
.series-info {
@@ -319,7 +319,7 @@
.series-name {
display: block;
font-size: 0.9rem;
font-size: 0.7875rem;
font-weight: 500;
color: var(--color-text);
white-space: nowrap;
@@ -330,11 +330,11 @@
.series-meta {
display: flex;
align-items: center;
gap: 0.75rem;
margin-top: 0.2rem;
gap: 0.6563rem;
margin-top: 0.175rem;
.books-count {
font-size: 0.75rem;
font-size: var(--app-text-xs);
color: var(--color-text-secondary);
.total-hint {
@@ -345,12 +345,12 @@
.rating {
display: flex;
align-items: center;
gap: 0.2rem;
font-size: 0.75rem;
gap: 0.175rem;
font-size: var(--app-text-xs);
color: var(--color-amber-500);
i {
font-size: 0.65rem;
font-size: 0.5687rem;
}
}
}
@@ -360,7 +360,7 @@
.series-progress {
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
.progress-bar-container {
flex: 1;
@@ -389,7 +389,7 @@
}
.progress-text {
font-size: 0.75rem;
font-size: var(--app-text-xs);
font-weight: 600;
color: var(--color-text);
min-width: 32px;
@@ -398,14 +398,14 @@
}
.next-up {
margin-top: 0.35rem;
padding-top: 0.3rem;
margin-top: 0.3063rem;
padding-top: 0.2625rem;
border-top: 1px dashed color-mix(in srgb, var(--color-border) 70%, transparent);
font-size: 0.7rem;
font-size: 0.6125rem;
.next-label {
color: var(--color-text-secondary);
margin-right: 0.35rem;
margin-right: 0.3063rem;
}
.next-title {
@@ -421,24 +421,24 @@
flex-direction: column;
align-items: center;
justify-content: center;
padding: 2.5rem;
padding: 2.1875rem;
text-align: center;
color: var(--color-text-secondary);
i {
font-size: 2rem;
margin-bottom: 0.75rem;
font-size: 1.75rem;
margin-bottom: 0.6563rem;
opacity: 0.5;
}
p {
font-size: 0.95rem;
margin: 0 0 0.35rem;
font-size: 0.8313rem;
margin: 0 0 0.3063rem;
color: var(--color-text);
}
small {
font-size: 0.8rem;
font-size: 0.7rem;
opacity: 0.7;
}
}
@@ -487,46 +487,46 @@
.chart-header {
.chart-title {
h3 {
font-size: 1.05rem;
font-size: 0.9187rem;
}
.chart-description {
font-size: 0.8rem;
font-size: 0.7rem;
}
}
.series-summary {
.summary-item {
padding: 0.25rem 0.5rem;
font-size: 0.75rem;
padding: 0.2188rem 0.4375rem;
font-size: var(--app-text-xs);
}
}
}
.stats-row {
gap: 0.5rem;
gap: 0.4375rem;
.stat-pill {
padding: 0.4rem 0.6rem;
padding: 0.35rem 0.525rem;
.pill-value {
font-size: 0.9rem;
font-size: 0.7875rem;
}
.pill-label {
font-size: 0.7rem;
font-size: 0.6125rem;
}
}
}
.series-details {
.series-card {
padding: 0.5rem 0.65rem;
padding: 0.4375rem 0.5687rem;
.series-main {
.series-info {
.series-name {
font-size: 0.85rem;
font-size: 0.7438rem;
}
}
}
@@ -6,36 +6,36 @@
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 0.5rem;
margin-bottom: 0.4375rem;
.chart-title {
flex: 1;
h3 {
display: flex;
gap: 0.5rem;
gap: 0.4375rem;
align-items: center;
margin: 0 0 0.5rem;
margin: 0 0 0.4375rem;
color: var(--text-color, #fff);
font-size: 1.25rem;
font-size: 1.0938rem;
font-weight: 500;
}
.chart-description {
margin: 0;
color: var(--text-secondary-color);
font-size: 0.9rem;
font-size: 0.7875rem;
line-height: 1.4;
}
}
.year-nav {
display: flex;
gap: 0.5rem;
gap: 0.4375rem;
align-items: center;
.nav-btn {
padding: 0.3rem 0.5rem;
padding: 0.2625rem 0.4375rem;
border: 1px solid var(--color-border);
border-radius: 6px;
background: color-mix(in srgb, var(--color-text) 5%, transparent);
@@ -51,7 +51,7 @@
.year-label {
min-width: 50px;
color: var(--text-color, #fff);
font-size: 1.1rem;
font-size: 0.9625rem;
font-weight: 600;
text-align: center;
}
@@ -60,14 +60,14 @@
.session-archetypes-icon {
color: #ff9800;
font-size: 1.5rem;
font-size: 1.3125rem;
}
.stats-row {
display: flex;
gap: 0.75rem;
gap: 0.6563rem;
flex-wrap: wrap;
margin-bottom: 1rem;
margin-bottom: 0.875rem;
.stat-card {
display: flex;
@@ -75,21 +75,21 @@
flex-direction: column;
align-items: center;
min-width: 80px;
padding: 0.5rem 1rem;
padding: 0.4375rem 0.875rem;
border: 1px solid var(--color-border);
border-radius: 8px;
background: color-mix(in srgb, var(--color-text) 5%, transparent);
.stat-value {
color: var(--text-color, #fff);
font-size: 1.5rem;
font-size: 1.3125rem;
font-weight: 600;
}
.stat-label {
margin-top: 0.25rem;
margin-top: 0.2188rem;
color: var(--text-secondary-color);
font-size: 0.75rem;
font-size: var(--app-text-xs);
letter-spacing: 0.5px;
text-transform: uppercase;
}
@@ -100,7 +100,7 @@
&.archetype .stat-value {
color: #42a5f5;
font-size: 1.1rem;
font-size: 0.9625rem;
}
}
}
@@ -116,25 +116,25 @@
flex-direction: column;
align-items: center;
justify-content: center;
padding: 3rem;
padding: 2.625rem;
color: var(--text-secondary-color);
text-align: center;
i {
margin-bottom: 1rem;
margin-bottom: 0.875rem;
opacity: 0.5;
font-size: 2.5rem;
font-size: 2.1875rem;
}
p {
margin: 0 0 0.5rem;
margin: 0 0 0.4375rem;
color: var(--text-color, #fff);
font-size: 1rem;
font-size: var(--app-text-base);
}
small {
opacity: 0.7;
font-size: 0.85rem;
font-size: 0.7438rem;
}
}
@@ -146,6 +146,6 @@
@media (width <= 480px) {
.chart-header .chart-title h3 {
font-size: 1rem;
font-size: var(--app-text-base);
}
}
@@ -2,7 +2,7 @@
max-width: 1800px;
margin: 0 auto;
box-sizing: border-box;
padding: 0.5rem;
padding: 0.4375rem;
height: 100%;
overflow-y: auto;
}
@@ -10,11 +10,11 @@
.header-section {
background: var(--color-card);
border-radius: 12px;
padding: 1rem;
padding: 0.875rem;
backdrop-filter: blur(10px);
border: 1px solid var(--p-content-border-color);
box-shadow: 0 4px 6px rgb(0 0 0 / 10%);
margin-bottom: 2rem;
margin-bottom: 1.75rem;
transition: all 0.3s ease;
&:hover {
@@ -26,26 +26,26 @@
display: flex;
justify-content: center;
align-items: center;
gap: 2rem;
gap: 1.75rem;
position: relative;
}
.greeting {
display: flex;
align-items: center;
gap: 0.75rem;
gap: 0.6563rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
i {
font-size: 1.5rem;
font-size: 1.3125rem;
color: var(--color-primary);
}
h2 {
color: var(--color-text);
font-size: 1.5rem;
font-size: 1.3125rem;
font-weight: 600;
margin: 0;
white-space: nowrap;
@@ -60,21 +60,21 @@
.config-header {
display: flex;
justify-content: flex-end;
margin-bottom: 1rem;
margin-bottom: 0.875rem;
}
.config-toggle-btn {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1.25rem;
gap: 0.4375rem;
padding: 0.6563rem 1.0938rem;
background: var(--color-card);
border: 1px solid var(--p-content-border-color);
border-radius: 8px;
color: var(--color-text);
cursor: pointer;
transition: all 0.3s ease;
font-size: 0.9rem;
font-size: 0.7875rem;
white-space: nowrap;
&:hover {
@@ -84,7 +84,7 @@
}
i {
font-size: 1rem;
font-size: var(--app-text-base);
}
}
@@ -96,14 +96,14 @@
.p-dialog-content {
background: var(--color-card);
padding: 1.5rem;
padding: 1.3125rem;
}
.p-dialog-footer {
border-top: 1px solid var(--p-content-border-color);
padding: 1rem 1.5rem;
padding: 0.875rem 1.3125rem;
display: flex;
gap: 0.75rem;
gap: 0.6563rem;
justify-content: flex-end;
.reset-btn {
@@ -114,7 +114,7 @@
.show-all-btn {
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
}
}
}
@@ -123,14 +123,14 @@
.config-list {
display: flex;
flex-direction: column;
gap: 0.75rem;
gap: 0.6563rem;
}
.config-item {
display: flex;
align-items: center;
gap: 1rem;
padding: 0.5rem 1.25rem;
gap: 0.875rem;
padding: 0.4375rem 1.0938rem;
background: var(--color-page);
border: 1px solid var(--p-content-border-color);
border-radius: 8px;
@@ -156,11 +156,11 @@
.chart-title {
flex: 1;
color: var(--color-text);
font-size: 0.95rem;
font-size: 0.8313rem;
}
.visibility-toggle {
padding: 0.5rem;
padding: 0.4375rem;
background: transparent;
border: 1px solid var(--p-content-border-color);
border-radius: 6px;
@@ -191,14 +191,14 @@
.charts-container {
display: grid;
grid-template-columns: repeat(12, 1fr);
gap: 1.5rem;
gap: 1.3125rem;
overflow: visible;
}
.chart-card {
background: var(--color-card);
border-radius: 12px;
padding: 1.5rem;
padding: 1.3125rem;
backdrop-filter: blur(10px);
border: 1px solid var(--p-content-border-color);
box-shadow: 0 4px 6px rgb(0 0 0 / 10%);
@@ -217,9 +217,9 @@
.chart-drag-handle {
position: absolute;
top: 0.5rem;
right: 0.5rem;
padding: 0.5rem;
top: 0.4375rem;
right: 0.4375rem;
padding: 0.4375rem;
background: rgb(0 0 0 / 30%);
border-radius: 6px;
cursor: grab;
@@ -333,17 +333,17 @@
@media (width <= 768px) {
.user-stats-container {
padding: 1rem;
padding: 0.875rem;
}
::ng-deep .config-dialog {
.p-dialog-content {
padding: 1rem;
padding: 0.875rem;
}
.p-dialog-footer {
flex-direction: column;
gap: 0.5rem;
gap: 0.4375rem;
.reset-btn {
margin-right: 0;
@@ -357,12 +357,12 @@
}
.config-panel {
padding: 1rem;
padding: 0.875rem;
.config-panel-header {
flex-direction: column;
align-items: flex-start;
gap: 1rem;
gap: 0.875rem;
.reset-btn {
width: 100%;
@@ -372,11 +372,11 @@
}
.header-section {
padding: 1rem;
padding: 0.875rem;
.header-content {
flex-direction: column;
gap: 1rem;
gap: 0.875rem;
position: static;
}
@@ -385,11 +385,11 @@
transform: none;
i {
font-size: 1.25rem;
font-size: 1.0938rem;
}
h2 {
font-size: 1.25rem;
font-size: 1.0938rem;
white-space: normal;
}
}
@@ -407,11 +407,11 @@
.charts-container {
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
gap: 0.875rem;
}
.chart-card {
padding: 1rem;
padding: 0.875rem;
.chart-drag-handle {
opacity: 1;
@@ -436,35 +436,35 @@
@media (width <= 480px) {
.user-stats-container {
padding: 0.75rem;
padding: 0.6563rem;
}
.config-toggle-btn {
padding: 0.5rem 0.75rem;
padding: 0.4375rem 0.6563rem;
}
::ng-deep .config-dialog {
.p-dialog-content {
padding: 0.75rem;
padding: 0.6563rem;
}
}
.config-panel {
padding: 0.75rem;
padding: 0.6563rem;
}
.header-section {
padding: 0.75rem;
padding: 0.6563rem;
.greeting {
gap: 0.5rem;
gap: 0.4375rem;
i {
font-size: 1rem;
font-size: var(--app-text-base);
}
h2 {
font-size: 1rem;
font-size: var(--app-text-base);
white-space: normal;
}
}
@@ -472,11 +472,11 @@
.charts-container {
grid-template-columns: 1fr;
gap: 0.75rem;
gap: 0.6563rem;
}
.chart-card {
padding: 0.75rem;
padding: 0.6563rem;
&.chart-small-square,
&.chart-small,