Files
design-system/src/design-system/primitives/StatCard/StatCard.module.css
hsiegeln 433d0926e6
All checks were successful
Build & Publish / publish (push) Successful in 1m2s
SonarQube Analysis / sonarqube (push) Successful in 2m25s
style: enforce 12px minimum font size across all components
Add --font-size-min: 12px token to tokens.css. Replace all 10px and 11px
font-size declarations with 12px across 54 CSS module files for improved
readability.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 12:13:17 +02:00

63 lines
1.2 KiB
CSS

.card {
background: var(--bg-surface);
border: 1px solid var(--border);
border-radius: var(--radius-md);
box-shadow: var(--shadow-card);
padding: 16px 18px;
overflow: hidden;
}
.accent-amber { border-top: 3px solid var(--amber); }
.accent-success { border-top: 3px solid var(--success); }
.accent-warning { border-top: 3px solid var(--warning); }
.accent-error { border-top: 3px solid var(--error); }
.accent-running { border-top: 3px solid var(--running); }
.header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 6px;
}
.label {
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1.2px;
color: var(--text-muted);
}
.sparkline {
opacity: 0.7;
}
.valueRow {
display: flex;
align-items: baseline;
gap: 8px;
}
.value {
font-family: var(--font-mono);
font-size: 28px;
font-weight: 600;
color: var(--text-primary);
line-height: 1;
}
.trend {
font-size: 12px;
font-weight: 500;
}
.trend.up { color: var(--success); }
.trend.down { color: var(--error); }
.trend.neutral { color: var(--text-muted); }
.detail {
font-size: 12px;
color: var(--text-muted);
margin-top: 6px;
}