- 부품 CSS 37 파일: display 를 주는 ui-* 클래스마다 같은 파일에 [hidden] { display: none !important } (공용 기본 꼴 없는 곳 · 페이지 꾸밈 위에서도) · 옛 숨김 규칙 일곱 파일 !important 로 · 접이 카드 머리는 collapsible.css
- 모달 머리: 제목 한 줄 말줄임(전체 글 = title) · [닫기] · 머리 단추 flex: none · nowrap
- 부품 모음 모달 견본에 긴 제목 24rem 한 칸
- 지킴 시험 test_552_6_part_fixes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
76 lines
1.8 KiB
CSS
76 lines
1.8 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);
|
|
}
|
|
|
|
/* 숨김 — display 가 [hidden] 을 덮지 않게(공용 기본 꼴이 안 실린 곳 · 페이지 꾸밈 위에서도) */
|
|
:is(.ui-stat, .ui-stat-grid, .ui-stat__fill)[hidden] {
|
|
display: none !important;
|
|
}
|