B04_PreProcess_UI_Style.css 870줄 -> 565줄. 하단 2D 지도·도구줄·시트 툴바 규칙을 B04_PreProcess_UI_Style_Map.css(312줄)로 값·순서 그대로 옮김. 진입 TS 에서 본체 다음에 불러 캐스케이드 순서 유지. 검증: 두 파일을 다시 이으면 원본과 **경계 빈 줄 1개 외 완전 동일**(텍스트 대조). tsc --noEmit 통과. 공용 브라우저(5174) B04 화면 실측 — 좌측 폼 flex/gap 16px, .b04-map flex column gap 12px(896x828), 헤더·컨트롤 정상, 3D 서피스·2D 지도 렌더 정상. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
566 lines
14 KiB
CSS
566 lines
14 KiB
CSS
/* =============================================================================
|
|
* B04_PreProcess_UI_Style.css
|
|
* 1차 워크플로우(지표면 모델 분석) 페이지 전용 스타일.
|
|
*
|
|
* 원칙(frontend.md §1): 하드코딩 색상 금지. theme.css 변수(var(--...))만 참조.
|
|
* 공통 컴포넌트(ui-wf, ui-btn 등) 스타일은 ui_template_elements.ts가 주입하므로
|
|
* 여기서는 B04 고유 레이아웃(폼 그룹/모델 카드)만 정의한다.
|
|
* ========================================================================== */
|
|
|
|
/* --- 좌측 입력 폼 --- */
|
|
.b04-surface__form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--spacing-16);
|
|
padding: var(--spacing-16);
|
|
}
|
|
|
|
/* 초기화 버튼 톤 다운 — 붉은 테두리·글자만 남기고 채움은 두지 않는다(ghost 배경
|
|
그대로 = 임시저장류 버튼과 동일). 꽉 찬 붉은 채움이 과하게 눈에 띈다는 보고
|
|
(2026-08-18 사용자 지시). */
|
|
.b04-surface__reset.ui-btn {
|
|
border: 1px solid var(--color-danger);
|
|
color: var(--color-danger);
|
|
background: none;
|
|
}
|
|
|
|
.b04-surface__reset.ui-btn:hover:not(:disabled) {
|
|
background: color-mix(in srgb, var(--color-danger) 10%, transparent);
|
|
}
|
|
|
|
.b04-surface__group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--spacing-8);
|
|
margin: 0;
|
|
padding: var(--spacing-16);
|
|
/* 테두리는 공통 ui-sidebar-section(ui_template_overlay.css)이 전담한다 — 여기서
|
|
border 전체 선언을 다시 쓰면 로드 순서상 공통 색(진한 혼합)을 덮어 흐려진다
|
|
(2026-08-06 사용자 보고: B04~B06만 시인성 개선이 안 보이던 원인). */
|
|
border-radius: var(--radius-cards);
|
|
background-color: var(--color-surface-raised);
|
|
}
|
|
|
|
.b04-surface__group-legend {
|
|
padding: 0 var(--spacing-8);
|
|
font-size: var(--text-caption);
|
|
font-weight: var(--font-weight-medium);
|
|
color: var(--color-text-secondary);
|
|
}
|
|
|
|
.b04-surface__check {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--spacing-8);
|
|
font-size: var(--text-body-sm);
|
|
color: var(--color-text-body);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.b04-surface__check input {
|
|
accent-color: var(--color-primary);
|
|
}
|
|
|
|
.b04-surface__panel-title {
|
|
font-size: var(--text-body-sm);
|
|
color: var(--color-text);
|
|
}
|
|
|
|
/* 라벨 한 줄 + 드롭다운 — 지표면 분석 컨테이너의 항목 한 칸. */
|
|
.b04-surface__field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--spacing-4);
|
|
font-size: var(--text-caption);
|
|
color: var(--color-text-secondary);
|
|
}
|
|
|
|
.b04-surface__field.is-disabled {
|
|
color: var(--color-text-muted);
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.b04-surface__select {
|
|
width: 100%;
|
|
min-height: 38px;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-inputs);
|
|
background: var(--color-canvas);
|
|
color: var(--color-text-body);
|
|
padding: var(--spacing-8);
|
|
}
|
|
|
|
.b04-surface__input-info,
|
|
.b04-surface__model-meta,
|
|
.b04-surface__stats {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--spacing-8);
|
|
}
|
|
|
|
.b04-surface__line {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: var(--spacing-16);
|
|
color: var(--color-text-secondary);
|
|
font-size: var(--text-caption);
|
|
}
|
|
|
|
.b04-surface__line strong {
|
|
color: var(--color-text-body);
|
|
text-align: right;
|
|
word-break: break-word;
|
|
}
|
|
|
|
/* --- 우측 결과 영역 --- */
|
|
.b04-surface__workspace {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
max-width: none;
|
|
min-height: calc(100vh - var(--spacing-64));
|
|
}
|
|
|
|
.b04-surface__workspace > .b04-surface__status {
|
|
justify-content: flex-end;
|
|
padding: var(--spacing-12) var(--spacing-24);
|
|
border-bottom: 1px solid var(--color-border);
|
|
}
|
|
|
|
.b04-surface__viewers {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: var(--spacing-16);
|
|
width: 100%;
|
|
padding: var(--spacing-16) var(--spacing-24);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.b04-surface__viewers > * {
|
|
min-width: 0;
|
|
}
|
|
|
|
.b04-surface__topbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: var(--spacing-16);
|
|
padding: var(--spacing-16) var(--spacing-24);
|
|
border-bottom: 1px solid var(--color-border);
|
|
}
|
|
|
|
.b04-surface__topbar h3,
|
|
.b04-surface__section h3 {
|
|
font-size: var(--text-body);
|
|
}
|
|
|
|
.b04-surface__status {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--spacing-8);
|
|
color: var(--color-text-secondary);
|
|
font-size: var(--text-body-sm);
|
|
}
|
|
|
|
.b04-surface-viewer {
|
|
min-height: 360px;
|
|
height: 100%;
|
|
padding: 0 var(--spacing-24) var(--spacing-24);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.b04-surface-viewer__canvas {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: var(--radius-cards);
|
|
}
|
|
|
|
.b04-surface__bottom {
|
|
display: grid;
|
|
grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
|
|
gap: var(--spacing-16);
|
|
padding: var(--spacing-16) var(--spacing-24) var(--spacing-24);
|
|
border-top: 1px solid var(--color-border);
|
|
}
|
|
|
|
.b04-surface__section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--spacing-16);
|
|
min-width: 0;
|
|
}
|
|
|
|
.b04-surface__result {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--spacing-16);
|
|
padding: var(--spacing-24);
|
|
}
|
|
|
|
.b04-surface__result-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.b04-surface__result-head h3 {
|
|
font-size: var(--text-subheading);
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.b04-surface__models {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
|
|
gap: var(--spacing-16);
|
|
}
|
|
|
|
.b04-surface__empty {
|
|
color: var(--color-text-muted);
|
|
font-size: var(--text-body-sm);
|
|
}
|
|
|
|
.b04-surface__model-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--spacing-8);
|
|
padding: var(--spacing-16);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-cards);
|
|
background-color: var(--color-surface-raised);
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.b04-surface__stat-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--spacing-8);
|
|
padding: var(--spacing-16);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-cards);
|
|
background-color: var(--color-surface-raised);
|
|
}
|
|
|
|
.b04-surface__model-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: var(--spacing-8);
|
|
}
|
|
|
|
.b04-surface__model-head strong {
|
|
font-family: var(--font-display);
|
|
color: var(--color-plum-velvet);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.b04-surface__model-meta {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--spacing-4);
|
|
font-size: var(--text-caption);
|
|
color: var(--color-text-secondary);
|
|
word-break: break-all;
|
|
}
|
|
|
|
@media (max-width: 980px) {
|
|
.b04-surface__bottom {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.point-viewer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-cards);
|
|
overflow: hidden;
|
|
background: var(--color-surface);
|
|
}
|
|
|
|
.terrain-model-group {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-cards);
|
|
background: var(--color-surface);
|
|
}
|
|
|
|
.point-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: var(--spacing-12);
|
|
padding: var(--spacing-12) var(--spacing-16);
|
|
border-bottom: 1px solid var(--color-border);
|
|
background: var(--color-surface-raised);
|
|
}
|
|
|
|
.point-toolbar--stacked {
|
|
align-items: flex-start;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.point-toolbar div {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: var(--spacing-8);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.point-toolbar span {
|
|
color: var(--color-text-secondary);
|
|
font-size: var(--text-caption);
|
|
}
|
|
|
|
.viewer-controls {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: var(--spacing-8);
|
|
width: 100%;
|
|
}
|
|
|
|
.viewer-controls button {
|
|
width: 100%;
|
|
min-width: 0;
|
|
min-height: 32px;
|
|
padding: 0 var(--spacing-4);
|
|
font-size: var(--text-caption);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-buttons);
|
|
background: var(--color-canvas);
|
|
color: var(--color-text);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.viewer-controls button:hover {
|
|
border-color: var(--color-accent);
|
|
background: var(--color-mist-violet);
|
|
}
|
|
|
|
.toggle-label {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--spacing-4);
|
|
min-height: 32px;
|
|
font-size: var(--text-caption);
|
|
color: var(--color-text-secondary);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.viewer-options {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--spacing-16);
|
|
flex-wrap: wrap;
|
|
padding: var(--spacing-12) var(--spacing-16);
|
|
border-bottom: 1px solid var(--color-border);
|
|
background: var(--color-surface-raised);
|
|
}
|
|
|
|
.viewer-options label {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--spacing-8);
|
|
font-size: var(--text-caption);
|
|
color: var(--color-text-secondary);
|
|
}
|
|
|
|
.viewer-options label.is-disabled {
|
|
color: var(--color-text-muted);
|
|
cursor: not-allowed;
|
|
opacity: 0.55;
|
|
}
|
|
|
|
/* 점 크기·밀도 — 컨테이너 맨 아래에 한 줄씩. 게이지 **앞**에 현재값을 적는다
|
|
(2026-08-01 사용자 지시). 값 칸 폭을 고정해 끌 때 게이지가 흔들리지 않게 한다. */
|
|
.b04-surface__group .viewer-options {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: var(--spacing-8);
|
|
padding: 0;
|
|
border-bottom: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
/* `.viewer-options label`(0,1,1)이 display:inline-flex를 걸고 있어 클래스 하나(0,1,0)로는
|
|
못 이긴다. 같은 특이도 이상으로 올려야 3열 배치가 실제로 적용된다. */
|
|
.viewer-options .viewer-option-row {
|
|
display: grid;
|
|
grid-template-columns: auto 44px 1fr;
|
|
align-items: center;
|
|
gap: var(--spacing-8);
|
|
}
|
|
|
|
.viewer-option-name {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.viewer-options .viewer-option-row input[type="range"] {
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
/* 3D 모델 표시 토글 + 상태 줄 묶음. */
|
|
.terrain-options-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--spacing-8);
|
|
}
|
|
|
|
/* 축·서피스·등고선 토글 3개 + 등고선 간격 폼 1개 = 4칸.
|
|
스무딩이 "지표면 분석"으로 빠진 뒤에도 항목 수가 그대로라 4열을 유지한다.
|
|
좁은 폭에서는 칸이 뭉개지므로 최소 폭을 두고 넘치면 다음 줄로 접는다. */
|
|
.model-display-options {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
|
|
gap: var(--spacing-8);
|
|
width: 100%;
|
|
}
|
|
|
|
.model-display-options .toggle-button {
|
|
position: relative;
|
|
justify-content: center;
|
|
width: 100%;
|
|
min-width: 0;
|
|
min-height: 34px;
|
|
padding: 0 var(--spacing-12);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-buttons);
|
|
background: var(--color-canvas);
|
|
color: var(--color-text-secondary);
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
.model-display-options .toggle-button input {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.model-display-options .toggle-button:has(input:checked) {
|
|
border-color: var(--color-accent);
|
|
background: var(--color-mist-violet);
|
|
color: var(--color-accent);
|
|
font-weight: var(--font-weight-semibold);
|
|
}
|
|
|
|
.model-display-options .toggle-button:has(input:focus-visible) {
|
|
outline: 2px solid var(--color-accent);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.model-display-options .toggle-button.is-disabled {
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.contour-interval-form {
|
|
display: grid;
|
|
grid-column: 1 / -1;
|
|
grid-template-columns: auto minmax(64px, 1fr) auto auto;
|
|
align-items: center;
|
|
gap: var(--spacing-8);
|
|
width: 100%;
|
|
}
|
|
|
|
.contour-interval-input,
|
|
.contour-interval-submit {
|
|
min-height: 34px;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-buttons);
|
|
background: var(--color-canvas);
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.contour-interval-input {
|
|
width: 100%;
|
|
min-width: 0;
|
|
padding: 0 var(--spacing-8);
|
|
}
|
|
|
|
.contour-interval-submit {
|
|
padding: 0 var(--spacing-12);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.contour-interval-submit:disabled {
|
|
cursor: wait;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
/* 게이지 앞 현재값 — 정의는 여기 하나뿐이다(위쪽에 있던 중복 정의를 합쳤다). */
|
|
.viewer-option-val {
|
|
display: inline-block;
|
|
min-width: 38px;
|
|
text-align: right;
|
|
color: var(--color-text);
|
|
font-variant-numeric: tabular-nums;
|
|
font-weight: var(--font-weight-semibold);
|
|
}
|
|
|
|
.subtle-notice {
|
|
color: var(--color-text-muted);
|
|
background: var(--color-surface-raised);
|
|
border-bottom: 1px solid var(--color-border);
|
|
padding: var(--spacing-8) var(--spacing-16);
|
|
font-size: var(--text-caption);
|
|
}
|
|
|
|
.three-viewer {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 560px;
|
|
background: var(--color-canvas);
|
|
}
|
|
|
|
.b04-surface__status-info {
|
|
position: absolute;
|
|
top: var(--spacing-12);
|
|
left: var(--spacing-12);
|
|
z-index: 2;
|
|
padding: var(--spacing-4) var(--spacing-8);
|
|
border-radius: var(--radius-inputs);
|
|
background: var(--color-surface-raised);
|
|
color: var(--color-text-secondary);
|
|
font-size: var(--text-caption);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.b04-surface__scale,
|
|
.b04-map__scale {
|
|
position: absolute;
|
|
bottom: var(--spacing-16);
|
|
left: var(--spacing-16);
|
|
z-index: 2;
|
|
height: var(--spacing-8);
|
|
border: 2px solid var(--color-text-body);
|
|
border-top: 0;
|
|
color: var(--color-text-body);
|
|
filter: drop-shadow(0 1px 1px var(--color-surface-raised));
|
|
pointer-events: none;
|
|
}
|
|
|
|
.b04-surface__scale span,
|
|
.b04-map__scale span {
|
|
position: absolute;
|
|
bottom: var(--spacing-8);
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
white-space: nowrap;
|
|
font-family: var(--font-body);
|
|
font-size: var(--text-caption);
|
|
font-weight: var(--font-weight-semibold);
|
|
text-shadow: 0 1px 2px var(--color-surface-raised);
|
|
}
|
|
|
|
/* 방위 콤파스를 놓을 자리 — 3D 뷰어 우하단. 축척 막대(좌하단)와 짝.
|
|
위젯 모양·색은 공용(`ui_template/ui_template_compass.css`)이고 여기서는 위치만 준다. */
|
|
.b04-surface__compass {
|
|
right: var(--spacing-16);
|
|
bottom: var(--spacing-16);
|
|
}
|