auto: 2026-08-17 17:09 (ESD_LAPTOP)

This commit is contained in:
2026-08-17 17:09:05 +09:00
parent 38ea71e15b
commit 3e9be53e7c
15 changed files with 1028 additions and 524 deletions
+110 -23
View File
@@ -5,27 +5,56 @@
* 우클릭 메뉴)을 막지 않도록 레이어는 이벤트를 통과시키고, 마크·벌룬만 이벤트를 받는다.
* ========================================================================== */
.b05-structure__layer {
position: absolute;
inset: 0;
pointer-events: none;
/* 구조물 알약 레인 — 그래프 바로 아래 한 줄(2026-08-17 사용자 지시 1·3·6).
높이는 2행분 고정이고, 겹치지 않으면 알약이 세로 가운데에 놓인다. */
.b05-structure__lane {
position: relative;
overflow: visible;
z-index: 3;
}
/* 서클마크 — 배치형태와 무관하게 하나. 구간형은 기점에 찍힌다. */
/* 레인 왼쪽 Y축 띠 — 그래프 sticky Y축과 같은 폭·같은 배경으로 이어 붙여, 가로
스크롤된 알약이 축 값 영역으로 새 나가지 않게 덮는다(2026-08-17 사용자 지시 2). */
.b05-structure__axis {
position: sticky;
left: 0;
z-index: 5;
width: 0;
height: 0;
}
.b05-structure__axis-inner {
position: absolute;
top: 0;
left: 0;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: flex-end;
padding-right: 6px;
overflow: hidden;
background: var(--color-surface-raised);
border-right: 1px solid var(--color-text-secondary);
color: var(--color-text-secondary);
font-size: 12px;
white-space: nowrap;
pointer-events: none;
}
/* 알약 — 종류를 3자 이하 이름으로 보여 준다. 높이는 구 서클마크와 같은 20px. */
.b05-structure__mark {
position: absolute;
transform: translateX(-50%);
width: 18px;
height: 18px;
padding: 0;
border-radius: 50%;
border: 2px solid currentColor;
height: 24px;
min-width: 24px;
padding: 0 9px;
border-radius: 12px;
border: 1.5px solid currentColor;
background: var(--color-surface, #fff);
font-size: 10px;
font-size: 11px;
font-weight: 700;
line-height: 1;
white-space: nowrap;
cursor: grab;
pointer-events: auto;
display: flex;
@@ -33,6 +62,15 @@
justify-content: center;
}
/* 혼자 있는 알약 — 겹치는 알약보다 30%만 키운다(2026-08-17 사용자 지시 1). */
.b05-structure__mark.is-solo {
height: 31px;
min-width: 31px;
padding: 0 12px;
border-radius: 16px;
font-size: 12px;
}
.b05-structure__mark:hover {
filter: brightness(0.92);
}
@@ -83,29 +121,78 @@
font-style: italic;
}
/* ── 계곡 통과 시설 편집 폼 (배수유역 패널 하단, 2026-08-17 컨테이너 병합) ──
* 관 마커를 고르면 나타난다. 시설 종류(배관/BOX암거/물넘이/세월교)·구간·세월교
* 관 옵션을 받고, 값이 바뀌면 즉시 재계산·정본 경로를 탄다. */
/* ── 계곡 통과 시설 부속 옵션 서브폼 (구조물 배치 폼 안, 2026-08-17 UI 개편) ──
* 배관·BOX암거·세월교·독립 기슭막이의 부속 옵션을 2열 격자로 담는다. */
.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;
/* 2열 기본 격자 — 칸이 셋이면 세 번째가 다음 줄로 흐른다. */
.b05-structure__grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 6px;
/* 사이드 「구조물 배치」 섹션 폭에서는 행이 줄바꿈되며 들어간다(2026-08-17 이동). */
flex-wrap: wrap;
}
.b05-drainage__facility .b05-route__field {
min-width: 96px;
.b05-structure__grid > .b05-route__field {
min-width: 0;
}
.b05-drainage__facility .b05-route__field {
/* 유입구·유출구·날개벽 소그룹 상자. */
.b05-structure__group {
margin: 0;
padding: 6px 8px 8px;
border: 1px solid var(--border-color, #3a3f4a);
border-radius: 6px;
}
.b05-structure__group > legend {
padding: 0 4px;
font-size: 11px;
opacity: 0.8;
}
.b05-structure__group-body {
display: flex;
flex-direction: column;
gap: 6px;
}
/* 구조물 배치 폼 본문 — 기본 2열(측점 행 등 전폭 항목은 아래에서 되돌린다). */
.b05-route__panel-section .b05-route__panel-body > .b05-route__field {
min-width: 0;
}
/* 측점 그룹과 그 아래 옵션 나열을 가르는 선(2026-08-17 사용자 지시 2). */
.b05-structure__divider {
width: 100%;
height: 0;
margin: 2px 0;
border: 0;
border-top: 1px solid var(--color-border, #3a3f4a);
}
/* 시작·기준·종료 측점 = 3행. 한 행은 [라벨][측점][+거리] 가로 배치
* (2026-08-17 사용자 지시 2). */
.b05-structure__position-row {
display: flex;
flex-direction: column;
gap: 6px;
}
.b05-structure__position-row > .b05-route__field {
flex-direction: row;
align-items: center;
gap: 6px;
}
.b05-structure__position-row > .b05-route__field > span {
flex: 0 0 72px;
}
.b05-structure__position-row .b05-structure__station-pair {
flex: 1;
min-width: 0;
}