style: 레이아웃 비율 복구 및 타이포그래피 전역 표준화 (16px Base)

- 주요 변경 사항:
  1. 레이아웃 안정화: 서버 위치도 뷰의 2:1 비율 복원 및 가변형(Adaptive) 레이아웃 적용
  2. 타이포그래피 표준화: 전역 폰트 스케일 도입 및 기본 폰트 사이즈 상향 (15px -> 16px)
  3. 3-Way 토글 통합: [자산 위치] [운영 현황] [자산 목록] 간의 전환 오류 수정 및 UI 통일
  4. 하드코딩 제거: 인라인 스타일을 CSS 클래스 및 변수 체계로 전면 리팩토링
  5. 가이드 업데이트: 변경된 디자인 정책을 design_rule.md에 반영
This commit is contained in:
2026-06-15 14:21:54 +09:00
parent b169176d57
commit 119c799d1d
9 changed files with 1196 additions and 1052 deletions

View File

@@ -45,7 +45,15 @@
--white: #FFFFFF;
--danger: var(--color-red);
--success: var(--color-green);
--header-height: auto;
--header-height: 101px;
/* --- Global Typography Scale --- */
--fs-xs: 12px;
--fs-sm: 14px;
--fs-base: 16px;
--fs-md: 19px;
--fs-lg: 23px;
--fs-xl: 29px;
}
* {
@@ -60,8 +68,10 @@ body {
color: var(--text-main);
background-color: var(--bg-color);
line-height: 1.5;
font-size: 19px;
overflow: hidden;
font-size: var(--fs-base);
height: 100vh;
width: 100vw;
overflow: hidden; /* 강제 스크롤 제거 */
}
.app-layout {
@@ -69,6 +79,7 @@ body {
flex-direction: column;
height: 100vh;
width: 100%;
overflow: hidden;
}
/* --- Header --- */
@@ -76,7 +87,7 @@ body {
background-color: var(--white);
border-bottom: 1px solid var(--border-color);
z-index: 100;
height: auto;
height: var(--header-height);
flex-shrink: 0;
}
@@ -117,24 +128,14 @@ body {
.gnb-trigger:hover { color: var(--text-main); }
.gnb-trigger.active { color: var(--primary-color); font-weight: 900; border-bottom-color: var(--primary-color); background-color: var(--primary-lv-0); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.role-switcher { display: flex; align-items: center; gap: 0.75rem; padding: 0 0.75rem; border-right: 1px solid var(--border-color); height: 24px; }
.role-label { font-size: 15px; font-weight: 800; color: var(--text-muted); }
.role-label.active { color: var(--primary-color); }
.switch { position: relative; display: inline-block; width: 34px; height: 18px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 12px; width: 12px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: var(--color-orange); }
input:checked + .slider:before { transform: translateX(16px); }
/* --- Layout Content --- */
.content-area {
flex: 1;
padding: 1.25rem 2rem 0;
overflow: hidden;
padding: 0; /* 모든 뷰에서 공간 꽉 채우기 */
display: flex;
flex-direction: column;
overflow: hidden;
height: 100%;
}
.view-container {
@@ -143,43 +144,43 @@ input:checked + .slider:before { transform: translateX(16px); }
display: flex;
flex-direction: column;
overflow: hidden;
height: 100%;
}
.view-content-wrapper {
flex: 1;
overflow-y: auto;
padding-bottom: 2rem;
/* --- View Toggle (Minimal Line-based) --- */
.view-toggle-container {
display: flex;
justify-content: flex-start;
align-items: center;
}
/* --- View Toggle --- */
.view-toggle-container { margin-bottom: 1rem; display: flex; justify-content: flex-start; }
.view-toggle { display: inline-flex; background-color: var(--primary-lv-0); padding: 4px; border-radius: 8px; border: 1px solid var(--border-color); }
.toggle-btn { padding: 6px 16px; font-size: 17px; font-weight: 700; color: var(--text-muted); background: none; border: none; border-radius: 6px; cursor: pointer; }
.toggle-btn.active { background-color: var(--white); color: var(--primary-color); box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.view-toggle {
display: inline-flex;
background: #f1f5f9;
padding: 0.25rem;
border: 1px solid var(--border-color);
gap: 0.25rem;
border-radius: 8px;
}
/* --- System Status List (Docker Style) --- */
.system-status-list { display: flex; flex-direction: column; gap: 0.5rem; }
.system-list-header { display: flex; align-items: center; padding: 0.75rem 1.25rem; background-color: var(--bg-light); border-bottom: 1px solid var(--border-color); font-size: 15px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; }
.system-row { display: flex; align-items: center; padding: 1rem 1.25rem; background-color: var(--white); border: 1px solid var(--border-color); border-radius: 6px; transition: all 0.2s; }
.system-row:hover { border-color: var(--primary-lv-3); box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
.col-status { width: 100px; display: flex; align-items: center; gap: 0.5rem; }
.col-info { flex: 1.5; }
.col-network { flex: 1; }
.col-remote { flex: 1; display: flex; align-items: center; gap: 0.5rem; }
.col-traffic { flex: 1.2; }
.col-actions { width: 120px; display: flex; justify-content: flex-end; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; }
.status-dot.online { background-color: var(--success); box-shadow: 0 0 6px var(--success); }
.status-text { font-size: 15px; font-weight: 700; color: var(--success); }
.asset-primary { font-weight: 800; font-size: 19px; }
.asset-secondary { font-size: 16px; color: var(--text-muted); }
.ip-address { font-weight: 700; font-family: monospace; color: var(--primary-color); }
.traffic-mini-chart { display: flex; flex-direction: column; gap: 4px; }
.traffic-info { display: flex; justify-content: space-between; font-size: 15px; }
.progress-bg { height: 4px; background: var(--primary-lv-0); border-radius: 2px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--primary-color); }
.icon-btn { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 4px; border: 1px solid var(--border-color); background: var(--white); color: var(--text-muted); cursor: pointer; }
.icon-btn:hover { background-color: var(--primary-light); border-color: var(--primary-color); color: var(--primary-color); }
.toggle-btn {
padding: 0.4rem 1rem;
border: none;
background: transparent;
font-size: 14px;
font-weight: 700;
color: var(--text-muted);
cursor: pointer;
transition: all 0.2s;
white-space: nowrap;
border-radius: 6px;
}
.toggle-btn.active {
background: var(--white);
color: var(--primary-color);
box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
/* --- Footer --- */
.main-footer {
@@ -194,118 +195,45 @@ input:checked + .slider:before { transform: translateX(16px); }
}
.main-footer p {
font-family: 'Pretendard Variable', Pretendard, sans-serif;
font-size: 1rem;
font-weight: 400;
line-height: 1.25rem;
letter-spacing: -0.0175rem;
font-size: var(--fs-xs);
color: #777777;
user-select: none;
pointer-events: all;
-webkit-user-drag: none;
margin: 0;
padding: 0;
box-sizing: border-box;
}
.hidden {
display: none !important;
}
.text-nowrap {
white-space: nowrap;
}
/* --- Utility Styles --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; padding: 0 0.8rem; font-size: 16px; font-weight: 700; border-radius: 4px; cursor: pointer; height: 28px; }
.btn-primary { background-color: var(--primary-color); color: var(--white); border: none; }
.btn-outline { background-color: transparent; color: var(--text-muted); border: 1px solid var(--border-color); }
.badge {
padding: 2px 6px;
border-radius: 4px;
font-size: 21px;
font-weight: 800;
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.35rem;
padding: 0 1rem;
font-size: var(--fs-sm);
font-weight: 700;
border-radius: 4px;
cursor: pointer;
height: 34px;
transition: all 0.2s;
border: 1px solid transparent;
white-space: nowrap;
}
.badge-primary {
background-color: var(--primary-color);
color: white;
}
.btn-primary { background-color: var(--primary-color); color: var(--white); }
.btn-primary:hover { background-color: var(--primary-hover); }
.badge-muted {
background-color: #9CA3AF;
color: white;
}
.btn-outline { background-color: var(--white); color: var(--text-muted); border: 1px solid var(--border-color); }
.btn-outline:hover { border-color: var(--primary-color); color: var(--primary-color); }
.badge-light {
background: var(--bg-color);
color: var(--text-muted);
border: 1px solid var(--border-color);
}
.btn-sm { height: 28px; padding: 0 0.75rem; font-size: var(--fs-xs); }
.badge { padding: 2px 8px; border-radius: 4px; font-size: var(--fs-xs); font-weight: 800; white-space: nowrap; }
.badge-primary { background-color: var(--primary-color); color: white; }
/* PC 성능 등급 뱃지 컬러 스타일 */
.badge.b-purple {
background-color: #EDE9FE;
color: #7C3AED;
border: 1px solid #DDD6FE;
font-size: 15px;
padding: 2px 6px;
}
.badge.b-primary {
background-color: #DBEAFE;
color: #1D4ED8;
border: 1px solid #BFDBFE;
font-size: 15px;
padding: 2px 6px;
}
.badge.b-green {
background-color: #D1FAE5;
color: #047857;
border: 1px solid #A7F3D0;
font-size: 15px;
padding: 2px 6px;
}
.badge.b-yellow {
background-color: #FEF3C7;
color: #D97706;
border: 1px solid #FDE68A;
font-size: 15px;
padding: 2px 6px;
}
.badge.b-purple { background-color: #EDE9FE; color: #7C3AED; border: 1px solid #DDD6FE; }
.badge.b-primary { background-color: #DBEAFE; color: #1D4ED8; border: 1px solid #BFDBFE; }
.badge.b-green { background-color: #D1FAE5; color: #047857; border: 1px solid #A7F3D0; }
.badge.b-yellow { background-color: #FEF3C7; color: #D97706; border: 1px solid #FDE68A; }
.text-tag {
color: var(--text-muted);
font-size: 21px;
padding: 1px 5px;
border: 1px solid var(--border-color);
border-radius: 3px;
background-color: var(--bg-light);
}
.font-bold {
font-weight: 800;
}
/* --- Responsive Design (Tablet & Mobile) --- */
@media (max-width: 1200px) {
.header-container { gap: 0.75rem; padding: 0 1rem; }
.brand h1 { font-size: 1.33rem; }
.brand h1 .sub-title { font-size: 1rem; }
}
@media (max-width: 992px) {
.main-header { height: auto; padding: 0.5rem 0; }
.header-container { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.integrated-nav { width: 100%; justify-content: flex-start; border-top: 1px solid var(--border-color); padding-top: 0.5rem; }
.header-actions { width: 100%; justify-content: flex-end; padding-top: 0.5rem; }
.content-area { padding: 0 1rem; }
}
.gnb-trigger.admin-trigger {
color: var(--text-muted);
border-left: 1px solid var(--border-color);
margin-left: 1rem;
padding-left: 1.5rem;
}
.sidebar-title { margin: 0; font-size: var(--fs-md); font-weight: 800; color: var(--primary-color); }
.empty-state { padding: 3rem 1rem; color: var(--text-muted); text-align: center; font-size: var(--fs-base); }
.hidden { display: none !important; }

View File

@@ -13,534 +13,88 @@
.dashboard-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1.5rem;
margin-bottom: 2rem;
gap: 0;
border-top: 1px solid var(--border-color);
}
/* Premium Executive Divider-based Style (Line-based Division) */
.dashboard-card, .stat-card {
background: transparent;
backdrop-filter: none;
-webkit-backdrop-filter: none;
background: #fff;
border: none;
border-right: 1px solid var(--border-color);
border-bottom: 1px solid var(--border-color);
box-shadow: none;
border-radius: 0;
padding: 1.5rem 0.5rem;
padding: 1.5rem;
display: flex;
flex-direction: column;
transition: opacity 0.2s ease;
}
.dashboard-card:hover, .stat-card:hover {
transform: none;
box-shadow: none;
opacity: 0.85;
}
.dashboard-layout-2col {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1.5rem;
}
.dashboard-layout-3col {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
}
.dashboard-card {
min-height: 380px;
}
.dashboard-stats-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
margin-bottom: 2rem;
gap: 0;
border-top: 1px solid var(--border-color);
}
/* Premium KPI Value Styling */
.stat-value {
font-size: 3.21rem;
font-size: var(--fs-xl);
font-weight: 900;
background: linear-gradient(135deg, #1E5149 0%, #3B82F6 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
color: var(--text-main);
margin-top: 0.5rem;
display: flex;
align-items: center;
gap: 0.5rem;
}
.stat-value-danger {
background: linear-gradient(135deg, #E11D48 0%, #F59E0B 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.stat-label {
font-size: 1.81rem;
font-size: var(--fs-base);
color: var(--text-muted);
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.stat-icon {
width: 48px;
height: 48px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1rem;
}
.icon-blue { background: rgba(59, 130, 246, 0.1); color: #3B82F6; }
.icon-green { background: rgba(30, 81, 73, 0.1); color: #1E5149; }
.icon-red { background: rgba(225, 29, 72, 0.1); color: #E11D48; }
.icon-yellow { background: rgba(245, 158, 11, 0.1); color: #F59E0B; }
.table-premium {
background: white;
border-radius: 12px;
box-shadow: 0 4px 15px rgba(0,0,0,0.05);
border: none;
box-shadow: none;
border-radius: 0;
border-bottom: 1px solid var(--border-color);
overflow: hidden;
}
.table-premium table {
width: 100%;
border-collapse: collapse;
}
.table-premium th {
background: #F8FAFC;
color: #475569;
font-weight: 800;
padding: 1rem;
text-transform: uppercase;
font-size: 1.28rem;
letter-spacing: 0.05em;
padding: 0.75rem 1rem;
font-size: var(--fs-sm);
border-bottom: 2px solid var(--border-color);
}
.table-premium td {
padding: 1rem;
padding: 0.75rem 1rem;
border-bottom: 1px solid #E2E8F0;
color: #1E293B;
font-size: 21px;
}
.table-premium tr:hover td {
background: #F1F5F9;
}
/* --- Slider/Carousel Specific Styles --- */
.dashboard-header-wrapper {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 2rem;
}
.slider-controls {
display: flex;
align-items: center;
gap: 1rem;
}
.slider-nav-btn {
background: white;
border: 1px solid var(--border-color);
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
border-radius: 50%;
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
color: var(--text-main);
transition: all 0.2s;
}
.slider-nav-btn:hover {
background: var(--primary-color);
color: white;
border-color: var(--primary-color);
}
.slider-nav-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.page-info {
font-size: 1.28rem;
color: var(--text-muted);
font-weight: 700;
}
.page-btns button {
padding: 0.3rem 0.75rem;
border: 1px solid var(--border-color);
background: var(--white);
border-radius: 4px;
font-size: 1.28rem;
cursor: pointer;
}
.page-btns button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.slider-indicator {
font-weight: 800;
color: var(--text-muted);
font-size: 1.88rem;
}
.dashboard-slider-viewport {
width: 100%;
overflow: hidden;
padding: 0.5rem 0;
}
.dashboard-slider-track {
display: flex;
transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
width: 400%; /* For 4 pages */
}
.dashboard-slide {
width: 25%; /* 100% / 4 pages */
flex-shrink: 0;
padding: 0 2px; /* Slight padding to avoid cutting off box-shadows */
height: calc(100vh - 150px);
min-height: 520px;
display: flex;
flex-direction: column;
box-sizing: border-box;
}
/* --- Location View Styles --- */
.location-layout {
display: grid;
grid-template-columns: 1.2fr 1fr;
gap: 2rem;
height: calc(100vh - 180px);
}
.map-section, .asset-section {
display: flex;
flex-direction: column;
}
.section-title {
font-size: 1.5rem;
font-weight: 800;
margin-bottom: 1rem;
color: var(--text-main);
display: flex;
align-items: center;
}
.map-wrapper {
flex: 1;
background: #f8fafc;
box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
}
.location-box {
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
user-select: none;
}
.location-box:hover {
background: rgba(30, 81, 73, 0.2) !important;
transform: scale(1.02);
z-index: 10;
}
.location-box:active {
transform: scale(0.98);
}
.asset-section .table-container {
flex: 1;
overflow-y: auto;
}
.status-tag {
display: inline-block;
padding: 0.25rem 0.625rem;
border-radius: 9999px;
font-size: 1rem;
font-weight: 700;
background: #ecfdf5;
color: #059669;
border: 1px solid #d1fae5;
}
.view-toggle-btn:hover {
border-color: var(--primary-color) !important;
color: var(--primary-color) !important;
}
.view-toggle-btn.active:hover {
color: white !important;
}
/* --- View Toggle Header --- */
.view-header {
padding: 0.5rem 1.5rem;
background: var(--white);
border-bottom: 1px solid var(--border-color);
display: flex;
align-items: center;
justify-content: flex-start;
gap: 1rem;
}
.view-toggle-container {
display: flex;
background: #f1f5f9;
padding: 0.25rem;
border-radius: 8px;
gap: 0.25rem;
}
.mode-toggle-btn {
padding: 0.5rem 1rem;
border: none;
background: transparent;
border-radius: 6px;
font-size: 1.08rem;
font-weight: 700;
color: var(--text-muted);
cursor: pointer;
transition: all 0.2s ease;
}
.mode-toggle-btn:hover {
color: var(--text-main);
}
.mode-toggle-btn.active {
background: var(--white);
color: var(--primary-color);
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
/* --- Enhanced Location View --- */
.location-view-wrapper {
display: flex;
flex-direction: column;
height: calc(100vh - 120px);
}
.location-filter-bar {
padding: 1rem 1.5rem;
background: var(--white);
border-bottom: 1px solid var(--border-color);
display: flex;
align-items: center;
gap: 2rem;
}
.filter-group {
display: flex;
align-items: center;
gap: 0.75rem;
}
.filter-group label {
font-size: 1.08rem;
font-weight: 800;
color: var(--text-main);
}
.filter-group select {
padding: 0.4rem 0.75rem;
border: 1px solid var(--border-color);
border-radius: 6px;
font-size: 1.08rem;
color: var(--text-main);
background: var(--white);
min-width: 140px;
}
.map-pagination {
margin-left: auto;
display: flex;
align-items: center;
gap: 1rem;
}
.location-main-content {
flex: 1;
display: grid;
grid-template-columns: 1.4fr 1fr;
gap: 1.5rem;
padding: 1.5rem;
overflow: hidden;
}
.map-container-section {
display: flex;
flex-direction: column;
overflow: auto;
}
.location-box-point {
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
}
.box-label-text {
font-size: 0.87rem;
font-weight: 900;
color: var(--primary-color);
pointer-events: none;
text-shadow: 0 0 2px white;
}
.asset-list-section {
background: var(--white);
border-radius: 12px;
border: 1px solid var(--border-color);
display: flex;
flex-direction: column;
overflow: hidden;
}
.asset-list-section .section-header {
padding: 1rem 1.25rem;
border-bottom: 1px solid var(--border-color);
background: #f8fafc;
}
.asset-list-section h4 {
margin: 0;
font-size: 1.25rem;
color: var(--text-main);
}
.mini-table-wrapper {
flex: 1;
overflow-y: auto;
}
.compact-table {
width: 100%;
border-collapse: collapse;
}
.compact-table th {
position: sticky;
top: 0;
background: var(--white);
padding: 0.75rem 1rem;
text-align: left;
font-size: 1rem;
font-weight: 800;
color: var(--text-muted);
border-bottom: 1px solid var(--border-color);
}
.compact-table td {
padding: 0.75rem 1rem;
font-size: 1.08rem;
border-bottom: 1px solid #f1f5f9;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 150px;
}
.compact-table tr.clickable-row:hover {
background: #f1f5f9;
cursor: pointer;
}
/* --- Asset Detail Sidebar (LocationView) --- */
.asset-detail-sidebar {
padding-top: 1rem;
background: var(--white);
height: 100%;
overflow-y: auto;
}
.detail-section {
margin-bottom: 20px;
padding: 0 1.25rem;
}
.detail-section-title {
font-size: 17px;
font-weight: 800;
color: var(--primary-color);
border-bottom: 1px solid var(--border-color);
padding-bottom: 6px;
margin-bottom: 12px;
}
.detail-grid {
display: grid;
grid-template-columns: repeat(2, minmax(80px, auto) 1fr);
gap: 8px 16px;
}
.detail-label {
font-size: 16px;
color: var(--text-muted);
font-weight: 700;
display: flex;
align-items: center;
}
.detail-value {
font-size: 19px;
color: var(--text-main);
font-weight: 600;
word-break: break-all;
display: flex;
align-items: center;
}
.detail-header-actions {
display: flex;
align-items: center;
gap: 8px;
width: 100%;
}
.detail-header-title {
flex: 1;
font-size: 1.27rem;
font-weight: 800;
font-size: var(--fs-base);
}
/* --- System Dashboard Stats Row (ListFactory) --- */
.dashboard-stats-row {
display: grid;
grid-template-columns: 1fr 1.5fr 1.5fr;
gap: 2rem;
gap: 0;
border-bottom: 1px solid var(--border-color);
padding-bottom: 1.25rem;
padding: 0;
margin-bottom: 1rem;
flex-shrink: 0;
background: #fff;
}
.stat-group-item {
min-width: 0;
display: flex;
flex-direction: column;
padding: 1.5rem;
}
.stat-group-item.bordered {
@@ -549,7 +103,7 @@
}
.stat-group-item .stat-label {
font-size: 15px;
font-size: var(--fs-sm);
font-weight: 600;
color: var(--text-muted);
margin-bottom: 0.25rem;
@@ -557,16 +111,16 @@
}
.stat-group-item .stat-value {
font-size: 37px;
font-size: var(--fs-xl);
font-weight: 900;
color: var(--text-main);
line-height: 1.1;
background: none;
-webkit-text-fill-color: initial;
display: flex;
align-items: baseline;
}
.stat-group-item .stat-value span {
font-size: 17px;
font-size: var(--fs-sm);
font-weight: 700;
margin-left: 4px;
color: var(--text-muted);
@@ -575,13 +129,14 @@
.stat-group-item .stat-sub {
display: flex;
gap: 1rem;
font-size: 19px;
font-size: var(--fs-base);
color: var(--text-muted);
margin-top: 0.5rem;
}
.stat-group-item .stat-sub strong {
font-size: 24px;
font-size: var(--fs-md);
font-weight: 800;
}
.text-primary {
@@ -597,25 +152,16 @@
}
.stat-title {
font-size: 19px;
font-size: var(--fs-base);
font-weight: 900;
color: var(--text-main);
white-space: nowrap;
}
.stat-badges {
display: flex;
gap: 4px;
flex-wrap: wrap;
justify-content: flex-end;
}
.detail-stat-body {
display: flex;
flex-direction: column;
gap: 0.4rem;
font-size: 17px;
color: var(--text-muted);
gap: 0.5rem;
}
.loc-summary {
@@ -624,9 +170,15 @@
flex-wrap: wrap;
}
.loc-summary span {
font-size: var(--fs-sm);
color: var(--text-muted);
}
.loc-summary span strong {
color: var(--text-main);
font-size: 19px;
font-size: var(--fs-base);
font-weight: 800;
}
.type-summary {
@@ -641,11 +193,14 @@
.type-summary span {
cursor: help;
font-size: var(--fs-xs);
color: var(--text-muted);
}
.type-summary span strong {
color: var(--text-main);
font-size: 19px;
font-size: var(--fs-sm);
font-weight: 800;
}
.text-danger {
@@ -653,3 +208,166 @@
font-weight: 800;
}
/* --- Location View (Strict Zero-Scroll Layout) --- */
.location-view-wrapper {
display: flex;
flex-direction: column;
height: 100%; /* 부모(view-container)의 100% 강제 */
width: 100%;
background: var(--white);
overflow: hidden;
}
.location-filter-bar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.5rem 1.5rem;
border-bottom: 1px solid var(--border-color);
background: var(--white);
flex-shrink: 0;
}
.location-main-content {
flex: 1;
display: grid;
grid-template-columns: 2fr 1fr; /* Default: Very wide screens */
background: var(--white);
overflow: hidden;
align-items: stretch;
min-height: 0;
}
/* --- Responsive Layout for Location View --- */
@media (max-width: 1600px) {
.location-main-content {
grid-template-columns: 1.5fr 1fr; /* Normal Desktops */
}
}
@media (max-width: 1200px) {
.location-main-content {
grid-template-columns: 1.2fr 1fr; /* Tablets / Small Laptops */
}
}
@media (max-width: 768px) {
.location-main-content {
grid-template-columns: 1fr;
grid-template-rows: auto 1fr; /* Stacked on mobile */
overflow-y: auto;
}
.map-container-section {
border-right: none;
border-bottom: 1px solid var(--border-color);
height: 350px;
}
}
.map-container-section {
position: relative;
overflow: hidden;
border-right: 1px solid var(--border-color);
display: flex;
align-items: center;
justify-content: center;
background: #f1f5f9;
height: 100%;
}
.map-frame-wrapper {
position: relative;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.map-image {
max-width: 100%;
max-height: 100%;
width: auto;
height: auto;
object-fit: contain; /* 공간에 맞춰 자동 축소, 절대 넘치지 않음 */
display: block;
}
.map-overlay {
position: absolute;
pointer-events: none;
}
.asset-list-section {
display: flex;
flex-direction: column;
height: 100%;
overflow: hidden;
background: var(--white);
}
.section-header {
padding: 1rem 1.25rem;
border-bottom: 1px solid var(--border-color);
background: #f8fafc;
flex-shrink: 0;
}
.mini-table-wrapper {
flex: 1;
overflow-y: auto;
min-height: 0;
}
/* --- Asset Details (Refined Typography) --- */
.asset-detail-sidebar {
padding: 1rem 0;
height: 100%;
overflow-y: auto;
}
.detail-section {
margin-bottom: 24px;
padding: 0 1.25rem;
}
.detail-section-title {
font-size: var(--fs-xs);
font-weight: 800;
color: var(--primary-color);
border-bottom: 1px solid var(--border-color);
padding-bottom: 4px;
margin-bottom: 12px;
text-transform: uppercase;
}
.detail-grid-2col {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px 16px;
}
.detail-item.full-width {
grid-column: span 2;
}
.detail-label-sm {
font-size: var(--fs-xs);
color: var(--text-muted);
font-weight: 700;
}
.detail-value-lg {
font-size: var(--fs-base);
color: var(--text-main);
font-weight: 600;
line-height: 1.3;
}
.asset-code-title {
font-size: var(--fs-md);
font-weight: 900;
color: var(--text-main);
}

View File

@@ -119,7 +119,7 @@ table {
}
th, td {
padding: 0.8rem 1.2rem;
padding: 0.5rem 1rem;
border-bottom: 1px solid var(--border-color);
text-align: left; /* 기본은 좌측 정렬 */
white-space: nowrap;