- 공통 서클 양식을 로딩 스피너(.ui-spinner) 기준으로 통일하고 overlay 옵션 신설 (컨테이너 정중앙 배치를 페이지별 CSS 없이 처리) - B05 3D: 위쪽 18% → 뷰포트 정중앙 (하단 패널에 가려져도 무방) - B04 포인트클라우드 뷰어: setLoading() 신설, render() 시 자동 해제 - B04 지형 뷰어: GLTF/PLY 로더 진행 이벤트로 실제 바이트 진행률 표시 - B04 2D 지도: 도엽 레이어 n/10 진행률 - B05 종단면 그래프: body-wrap으로 감싸 서클 유지, 자료 조회 전후로 토글 - B05 배수유역도: 배경도 → 도엽 레이어 → 세부유역 산정 단계 진행률
1038 lines
27 KiB
CSS
1038 lines
27 KiB
CSS
.b05-route-layout {
|
|
height: calc(100vh - var(--spacing-64));
|
|
height: calc(100dvh - var(--spacing-64));
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.b05-route-layout .ui-workflow-layout__body,
|
|
.b05-route-layout .ui-workflow-layout__main {
|
|
height: 100%;
|
|
min-height: 0;
|
|
}
|
|
|
|
.b05-route-layout .ui-workflow-layout__main {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.b05-route__main {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.b05-route__viewport {
|
|
position: relative;
|
|
width: 100%;
|
|
flex: 1 1 auto;
|
|
height: auto;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
background: var(--color-surface);
|
|
}
|
|
|
|
/* 하단 종단 패널: 그래프 + 12행 도면 테이블을 담기 위해 화면 높이의 60%를 차지한다.
|
|
3D 뷰포트를 밀어내지 않고 그 위를 덮는 오버레이로 띄운다 — 패널을 여닫아도 3D 뷰
|
|
크기가 변하지 않아 카메라 시점과 렌더 비용이 그대로 유지된다.
|
|
접기 핸들로 언제든 내릴 수 있어 3D 뷰를 전체 영역으로 볼 수 있다. */
|
|
.b05-route-profile {
|
|
position: absolute;
|
|
z-index: 3;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
display: flex;
|
|
height: 60vh;
|
|
height: 60dvh;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
overflow: visible;
|
|
border-top: 1px solid var(--color-border);
|
|
background: var(--color-surface-raised);
|
|
transition: height var(--transition-fast);
|
|
}
|
|
|
|
.b05-route-profile.is-collapsed {
|
|
height: 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
/* 종단면 본문 + 우측 배수유역 패널의 2단 가로 배치. */
|
|
.b05-route-profile__content {
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
min-width: 0;
|
|
}
|
|
|
|
/* 그래프 본문 + 로딩 서클을 겹치기 위한 칸. body는 그릴 때마다 자식이 교체된다. */
|
|
.b05-route-profile__body-wrap {
|
|
position: relative;
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
.b05-route-profile__body {
|
|
box-sizing: border-box;
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
overflow-x: scroll;
|
|
overflow-y: hidden;
|
|
/* 좌측 여백을 0으로 둔다. 여백이 있으면 sticky 이름표 열이 그 여백까지 못 덮어,
|
|
가로 스크롤 시 셀 값이 이름표 왼쪽 틈으로 새어 보인다. 우측만 숨 돌릴 여백을 준다. */
|
|
padding-left: 0;
|
|
padding-right: 15px;
|
|
}
|
|
|
|
/* 가로 스크롤바는 전역 pill 스크롤바(테마 `*::-webkit-scrollbar`, 8px)를 그대로 쓴다 —
|
|
좌측 사이드바와 동일한 형태로 통일. (예전엔 이 패널만 12px 두꺼운 막대로 덮어썼다.) */
|
|
|
|
/* 그래프와 테이블을 같은 폭으로 쌓아 X축이 저절로 맞물리게 한다. */
|
|
.b05-profile__canvas {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.b05-profile__chart {
|
|
position: relative;
|
|
flex: 0 0 auto;
|
|
min-height: 0;
|
|
}
|
|
|
|
/* 가로 스크롤에도 고정되는 Y축(표고 눈금). 0크기 sticky 앵커에 축을 절대배치해 레이아웃 불변. */
|
|
.b05-profile__yaxis {
|
|
position: sticky;
|
|
left: 0;
|
|
z-index: 3;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.b05-profile__yaxis-inner {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
box-sizing: border-box;
|
|
/* SVG 배경(b06-chart__bg)과 같은 색으로 스크롤되는 그래프를 가려 값 누출을 막는다. */
|
|
background: var(--color-surface-raised);
|
|
border-right: 1px solid var(--color-text-secondary);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.b05-profile__yaxis-tick {
|
|
position: absolute;
|
|
right: 6px;
|
|
color: var(--color-text-secondary);
|
|
font-size: 10px;
|
|
white-space: nowrap;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.b05-route-profile.is-collapsed .b05-route-profile__body-wrap,
|
|
.b05-route-profile.is-collapsed .b05-route-profile__body,
|
|
.b05-route-profile.is-collapsed .b05-route-profile__balance {
|
|
display: none;
|
|
}
|
|
|
|
.b05-route-profile__empty {
|
|
margin: 0;
|
|
padding: var(--spacing-24);
|
|
color: var(--color-text-muted);
|
|
font-size: var(--text-body-sm);
|
|
}
|
|
|
|
.b05-route-profile .b06-section__chart-wrap {
|
|
height: 100%;
|
|
}
|
|
|
|
/* X·Y축 제목은 아래 도면 테이블이 그대로 담고 있어 중복이라 숨긴다. */
|
|
.b05-route-profile .b06-chart__axis-label {
|
|
display: none;
|
|
}
|
|
|
|
/* 측점 이름(세로선 항목)은 그래프에서도 보여야 어느 측점의 선인지 바로 읽힌다.
|
|
다만 하단 편집 버튼(is-down: bottom 2px, 높이 15px)과 겹치지 않도록 라벨을 살짝
|
|
위로 올려 하단 여백 위쪽에 앉힌다(하단 버튼 밴드와 분리). */
|
|
.b05-route-profile .b06-chart__station-label {
|
|
transform: translateY(-9px);
|
|
}
|
|
|
|
/* 비정규 측점(구조물)은 그래프에서도 파선 세로선으로 구분해 규칙 측점과 헷갈리지 않게 한다. */
|
|
.b05-route-profile .b06-chart__station-line--irregular {
|
|
stroke: var(--color-royal-amethyst, rgb(139 92 246));
|
|
stroke-width: 1.4;
|
|
stroke-dasharray: 5 3;
|
|
}
|
|
|
|
.b05-route__viewport canvas {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
/* 3D 뷰포트 안내 문구 — 우상단 텍스트만(배경·테두리 없음, 회색). 2026-08-01 사용자 지시.
|
|
우측 세로 진행단계 오버레이와 겹치지 않도록 그 폭만큼 안쪽으로 들여 놓는다. */
|
|
.b05-route__viewer-status {
|
|
position: absolute;
|
|
z-index: 2;
|
|
top: var(--spacing-16);
|
|
right: calc(var(--wf-left-panel-width) / 2 + var(--spacing-48));
|
|
left: auto;
|
|
max-width: 420px;
|
|
color: var(--color-text-muted);
|
|
font-size: var(--text-caption);
|
|
text-align: right;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* 뷰셋·표시 토글 버튼 묶음 — 좌상단(2026-08-01 사용자 지시).
|
|
안내 문구가 우상단으로 옮겨져 좌상단이 비었다. */
|
|
.b05-route__view-controls {
|
|
position: absolute;
|
|
z-index: 2;
|
|
top: var(--spacing-16);
|
|
left: var(--spacing-16);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--spacing-8);
|
|
}
|
|
|
|
.b05-route__view-group {
|
|
display: flex;
|
|
gap: var(--spacing-4);
|
|
}
|
|
|
|
.b05-route__view-controls .ui-btn {
|
|
height: 34px;
|
|
padding: 0 var(--spacing-8);
|
|
}
|
|
|
|
.b05-route__view-separator {
|
|
width: 1px;
|
|
height: 24px;
|
|
background: color-mix(in srgb, var(--color-border) 75%, transparent);
|
|
}
|
|
|
|
.b05-route__panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
min-width: 0;
|
|
gap: var(--spacing-16);
|
|
padding-bottom: var(--spacing-24);
|
|
}
|
|
|
|
.b05-route__panel-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
min-width: 0;
|
|
gap: var(--spacing-8);
|
|
padding: calc(var(--spacing-8) + var(--spacing-4));
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-cards);
|
|
background: var(--color-surface-raised);
|
|
}
|
|
|
|
/* 제목 행 클릭 접기/펼치기는 공용 collapsible(ui_template_theme.css)에서 처리한다. */
|
|
.b05-route__panel-section h3 {
|
|
margin: 0;
|
|
color: var(--color-text);
|
|
font-size: var(--text-body-sm);
|
|
}
|
|
|
|
.b05-route__panel-body,
|
|
.b05-route__field,
|
|
.b05-route__metrics {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
gap: var(--spacing-8);
|
|
}
|
|
|
|
.b05-route__contour-row {
|
|
display: flex;
|
|
align-items: end;
|
|
gap: var(--spacing-8);
|
|
}
|
|
|
|
/* 2열 그리드 — 각 열은 항목명(위)+값 입력(아래). '공사 시작점' 등 나란한 입력에 쓴다. */
|
|
.b05-route__field-row {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: var(--spacing-8);
|
|
}
|
|
|
|
.b05-route__contour-row .b05-route__field {
|
|
flex: 1;
|
|
}
|
|
|
|
.b05-route__contour-row .ui-btn {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.b05-route__field,
|
|
.b05-route__check,
|
|
.b05-route__metrics {
|
|
color: var(--color-text-body);
|
|
font-size: var(--text-caption);
|
|
}
|
|
|
|
.b05-route__field input,
|
|
.b05-route__field select,
|
|
.b05-route__panel-section > select,
|
|
.b05-route__textarea {
|
|
width: 100%;
|
|
min-width: 0;
|
|
padding: var(--spacing-8);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-inputs);
|
|
background: var(--color-surface);
|
|
color: var(--color-text-body);
|
|
}
|
|
|
|
/* ─── 비정규 측점(구조물) 섹션 ─────────────────────────────────────────── */
|
|
.b05-route__irregular-row {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: var(--spacing-8);
|
|
}
|
|
|
|
.b05-route__irregular-actions {
|
|
display: flex;
|
|
gap: var(--spacing-8);
|
|
}
|
|
|
|
.b05-route__irregular-btn {
|
|
flex: 1 1 0;
|
|
padding: var(--spacing-8);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-inputs);
|
|
background: var(--color-surface);
|
|
color: var(--color-text-body);
|
|
font-size: var(--text-caption);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.b05-route__irregular-btn.is-primary {
|
|
border-color: color-mix(in srgb, var(--color-royal-amethyst, rgb(109 40 217)) 55%, transparent);
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.b05-route__irregular-btn.is-danger {
|
|
border-color: color-mix(in srgb, var(--color-danger) 50%, transparent);
|
|
color: var(--color-danger);
|
|
}
|
|
|
|
.b05-route__irregular-btn:disabled {
|
|
opacity: 0.45;
|
|
cursor: default;
|
|
}
|
|
|
|
.b05-route__irregular-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--spacing-4);
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.b05-route__irregular-item {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: var(--spacing-8);
|
|
padding: var(--spacing-4) var(--spacing-8);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-inputs);
|
|
background: var(--color-surface);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.b05-route__irregular-item.is-selected {
|
|
border-color: var(--color-royal-amethyst, rgb(109 40 217));
|
|
background: color-mix(in srgb, var(--color-royal-amethyst, rgb(109 40 217)) 12%, transparent);
|
|
}
|
|
|
|
.b05-route__irregular-item strong {
|
|
color: var(--color-text);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.b05-route__irregular-item span {
|
|
overflow: hidden;
|
|
color: var(--color-text-muted);
|
|
font-size: var(--text-caption);
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.b05-route__irregular-empty {
|
|
padding: var(--spacing-4) 0;
|
|
color: var(--color-text-muted);
|
|
font-size: var(--text-caption);
|
|
list-style: none;
|
|
}
|
|
|
|
.b05-route__check {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--spacing-8);
|
|
}
|
|
|
|
.b05-route__button-grid,
|
|
.b05-route__palette {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
min-width: 0;
|
|
gap: var(--spacing-8);
|
|
}
|
|
|
|
.b05-route__chip {
|
|
padding: var(--spacing-8);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-inputs);
|
|
background: var(--color-surface);
|
|
color: var(--color-text-body);
|
|
font-size: var(--text-caption);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.b05-route__chip.is-ep,
|
|
.b05-route__chip.is-fp {
|
|
color: var(--color-danger);
|
|
}
|
|
|
|
.b05-route__chip.is-bp {
|
|
color: var(--color-success);
|
|
}
|
|
|
|
.b05-route__chip.is-cp,
|
|
.b05-route__stale {
|
|
color: var(--color-warning);
|
|
}
|
|
|
|
.b05-route__actions {
|
|
display: flex;
|
|
gap: var(--spacing-8);
|
|
}
|
|
|
|
.b05-route__actions > * {
|
|
flex: 1;
|
|
}
|
|
|
|
.b05-route__stale {
|
|
font-size: var(--text-caption);
|
|
font-weight: var(--font-weight-medium);
|
|
}
|
|
|
|
.b05-route__panel details {
|
|
color: var(--color-text-body);
|
|
font-size: var(--text-caption);
|
|
}
|
|
|
|
/* 계획선 설계 폼 안내문 */
|
|
.b05-route__note {
|
|
margin: 0;
|
|
color: var(--color-text-muted, var(--color-plum-velvet));
|
|
font-size: var(--text-caption);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
/* 종단면도 상단 절·성토 균형 지표 바 */
|
|
.b05-route-profile__balance {
|
|
display: flex;
|
|
flex: 0 0 auto;
|
|
flex-wrap: nowrap;
|
|
gap: var(--spacing-16);
|
|
align-items: center;
|
|
height: 24px;
|
|
padding: 0 var(--spacing-8);
|
|
overflow-x: auto;
|
|
overflow-y: hidden;
|
|
font-size: var(--text-caption);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.b05-route-profile__balance-item {
|
|
display: inline-flex;
|
|
gap: var(--spacing-8);
|
|
align-items: center;
|
|
}
|
|
|
|
.b05-route-profile__balance-item em {
|
|
color: var(--color-text-muted, var(--color-plum-velvet));
|
|
font-style: normal;
|
|
}
|
|
|
|
.b05-route-profile__balance-item.is-cut em {
|
|
color: rgb(220 38 38);
|
|
}
|
|
|
|
.b05-route-profile__balance-item.is-fill em {
|
|
color: rgb(37 99 235);
|
|
}
|
|
|
|
.b05-route-profile__balance-item.is-over,
|
|
.b05-route-profile__balance-item.is-unsaved {
|
|
color: rgb(180 83 9);
|
|
font-weight: var(--font-weight-medium);
|
|
}
|
|
|
|
.b05-route-profile__balance-item.is-edited em {
|
|
color: var(--color-royal-amethyst, rgb(109 40 217));
|
|
}
|
|
|
|
.b05-route-profile__balance-warning {
|
|
overflow: hidden;
|
|
color: rgb(180 83 9);
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.b05-route-profile__balance-reset {
|
|
flex: 0 0 auto;
|
|
padding: 1px var(--spacing-8);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-inputs);
|
|
background: var(--color-surface);
|
|
color: var(--color-text-body);
|
|
font-size: var(--text-caption);
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* ─── 도면 테이블 (구배 ~ 곡선 9행) ───────────────────────────────────────
|
|
셀은 종단면도와 같은 X 매핑으로 절대 배치되어 측점 수직선과 맞물린다.
|
|
행 이름표만 sticky로 좌측에 고정되어 가로 스크롤에도 계속 보인다. */
|
|
.b05-profile-table {
|
|
position: relative;
|
|
display: flex;
|
|
flex: 0 0 auto;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
border-top: 2px solid var(--color-text-muted, var(--color-plum-velvet));
|
|
color: var(--color-text-body);
|
|
/* 행 높이와 셀 폭에 맞춰 렌더러가 계산해 넣는다 (createProfileTable). */
|
|
font-size: var(--b05-table-font, 11px);
|
|
line-height: 1.1;
|
|
user-select: none;
|
|
}
|
|
|
|
/* 12개 행이 테이블 세로를 균등하게 나눠 갖는다 (패널을 키우면 행이 두꺼워진다). */
|
|
.b05-profile-table__row {
|
|
position: relative;
|
|
flex: 1 1 0;
|
|
min-height: 12px;
|
|
border-bottom: 1px solid var(--color-border);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* 구배 / 측점값 / 곡선 묶음의 시작 행은 굵은 선으로 그룹을 구분한다. */
|
|
.b05-profile-table__row.is-group-start {
|
|
border-top: 2px solid var(--color-text-muted, var(--color-plum-velvet));
|
|
}
|
|
|
|
.b05-profile-table__row--grade {
|
|
background: color-mix(in srgb, var(--color-surface) 55%, transparent);
|
|
}
|
|
|
|
.b05-profile-table__row:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
/* 가로 스크롤 시 값들이 이름표 열을 뚫고 보이지 않도록 가장 위 층에 불투명하게 둔다. */
|
|
.b05-profile-table__label {
|
|
position: sticky;
|
|
z-index: 5;
|
|
left: 0;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
box-sizing: border-box;
|
|
width: var(--b05-table-label-width, 60px);
|
|
height: 100%;
|
|
padding-inline: var(--spacing-4);
|
|
border-right: 2px solid var(--color-text-muted, var(--color-plum-velvet));
|
|
background: var(--color-surface-raised);
|
|
color: var(--color-text);
|
|
font-size: var(--b05-table-label-font, inherit);
|
|
font-weight: var(--font-weight-medium);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.b05-profile-table__cell,
|
|
.b05-profile-table__segment,
|
|
.b05-profile-table__curve {
|
|
position: absolute;
|
|
top: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* 측점 값 셀은 측점 수직선을 중심으로 좌우 대칭 배치된다.
|
|
셀 경계(= 이웃 측점과의 중간)에 세로 구분선을 둬 구배 행과 같은 격자를 만든다. */
|
|
.b05-profile-table__cell,
|
|
.b05-profile-table__curve {
|
|
box-sizing: border-box;
|
|
width: var(--b05-table-cell-width, 56px);
|
|
border-left: 1px solid var(--color-border);
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.b05-profile-table__cell:last-child,
|
|
.b05-profile-table__curve:last-child {
|
|
border-right: 1px solid var(--color-border);
|
|
}
|
|
|
|
.b05-profile-table__row.is-cut .b05-profile-table__cell {
|
|
color: rgb(220 38 38);
|
|
}
|
|
|
|
.b05-profile-table__row.is-fill .b05-profile-table__cell {
|
|
color: rgb(37 99 235);
|
|
}
|
|
|
|
.b05-profile-table__row.is-plan .b05-profile-table__cell {
|
|
color: var(--color-royal-amethyst, rgb(109 40 217));
|
|
font-weight: var(--font-weight-medium);
|
|
}
|
|
|
|
/* 구간 블록: 변화점 사이를 빈틈없이 채운다.
|
|
구분선은 변화점(= 생성된 R의 중심, 측점 수직선) 위에 놓이므로 왼쪽 테두리 하나면
|
|
충분하다. 양쪽에 다 주면 맞닿는 자리가 2px로 두꺼워진다. */
|
|
.b05-profile-table__segment {
|
|
box-sizing: border-box;
|
|
border-left: 1px solid var(--color-border);
|
|
}
|
|
|
|
.b05-profile-table__segment:last-child {
|
|
border-right: 1px solid var(--color-border);
|
|
}
|
|
|
|
.b05-profile-table__segment.is-violation {
|
|
background: color-mix(in srgb, rgb(220 38 38) 12%, transparent);
|
|
color: rgb(180 83 9);
|
|
}
|
|
|
|
/* 구배 블록 값. 가로로 안 들어가면 90도 회전해 좁은 블록에도 값을 표기한다. */
|
|
.b05-profile-table__segment-value {
|
|
line-height: 1;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.b05-profile-table__segment-value.is-rotated {
|
|
transform: rotate(-90deg);
|
|
}
|
|
|
|
.b05-profile-table__curve {
|
|
z-index: 2;
|
|
}
|
|
|
|
.b05-profile-table__curve.is-optional {
|
|
opacity: 0.75;
|
|
}
|
|
|
|
.b05-profile-table__curve.is-omitted {
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
.b05-profile-table__radius {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
height: 90%;
|
|
padding: 0 1px;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 2px;
|
|
background: var(--color-surface);
|
|
color: var(--color-text-body);
|
|
font-size: inherit;
|
|
text-align: center;
|
|
}
|
|
|
|
/* 숫자 입력의 상·하 토글(스피너) 제거 — 항상 사용자가 값 직접 입력. */
|
|
.b05-profile-table__no-spin::-webkit-outer-spin-button,
|
|
.b05-profile-table__no-spin::-webkit-inner-spin-button {
|
|
margin: 0;
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
}
|
|
|
|
.b05-profile-table__no-spin {
|
|
-moz-appearance: textfield;
|
|
appearance: textfield;
|
|
}
|
|
|
|
/* ─── 선택된 비정규 측점 값 열 오버레이 (규칙 열과 같은 12행) ──────────────
|
|
세로 점선·구조물 태그 없이, 선택 시에만 값 열을 테이블 위에 겹쳐 보여준다. */
|
|
.b05-profile-table__irregular-col {
|
|
position: absolute;
|
|
/* 값 셀(0)·곡선(2) 위, sticky 행 이름표(5) **아래**로 둔다 — 스크롤로 값 열이 이름표까지 와도
|
|
행 제목이 가려지지 않는다. */
|
|
z-index: 4;
|
|
top: 0;
|
|
bottom: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
box-sizing: border-box;
|
|
border-inline: 1px solid var(--color-royal-amethyst, rgb(109 40 217));
|
|
background: color-mix(
|
|
in srgb,
|
|
var(--color-royal-amethyst, rgb(109 40 217)) 14%,
|
|
var(--color-surface)
|
|
);
|
|
transform: translateX(-50%);
|
|
/* 열 자체는 클릭을 통과시키고, 입력 셀만 pointer-events를 되살린다(작업6). */
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* 비정규(구조물) 측점은 측점 격자와 무관한 위치에 떠서, 이웃 셀을 가린 자리에 뜬다.
|
|
떠 있는 창임이 드러나게 그림자·굵은 테두리로 구분한다(규칙 측점은 격자와 일치해 불필요). */
|
|
.b05-profile-table__irregular-col.is-floating {
|
|
border-inline-width: 2px;
|
|
box-shadow:
|
|
0 0 0 1px var(--color-surface-raised),
|
|
0 4px 12px rgb(0 0 0 / 28%);
|
|
}
|
|
|
|
/* 하이라이트 창이 덮은 자리의 규칙 측점 값 셀 — 값이 잘려 읽을 수 없으므로 숨긴다.
|
|
자리(레이아웃)는 유지해야 세로 구분선 격자가 끊기지 않으므로 visibility로 감춘다. */
|
|
.b05-profile-table__cell.is-covered,
|
|
.b05-profile-table__curve.is-covered {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.b05-profile-table__irregular-col-cell {
|
|
display: flex;
|
|
flex: 1 1 0;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
border-bottom: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent);
|
|
color: var(--color-text);
|
|
font-variant-numeric: tabular-nums;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* 변화점에서 좌/우로 갈린 값: 세로 구분선으로 반씩 나누고 각 반쪽은 폰트를 줄여 셀에 맞춘다. */
|
|
.b05-profile-table__irregular-col-cell.is-split {
|
|
gap: 0;
|
|
}
|
|
|
|
.b05-profile-table__irregular-col-half {
|
|
display: flex;
|
|
flex: 1 1 0;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 0;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
font-size: 0.72em;
|
|
}
|
|
|
|
.b05-profile-table__irregular-col-half:first-child {
|
|
border-right: 1px solid color-mix(in srgb, var(--color-border) 85%, transparent);
|
|
}
|
|
|
|
.b05-profile-table__irregular-col-cell:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.b05-profile-table__irregular-col-cell.is-cut {
|
|
color: rgb(220 38 38);
|
|
}
|
|
|
|
.b05-profile-table__irregular-col-cell.is-fill {
|
|
color: rgb(37 99 235);
|
|
}
|
|
|
|
/* 계획고(is-plan)는 오버레이에서 별도 강조 없이 다른 값과 동일한 스타일을 쓴다(작업 C-2). */
|
|
|
|
/* 값 열의 계획고 직접 입력 셀 — 열은 pointer-events:none이라 입력만 되살린다. */
|
|
.b05-profile-table__irregular-input {
|
|
box-sizing: border-box;
|
|
width: 92%;
|
|
height: 88%;
|
|
padding: 0;
|
|
border: 1px solid var(--color-royal-amethyst, rgb(109 40 217));
|
|
border-radius: 2px;
|
|
background: var(--color-surface);
|
|
color: var(--color-royal-amethyst, rgb(109 40 217));
|
|
font: inherit;
|
|
font-weight: var(--font-weight-medium);
|
|
text-align: center;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
/* ─── 계획고 편집 버튼 (크기 유지·상시 표시·밝은 글자) ───────────────────── */
|
|
.b05-profile-edit {
|
|
position: absolute;
|
|
z-index: 4;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* 상시 보이게 둔다(예전엔 패널 hover 시에만 노출). 크기(18×15)는 유지하고 글자는 밝게. */
|
|
.b05-profile-edit__btn {
|
|
position: absolute;
|
|
width: 18px;
|
|
height: 15px;
|
|
padding: 0;
|
|
border: 1px solid color-mix(in srgb, var(--color-border) 75%, transparent);
|
|
border-radius: 3px;
|
|
background: color-mix(in srgb, var(--color-surface-raised) 80%, transparent);
|
|
color: var(--color-text);
|
|
font-size: 9px;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
opacity: 0.9;
|
|
pointer-events: auto;
|
|
transition:
|
|
opacity var(--transition-fast),
|
|
background var(--transition-fast);
|
|
}
|
|
|
|
.b05-route-profile .b05-profile-edit__btn:hover,
|
|
.b05-route-profile .b05-profile-edit__btn:focus-visible {
|
|
border-color: var(--color-border);
|
|
background: var(--color-surface-raised);
|
|
color: var(--color-text);
|
|
opacity: 1;
|
|
}
|
|
|
|
.b05-profile-edit__btn.is-up {
|
|
top: 2px;
|
|
}
|
|
|
|
.b05-profile-edit__btn.is-down {
|
|
bottom: 2px;
|
|
}
|
|
|
|
/* 구간 시프트 버튼은 측점 버튼과 같은 줄(is-up/is-down)에 놓이고, 겹치는 자리에서만
|
|
렌더러가 좌우로 비켜 배치한다. 구분을 위해 밝은 자수정색으로 표시한다. */
|
|
.b05-profile-edit__btn.is-segment {
|
|
border-color: color-mix(in srgb, var(--color-royal-amethyst, rgb(109 40 217)) 55%, transparent);
|
|
color: color-mix(in srgb, var(--color-royal-amethyst, rgb(139 92 246)) 85%, var(--color-text));
|
|
}
|
|
|
|
.b05-profile-edit__btn.is-reset {
|
|
top: 20px;
|
|
border-color: color-mix(in srgb, var(--color-royal-amethyst, rgb(109 40 217)) 55%, transparent);
|
|
background: var(--color-surface-raised);
|
|
color: color-mix(in srgb, var(--color-royal-amethyst, rgb(139 92 246)) 85%, var(--color-text));
|
|
opacity: 0.95;
|
|
}
|
|
|
|
/* ─── 배수유역도 패널 (하단 종단 패널 안쪽 우측 2단 사이드 패널) ──────────── */
|
|
.b05-drainage {
|
|
position: relative;
|
|
display: flex;
|
|
width: 38%;
|
|
min-width: 320px;
|
|
max-width: 640px;
|
|
flex: 0 0 auto;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
border-left: 1px solid var(--color-border);
|
|
background: var(--color-surface-raised);
|
|
transition: width var(--transition-fast);
|
|
}
|
|
|
|
/* 접으면 폭만 0으로 줄고, 좌측 가장자리 핸들은 남아 다시 펼 수 있다. */
|
|
.b05-drainage.is-collapsed {
|
|
width: 0;
|
|
min-width: 0;
|
|
}
|
|
|
|
.b05-drainage.is-collapsed .b05-drainage__header,
|
|
.b05-drainage.is-collapsed .b05-drainage__viewport {
|
|
display: none;
|
|
}
|
|
|
|
/* 좌측 가장자리 세로 중앙 핸들 — 공용 side 핸들을 패널 왼쪽 밖으로 내보낸다. */
|
|
.b05-drainage .ui-workflow-overlay__handle--side {
|
|
z-index: 2;
|
|
right: auto;
|
|
left: calc(-1 * var(--spacing-24));
|
|
border-right: 0;
|
|
border-radius: var(--radius-buttons) 0 0 var(--radius-buttons);
|
|
}
|
|
|
|
.b05-drainage__header {
|
|
display: flex;
|
|
flex: 0 0 auto;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: var(--spacing-8);
|
|
padding: var(--spacing-8) calc(var(--spacing-8) + var(--spacing-4));
|
|
border-bottom: 1px solid var(--color-border);
|
|
}
|
|
|
|
.b05-drainage__header h3 {
|
|
margin: 0;
|
|
color: var(--color-text);
|
|
font-size: var(--text-body-sm);
|
|
}
|
|
|
|
.b05-drainage__layers {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: var(--spacing-4);
|
|
}
|
|
|
|
/* 표시 토글 버튼 — B04 지도 레이어 버튼(.b04-map__layer-button--gis)과 같은 양식을 쓴다.
|
|
크기(패딩·글자)만 이 패널 기준을 유지한다(2026-08-01 사용자 지시). */
|
|
.b05-drainage__layer-button {
|
|
padding: 2px var(--spacing-8);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-inputs);
|
|
background: var(--color-surface);
|
|
color: var(--color-text-secondary);
|
|
font-size: var(--text-caption);
|
|
opacity: 0.55;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* 켜진 레이어는 그 레이어의 선 색을 테두리·글자·안쪽 링에 그대로 쓴다(지도와 바로 대조). */
|
|
.b05-drainage__layer-button.is-active {
|
|
border-color: var(--b05-layer-color, var(--color-border));
|
|
box-shadow: inset 0 0 0 1px var(--b05-layer-color, transparent);
|
|
color: var(--b05-layer-color, var(--color-text-body));
|
|
opacity: 1;
|
|
}
|
|
|
|
.b05-drainage__viewport {
|
|
position: relative;
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
background: var(--color-surface);
|
|
cursor: grab;
|
|
touch-action: none;
|
|
}
|
|
|
|
.b05-drainage__viewport:active {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.b05-drainage__image,
|
|
.b05-drainage__canvas {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.b05-drainage__image {
|
|
object-fit: contain;
|
|
transform-origin: center;
|
|
user-select: none;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.b05-drainage__canvas {
|
|
pointer-events: none;
|
|
}
|
|
|
|
.b05-drainage__status {
|
|
position: absolute;
|
|
inset: var(--spacing-8) var(--spacing-8) auto var(--spacing-8);
|
|
color: var(--color-text-secondary);
|
|
font-size: var(--text-caption);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.b05-drainage__analyze {
|
|
margin-left: auto;
|
|
padding: 2px var(--spacing-8);
|
|
border: 1px solid
|
|
color-mix(in srgb, var(--color-royal-amethyst, rgb(109 40 217)) 55%, transparent);
|
|
border-radius: var(--radius-inputs);
|
|
background: var(--color-surface);
|
|
color: var(--color-text-body);
|
|
font-size: var(--text-caption);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.b05-drainage__analyze:disabled {
|
|
opacity: 0.45;
|
|
cursor: default;
|
|
}
|
|
|
|
/* 배관 편집 도구 버튼 — "유역 산정" 우측에 나란히(auto 마진 해제). */
|
|
.b05-drainage__tool {
|
|
margin-left: var(--spacing-4, 4px);
|
|
}
|
|
|
|
/* 배관 편집 토글 활성 상태. */
|
|
.b05-drainage__analyze.is-active {
|
|
background: color-mix(
|
|
in srgb,
|
|
var(--color-royal-amethyst, rgb(109 40 217)) 18%,
|
|
var(--color-surface)
|
|
);
|
|
border-color: var(--color-royal-amethyst, rgb(109 40 217));
|
|
}
|
|
|
|
/* 유역 제원 목록 — 면적·유역표고·유하거리·관경(수식 확정 전까지 "미정"). */
|
|
.b05-drainage__basins {
|
|
display: flex;
|
|
max-height: 34%;
|
|
flex: 0 0 auto;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
overflow-y: auto;
|
|
padding: var(--spacing-8);
|
|
border-top: 1px solid var(--color-border);
|
|
}
|
|
|
|
.b05-drainage__basin {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--spacing-8);
|
|
padding: var(--spacing-4) var(--spacing-8);
|
|
border: 1px solid transparent;
|
|
border-radius: var(--radius-inputs);
|
|
background: none;
|
|
color: var(--color-text-body);
|
|
font-size: var(--text-caption);
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.b05-drainage__basin:hover,
|
|
.b05-drainage__basin.is-selected {
|
|
border-color: var(--color-border);
|
|
background: var(--color-surface);
|
|
}
|
|
|
|
/* 지도 위 서클 번호와 같은 파스텔 색을 써서 목록 항목과 유역을 눈으로 잇는다. */
|
|
.b05-drainage__basin-index {
|
|
display: inline-flex;
|
|
width: 20px;
|
|
height: 20px;
|
|
flex: 0 0 auto;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 50%;
|
|
color: #1f2937;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.b05-drainage__basin-metrics {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|