Files
Aislo/ui_template/ui_template_card.css
T
eomsangdonandClaude Opus 5.5 7e584c1e7b feat(ui-kit): 묶음 부품 열 — 카드 · 접이 카드 · 빈 상태 · 알림 · 띠 알림 · 숫자 카드 · 값 목록 · 진행 막대 · 작은 그래프 · 범례 (PLAN 552-3)
- 새 부품 파일: 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>
2026-10-26 21:28:29 +09:00

69 lines
1.7 KiB
CSS

/* 카드(552-3) — 바탕 모양 `.ui-card` 는 ui_template_elements_styles.ts · 여기는 여백 단 · 머리 카드 · 고르는 카드 */
.ui-card[data-pad="12"] {
padding: var(--spacing-12);
}
.ui-card[data-pad="16"] {
padding: var(--spacing-16);
}
/* 머리 카드 — 제목 줄 + 오른쪽 조각 · 아래 선 */
.ui-card__head {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--spacing-8);
margin-bottom: var(--spacing-12);
padding-bottom: var(--spacing-8);
border-bottom: 1px solid var(--color-border);
}
.ui-card__head > .ui-card__title {
margin: 0;
font-size: var(--text-body-sm);
font-weight: 600;
}
.ui-card__actions {
display: flex;
flex: none;
white-space: nowrap;
align-items: center;
gap: var(--spacing-8);
}
/* 고르는 카드 — 큰 단추 꼴 */
.ui-card.ui-card--select {
display: flex;
flex-direction: column;
align-items: stretch;
gap: var(--spacing-4);
width: 100%;
color: inherit;
font: inherit;
text-align: left;
cursor: pointer;
transition:
border-color var(--transition-fast),
background-color var(--transition-fast);
}
.ui-card--select > .ui-card__title {
margin: 0;
font-size: var(--text-body-sm);
}
.ui-card--select:is(:hover, [data-state="hover"]):not(:disabled) {
border-color: var(--color-accent);
}
.ui-card--select:is(:active, [data-state="active"]):not(:disabled) {
background-color: var(--color-hover);
}
.ui-card--select:is(.is-active, [aria-pressed="true"]) {
border-color: var(--color-accent);
background-color: var(--color-accent-soft);
}
.ui-card--select:focus-visible {
outline: 2px solid var(--color-focus-ring);
outline-offset: 2px;
}
.ui-card--select:disabled {
opacity: 0.5;
cursor: not-allowed;
}