Files
Aislo/ui_template/ui_template_list_row.css
T
eomsangdonandClaude Opus 5.5 f941ddc3f5 feat(ui-kit): 틀 부품 여섯 — 작업 화면 틀 겉 · 일반 화면 틀 · 공개 화면 틀 · 단계 줄 · 패널 머리 · 목록 줄 (PLAN 552-4)
- 작업 화면 틀(overlay): 왼쪽 패널 = 흰 판 + 1 px 선 · 그림자 없음 · 덮개 = --color-scrim · 손잡이 강조색 그대로 · 자리 · 폭 그대로
- 일반 화면 틀 createPageFrame(대시보드 세부 꼴) · 공개 화면 틀 createPublicFrame(A01 hero · section 꼴)
- 단계 줄 data-size 28 · 40 · 상태 = 공통 값 · 패널 머리 createPanelHead · 목록 줄 createListRow(옛 .ui-sidebar-row 겉 함께)
- 부품 모음: 떠 있는 판 · 서랍 · 도구줄 · 단계 줄 · 패널 머리 · 목록 줄 여섯 줄을 frame 묶음으로 옮김 · 견본 = ui_template_ui_kit_frames.ts
- 지킴 시험 test_552_4_frames.py · B02~B09 · D · E · M02 전후 자리 수치 같음

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 21:28:17 +09:00

117 lines
2.6 KiB
CSS

/* 목록 줄(552-4) — `.ui-sidebar-row` = 옛 이름(M01 · M02 좌측 목록) · 자리 · 크기는 그대로 · 겉만 공통 값
새 줄(`.ui-list-row`)은 data-size 높이 단 · 상태 = :is(:hover, [data-state]) 로 부품 모음이 굳혀 보임 */
.ui-sidebar-row {
display: flex;
justify-content: space-between;
gap: var(--spacing-8);
padding: var(--spacing-4) var(--spacing-8);
border: 0;
border-radius: var(--radius-buttons);
background: transparent;
color: var(--color-text-body);
font: inherit;
font-size: var(--text-body-sm);
text-align: left;
cursor: pointer;
}
.ui-sidebar-row:is(:hover, [data-state="hover"]) {
background: var(--color-hover);
}
.ui-sidebar-row:is(:active, [data-state="active"]) {
background: var(--color-border);
}
.ui-sidebar-row.is-active {
background: var(--color-accent-soft);
color: var(--color-accent);
}
.ui-sidebar-row:is(:disabled, [aria-disabled="true"]) {
background: transparent;
color: var(--color-text-muted);
opacity: 0.5;
cursor: not-allowed;
}
/* 새 줄 — 높이 단 · 글 · 덧붙임 */
.ui-list-row {
box-sizing: border-box;
align-items: center;
width: 100%;
padding-block: 0;
}
.ui-list-row[data-size="28"] {
min-height: 28px;
}
.ui-list-row[data-size="32"] {
min-height: 32px;
}
.ui-list-row[data-size="36"] {
min-height: 36px;
}
.ui-list-row__text {
display: flex;
flex: 1 1 auto;
flex-direction: column;
min-width: 0;
}
.ui-list-row__label,
.ui-list-row__sub {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.ui-list-row__sub {
color: var(--color-text-muted);
font-size: var(--text-caption);
}
.ui-list-row__trailing {
display: inline-flex;
flex: none;
align-items: center;
gap: var(--spacing-4);
color: var(--color-text-secondary);
font-size: var(--text-caption);
}
.ui-list-row__no {
display: inline-grid;
flex: none;
place-items: center;
width: 18px;
height: 18px;
border-radius: var(--radius-pills);
background: var(--color-surface);
color: var(--color-text-secondary);
font-size: var(--text-caption);
}
.ui-list-row.is-active .ui-list-row__no {
background: var(--color-accent);
color: var(--color-primary-text);
}
/* 끌기 손잡이 — 점 여섯(2 × 3) */
.ui-list-row__grip {
flex: none;
width: 8px;
height: 14px;
background: radial-gradient(circle, var(--color-text-muted) 1px, transparent 1.5px) 0 0 / 4px
4.6px;
cursor: grab;
}
.ui-list-row--stripe {
box-shadow: inset 3px 0 0 var(--ui-list-row-stripe, var(--color-border));
border-radius: 0 var(--radius-buttons) var(--radius-buttons) 0;
}