Files

170 lines
14 KiB
CSS

/* Shared typography used by the Hwacheon viewer. */
body { font-family: Pretendard, system-ui, sans-serif; font-size: 15px; line-height: 1.6; }
button, input, select { font-family: inherit; }
.studio-nav a { font-size: 13px; }
.brand small { font-size: 10px; letter-spacing: 1px; }
.title-block h1 { font-size: 17px; }
.title-block > span, .project-label { font-size: 13px; }
:is(.section-kicker, .eyebrow, .micro, .source-label, .small, .range-ends, .scale-note) { font-size: 12px; letter-spacing: .4px; }
:is(.subtle, .intro, .inspector-intro, .empty-detail, .source-note, .source-note p) { font-size: 14px; line-height: 1.8; }
:is(.controls h3, .section-heading h2, .detail-section h3, .notes-content h3) { font-size: 16px; }
:is(.text-button, .panel-toggle, .audit-button, .focus-button, .wide-select, .search-wrap input, .search-results button, .result, .connection-link) { font-size: 14px; }
:is(.layer-list label, .range-heading, .range-heading output, .toggle-label, .toggle-row, .range-label, .select-wrap > span) { font-size: 14px; }
:is(.fine-print, .notice, .profile-caption, .toggle-label small, .connection-link small, .result small, .search-results small, .toggle-row small) { font-size: 12px; line-height: 1.75; }
:is(.properties > div, .overview-list > div, .dimensions dt, .dimensions dd, .notes-content p, .help-list div, .help-grid, .audit-row, .audit-filter-label) { font-size: 14px; line-height: 1.75; }
:is(.dimensions dt span, .notes-content dl div, .audit-summary-grid div, .audit-row button, .audit-filter-label select) { font-size: 12px; }
:is(.summary-cards span, .layer-list small, .type-badge, .view-badge, .viewport-status, .tag, .scale-badges span, .coordinate-note, .legend-title, .legend-panel > div, .legend-panel > div span, .legend-summary, .legend-panel small, .datum-note) { font-size: 12px; }
.legend-panel small { line-height: 1.6; }
:is(.view-toolbar button, .segmented button, .viewer-footer .text-button) { font-size: 14px; }
:is(.viewer-footer, .viewer-footer > span, .statusbar, .bottom-bar, .bottom-bar > span:nth-child(2), .dialog-intro, .dialog-actions > span, #toast) { font-size: 12px; letter-spacing: 0; }
:is(.detail-table, .detail-table th, .detail-table td) { font-size: 12px; }
.controls section { padding-top: 22px; padding-bottom: 18px; }
.layer-list label, .toggle-label, .toggle-row { min-height: 40px; }
.connection-link { flex-wrap: wrap; }
:is(.statusbar, .bottom-bar) { min-height: 38px; height: auto; }
.network-page .viewer-footer { gap: 8px; }
@media (max-width: 1200px) {
.network-page .view-toolbar button { padding: 10px 8px; }
.network-page .viewer-footer > span { max-width: 72%; }
}
@media (max-width: 750px) {
.brand small { font-size: 10px; }
}
@media (max-width: 650px) {
.title-block h1 { font-size: 15px; }
.network-page .layer-list { grid-template-columns: 1fr; gap: 6px; }
.network-page .legend-panel { max-width: calc(100% - 120px); }
.network-page .legend-panel small { font-size: 12px; }
.network-page .viewer-footer > span { font-size: 12px; }
}
/* Nested labels have stronger page-specific rules. */
.network-page .controls > .section-kicker,
.network-page .viewport-heading .section-kicker { font-size: 11px; }
.network-page .viewer .coordinate-note,
.network-page .legend-panel summary,
.network-page .detail-section details summary,
.network-page .inspector table { font-size: 12px; }
.network-page .inspector .properties > div { font-size: 14px; }
.network-page .viewport-heading p { font-size: 13px; }
.network-page .topbar .title-block h1 { font-size: 17px; }
.network-page .legend-panel > div { font-size: 12px; }
.network-page .scale-badges span { font-size: 12px; }
@media (max-width: 650px) {
.network-page .topbar .title-block h1 { font-size: 15px; }
}
@media (max-width: 650px) {
.network-page .legend-panel small { display: none; }
.network-page .legend-panel > div { margin-top: 6px; }
}
/* Workbench layout: keep the model in view; panels scroll independently. */
.network-page{--header-height:72px;--footer-height:32px;height:100dvh;overflow:hidden;background:#eef3f1;color:#203b35}
.network-page .topbar{height:var(--header-height);min-height:0;display:flex;padding:0 22px;gap:22px;position:relative;z-index:30;box-shadow:0 1px 0 #d9e4df}
.network-page .brand{min-width:0;font-size:13px;letter-spacing:1.3px;gap:10px}
.network-page .brand-icon{width:36px;height:36px;font-size:26px;border-radius:10px}
.network-page .brand small{font-size:8px;letter-spacing:1px;margin-top:2px}
.network-page .title-block{padding-left:22px;border-left:1px solid #dce6e0;gap:2px}
.network-page .topbar .title-block h1{font-size:18px;font-weight:700;letter-spacing:-.6px}
.network-page .title-block>span{font-size:11px;display:block}
.network-page .local-badge{font-size:10px;letter-spacing:0;padding:5px 9px}
.panel-actions{display:flex;gap:6px;margin-left:0}
.panel-actions button{border:1px solid #d9e3dd;background:#fff;border-radius:8px;padding:9px 13px;min-height:38px;font-size:12px;white-space:nowrap;font-weight:600}
.panel-actions button[aria-expanded=true]{background:#e9f4ee;color:#216a55;border-color:#bcd9ca}
.network-page .app-grid{height:calc(100dvh - var(--header-height) - var(--footer-height));min-height:0;grid-template-columns:280px minmax(0,1fr) 320px;gap:0;display:grid}
.network-page.hide-controls .app-grid{grid-template-columns:minmax(0,1fr) 320px}
.network-page.hide-inspector .app-grid{grid-template-columns:280px minmax(0,1fr)}
.network-page.hide-controls.hide-inspector .app-grid{grid-template-columns:minmax(0,1fr)}
.network-page.hide-controls .controls,.network-page.hide-inspector .inspector{display:none}
.network-page .controls,.network-page .inspector{min-height:0;min-width:0;max-height:none;overflow:auto;overscroll-behavior:contain;padding:22px 20px;background:#fbfdfb;grid-column:auto;grid-row:auto;scrollbar-gutter:stable}
.network-page .controls>.section-kicker{font-size:9px;letter-spacing:1.6px;color:#7d9387}
.network-page .controls h2{font-size:21px;line-height:1.3;margin:12px 0 7px;font-weight:700;letter-spacing:-.7px}
.network-page .controls>.subtle{font-size:12px;line-height:1.6;margin:0 0 16px}
.network-page .summary-cards{border-radius:10px;margin:0 0 16px;background:#f0f6f2}
.network-page .summary-cards div{padding:11px 14px}
.network-page .summary-cards strong{font-size:25px;line-height:1.2;font-weight:650}
.network-page .summary-cards span{font-size:11px;margin-bottom:4px}
.network-page .controls section{padding:16px 0}
.network-page .controls h3{font-size:13px}
.network-page .section-heading{margin-bottom:10px}
.network-page .search-wrap{background:#fff;min-height:42px;border-radius:9px}
.network-page .search-wrap input{font-size:13px}
.network-page .layer-list{display:flex;gap:3px}
.network-page .layer-list label{min-height:36px;padding:4px 0;font-size:13px}
.network-page .layer-list small{font-size:11px;color:#607d70}
.network-page input[type=checkbox]{width:17px;height:17px;flex-shrink:0}
.network-page .text-button{font-size:12px;min-height:28px}
.network-page .toggle-label{margin-top:0;font-size:13px}
.network-page .toggle-label small{font-size:11px;line-height:1.5}
.network-page .audit-highlight-controls{position:relative}
.network-page .audit-highlight-controls .audit-steady-label{font-size:12px;min-height:32px;margin:6px 0}
.network-page .audit-highlight-controls .fine-print{font-size:11px;line-height:1.65;margin:7px 0}
.network-page .range-heading{font-size:12px;margin-top:12px}
.network-page .range-heading output{font-size:11px}
.network-page .fine-print{font-size:11px;line-height:1.7}
.network-page .source-label{font-size:10px;line-height:1.7}
.network-page .viewer{min-height:0;height:auto;max-height:none;order:0;grid-column:auto;grid-row:auto;border:0}
.network-page .viewport-heading{top:20px;left:24px;right:20px}
.network-page .viewport-heading .section-kicker{font-size:9px;letter-spacing:1.6px}
.network-page .viewport-heading h2{font-size:25px;margin:5px 0;max-width:100%;overflow-wrap:anywhere;line-height:1.2}
.network-page .viewport-heading p{font-size:11px}
.network-page .view-badge{font-size:10px;padding:5px 9px}
.network-page .scale-badges{top:107px;left:24px;gap:5px}
.network-page .scale-badges span{font-size:10px;padding:4px 6px}
.network-page .coordinate-note{top:141px;left:24px;font-size:10px}
.network-page .legend-panel{left:20px;bottom:117px;padding:11px 13px;border-radius:10px;background:#15262be8;max-width:210px}
.network-page .legend-title{font-size:10px;margin-bottom:7px}
.network-page .legend-panel>div{font-size:11px;margin:6px 0}
.network-page .legend-panel small{font-size:10px;display:none}
.network-page .axes{bottom:105px;right:10px}
.network-page .datum-note{bottom:97px;font-size:9px}
.network-page .view-toolbar{bottom:43px;border-radius:12px;gap:2px;padding:5px;max-width:calc(100% - 24px)}
.network-page .view-toolbar button{min-height:36px;padding:8px 9px;font-size:12px}
.network-page .viewer-footer{bottom:12px;left:20px;right:20px}
.network-page .viewer-footer>span{font-size:10px;max-width:none}
.network-page .viewer-footer .text-button{font-size:11px;min-height:20px}
.network-page .inspector{border-top:0;background:#fff;padding:22px}
.network-page .inspector>.section-kicker{margin-bottom:18px;font-size:12px;color:#416b5c}
.network-page .inspector>.section-kicker span{font-size:9px;letter-spacing:1.2px}
.network-page .inspector h2{font-size:23px;line-height:1.35;margin:10px 0 15px;font-weight:650}
.network-page .overview-icon{width:42px;height:42px;border-radius:12px;font-size:22px;margin-bottom:16px}
.network-page .inspector-intro{font-size:13px;line-height:1.8}
.network-page .overview-list{gap:10px;margin-top:20px}
.network-page .overview-list>div{font-size:13px}
.network-page .detail-section{padding-top:16px;margin-top:16px}
.network-page .detail-section h3{font-size:13px;margin-bottom:10px}
.network-page .inspector .properties>div{font-size:12px;padding:7px 0;gap:12px;border-bottom:1px solid #edf2ef}
.network-page .properties dt{flex-basis:42%;overflow-wrap:anywhere}
.network-page .properties dd{font-weight:550;overflow-wrap:anywhere}
.network-page .notice{font-size:11px;padding:10px 12px;line-height:1.8}
.network-page .connection-link{font-size:12px;padding:10px;min-width:0}
.network-page .connection-link span{min-width:0;overflow-wrap:anywhere}
.network-page .connection-link small{font-size:10px}
.network-page .focus-button{font-size:12px;min-height:40px;margin:8px 0 12px}
.network-page .statusbar{height:var(--footer-height);min-height:0;font-size:10px;padding:0 18px;overflow:hidden;white-space:nowrap}
.network-page #toast{bottom:85px;font-size:12px;z-index:60}
.panel-backdrop{position:fixed;inset:var(--header-height) 0 var(--footer-height);background:#11282066;backdrop-filter:blur(2px);border:0;z-index:35;cursor:default}
@media(min-width:1700px){.network-page .app-grid{grid-template-columns:300px minmax(0,1fr) 350px}.network-page.hide-controls .app-grid{grid-template-columns:minmax(0,1fr) 350px}.network-page.hide-inspector .app-grid{grid-template-columns:300px minmax(0,1fr)}.network-page.hide-controls.hide-inspector .app-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:1200px) and (min-width:1001px){.network-page .app-grid{grid-template-columns:250px minmax(0,1fr) 280px}.network-page.hide-controls .app-grid{grid-template-columns:minmax(0,1fr) 280px}.network-page.hide-inspector .app-grid{grid-template-columns:250px minmax(0,1fr)}.network-page.hide-controls.hide-inspector .app-grid{grid-template-columns:minmax(0,1fr)}.network-page .controls,.network-page .inspector{padding:18px 16px}.network-page .title-block{display:none}.network-page .viewer-footer>span{display:none}}
@media(max-width:1000px){
.network-page .app-grid,.network-page.hide-controls .app-grid,.network-page.hide-inspector .app-grid,.network-page.hide-controls.hide-inspector .app-grid{display:grid;grid-template-columns:minmax(0,1fr);height:calc(100dvh - var(--header-height) - var(--footer-height));min-height:0}
.network-page .viewer{height:100%;min-height:0;grid-column:1;grid-row:1}
.network-page .controls,.network-page .inspector{position:fixed;top:var(--header-height);bottom:var(--footer-height);width:min(360px,calc(100vw - 32px));z-index:40;height:auto;box-shadow:0 10px 40px #0e252b33;border:0;border-radius:0}
.network-page .controls{left:0}.network-page .inspector{right:0}
.network-page .title-block{padding-left:15px}.network-page .statusbar>span:nth-child(2){display:none}
}
@media(max-width:650px){
.network-page{--header-height:64px;--footer-height:28px}
.network-page .topbar{padding:0 12px;gap:8px;display:flex;height:64px;min-height:0}
.network-page .brand{gap:7px;font-size:10px;letter-spacing:.5px}.network-page .brand-icon{width:29px;height:29px;font-size:21px;border-radius:8px}.network-page .brand small{font-size:6px;letter-spacing:.4px}
.network-page .title-block,.network-page .local-badge{display:none}.panel-actions{margin-left:auto;gap:5px}.panel-actions button{font-size:11px;padding:8px;min-height:36px}
.network-page .viewport-heading{left:16px;right:16px;top:20px}.network-page .viewport-heading h2{font-size:23px;max-width:245px}.network-page .viewport-heading p{font-size:10px}.network-page .viewport-heading .section-kicker{font-size:8px;letter-spacing:1px}
.network-page .scale-badges{left:16px;top:108px}.network-page .coordinate-note{left:16px;top:142px;font-size:9px}.network-page .legend-panel{left:14px;bottom:123px;max-width:185px;padding:9px 11px}.network-page .legend-panel>div{font-size:10px}
.network-page .axes{right:0;bottom:110px}.network-page .datum-note{right:15px;bottom:100px;font-size:8px}
.network-page .view-toolbar{bottom:45px;gap:0;padding:4px;max-width:calc(100% - 20px)}.network-page .view-toolbar button{font-size:11px;padding:8px 7px;min-height:36px}.network-page .view-toolbar i{margin:0 1px}
.network-page .viewer-footer{left:15px;right:15px;bottom:12px}.network-page .viewer-footer>span{display:none}.network-page .viewer-footer .text-button{margin-left:auto}
.network-page .statusbar{font-size:9px;padding:0 12px;flex-wrap:nowrap}.network-page .statusbar>span:last-child{display:none}
.network-page dialog{padding:18px;max-height:85dvh;overflow:auto}.network-page .audit-filter-label{align-items:flex-start;gap:10px;flex-direction:column}.network-page .audit-filter-label select{width:100%;max-width:100%}.network-page .audit-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.network-page .audit-summary-grid div{min-width:0;overflow-wrap:anywhere}.network-page .audit-row{gap:8px;font-size:12px}.network-page .audit-row>span{min-width:0;overflow-wrap:anywhere}
}