/* ============================================================================= * B05 구조물 서클마크·벌룬 오버레이 스타일. * * 종단 그래프(.b05-profile__chart) 위에 얹는 레이어다. 그래프 자체의 조작(측점선 끌기, * 우클릭 메뉴)을 막지 않도록 레이어는 이벤트를 통과시키고, 마크·벌룬만 이벤트를 받는다. * ========================================================================== */ .b05-structure__layer { position: absolute; inset: 0; pointer-events: none; overflow: visible; z-index: 3; } /* 서클마크 — 배치형태와 무관하게 하나. 구간형은 기점에 찍힌다. */ .b05-structure__mark { position: absolute; transform: translateX(-50%); width: 18px; height: 18px; padding: 0; border-radius: 50%; border: 2px solid currentColor; background: var(--color-surface, #fff); font-size: 10px; font-weight: 700; line-height: 1; cursor: grab; pointer-events: auto; display: flex; align-items: center; justify-content: center; } .b05-structure__mark:hover { filter: brightness(0.92); } .b05-structure__mark.is-selected { border-width: 3px; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 25%, transparent); } .b05-structure__mark:active { cursor: grabbing; } /* 구간 띠 — 고른 동안에만 시~종점을 펼쳐 보여 준다. */ .b05-structure__band { position: absolute; height: 4px; border-radius: 2px; opacity: 0.55; pointer-events: none; } /* 값 벌룬 — 유토곡선 벌룬과 같은 결(테두리 도형 + 여러 줄 텍스트). */ .b05-structure__balloon { position: absolute; transform: translateX(-50%); display: flex; flex-direction: column; gap: 1px; padding: 4px 8px; border: 1.5px solid currentColor; border-radius: 6px; background: var(--color-surface, #fff); box-shadow: 0 2px 6px rgb(0 0 0 / 18%); font-size: 11px; line-height: 1.35; white-space: nowrap; pointer-events: none; z-index: 4; } .b05-structure__balloon strong { font-size: 11.5px; } .b05-structure__balloon-memo { opacity: 0.7; font-style: italic; } /* ── 계곡 통과 시설 편집 폼 (배수유역 패널 하단, 2026-08-17 컨테이너 병합) ── * 관 마커를 고르면 나타난다. 시설 종류(배관/BOX암거/물넘이/세월교)·구간·세월교 * 관 옵션을 받고, 값이 바뀌면 즉시 재계산·정본 경로를 탄다. */ .b05-drainage__facility { display: flex; flex-direction: column; gap: 6px; padding: 8px 10px; border-top: 1px solid var(--border-color, #3a3f4a); } .b05-drainage__facility .b05-route__irregular-row { display: flex; gap: 6px; } .b05-drainage__facility .b05-route__field { flex: 1; min-width: 0; } /* 측점 입력이 형식에 안 맞을 때(예: "3+18.0"도 숫자도 아님) 칸을 붉힌다. */ .b05-route__field input.is-invalid { border-color: #e05b5b; background: rgba(224, 91, 91, 0.08); } /* 측점번호 + 잔여거리 두 칸 입력(2026-08-17 통합 — 구 비정규 측점 UI와 같은 방식). */ .b05-structure__station-pair { display: flex; gap: 4px; } .b05-structure__station-pair input { flex: 1; min-width: 0; }