WIP(style): UI 컴포넌트 하드코딩 제거 및 CSS 통합 (진행 중)

- 작업 상태: 진행 중 (Work In Progress)
- 주요 변경 사항:
  1. CSS 파일 통합: HWModal, SWModal, ListFactory 등에서 인라인 스타일(style 속성) 전면 제거 및 클래스 기반으로 재작성
  2. 폰트/타이포그래피 스케일업: 최소 폰트 14px 기준으로 전체 텍스트 크기 상향 및 굵기(font-weight) 상향 조정
  3. GNB(상단바) 레이아웃 개편: 2단 구조(로고 라인 / 메뉴 라인)로 변경 및 카테고리 텍스트 라벨 생략을 통한 간결화
  4. 로고 이미지 교체: image 92.png로 업데이트 및 경로 정리
  5. 디자인 가이드 분리: README에서 design_rule.md로 디자인 정책 문서 독립

* 참고: 현재 디자인 검토를 위한 중간 반영 상태이며, 피드백에 따라 추가 수정 예정임.
This commit is contained in:
2026-06-12 15:57:20 +09:00
parent 56abdddbc7
commit b169176d57
12 changed files with 420 additions and 302 deletions

View File

@@ -1,8 +1,8 @@
/* --- Premium Executive Dashboard View Specific Styles --- */
.dashboard-section-title {
padding: 0 0 0 8px;
font-size: 1.55rem;
font-weight: 800;
font-size: 2.06rem;
font-weight: 900;
color: var(--text-main);
letter-spacing: -0.02em;
border-left: 4px solid var(--primary-color);
@@ -63,8 +63,8 @@
/* Premium KPI Value Styling */
.stat-value {
font-size: 2.41rem;
font-weight: 800;
font-size: 3.21rem;
font-weight: 900;
background: linear-gradient(135deg, #1E5149 0%, #3B82F6 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
@@ -81,9 +81,9 @@
}
.stat-label {
font-size: 1.36rem;
font-size: 1.81rem;
color: var(--text-muted);
font-weight: 700;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.05em;
}
@@ -118,10 +118,10 @@
.table-premium th {
background: #F8FAFC;
color: #475569;
font-weight: 700;
font-weight: 800;
padding: 1rem;
text-transform: uppercase;
font-size: 0.96rem;
font-size: 1.28rem;
letter-spacing: 0.05em;
}
@@ -129,7 +129,7 @@
padding: 1rem;
border-bottom: 1px solid #E2E8F0;
color: #1E293B;
font-size: 16px;
font-size: 21px;
}
.table-premium tr:hover td {
@@ -177,9 +177,9 @@
}
.page-info {
font-size: 0.96rem;
font-size: 1.28rem;
color: var(--text-muted);
font-weight: 600;
font-weight: 700;
}
.page-btns button {
@@ -187,7 +187,7 @@
border: 1px solid var(--border-color);
background: var(--white);
border-radius: 4px;
font-size: 0.96rem;
font-size: 1.28rem;
cursor: pointer;
}
@@ -197,9 +197,9 @@
}
.slider-indicator {
font-weight: 700;
font-weight: 800;
color: var(--text-muted);
font-size: 1.41rem;
font-size: 1.88rem;
}
.dashboard-slider-viewport {
@@ -239,8 +239,8 @@
}
.section-title {
font-size: 1.125rem;
font-weight: 700;
font-size: 1.5rem;
font-weight: 800;
margin-bottom: 1rem;
color: var(--text-main);
display: flex;
@@ -278,8 +278,8 @@
display: inline-block;
padding: 0.25rem 0.625rem;
border-radius: 9999px;
font-size: 0.75rem;
font-weight: 600;
font-size: 1rem;
font-weight: 700;
background: #ecfdf5;
color: #059669;
border: 1px solid #d1fae5;
@@ -318,8 +318,8 @@
border: none;
background: transparent;
border-radius: 6px;
font-size: 0.8125rem;
font-weight: 600;
font-size: 1.08rem;
font-weight: 700;
color: var(--text-muted);
cursor: pointer;
transition: all 0.2s ease;
@@ -358,8 +358,8 @@
}
.filter-group label {
font-size: 0.8125rem;
font-weight: 700;
font-size: 1.08rem;
font-weight: 800;
color: var(--text-main);
}
@@ -367,7 +367,7 @@
padding: 0.4rem 0.75rem;
border: 1px solid var(--border-color);
border-radius: 6px;
font-size: 0.8125rem;
font-size: 1.08rem;
color: var(--text-main);
background: var(--white);
min-width: 140px;
@@ -403,8 +403,8 @@
}
.box-label-text {
font-size: 0.65rem;
font-weight: 800;
font-size: 0.87rem;
font-weight: 900;
color: var(--primary-color);
pointer-events: none;
text-shadow: 0 0 2px white;
@@ -427,7 +427,7 @@
.asset-list-section h4 {
margin: 0;
font-size: 0.9375rem;
font-size: 1.25rem;
color: var(--text-main);
}
@@ -447,15 +447,15 @@
background: var(--white);
padding: 0.75rem 1rem;
text-align: left;
font-size: 0.75rem;
font-weight: 700;
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: 0.8125rem;
font-size: 1.08rem;
border-bottom: 1px solid #f1f5f9;
white-space: nowrap;
overflow: hidden;
@@ -482,8 +482,8 @@
}
.detail-section-title {
font-size: 13px;
font-weight: 700;
font-size: 17px;
font-weight: 800;
color: var(--primary-color);
border-bottom: 1px solid var(--border-color);
padding-bottom: 6px;
@@ -497,17 +497,17 @@
}
.detail-label {
font-size: 12px;
font-size: 16px;
color: var(--text-muted);
font-weight: 600;
font-weight: 700;
display: flex;
align-items: center;
}
.detail-value {
font-size: 14px;
font-size: 19px;
color: var(--text-main);
font-weight: 500;
font-weight: 600;
word-break: break-all;
display: flex;
align-items: center;
@@ -522,6 +522,134 @@
.detail-header-title {
flex: 1;
font-size: 0.95rem;
font-weight: 700;
font-size: 1.27rem;
font-weight: 800;
}
/* --- System Dashboard Stats Row (ListFactory) --- */
.dashboard-stats-row {
display: grid;
grid-template-columns: 1fr 1.5fr 1.5fr;
gap: 2rem;
border-bottom: 1px solid var(--border-color);
padding-bottom: 1.25rem;
margin-bottom: 1rem;
flex-shrink: 0;
}
.stat-group-item {
min-width: 0;
display: flex;
flex-direction: column;
}
.stat-group-item.bordered {
border-left: 1px solid var(--border-color);
padding-left: 1.5rem;
}
.stat-group-item .stat-label {
font-size: 15px;
font-weight: 600;
color: var(--text-muted);
margin-bottom: 0.25rem;
letter-spacing: 0;
}
.stat-group-item .stat-value {
font-size: 37px;
font-weight: 900;
color: var(--text-main);
line-height: 1.1;
background: none;
-webkit-text-fill-color: initial;
}
.stat-group-item .stat-value span {
font-size: 17px;
font-weight: 700;
margin-left: 4px;
color: var(--text-muted);
}
.stat-group-item .stat-sub {
display: flex;
gap: 1rem;
font-size: 19px;
color: var(--text-muted);
margin-top: 0.5rem;
}
.stat-group-item .stat-sub strong {
font-size: 24px;
}
.text-primary {
color: var(--primary-color) !important;
}
.detail-stat-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 0.5rem;
gap: 0.5rem;
}
.stat-title {
font-size: 19px;
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);
}
.loc-summary {
display: flex;
gap: 1rem;
flex-wrap: wrap;
}
.loc-summary span strong {
color: var(--text-main);
font-size: 19px;
}
.type-summary {
display: flex;
gap: 0.8rem;
flex-wrap: wrap;
opacity: 0.9;
border-top: 1px dashed var(--border-color);
padding-top: 6px;
margin-top: 4px;
}
.type-summary span {
cursor: help;
}
.type-summary span strong {
color: var(--text-main);
font-size: 19px;
}
.text-danger {
color: var(--danger) !important;
font-weight: 800;
}