Files
Aislo/ui_template/ui_template_flow_legend.css
T
eomsangdonandClaude Opus 5.5 54410dd26a fix(ui-kit): 부품 흠 둘 — 숨김이 부품 display 를 이김 · 모달 머리 [닫기] 한 줄 (PLAN 552-6)
- 부품 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>
2026-10-27 00:07:37 +09:00

114 lines
2.7 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 !important;
}
/* 색띠 자체 — 아래가 적음(파랑), 위가 많음(빨강). */
.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%;
}
/* 숨김 — display 가 [hidden] 을 덮지 않게(공용 기본 꼴이 안 실린 곳 · 페이지 꾸밈 위에서도) */
:is(.ui-flow-legend__ticks, .ui-legend, .ui-legend__item)[hidden] {
display: none !important;
}