Files
Aislo/ui_template/ui_template_flow_legend.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

109 lines
2.5 KiB
CSS

/* 도로 유입 강도 색띠 범례 — 지도 우측에 세로로 세운다(B04 2D 지도 · B05 배수유역도 공용). */
.ui-flow-legend {
position: absolute;
z-index: 5;
top: 50%;
right: var(--spacing-12);
display: flex;
align-items: stretch;
padding: var(--spacing-8);
border: 1px solid var(--color-border);
border-radius: var(--radius-cards);
/* 위성사진 위에서도 눈금이 읽히도록 반투명 배경 + 블러를 깐다. */
background: color-mix(in srgb, var(--color-surface-raised) 82%, transparent);
backdrop-filter: blur(3px);
gap: var(--spacing-8);
pointer-events: none;
transform: translateY(-50%);
}
.ui-flow-legend[hidden] {
display: none;
}
/* 색띠 자체 — 아래가 적음(파랑), 위가 많음(빨강). */
.ui-flow-legend__bar {
width: 12px;
height: 140px;
flex: 0 0 auto;
border: 1px solid var(--color-border);
border-radius: 3px;
}
.ui-flow-legend__ticks {
display: flex;
flex-direction: column;
justify-content: space-between;
color: var(--color-text-body);
font-size: 10px;
line-height: 1;
white-space: nowrap;
}
.ui-flow-legend__title {
color: var(--color-text-body);
font-size: 10px;
font-weight: 600;
/* 세로 막대 옆에 세로쓰기로 붙여 폭을 아낀다. */
writing-mode: vertical-rl;
text-orientation: mixed;
}
/* 범례(552-3) — 색 칩 · 선 · 점선 · 점 · 꺼짐 */
.ui-legend {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: var(--spacing-4) var(--spacing-12);
color: var(--color-text-secondary);
font-size: var(--text-caption);
}
.ui-legend--vertical {
flex-direction: column;
align-items: flex-start;
}
.ui-legend__item {
display: inline-flex;
align-items: center;
gap: var(--spacing-4);
padding: 0;
border: 0;
background: none;
color: inherit;
font: inherit;
white-space: nowrap;
}
button.ui-legend__item {
cursor: pointer;
}
button.ui-legend__item:is(:hover, [data-state="hover"]) {
color: var(--color-text);
}
.ui-legend__item:is(.is-off, [data-state="off"]) {
opacity: 0.45;
text-decoration: line-through;
}
.ui-legend__mark {
flex: none;
width: 14px;
height: 10px;
border-radius: 2px;
background: var(--legend-color);
}
.ui-legend__mark--line,
.ui-legend__mark--dash {
height: 0;
border-radius: 0;
background: none;
border-top: 2px solid var(--legend-color);
}
.ui-legend__mark--dash {
border-top-style: dashed;
}
.ui-legend__mark--dot {
width: 8px;
height: 8px;
border-radius: 50%;
}