- 새 부품 파일: ui_template_card · empty · banner · stat · kv · toast · flow_legend(.ts) · 진행 막대 · 막대 · 원 그래프 덧붙임 - createCard · showToast · 로딩 가림막은 부품 파일로 옮기고 본체(ui_template_elements)가 다시 내보냄 — 부름 꼴 그대로 - 대시보드 emptyState = 빈 상태 부품을 씀(한 벌) · 선 카드 그림자 0 · 가림막 옛 보라 → --color-scrim - 부품 모음 화면 견본(밝음 · 어두움 · 상태) · 지킴 시험 test_552_3_* 열 - 전후 촬영: B01 여덟 화면 자리 · 화소 같음(실시간 CPU 값만 다름) · A01 · B08 카드 그림자만 다름 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
71 lines
1.6 KiB
CSS
71 lines
1.6 KiB
CSS
/* 숫자 카드(552-3) — 대시보드 `.b01-sys-stat` · `.b01-sys-gauge` 꼴 */
|
|
.ui-stat-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
|
|
gap: var(--spacing-12);
|
|
}
|
|
.ui-stat {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--spacing-4);
|
|
padding: var(--spacing-16);
|
|
background: var(--color-surface-raised);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-cards);
|
|
color: var(--color-text);
|
|
}
|
|
.ui-stat--compact {
|
|
padding: var(--spacing-8) var(--spacing-12);
|
|
}
|
|
.ui-stat__label {
|
|
color: var(--color-text-muted);
|
|
font-size: var(--text-caption);
|
|
}
|
|
.ui-stat__value {
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
line-height: 1.2;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.ui-stat__unit {
|
|
margin-left: var(--spacing-4);
|
|
font-size: var(--text-caption);
|
|
font-weight: 400;
|
|
color: var(--color-text-muted);
|
|
}
|
|
.ui-stat__delta {
|
|
font-size: var(--text-caption);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.ui-stat__delta.is-up {
|
|
color: var(--color-success);
|
|
}
|
|
.ui-stat__delta.is-down {
|
|
color: var(--color-danger);
|
|
}
|
|
.ui-stat__bar {
|
|
height: 8px;
|
|
margin-top: var(--spacing-4);
|
|
border-radius: 4px;
|
|
background: var(--color-hover);
|
|
overflow: hidden;
|
|
}
|
|
.ui-stat__fill {
|
|
display: block;
|
|
height: 100%;
|
|
border-radius: 4px;
|
|
background: var(--color-accent);
|
|
}
|
|
.ui-stat.is-warn :is(.ui-stat__value, .ui-stat__unit) {
|
|
color: var(--color-warning);
|
|
}
|
|
.ui-stat.is-warn .ui-stat__fill {
|
|
background: var(--color-warning);
|
|
}
|
|
.ui-stat.is-bad :is(.ui-stat__value, .ui-stat__unit) {
|
|
color: var(--color-danger);
|
|
}
|
|
.ui-stat.is-bad .ui-stat__fill {
|
|
background: var(--color-danger-fill);
|
|
}
|