도커환경으로 변경

This commit is contained in:
Taehoon
2026-06-19 16:19:11 +09:00
parent b864d615ea
commit 5c416d5f43
59 changed files with 9509 additions and 5798 deletions

View File

@@ -1,233 +1,233 @@
/* ==========================================================================
Project Master Analysis - Specific Styles
(Inherits base styles from common.css)
========================================================================== */
.analysis-content {
padding: 24px;
max-width: 1400px;
margin: var(--topbar-h, 36px) auto 0;
}
/* AI Badge & Header */
.ai-badge {
background: #6366f1;
color: white;
padding: 2px 10px;
border-radius: 20px;
font-size: 11px;
font-weight: 800;
display: inline-block;
margin-bottom: 8px;
}
.analysis-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 24px;
padding: 10px 0;
border-bottom: 1px solid var(--border-color);
}
.analysis-header h2 { font-size: 22px; font-weight: 800; color: var(--text-main); margin-bottom: 4px; }
.analysis-header p { font-size: 13px; color: var(--text-sub); }
/* Top Info Grid */
.top-info-grid {
display: grid;
grid-template-columns: 1fr 2.2fr;
gap: 16px;
margin-bottom: 24px;
}
.dl-model-info, .soi-deep-dive {
background: white;
border-radius: var(--radius-xl);
border: 1px solid var(--border-color);
padding: 20px;
box-shadow: var(--box-shadow);
}
.card-header { margin-bottom: 15px; display: flex; align-items: center; justify-content: space-between; }
.card-header h4 { font-size: 14px; font-weight: 800; color: var(--primary-color); margin: 0; }
.model-desc-vertical { display: flex; flex-direction: column; gap: 12px; }
.model-item-vertical { display: flex; align-items: center; gap: 12px; }
.model-tag { background: var(--bg-muted); color: var(--text-sub); padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; }
.soi-info-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.soi-info-column h6 { font-size: 12px; font-weight: 800; color: var(--primary-color); margin: 0 0 8px 0; }
.soi-info-column p { font-size: 11.5px; color: var(--text-sub); line-height: 1.6; margin: 0; }
/* Chart Grid Layout */
.analysis-charts-grid {
display: grid;
grid-template-columns: 1fr 1.8fr;
gap: 20px;
margin-bottom: 24px;
}
.chart-container-box {
background: white;
border-radius: var(--radius-xl);
padding: 20px;
border: 1px solid var(--border-color);
height: 360px;
display: flex;
flex-direction: column;
box-shadow: var(--box-shadow);
}
.chart-container-box h5 { margin: 0 0 15px 0; font-size: 13px; font-weight: 700; color: var(--text-main); }
/* Timeline Analysis Card */
.analysis-card {
background: white;
border-radius: var(--radius-xl);
border: 1px solid var(--border-color);
box-shadow: var(--box-shadow);
margin-bottom: 24px;
overflow: hidden;
}
.analysis-card .card-header {
padding: 16px 24px;
background: #fff;
border-bottom: 1px solid var(--border-color);
}
.analysis-card .card-body { padding: 24px; }
/* SOI Guide Styles */
.d-war-guide {
display: flex;
gap: 10px;
margin-bottom: 20px;
padding: 12px;
background: var(--bg-muted);
border-radius: var(--radius-lg);
}
.guide-item {
font-size: 11px;
font-weight: 700;
padding: 4px 10px;
border-radius: 4px;
display: flex;
align-items: center;
gap: 6px;
}
.guide-item.active-low { background: #dcfce7; color: #166534; }
.guide-item.warning-mid { background: #fef9c3; color: #854d0e; }
.guide-item.danger-high { background: #ffedd5; color: #9a3412; }
.guide-item.hazard-critical { background: #fee2e2; color: #991b1b; }
/* Data Table Customization */
.table-scroll-wrapper {
overflow-x: auto;
overflow-y: auto;
max-height: 600px;
border-radius: var(--radius-lg);
border: 1px solid var(--border-color);
background: white;
}
.p-war-table {
width: 100%;
border-collapse: separate;
border-spacing: 0;
table-layout: fixed; /* 컬럼 너비 고정 */
}
.p-war-table th {
position: sticky;
top: 0;
z-index: 20;
background: #f8fafc;
padding: 16px 15px;
font-size: 12px;
font-weight: 800;
color: #475569;
border-bottom: 2px solid #e2e8f0;
white-space: nowrap;
}
.p-war-table td {
padding: 14px 15px;
font-size: 13px;
border-bottom: 1px solid #f1f5f9;
vertical-align: middle;
}
/* 컬럼별 너비 정의 */
.p-war-table th:nth-child(1), .p-war-table td:nth-child(1) { width: 28%; text-align: left; } /* 프로젝트명 */
.p-war-table th:nth-child(2), .p-war-table td:nth-child(2) { width: 10%; text-align: right; } /* 파일 수 */
.p-war-table th:nth-child(3), .p-war-table td:nth-child(3) { width: 10%; text-align: right; } /* 방치일 */
.p-war-table th:nth-child(4), .p-war-table td:nth-child(4) { width: 10%; text-align: center; } /* 상태 판정 */
.p-war-table th:nth-child(5), .p-war-table td:nth-child(5) { width: 14%; text-align: right; } /* P-WAR+ */
.p-war-table th:nth-child(6), .p-war-table td:nth-child(6) { width: 12%; text-align: right; } /* 현재 SOI */
.p-war-table th:nth-child(7), .p-war-table td:nth-child(7) { width: 12%; text-align: center; } /* 실무 투입 */
.p-war-table th:nth-child(8), .p-war-table td:nth-child(8) { width: 14%; text-align: center; } /* AI 예보 */
.project-row { cursor: pointer; transition: background 0.2s; }
.project-row:hover { background: var(--hover-bg) !important; }
/* SOI Value Styling */
.p-war-value { font-weight: 800; font-family: 'Consolas', monospace; }
/* Accordion Detail Styles */
.detail-row { display: none; background: #fafafa; }
.detail-row.active { display: table-row; }
.detail-container { padding: 20px 24px; }
.formula-explanation-card {
background: white;
border-radius: var(--radius-lg);
padding: 24px;
border: 1px solid var(--border-color);
box-shadow: var(--box-shadow);
}
.formula-header { font-size: 13px; font-weight: 700; color: #6366f1; margin-bottom: 15px; }
/* Work Effort Section */
.work-effort-section { background: var(--bg-muted); padding: 16px; border-radius: var(--radius-lg); margin-bottom: 20px; }
.work-effort-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.work-effort-bar-bg { width: 100%; height: 6px; background: #e2e8f0; border-radius: 3px; overflow: hidden; margin-bottom: 10px; }
/* Formula Steps Grid */
.formula-steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.formula-step { display: flex; gap: 12px; }
.step-num { background: var(--primary-color); color: white; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; flex-shrink: 0; }
.step-title { font-size: 12px; font-weight: 700; color: var(--text-main); margin-bottom: 4px; }
.math-logic { font-family: 'Consolas', monospace; background: var(--bg-muted); padding: 4px 8px; border-radius: 4px; font-weight: 700; color: var(--text-main); font-size: 12px; display: inline-block; }
.final-result-area { margin-top: 20px; padding-top: 15px; display: flex; justify-content: space-between; align-items: center; }
/* Modal Analysis Specific */
.modal-footer {
padding: 16px 24px;
background: #fff;
border-top: 1px solid var(--border-color);
text-align: right;
display: flex;
justify-content: flex-end;
}
/* Formula & Badges */
.formula-section { margin-bottom: 20px; }
.formula-box { background: var(--primary-lv-0); color: var(--primary-color); padding: 15px; border-radius: var(--radius-lg); font-weight: 800; text-align: center; font-family: monospace; font-size: 16px; }
.badge-active { background: #dcfce7; color: #166534; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; }
.badge-warning { background: #fef9c3; color: #854d0e; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; }
.badge-danger { background: #ffedd5; color: #9a3412; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; }
.badge-system { background: #fee2e2; color: #991b1b; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; }
.highlight-var { color: #2563eb; }
.highlight-val { color: #059669; }
.highlight-penalty { color: #dc2626; }
.text-plus { color: #059669; font-weight: 700; }
.text-minus { color: #dc2626; font-weight: 700; }
.font-bold { font-weight: 700; }
/* ==========================================================================
Project Master Analysis - Specific Styles
(Inherits base styles from common.css)
========================================================================== */
.analysis-content {
padding: 24px;
max-width: 1400px;
margin: var(--topbar-h, 36px) auto 0;
}
/* AI Badge & Header */
.ai-badge {
background: #6366f1;
color: white;
padding: 2px 10px;
border-radius: 20px;
font-size: 11px;
font-weight: 800;
display: inline-block;
margin-bottom: 8px;
}
.analysis-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 24px;
padding: 10px 0;
border-bottom: 1px solid var(--border-color);
}
.analysis-header h2 { font-size: 22px; font-weight: 800; color: var(--text-main); margin-bottom: 4px; }
.analysis-header p { font-size: 13px; color: var(--text-sub); }
/* Top Info Grid */
.top-info-grid {
display: grid;
grid-template-columns: 1fr 2.2fr;
gap: 16px;
margin-bottom: 24px;
}
.dl-model-info, .soi-deep-dive {
background: white;
border-radius: var(--radius-xl);
border: 1px solid var(--border-color);
padding: 20px;
box-shadow: var(--box-shadow);
}
.card-header { margin-bottom: 15px; display: flex; align-items: center; justify-content: space-between; }
.card-header h4 { font-size: 14px; font-weight: 800; color: var(--primary-color); margin: 0; }
.model-desc-vertical { display: flex; flex-direction: column; gap: 12px; }
.model-item-vertical { display: flex; align-items: center; gap: 12px; }
.model-tag { background: var(--bg-muted); color: var(--text-sub); padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; }
.soi-info-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.soi-info-column h6 { font-size: 12px; font-weight: 800; color: var(--primary-color); margin: 0 0 8px 0; }
.soi-info-column p { font-size: 11.5px; color: var(--text-sub); line-height: 1.6; margin: 0; }
/* Chart Grid Layout */
.analysis-charts-grid {
display: grid;
grid-template-columns: 1fr 1.8fr;
gap: 20px;
margin-bottom: 24px;
}
.chart-container-box {
background: white;
border-radius: var(--radius-xl);
padding: 20px;
border: 1px solid var(--border-color);
height: 360px;
display: flex;
flex-direction: column;
box-shadow: var(--box-shadow);
}
.chart-container-box h5 { margin: 0 0 15px 0; font-size: 13px; font-weight: 700; color: var(--text-main); }
/* Timeline Analysis Card */
.analysis-card {
background: white;
border-radius: var(--radius-xl);
border: 1px solid var(--border-color);
box-shadow: var(--box-shadow);
margin-bottom: 24px;
overflow: hidden;
}
.analysis-card .card-header {
padding: 16px 24px;
background: #fff;
border-bottom: 1px solid var(--border-color);
}
.analysis-card .card-body { padding: 24px; }
/* SOI Guide Styles */
.d-war-guide {
display: flex;
gap: 10px;
margin-bottom: 20px;
padding: 12px;
background: var(--bg-muted);
border-radius: var(--radius-lg);
}
.guide-item {
font-size: 11px;
font-weight: 700;
padding: 4px 10px;
border-radius: 4px;
display: flex;
align-items: center;
gap: 6px;
}
.guide-item.active-low { background: #dcfce7; color: #166534; }
.guide-item.warning-mid { background: #fef9c3; color: #854d0e; }
.guide-item.danger-high { background: #ffedd5; color: #9a3412; }
.guide-item.hazard-critical { background: #fee2e2; color: #991b1b; }
/* Data Table Customization */
.table-scroll-wrapper {
overflow-x: auto;
overflow-y: auto;
max-height: 600px;
border-radius: var(--radius-lg);
border: 1px solid var(--border-color);
background: white;
}
.p-war-table {
width: 100%;
border-collapse: separate;
border-spacing: 0;
table-layout: fixed; /* 컬럼 너비 고정 */
}
.p-war-table th {
position: sticky;
top: 0;
z-index: 20;
background: #f8fafc;
padding: 16px 15px;
font-size: 12px;
font-weight: 800;
color: #475569;
border-bottom: 2px solid #e2e8f0;
white-space: nowrap;
}
.p-war-table td {
padding: 14px 15px;
font-size: 13px;
border-bottom: 1px solid #f1f5f9;
vertical-align: middle;
}
/* 컬럼별 너비 정의 */
.p-war-table th:nth-child(1), .p-war-table td:nth-child(1) { width: 28%; text-align: left; } /* 프로젝트명 */
.p-war-table th:nth-child(2), .p-war-table td:nth-child(2) { width: 10%; text-align: right; } /* 파일 수 */
.p-war-table th:nth-child(3), .p-war-table td:nth-child(3) { width: 10%; text-align: right; } /* 방치일 */
.p-war-table th:nth-child(4), .p-war-table td:nth-child(4) { width: 10%; text-align: center; } /* 상태 판정 */
.p-war-table th:nth-child(5), .p-war-table td:nth-child(5) { width: 14%; text-align: right; } /* P-WAR+ */
.p-war-table th:nth-child(6), .p-war-table td:nth-child(6) { width: 12%; text-align: right; } /* 현재 SOI */
.p-war-table th:nth-child(7), .p-war-table td:nth-child(7) { width: 12%; text-align: center; } /* 실무 투입 */
.p-war-table th:nth-child(8), .p-war-table td:nth-child(8) { width: 14%; text-align: center; } /* AI 예보 */
.project-row { cursor: pointer; transition: background 0.2s; }
.project-row:hover { background: var(--hover-bg) !important; }
/* SOI Value Styling */
.p-war-value { font-weight: 800; font-family: 'Consolas', monospace; }
/* Accordion Detail Styles */
.detail-row { display: none; background: #fafafa; }
.detail-row.active { display: table-row; }
.detail-container { padding: 20px 24px; }
.formula-explanation-card {
background: white;
border-radius: var(--radius-lg);
padding: 24px;
border: 1px solid var(--border-color);
box-shadow: var(--box-shadow);
}
.formula-header { font-size: 13px; font-weight: 700; color: #6366f1; margin-bottom: 15px; }
/* Work Effort Section */
.work-effort-section { background: var(--bg-muted); padding: 16px; border-radius: var(--radius-lg); margin-bottom: 20px; }
.work-effort-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.work-effort-bar-bg { width: 100%; height: 6px; background: #e2e8f0; border-radius: 3px; overflow: hidden; margin-bottom: 10px; }
/* Formula Steps Grid */
.formula-steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.formula-step { display: flex; gap: 12px; }
.step-num { background: var(--primary-color); color: white; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; flex-shrink: 0; }
.step-title { font-size: 12px; font-weight: 700; color: var(--text-main); margin-bottom: 4px; }
.math-logic { font-family: 'Consolas', monospace; background: var(--bg-muted); padding: 4px 8px; border-radius: 4px; font-weight: 700; color: var(--text-main); font-size: 12px; display: inline-block; }
.final-result-area { margin-top: 20px; padding-top: 15px; display: flex; justify-content: space-between; align-items: center; }
/* Modal Analysis Specific */
.modal-footer {
padding: 16px 24px;
background: #fff;
border-top: 1px solid var(--border-color);
text-align: right;
display: flex;
justify-content: flex-end;
}
/* Formula & Badges */
.formula-section { margin-bottom: 20px; }
.formula-box { background: var(--primary-lv-0); color: var(--primary-color); padding: 15px; border-radius: var(--radius-lg); font-weight: 800; text-align: center; font-family: monospace; font-size: 16px; }
.badge-active { background: #dcfce7; color: #166534; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; }
.badge-warning { background: #fef9c3; color: #854d0e; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; }
.badge-danger { background: #ffedd5; color: #9a3412; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; }
.badge-system { background: #fee2e2; color: #991b1b; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; }
.highlight-var { color: #2563eb; }
.highlight-val { color: #059669; }
.highlight-penalty { color: #dc2626; }
.text-plus { color: #059669; font-weight: 700; }
.text-minus { color: #dc2626; font-weight: 700; }
.font-bold { font-weight: 700; }

View File

@@ -1,170 +1,170 @@
:root {
/* 1. Core Colors */
--primary-color: #1E5149;
--primary-hover: #163b36;
--primary-lv-0: #f0f7f4;
--primary-lv-1: #e1eee9;
--primary-lv-8: #193833;
--bg-default: #FFFFFF;
--bg-muted: #F9FAFB;
--hover-bg: #F7FAFC;
--text-main: #111827;
--text-sub: #6B7280;
--error-color: #F21D0D;
--border-color: #E2E8F0;
/* 2. Gradients */
--header-gradient: linear-gradient(90deg, #193833 0%, #1e5149 100%);
--ai-gradient: linear-gradient(180deg, #da8cf1 0%, #8bb1f2 100%);
/* 3. Spacing & Radius */
--space-xs: 4px;
--space-sm: 8px;
--space-md: 16px;
--space-lg: 32px;
--radius-sm: 4px;
--radius-md: 6px;
--radius-lg: 8px;
--radius-xl: 12px;
/* 4. Typography */
--fz-h1: 20px;
--fz-h2: 16px;
--fz-body: 13px;
--fz-small: 11px;
/* 5. Shadows */
--box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
--box-shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.1);
--box-shadow-modal: 0 25px 50px -12px rgba(0,0,0,0.5);
/* 6. Layout Constants */
--topbar-h: 36px;
}
/* Base Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: 'Pretendard', -apple-system, sans-serif;
font-size: var(--fz-body);
color: var(--text-main);
background: var(--bg-default);
min-height: 100vh;
}
/* Page Specific Overrides */
body:has(.mail-wrapper) { height: 100vh; overflow: hidden; }
input, select, textarea, button { font-family: inherit; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; transition: all 0.2s ease; }
/* Utilities: Layout & Text */
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-column { display: flex; flex-direction: column; }
.text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-full { width: 100%; }
.pointer { cursor: pointer; }
/* Components: Topbar */
.topbar {
width: 100%;
background: var(--header-gradient);
color: #fff;
padding: 0 var(--space-lg);
position: fixed;
top: 0;
height: var(--topbar-h);
display: flex;
align-items: center;
z-index: 2000;
}
.topbar-header h2 { font-size: 16px; color: white; margin-right: 60px; font-weight: 700; }
.nav-list { display: flex; list-style: none; gap: var(--space-sm); }
.nav-item {
padding: 4px 12px; border-radius: var(--radius-sm);
color: rgba(255, 255, 255, 0.8); font-size: 14px;
cursor: pointer;
}
.nav-item:hover { background: var(--primary-lv-8); color: #fff; }
.nav-item.active { background: var(--primary-lv-0); color: var(--primary-color) !important; font-weight: 700; }
/* Components: Modals */
.modal-overlay {
display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px);
z-index: 3000; justify-content: center; align-items: center;
}
.modal-content {
background: white; padding: 24px; border-radius: var(--radius-xl);
width: 90%; max-width: 500px; box-shadow: var(--box-shadow-modal);
}
.modal-header {
display: flex; justify-content: space-between; align-items: center;
margin-bottom: 20px; border-bottom: 1px solid var(--border-color); padding-bottom: 12px;
}
.modal-header h3 { margin: 0; font-size: 16px; color: var(--primary-color); font-weight: 700; }
.modal-close { cursor: pointer; font-size: 24px; color: var(--text-sub); line-height: 1; transition: 0.2s; }
.modal-close:hover { color: var(--text-main); }
/* Components: Data Tables */
.data-table { width: 100%; border-collapse: collapse; font-size: 12px; background: #fff; }
.data-table th, .data-table td { padding: 12px 10px; border-bottom: 1px solid var(--border-color); text-align: left; }
.data-table th { color: var(--text-sub); font-weight: 700; background: var(--bg-muted); font-size: 11px; text-transform: uppercase; }
.data-table tr:hover { background: var(--hover-bg); }
/* Components: Standard Buttons */
.btn {
display: inline-flex; align-items: center; justify-content: center; gap: 8px;
padding: 8px 16px; border-radius: var(--radius-lg); font-weight: 600; font-size: 13px;
border: none; cursor: pointer; transition: all 0.2s ease;
}
.btn-primary { background: var(--primary-color); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-secondary { background: #f1f3f5; color: #495057; }
.btn-secondary:hover { background: #e9ecef; }
.btn-danger { background: #fee2e2; color: #dc2626; }
.btn-danger:hover { background: #fecaca; }
/* Compatibility Utils */
._button-xsmall {
display: inline-flex; align-items: center; justify-content: center;
padding: 4px 10px; font-size: 11px; font-weight: 600; border-radius: 4px; border: 1px solid var(--border-color);
background: #fff; color: var(--text-main); cursor: pointer; transition: 0.2s;
}
._button-xsmall:hover { background: var(--bg-muted); border-color: var(--primary-color); color: var(--primary-color); }
._button-small {
display: inline-flex; align-items: center; justify-content: center;
padding: 6px 14px; font-size: 12px; background: var(--primary-color); color: #fff; border-radius: 6px; border: none; cursor: pointer;
}
._button-medium {
display: inline-flex; align-items: center; justify-content: center;
padding: 10px 20px; background: var(--primary-color); color: #fff; border-radius: 6px; font-weight: 700; border: none; cursor: pointer;
}
.sync-btn { background: var(--primary-color); color: #fff; padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; }
/* Badges & Status Colors */
.badge {
padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 700;
display: inline-block; background: var(--primary-lv-1); color: var(--primary-color);
}
.status-complete { background: #e8f5e9; color: #2e7d32; }
.status-working { background: #fff8e1; color: #FFBF00; }
.status-checking { background: #e3f2fd; color: #1565c0; }
.status-pending { background: #f5f5f5; color: #757575; }
.status-error { background: #fee9e7; }
.warning-text { color: #FFBF00; font-weight: 600; }
.error-text { color: #F21D0D !important; font-weight: 700; }
/* Spinner */
.spinner {
display: none; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .3);
border-radius: 50%; border-top-color: #fff; animation: spin 1s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
:root {
/* 1. Core Colors */
--primary-color: #1E5149;
--primary-hover: #163b36;
--primary-lv-0: #f0f7f4;
--primary-lv-1: #e1eee9;
--primary-lv-8: #193833;
--bg-default: #FFFFFF;
--bg-muted: #F9FAFB;
--hover-bg: #F7FAFC;
--text-main: #111827;
--text-sub: #6B7280;
--error-color: #F21D0D;
--border-color: #E2E8F0;
/* 2. Gradients */
--header-gradient: linear-gradient(90deg, #193833 0%, #1e5149 100%);
--ai-gradient: linear-gradient(180deg, #da8cf1 0%, #8bb1f2 100%);
/* 3. Spacing & Radius */
--space-xs: 4px;
--space-sm: 8px;
--space-md: 16px;
--space-lg: 32px;
--radius-sm: 4px;
--radius-md: 6px;
--radius-lg: 8px;
--radius-xl: 12px;
/* 4. Typography */
--fz-h1: 20px;
--fz-h2: 16px;
--fz-body: 13px;
--fz-small: 11px;
/* 5. Shadows */
--box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
--box-shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.1);
--box-shadow-modal: 0 25px 50px -12px rgba(0,0,0,0.5);
/* 6. Layout Constants */
--topbar-h: 36px;
}
/* Base Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: 'Pretendard', -apple-system, sans-serif;
font-size: var(--fz-body);
color: var(--text-main);
background: var(--bg-default);
min-height: 100vh;
}
/* Page Specific Overrides */
body:has(.mail-wrapper) { height: 100vh; overflow: hidden; }
input, select, textarea, button { font-family: inherit; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; transition: all 0.2s ease; }
/* Utilities: Layout & Text */
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-column { display: flex; flex-direction: column; }
.text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-full { width: 100%; }
.pointer { cursor: pointer; }
/* Components: Topbar */
.topbar {
width: 100%;
background: var(--header-gradient);
color: #fff;
padding: 0 var(--space-lg);
position: fixed;
top: 0;
height: var(--topbar-h);
display: flex;
align-items: center;
z-index: 2000;
}
.topbar-header h2 { font-size: 16px; color: white; margin-right: 60px; font-weight: 700; }
.nav-list { display: flex; list-style: none; gap: var(--space-sm); }
.nav-item {
padding: 4px 12px; border-radius: var(--radius-sm);
color: rgba(255, 255, 255, 0.8); font-size: 14px;
cursor: pointer;
}
.nav-item:hover { background: var(--primary-lv-8); color: #fff; }
.nav-item.active { background: var(--primary-lv-0); color: var(--primary-color) !important; font-weight: 700; }
/* Components: Modals */
.modal-overlay {
display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px);
z-index: 3000; justify-content: center; align-items: center;
}
.modal-content {
background: white; padding: 24px; border-radius: var(--radius-xl);
width: 90%; max-width: 500px; box-shadow: var(--box-shadow-modal);
}
.modal-header {
display: flex; justify-content: space-between; align-items: center;
margin-bottom: 20px; border-bottom: 1px solid var(--border-color); padding-bottom: 12px;
}
.modal-header h3 { margin: 0; font-size: 16px; color: var(--primary-color); font-weight: 700; }
.modal-close { cursor: pointer; font-size: 24px; color: var(--text-sub); line-height: 1; transition: 0.2s; }
.modal-close:hover { color: var(--text-main); }
/* Components: Data Tables */
.data-table { width: 100%; border-collapse: collapse; font-size: 12px; background: #fff; }
.data-table th, .data-table td { padding: 12px 10px; border-bottom: 1px solid var(--border-color); text-align: left; }
.data-table th { color: var(--text-sub); font-weight: 700; background: var(--bg-muted); font-size: 11px; text-transform: uppercase; }
.data-table tr:hover { background: var(--hover-bg); }
/* Components: Standard Buttons */
.btn {
display: inline-flex; align-items: center; justify-content: center; gap: 8px;
padding: 8px 16px; border-radius: var(--radius-lg); font-weight: 600; font-size: 13px;
border: none; cursor: pointer; transition: all 0.2s ease;
}
.btn-primary { background: var(--primary-color); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-secondary { background: #f1f3f5; color: #495057; }
.btn-secondary:hover { background: #e9ecef; }
.btn-danger { background: #fee2e2; color: #dc2626; }
.btn-danger:hover { background: #fecaca; }
/* Compatibility Utils */
._button-xsmall {
display: inline-flex; align-items: center; justify-content: center;
padding: 4px 10px; font-size: 11px; font-weight: 600; border-radius: 4px; border: 1px solid var(--border-color);
background: #fff; color: var(--text-main); cursor: pointer; transition: 0.2s;
}
._button-xsmall:hover { background: var(--bg-muted); border-color: var(--primary-color); color: var(--primary-color); }
._button-small {
display: inline-flex; align-items: center; justify-content: center;
padding: 6px 14px; font-size: 12px; background: var(--primary-color); color: #fff; border-radius: 6px; border: none; cursor: pointer;
}
._button-medium {
display: inline-flex; align-items: center; justify-content: center;
padding: 10px 20px; background: var(--primary-color); color: #fff; border-radius: 6px; font-weight: 700; border: none; cursor: pointer;
}
.sync-btn { background: var(--primary-color); color: #fff; padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; }
/* Badges & Status Colors */
.badge {
padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 700;
display: inline-block; background: var(--primary-lv-1); color: var(--primary-color);
}
.status-complete { background: #e8f5e9; color: #2e7d32; }
.status-working { background: #fff8e1; color: #FFBF00; }
.status-checking { background: #e3f2fd; color: #1565c0; }
.status-pending { background: #f5f5f5; color: #757575; }
.status-error { background: #fee9e7; }
.warning-text { color: #FFBF00; font-weight: 600; }
.error-text { color: #F21D0D !important; font-weight: 700; }
/* Spinner */
.spinner {
display: none; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .3);
border-radius: 50%; border-top-color: #fff; animation: spin 1s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

View File

@@ -1,123 +1,123 @@
/* Dashboard Constants */
:root {
--header-h: 56px;
--activity-h: 110px;
--fixed-total-h: calc(var(--topbar-h) + var(--header-h) + var(--activity-h));
}
/* 1. Portal (Index) */
.portal-container {
display: flex; flex-direction: column; align-items: center; justify-content: center;
height: calc(100vh - var(--topbar-h)); background: var(--bg-muted); padding: var(--space-lg); margin-top: var(--topbar-h);
}
.portal-header { text-align: center; margin-bottom: 50px; }
.portal-header h1 { font-size: 28px; color: var(--primary-color); margin-bottom: 10px; font-weight: 800; }
.portal-header p { color: var(--text-sub); font-size: 15px; }
.button-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; width: 100%; max-width: 800px; }
.portal-card {
background: #fff; border: 1px solid var(--border-color); border-radius: 12px; padding: 40px;
text-align: center; transition: all 0.3s ease; width: 100%; box-shadow: var(--box-shadow);
display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.portal-card:hover { transform: translateY(-8px); border-color: var(--primary-color); box-shadow: var(--box-shadow-lg); }
.portal-card i { font-size: 48px; color: var(--primary-color); }
.portal-card h3 { font-size: 20px; color: var(--text-main); margin: 0; }
.portal-card p { font-size: 14px; color: var(--text-sub); margin: 0; }
/* 2. Dashboard Header & Activity */
header {
position: fixed; top: var(--topbar-h); left: 0; right: 0; z-index: 1001;
background: #fff; height: var(--header-h); display: flex; justify-content: space-between; align-items: center;
padding: 0 var(--space-lg); border-bottom: 1px solid #f5f5f5;
}
.activity-dashboard-wrapper {
position: fixed; top: calc(var(--topbar-h) + var(--header-h)); left: 0; right: 0; z-index: 1000;
background: #fff; height: var(--activity-h); border-bottom: 1px solid var(--border-color); box-shadow: 0 4px 6px rgba(0,0,0,0.03);
}
.activity-dashboard { max-width: 1200px; margin: 0 auto; height: 100%; display: flex; gap: 15px; padding: 10px 32px 20px; }
.activity-card {
flex: 1; padding: 12px 15px; border-radius: var(--radius-lg); cursor: pointer;
display: flex; flex-direction: column; justify-content: center; gap: 2px; border-left: 5px solid transparent;
}
.activity-card:hover { transform: translateY(-2px); box-shadow: var(--box-shadow); }
.activity-card.active { background: #e8f5e9; }
.activity-card.warning { background: #fff8e1; }
.activity-card.stale { background: #ffebee; }
.activity-card.unknown { background: #f5f5f5; }
.activity-card .label { font-size: 11px; font-weight: 600; opacity: 0.7; }
.activity-card .count { font-size: 20px; font-weight: 800; }
.main-content { margin-top: var(--fixed-total-h); padding: var(--space-lg); max-width: 1400px; margin-left: auto; margin-right: auto; }
/* 3. Log Console */
.log-console {
position: sticky; top: var(--fixed-total-h); z-index: 999;
background: #000; color: #0f0; font-family: 'Consolas', monospace; padding: 15px; margin-bottom: 20px;
border-radius: 4px; max-height: 250px; overflow-y: auto; font-size: 12px; line-height: 1.5; box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.log-console-header { color: #fff; border-bottom: 1px solid #333; margin-bottom: 10px; padding-bottom: 5px; font-weight: bold; }
/* 4. Auth Modal (Page Specific) */
.auth-modal-content {
background: #fff; width: 440px; border-radius: 16px; padding: 40px; text-align: center;
box-shadow: var(--box-shadow-modal); display: flex; flex-direction: column; gap: 32px;
}
.input-group { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.input-group label { font-size: 12px; font-weight: 700; color: var(--text-main); }
.input-group input {
height: 48px; padding: 0 16px; border: 1px solid var(--border-color); border-radius: 8px;
font-size: 14px; background: #f9f9f9; width: 100%;
}
.input-group input:focus { border-color: var(--primary-color); background: #fff; outline: none; }
/* 5. Accordion & Data Tables */
.accordion-list-header {
position: sticky; top: var(--fixed-total-h); background: #fff; z-index: 900;
font-size: 11px; font-weight: 700; color: var(--text-sub);
padding: 12px 24px; border-bottom: 2px solid var(--primary-color);
display: grid; grid-template-columns: 2.5fr 1fr 1fr 0.8fr 2fr; gap: 16px;
}
.accordion-header {
display: grid; grid-template-columns: 2.5fr 1fr 1fr 0.8fr 2fr; gap: 16px;
padding: 12px 24px; align-items: center; cursor: pointer; border-bottom: 1px solid var(--border-color);
}
.accordion-item:hover .accordion-header { background: var(--primary-lv-0); }
.accordion-item.active .accordion-header { background: var(--primary-lv-0); border-bottom: none; }
.repo-title { font-weight: 700; color: var(--primary-color); @extend .text-truncate; }
.repo-files { text-align: center; font-weight: 600; }
.repo-log { font-size: 11px; color: var(--text-sub); @extend .text-truncate; }
.accordion-body { display: none; padding: 24px; background: #fff; border-bottom: 1px solid var(--border-color); }
.accordion-item.active .accordion-body { display: block; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.detail-section h4 {
font-size: 13px; margin-bottom: 12px; color: var(--text-main);
padding-left: 10px; font-weight: 700;
}
/* Personnel & Activity Tables */
#personnel-table th:nth-child(1) { width: 25%; }
#personnel-table th:nth-child(2) { width: 45%; }
#activity-table th:nth-child(1) { width: 20%; }
#activity-table th:nth-child(2) { width: 50%; }
/* Location Groups */
.continent-group, .country-group { margin-bottom: 15px; }
.continent-header, .country-header {
background: #fff; padding: 14px 20px; border: 1px solid var(--border-color); border-radius: 8px;
display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 700;
}
.continent-header { background: var(--primary-color); color: white; border: none; font-size: 15px; }
.country-header { font-size: 14px; color: var(--text-main); margin-top: 8px; }
.continent-body, .country-body { display: none; padding: 10px 0 10px 15px; }
.active>.continent-body, .active>.country-body { display: block; }
.admin-info { font-size: 12px; color: var(--text-sub); margin-left: 16px; padding: 6px 12px; background: #f8f9fa; border-radius: 4px; border: 1px solid var(--border-color); }
.admin-info strong { color: var(--primary-color); font-weight: 700; }
.base-date-info { font-size: 13px; color: var(--text-sub); background: #fdfdfd; padding: 6px 15px; border-radius: 6px; border: 1px solid var(--border-color); }
/* Dashboard Constants */
:root {
--header-h: 56px;
--activity-h: 110px;
--fixed-total-h: calc(var(--topbar-h) + var(--header-h) + var(--activity-h));
}
/* 1. Portal (Index) */
.portal-container {
display: flex; flex-direction: column; align-items: center; justify-content: center;
height: calc(100vh - var(--topbar-h)); background: var(--bg-muted); padding: var(--space-lg); margin-top: var(--topbar-h);
}
.portal-header { text-align: center; margin-bottom: 50px; }
.portal-header h1 { font-size: 28px; color: var(--primary-color); margin-bottom: 10px; font-weight: 800; }
.portal-header p { color: var(--text-sub); font-size: 15px; }
.button-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; width: 100%; max-width: 800px; }
.portal-card {
background: #fff; border: 1px solid var(--border-color); border-radius: 12px; padding: 40px;
text-align: center; transition: all 0.3s ease; width: 100%; box-shadow: var(--box-shadow);
display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.portal-card:hover { transform: translateY(-8px); border-color: var(--primary-color); box-shadow: var(--box-shadow-lg); }
.portal-card i { font-size: 48px; color: var(--primary-color); }
.portal-card h3 { font-size: 20px; color: var(--text-main); margin: 0; }
.portal-card p { font-size: 14px; color: var(--text-sub); margin: 0; }
/* 2. Dashboard Header & Activity */
header {
position: fixed; top: var(--topbar-h); left: 0; right: 0; z-index: 1001;
background: #fff; height: var(--header-h); display: flex; justify-content: space-between; align-items: center;
padding: 0 var(--space-lg); border-bottom: 1px solid #f5f5f5;
}
.activity-dashboard-wrapper {
position: fixed; top: calc(var(--topbar-h) + var(--header-h)); left: 0; right: 0; z-index: 1000;
background: #fff; height: var(--activity-h); border-bottom: 1px solid var(--border-color); box-shadow: 0 4px 6px rgba(0,0,0,0.03);
}
.activity-dashboard { max-width: 1200px; margin: 0 auto; height: 100%; display: flex; gap: 15px; padding: 10px 32px 20px; }
.activity-card {
flex: 1; padding: 12px 15px; border-radius: var(--radius-lg); cursor: pointer;
display: flex; flex-direction: column; justify-content: center; gap: 2px; border-left: 5px solid transparent;
}
.activity-card:hover { transform: translateY(-2px); box-shadow: var(--box-shadow); }
.activity-card.active { background: #e8f5e9; }
.activity-card.warning { background: #fff8e1; }
.activity-card.stale { background: #ffebee; }
.activity-card.unknown { background: #f5f5f5; }
.activity-card .label { font-size: 11px; font-weight: 600; opacity: 0.7; }
.activity-card .count { font-size: 20px; font-weight: 800; }
.main-content { margin-top: var(--fixed-total-h); padding: var(--space-lg); max-width: 1400px; margin-left: auto; margin-right: auto; }
/* 3. Log Console */
.log-console {
position: sticky; top: var(--fixed-total-h); z-index: 999;
background: #000; color: #0f0; font-family: 'Consolas', monospace; padding: 15px; margin-bottom: 20px;
border-radius: 4px; max-height: 250px; overflow-y: auto; font-size: 12px; line-height: 1.5; box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.log-console-header { color: #fff; border-bottom: 1px solid #333; margin-bottom: 10px; padding-bottom: 5px; font-weight: bold; }
/* 4. Auth Modal (Page Specific) */
.auth-modal-content {
background: #fff; width: 440px; border-radius: 16px; padding: 40px; text-align: center;
box-shadow: var(--box-shadow-modal); display: flex; flex-direction: column; gap: 32px;
}
.input-group { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.input-group label { font-size: 12px; font-weight: 700; color: var(--text-main); }
.input-group input {
height: 48px; padding: 0 16px; border: 1px solid var(--border-color); border-radius: 8px;
font-size: 14px; background: #f9f9f9; width: 100%;
}
.input-group input:focus { border-color: var(--primary-color); background: #fff; outline: none; }
/* 5. Accordion & Data Tables */
.accordion-list-header {
position: sticky; top: var(--fixed-total-h); background: #fff; z-index: 900;
font-size: 11px; font-weight: 700; color: var(--text-sub);
padding: 12px 24px; border-bottom: 2px solid var(--primary-color);
display: grid; grid-template-columns: 2.5fr 1fr 1fr 0.8fr 2fr; gap: 16px;
}
.accordion-header {
display: grid; grid-template-columns: 2.5fr 1fr 1fr 0.8fr 2fr; gap: 16px;
padding: 12px 24px; align-items: center; cursor: pointer; border-bottom: 1px solid var(--border-color);
}
.accordion-item:hover .accordion-header { background: var(--primary-lv-0); }
.accordion-item.active .accordion-header { background: var(--primary-lv-0); border-bottom: none; }
.repo-title { font-weight: 700; color: var(--primary-color); @extend .text-truncate; }
.repo-files { text-align: center; font-weight: 600; }
.repo-log { font-size: 11px; color: var(--text-sub); @extend .text-truncate; }
.accordion-body { display: none; padding: 24px; background: #fff; border-bottom: 1px solid var(--border-color); }
.accordion-item.active .accordion-body { display: block; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.detail-section h4 {
font-size: 13px; margin-bottom: 12px; color: var(--text-main);
padding-left: 10px; font-weight: 700;
}
/* Personnel & Activity Tables */
#personnel-table th:nth-child(1) { width: 25%; }
#personnel-table th:nth-child(2) { width: 45%; }
#activity-table th:nth-child(1) { width: 20%; }
#activity-table th:nth-child(2) { width: 50%; }
/* Location Groups */
.continent-group, .country-group { margin-bottom: 15px; }
.continent-header, .country-header {
background: #fff; padding: 14px 20px; border: 1px solid var(--border-color); border-radius: 8px;
display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 700;
}
.continent-header { background: var(--primary-color); color: white; border: none; font-size: 15px; }
.country-header { font-size: 14px; color: var(--text-main); margin-top: 8px; }
.continent-body, .country-body { display: none; padding: 10px 0 10px 15px; }
.active>.continent-body, .active>.country-body { display: block; }
.admin-info { font-size: 12px; color: var(--text-sub); margin-left: 16px; padding: 6px 12px; background: #f8f9fa; border-radius: 4px; border: 1px solid var(--border-color); }
.admin-info strong { color: var(--primary-color); font-weight: 700; }
.base-date-info { font-size: 13px; color: var(--text-sub); background: #fdfdfd; padding: 6px 15px; border-radius: 6px; border: 1px solid var(--border-color); }

View File

@@ -1,251 +1,251 @@
/* 1. Layout & Board Structure */
.inquiry-board {
padding: 0 20px 32px 20px;
max-width: 98%;
margin: 36px auto 0;
}
.board-sticky-header {
position: sticky;
top: 36px;
background: #fff;
z-index: 1000;
padding: 15px 0 10px;
border-bottom: 1px solid #eee;
}
.board-header {
display: flex;
justify-content: space-between;
align-items: flex-end;
margin-bottom: 20px;
}
/* 2. Stats Dashboard */
.header-stats {
display: flex;
gap: 12px;
}
.stat-item {
background: #fff;
border: 1px solid #eee;
padding: 8px 16px;
border-radius: 8px;
display: flex;
flex-direction: column;
align-items: center;
min-width: 80px;
box-shadow: 0 2px 4px rgba(0,0,0,0.02);
transition: transform 0.2s, box-shadow 0.2s;
}
.stat-item:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.stat-label { font-size: 11px; font-weight: 600; color: #888; margin-bottom: 2px; }
.stat-value { font-size: 18px; font-weight: 700; color: #333; }
/* Status Border Colors */
.stat-item.total { }
.stat-item.total .stat-value { color: #1e5149; }
.stat-item.complete { }
.stat-item.complete .stat-value { color: #2e7d32; }
.stat-item.working { }
.stat-item.working .stat-value { color: #1565c0; }
.stat-item.checking { }
.stat-item.checking .stat-value { color: #ef6c00; }
.stat-item.pending { }
.stat-item.pending .stat-value { color: #673ab7; }
.stat-item.unconfirmed { }
.stat-item.unconfirmed .stat-value { color: #9e9e9e; }
/* 3. Filters & Notice */
.notice-container {
background: #fdfdfd;
padding: 20px;
border-radius: 8px;
border: 1px solid #e0e0e0;
margin-bottom: 24px;
box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.filter-section {
display: flex;
gap: 12px;
background: #f8f9fa;
padding: 12px 16px;
border-radius: 8px;
margin-top: 15px;
}
.filter-group { display: flex; flex-direction: column; gap: 4px; }
.filter-group label { font-size: 12px; font-weight: 600; color: #666; }
.filter-group select, .filter-group input { padding: 8px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; }
/* 4. Table Styles */
.inquiry-table {
width: 100%;
background: #fff;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
border-collapse: separate;
border-spacing: 0;
margin-top: 10px;
}
.inquiry-table thead th {
position: sticky;
background: #f8f9fa;
padding: 14px 16px;
text-align: left;
font-size: 13px;
font-weight: 700;
color: #333;
border-bottom: 2px solid #eee;
z-index: 900;
}
/* 정렬 가능한 헤더 스타일 추가 */
.inquiry-table thead th.sortable {
cursor: pointer;
user-select: none;
transition: background 0.2s;
white-space: nowrap;
}
.inquiry-table thead th.sortable .header-content {
display: flex;
align-items: center;
gap: 4px;
}
.sort-icon {
display: inline-flex;
flex-direction: column;
justify-content: center;
width: 12px;
height: 12px;
font-size: 8px;
color: #ccc;
line-height: 1;
margin-left: 2px;
}
.inquiry-table thead th.active-sort {
color: #1e5149;
background: #f0f7f6;
}
.inquiry-table thead th.active-sort .sort-icon {
color: #1e5149;
font-size: 10px;
}
.inquiry-table td {
padding: 14px 16px;
font-size: 13px;
border-bottom: 1px solid #eee;
vertical-align: middle;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/* Table Row Hover & Active State */
.inquiry-row:hover { background: #fcfcfc; cursor: pointer; }
.inquiry-row.active-row { background-color: #f0f7f6 !important; }
.inquiry-row.active-row td { font-weight: 600; color: #1e5149; border-bottom-color: transparent; }
/* Status Badges */
.status-badge { padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; display: inline-block; }
.status-complete { background: #e8f5e9; color: #2e7d32; }
.status-working { background: #e3f2fd; color: #1565c0; }
.status-checking { background: #fff3e0; color: #ef6c00; }
.status-pending { background: #f5f5f5; color: #616161; }
/* Table Columns Width & Truncation */
.inquiry-table td:nth-child(1) { max-width: 50px; } /* No */
.inquiry-table td:nth-child(2) { max-width: 80px; text-align: center; } /* Image */
.inquiry-table td:nth-child(3) { max-width: 120px; } /* PM Type */
.inquiry-table td:nth-child(4) { max-width: 100px; } /* Env */
.inquiry-table td:nth-child(5) { max-width: 150px; } /* Category */
.inquiry-table td:nth-child(6) { max-width: 200px; } /* Project */
.inquiry-table td:nth-child(7), .inquiry-table td:nth-child(8) { max-width: 400px; } /* Content & Reply */
.inquiry-table td:nth-child(9) { max-width: 100px; } /* Author */
.inquiry-table td:nth-child(10) { max-width: 120px; } /* Date */
.inquiry-table td:nth-child(11) { max-width: 100px; } /* Status */
/* 5. Detail (Accordion) Styles */
.detail-row { display: none; background: #fdfdfd; }
.detail-row.active { display: table-row; }
.detail-row td { max-width: none; white-space: normal; overflow: visible; }
.detail-container {
padding: 24px;
background: #f9fafb;
box-shadow: inset 0 4px 15px rgba(0,0,0,0.08);
position: relative;
border-bottom: 2px solid #eee;
}
.detail-content-wrapper {
display: flex;
flex-direction: column;
gap: 20px;
border: 1px solid #e5e7eb;
background: #fff;
padding: 25px;
border-radius: 12px;
box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.btn-close-accordion {
position: absolute;
top: 35px;
right: 45px;
background: #eee;
border: none;
padding: 6px 14px;
border-radius: 20px;
font-size: 12px;
font-weight: 600;
color: #666;
cursor: pointer;
z-index: 10;
}
.btn-close-accordion::after { content: "▲"; font-size: 10px; margin-left: 5px; }
.detail-meta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 15px; font-size: 13px; color: #666; }
.detail-label { font-weight: 700; color: #888; margin-right: 8px; }
.detail-q-section { background: #f8f9fa; padding: 20px; border-radius: 8px; }
.detail-a-section { background: #f1f8f7; padding: 20px; border-radius: 8px; }
/* 6. Image Preview & Foldable Section */
.img-thumbnail { width: 32px; height: 32px; border-radius: 4px; object-fit: cover; border: 1px solid #ddd; cursor: pointer; transition: transform 0.2s; }
.img-thumbnail:hover { transform: scale(1.1); }
.no-img { font-size: 10px; color: #ccc; font-style: italic; }
.detail-image-section { margin-bottom: 20px; background: #f9fafb; border-radius: 8px; border: 1px solid #e5e7eb; overflow: hidden; }
.image-section-header { padding: 12px 16px; background: #f1f5f9; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.image-section-header:hover { background: #e2e8f0; }
.image-section-header h4 { margin: 0; color: #1e5149; display: flex; align-items: center; gap: 8px; }
.image-section-content { padding: 20px; display: flex; justify-content: center; background: #fff; border-top: 1px solid #eee; }
.image-section-content.collapsed { display: none; }
.toggle-icon { font-size: 12px; color: #64748b; transition: transform 0.3s; }
.detail-image-section.active .toggle-icon { transform: rotate(180deg); }
.preview-img { max-width: 100%; max-height: 400px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); object-fit: contain; }
/* 7. Forms & Reply */
.reply-edit-form textarea {
width: 100%; height: 120px; padding: 12px; border: 1px solid #ddd; border-radius: 6px;
font-family: inherit; font-size: 14px; margin-bottom: 15px; resize: none; background: #fff;
}
.reply-edit-form textarea:disabled, .reply-edit-form select:disabled, .reply-edit-form input:disabled { background: #fcfcfc; color: #666; border-color: #eee; }
.reply-edit-form.readonly .btn-save, .reply-edit-form.readonly .btn-delete, .reply-edit-form.readonly .btn-cancel { display: none; }
.reply-edit-form.editable .btn-edit { display: none; }
.reply-edit-form.editable textarea { border-color: #1e5149; box-shadow: 0 0 0 2px rgba(30, 81, 73, 0.1); }
/* 1. Layout & Board Structure */
.inquiry-board {
padding: 0 20px 32px 20px;
max-width: 98%;
margin: 36px auto 0;
}
.board-sticky-header {
position: sticky;
top: 36px;
background: #fff;
z-index: 1000;
padding: 15px 0 10px;
border-bottom: 1px solid #eee;
}
.board-header {
display: flex;
justify-content: space-between;
align-items: flex-end;
margin-bottom: 20px;
}
/* 2. Stats Dashboard */
.header-stats {
display: flex;
gap: 12px;
}
.stat-item {
background: #fff;
border: 1px solid #eee;
padding: 8px 16px;
border-radius: 8px;
display: flex;
flex-direction: column;
align-items: center;
min-width: 80px;
box-shadow: 0 2px 4px rgba(0,0,0,0.02);
transition: transform 0.2s, box-shadow 0.2s;
}
.stat-item:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.stat-label { font-size: 11px; font-weight: 600; color: #888; margin-bottom: 2px; }
.stat-value { font-size: 18px; font-weight: 700; color: #333; }
/* Status Border Colors */
.stat-item.total { }
.stat-item.total .stat-value { color: #1e5149; }
.stat-item.complete { }
.stat-item.complete .stat-value { color: #2e7d32; }
.stat-item.working { }
.stat-item.working .stat-value { color: #1565c0; }
.stat-item.checking { }
.stat-item.checking .stat-value { color: #ef6c00; }
.stat-item.pending { }
.stat-item.pending .stat-value { color: #673ab7; }
.stat-item.unconfirmed { }
.stat-item.unconfirmed .stat-value { color: #9e9e9e; }
/* 3. Filters & Notice */
.notice-container {
background: #fdfdfd;
padding: 20px;
border-radius: 8px;
border: 1px solid #e0e0e0;
margin-bottom: 24px;
box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.filter-section {
display: flex;
gap: 12px;
background: #f8f9fa;
padding: 12px 16px;
border-radius: 8px;
margin-top: 15px;
}
.filter-group { display: flex; flex-direction: column; gap: 4px; }
.filter-group label { font-size: 12px; font-weight: 600; color: #666; }
.filter-group select, .filter-group input { padding: 8px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; }
/* 4. Table Styles */
.inquiry-table {
width: 100%;
background: #fff;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
border-collapse: separate;
border-spacing: 0;
margin-top: 10px;
}
.inquiry-table thead th {
position: sticky;
background: #f8f9fa;
padding: 14px 16px;
text-align: left;
font-size: 13px;
font-weight: 700;
color: #333;
border-bottom: 2px solid #eee;
z-index: 900;
}
/* 정렬 가능한 헤더 스타일 추가 */
.inquiry-table thead th.sortable {
cursor: pointer;
user-select: none;
transition: background 0.2s;
white-space: nowrap;
}
.inquiry-table thead th.sortable .header-content {
display: flex;
align-items: center;
gap: 4px;
}
.sort-icon {
display: inline-flex;
flex-direction: column;
justify-content: center;
width: 12px;
height: 12px;
font-size: 8px;
color: #ccc;
line-height: 1;
margin-left: 2px;
}
.inquiry-table thead th.active-sort {
color: #1e5149;
background: #f0f7f6;
}
.inquiry-table thead th.active-sort .sort-icon {
color: #1e5149;
font-size: 10px;
}
.inquiry-table td {
padding: 14px 16px;
font-size: 13px;
border-bottom: 1px solid #eee;
vertical-align: middle;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/* Table Row Hover & Active State */
.inquiry-row:hover { background: #fcfcfc; cursor: pointer; }
.inquiry-row.active-row { background-color: #f0f7f6 !important; }
.inquiry-row.active-row td { font-weight: 600; color: #1e5149; border-bottom-color: transparent; }
/* Status Badges */
.status-badge { padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; display: inline-block; }
.status-complete { background: #e8f5e9; color: #2e7d32; }
.status-working { background: #e3f2fd; color: #1565c0; }
.status-checking { background: #fff3e0; color: #ef6c00; }
.status-pending { background: #f5f5f5; color: #616161; }
/* Table Columns Width & Truncation */
.inquiry-table td:nth-child(1) { max-width: 50px; } /* No */
.inquiry-table td:nth-child(2) { max-width: 80px; text-align: center; } /* Image */
.inquiry-table td:nth-child(3) { max-width: 120px; } /* PM Type */
.inquiry-table td:nth-child(4) { max-width: 100px; } /* Env */
.inquiry-table td:nth-child(5) { max-width: 150px; } /* Category */
.inquiry-table td:nth-child(6) { max-width: 200px; } /* Project */
.inquiry-table td:nth-child(7), .inquiry-table td:nth-child(8) { max-width: 400px; } /* Content & Reply */
.inquiry-table td:nth-child(9) { max-width: 100px; } /* Author */
.inquiry-table td:nth-child(10) { max-width: 120px; } /* Date */
.inquiry-table td:nth-child(11) { max-width: 100px; } /* Status */
/* 5. Detail (Accordion) Styles */
.detail-row { display: none; background: #fdfdfd; }
.detail-row.active { display: table-row; }
.detail-row td { max-width: none; white-space: normal; overflow: visible; }
.detail-container {
padding: 24px;
background: #f9fafb;
box-shadow: inset 0 4px 15px rgba(0,0,0,0.08);
position: relative;
border-bottom: 2px solid #eee;
}
.detail-content-wrapper {
display: flex;
flex-direction: column;
gap: 20px;
border: 1px solid #e5e7eb;
background: #fff;
padding: 25px;
border-radius: 12px;
box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.btn-close-accordion {
position: absolute;
top: 35px;
right: 45px;
background: #eee;
border: none;
padding: 6px 14px;
border-radius: 20px;
font-size: 12px;
font-weight: 600;
color: #666;
cursor: pointer;
z-index: 10;
}
.btn-close-accordion::after { content: "▲"; font-size: 10px; margin-left: 5px; }
.detail-meta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 15px; font-size: 13px; color: #666; }
.detail-label { font-weight: 700; color: #888; margin-right: 8px; }
.detail-q-section { background: #f8f9fa; padding: 20px; border-radius: 8px; }
.detail-a-section { background: #f1f8f7; padding: 20px; border-radius: 8px; }
/* 6. Image Preview & Foldable Section */
.img-thumbnail { width: 32px; height: 32px; border-radius: 4px; object-fit: cover; border: 1px solid #ddd; cursor: pointer; transition: transform 0.2s; }
.img-thumbnail:hover { transform: scale(1.1); }
.no-img { font-size: 10px; color: #ccc; font-style: italic; }
.detail-image-section { margin-bottom: 20px; background: #f9fafb; border-radius: 8px; border: 1px solid #e5e7eb; overflow: hidden; }
.image-section-header { padding: 12px 16px; background: #f1f5f9; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.image-section-header:hover { background: #e2e8f0; }
.image-section-header h4 { margin: 0; color: #1e5149; display: flex; align-items: center; gap: 8px; }
.image-section-content { padding: 20px; display: flex; justify-content: center; background: #fff; border-top: 1px solid #eee; }
.image-section-content.collapsed { display: none; }
.toggle-icon { font-size: 12px; color: #64748b; transition: transform 0.3s; }
.detail-image-section.active .toggle-icon { transform: rotate(180deg); }
.preview-img { max-width: 100%; max-height: 400px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); object-fit: contain; }
/* 7. Forms & Reply */
.reply-edit-form textarea {
width: 100%; height: 120px; padding: 12px; border: 1px solid #ddd; border-radius: 6px;
font-family: inherit; font-size: 14px; margin-bottom: 15px; resize: none; background: #fff;
}
.reply-edit-form textarea:disabled, .reply-edit-form select:disabled, .reply-edit-form input:disabled { background: #fcfcfc; color: #666; border-color: #eee; }
.reply-edit-form.readonly .btn-save, .reply-edit-form.readonly .btn-delete, .reply-edit-form.readonly .btn-cancel { display: none; }
.reply-edit-form.editable .btn-edit { display: none; }
.reply-edit-form.editable textarea { border-color: #1e5149; box-shadow: 0 0 0 2px rgba(30, 81, 73, 0.1); }

View File

@@ -1,219 +1,219 @@
/* Mail Manager Layout (Vertical Split) */
.mail-wrapper {
display: flex; height: calc(100vh - var(--topbar-h));
margin-top: var(--topbar-h); background: #fff; overflow: hidden;
}
.mail-list-area {
width: 400px; border-right: 1px solid var(--border-color);
display: flex; flex-direction: column; height: 100%; background: #fff; position: relative;
}
/* 1. Tabs & Search */
.mail-tabs { display: flex; border-bottom: 1px solid var(--border-color); background: #f8f9fa; flex-shrink: 0; }
.mail-tab {
flex: 1; padding: 12px 0; text-align: center; cursor: pointer;
font-weight: 700; color: #a0aec0; font-size: 11px; transition: all 0.2s ease;
border-bottom: 2px solid transparent; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.mail-tab:hover { background: #edf2f7; color: var(--primary-color); }
.mail-tab.active { color: var(--primary-color); border-bottom: 2px solid var(--primary-color); background: #fff; }
.search-bar { padding: 16px 24px; border-bottom: 1px solid var(--border-color); background: #fff; flex-shrink: 0; }
.mail-bulk-actions {
display: none; padding: 8px 16px; background: #f7fafc;
border-bottom: 1px solid var(--border-color); align-items: center; justify-content: space-between; font-size: 12px;
}
.mail-bulk-actions.active { display: flex; }
/* 2. Mail Items */
.mail-items-container { flex: 1; overflow-y: auto; padding-bottom: 60px; }
.mail-item {
padding: 16px; border-bottom: 1px solid var(--border-color); cursor: pointer;
display: flex; align-items: flex-start; transition: 0.2s;
}
.mail-item:hover { background: var(--bg-muted); }
.mail-item.active { background: var(--primary-lv-0); }
.mail-item-checkbox { width: 16px; height: 16px; cursor: pointer; margin-right: 12px; margin-top: 2px; }
.mail-item-content { flex: 1; min-width: 0; }
.mail-item-info { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.mail-date { font-size: 11px; color: var(--text-sub); white-space: nowrap; }
.btn-mail-delete {
background: #f7fafc; border: 1px solid var(--border-color); color: #718096;
font-size: 10px; padding: 2px 8px; border-radius: 4px; font-weight: 600;
}
.btn-mail-delete:hover { color: var(--error-color); background: #fff5f5; border-color: #feb2b2; }
/* 3. Content Area */
.mail-content-area { flex: 1; display: flex; flex-direction: column; overflow-y: auto; border-right: 1px solid var(--border-color); }
.mail-content-header { padding: var(--space-lg); border-bottom: 1px solid var(--border-color); }
.mail-body { padding: var(--space-lg); line-height: 1.6; min-height: 200px; }
/* 4. Attachments & AI */
.attachment-area { padding: var(--space-lg); border-top: 1px solid var(--border-color); background: var(--bg-muted); }
.attachment-item {
display: flex; align-items: center; gap: var(--space-md); background: #fff;
padding: 12px 20px; border-radius: var(--radius-lg);
border: 1px solid var(--border-color); margin-bottom: var(--space-sm); cursor: pointer;
transition: 0.2s;
}
.attachment-item:hover { border-color: var(--primary-color); box-shadow: var(--box-shadow); }
.attachment-item.active { background: var(--primary-lv-0); border-color: var(--primary-color); }
.file-details { flex: 1; min-width: 0; }
.file-name { font-size: 13px; font-weight: 700; max-width: 450px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-size { font-size: 11px; color: var(--text-sub); }
.btn-group {
display: flex; align-items: center; gap: 12px; flex-shrink: 0; justify-content: flex-end;
}
.btn-upload {
padding: 6px 14px; border-radius: 6px; font-size: 11px; font-weight: 700;
color: #fff; border: none; cursor: pointer; transition: 0.2s; height: 32px;
}
.btn-ai { background: var(--ai-gradient); }
.btn-ai:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-normal { background: var(--primary-color); }
.btn-normal:hover { background: var(--primary-hover); transform: translateY(-1px); }
.ai-recommend {
font-size: 11px; padding: 6px 12px; border-radius: 6px; font-weight: 600;
cursor: pointer; transition: 0.2s; display: inline-block;
max-width: 250px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ai-recommend.smart-mode { background: #eef2ff; color: #4338ca; border: 1px solid #c7d2fe; }
.ai-recommend.manual-mode { background: #f1f5f9; color: #475569; border: 1px dashed #cbd5e1; }
.ai-recommend:hover { transform: scale(1.02); }
/* 5. Preview Area */
.mail-preview-area {
width: 0; background: #f8f9fa; display: flex; flex-direction: column;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative;
border-left: 0 solid transparent;
}
.mail-preview-area.active {
width: 600px;
border-left: 1px solid var(--border-color);
visibility: visible;
}
.preview-header {
height: 56px; padding: 0 24px; border-bottom: 1px solid var(--border-color);
display: flex; align-items: center; justify-content: space-between;
background: #fff; flex-shrink: 0;
}
.preview-header h3 { font-size: 15px; font-weight: 800; color: var(--primary-color); margin: 0; }
#fullViewBtn {
background: var(--primary-lv-0) !important;
color: var(--primary-color) !important;
border: 1px solid var(--primary-lv-1) !important;
font-weight: 700 !important;
padding: 4px 16px !important;
border-radius: 4px !important;
font-size: 11px !important;
transition: 0.2s !important;
}
#fullViewBtn:hover { background: var(--primary-lv-1) !important; }
.preview-toggle-handle {
position: absolute; left: -20px; top: 50%; transform: translateY(-50%);
width: 20px; height: 60px; background: var(--primary-color); color: #fff;
display: flex; align-items: center; justify-content: center;
border-radius: 8px 0 0 8px; font-size: 10px; cursor: pointer;
box-shadow: -2px 0 5px rgba(0,0,0,0.1); z-index: 100;
}
.preview-toggle-handle:hover { background: var(--primary-hover); }
.a4-container {
flex: 1; padding: 30px; overflow-y: auto; background: #e9ecef;
display: flex; justify-content: center;
}
.a4-container iframe, .a4-container .preview-placeholder {
width: 100%; height: 100%; background: #fff;
box-shadow: 0 4px 20px rgba(0,0,0,0.08); border-radius: 4px;
}
.preview-placeholder {
display: flex; align-items: center; justify-content: center;
text-align: center; color: var(--text-sub); font-size: 13px; line-height: 1.6;
}
.mail-preview-area.active > * { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; }
.mail-preview-area > *:not(.preview-toggle-handle) { opacity: 0; visibility: hidden; pointer-events: none; transition: 0.2s; }
/* 6. Footer & Others */
.address-book-footer {
position: absolute; bottom: 0; left: 0; width: 100%; padding: 12px 16px;
border-top: 1px solid var(--border-color); background: #fff; display: flex; gap: 8px; z-index: 5;
}
.file-log-area {
display: none; width: 100%; margin-top: 10px; background: #1a202c;
border-radius: 4px; padding: 12px; font-family: monospace; font-size: 11px; color: #cbd5e0;
}
.file-log-area.active { display: block; }
.log-success { color: #48bb78; font-weight: 700; }
.switch { position: relative; display: inline-block; width: 34px; height: 20px; }
.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: 20px;
}
.slider:before {
position: absolute; content: ""; height: 14px; width: 14px; left: 3px; bottom: 3px;
background-color: white; transition: .4s; border-radius: 50%;
}
input:checked+.slider { background: var(--ai-gradient); }
input:checked+.slider:before { transform: translateX(14px); }
/* Restore Path Selector Modal Specific Styles */
.select-group {
display: flex;
flex-direction: column;
gap: 8px;
}
.select-group label {
font-size: 12px;
font-weight: 700;
color: var(--text-main);
}
.modal-select {
width: 100%;
height: 44px;
padding: 0 15px;
border: 1px solid var(--border-color);
border-radius: 8px;
background-color: #f9f9f9;
font-size: 14px;
color: #333;
outline: none;
transition: all 0.2s;
cursor: pointer;
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L2 4h8L6 8z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 15px center;
}
.modal-select:focus {
border-color: var(--primary-color);
background-color: #fff;
box-shadow: 0 0 0 3px rgba(30, 81, 73, 0.1);
}
.modal-select option {
padding: 10px;
}
/* Mail Manager Layout (Vertical Split) */
.mail-wrapper {
display: flex; height: calc(100vh - var(--topbar-h));
margin-top: var(--topbar-h); background: #fff; overflow: hidden;
}
.mail-list-area {
width: 400px; border-right: 1px solid var(--border-color);
display: flex; flex-direction: column; height: 100%; background: #fff; position: relative;
}
/* 1. Tabs & Search */
.mail-tabs { display: flex; border-bottom: 1px solid var(--border-color); background: #f8f9fa; flex-shrink: 0; }
.mail-tab {
flex: 1; padding: 12px 0; text-align: center; cursor: pointer;
font-weight: 700; color: #a0aec0; font-size: 11px; transition: all 0.2s ease;
border-bottom: 2px solid transparent; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.mail-tab:hover { background: #edf2f7; color: var(--primary-color); }
.mail-tab.active { color: var(--primary-color); border-bottom: 2px solid var(--primary-color); background: #fff; }
.search-bar { padding: 16px 24px; border-bottom: 1px solid var(--border-color); background: #fff; flex-shrink: 0; }
.mail-bulk-actions {
display: none; padding: 8px 16px; background: #f7fafc;
border-bottom: 1px solid var(--border-color); align-items: center; justify-content: space-between; font-size: 12px;
}
.mail-bulk-actions.active { display: flex; }
/* 2. Mail Items */
.mail-items-container { flex: 1; overflow-y: auto; padding-bottom: 60px; }
.mail-item {
padding: 16px; border-bottom: 1px solid var(--border-color); cursor: pointer;
display: flex; align-items: flex-start; transition: 0.2s;
}
.mail-item:hover { background: var(--bg-muted); }
.mail-item.active { background: var(--primary-lv-0); }
.mail-item-checkbox { width: 16px; height: 16px; cursor: pointer; margin-right: 12px; margin-top: 2px; }
.mail-item-content { flex: 1; min-width: 0; }
.mail-item-info { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.mail-date { font-size: 11px; color: var(--text-sub); white-space: nowrap; }
.btn-mail-delete {
background: #f7fafc; border: 1px solid var(--border-color); color: #718096;
font-size: 10px; padding: 2px 8px; border-radius: 4px; font-weight: 600;
}
.btn-mail-delete:hover { color: var(--error-color); background: #fff5f5; border-color: #feb2b2; }
/* 3. Content Area */
.mail-content-area { flex: 1; display: flex; flex-direction: column; overflow-y: auto; border-right: 1px solid var(--border-color); }
.mail-content-header { padding: var(--space-lg); border-bottom: 1px solid var(--border-color); }
.mail-body { padding: var(--space-lg); line-height: 1.6; min-height: 200px; }
/* 4. Attachments & AI */
.attachment-area { padding: var(--space-lg); border-top: 1px solid var(--border-color); background: var(--bg-muted); }
.attachment-item {
display: flex; align-items: center; gap: var(--space-md); background: #fff;
padding: 12px 20px; border-radius: var(--radius-lg);
border: 1px solid var(--border-color); margin-bottom: var(--space-sm); cursor: pointer;
transition: 0.2s;
}
.attachment-item:hover { border-color: var(--primary-color); box-shadow: var(--box-shadow); }
.attachment-item.active { background: var(--primary-lv-0); border-color: var(--primary-color); }
.file-details { flex: 1; min-width: 0; }
.file-name { font-size: 13px; font-weight: 700; max-width: 450px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-size { font-size: 11px; color: var(--text-sub); }
.btn-group {
display: flex; align-items: center; gap: 12px; flex-shrink: 0; justify-content: flex-end;
}
.btn-upload {
padding: 6px 14px; border-radius: 6px; font-size: 11px; font-weight: 700;
color: #fff; border: none; cursor: pointer; transition: 0.2s; height: 32px;
}
.btn-ai { background: var(--ai-gradient); }
.btn-ai:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-normal { background: var(--primary-color); }
.btn-normal:hover { background: var(--primary-hover); transform: translateY(-1px); }
.ai-recommend {
font-size: 11px; padding: 6px 12px; border-radius: 6px; font-weight: 600;
cursor: pointer; transition: 0.2s; display: inline-block;
max-width: 250px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ai-recommend.smart-mode { background: #eef2ff; color: #4338ca; border: 1px solid #c7d2fe; }
.ai-recommend.manual-mode { background: #f1f5f9; color: #475569; border: 1px dashed #cbd5e1; }
.ai-recommend:hover { transform: scale(1.02); }
/* 5. Preview Area */
.mail-preview-area {
width: 0; background: #f8f9fa; display: flex; flex-direction: column;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative;
border-left: 0 solid transparent;
}
.mail-preview-area.active {
width: 600px;
border-left: 1px solid var(--border-color);
visibility: visible;
}
.preview-header {
height: 56px; padding: 0 24px; border-bottom: 1px solid var(--border-color);
display: flex; align-items: center; justify-content: space-between;
background: #fff; flex-shrink: 0;
}
.preview-header h3 { font-size: 15px; font-weight: 800; color: var(--primary-color); margin: 0; }
#fullViewBtn {
background: var(--primary-lv-0) !important;
color: var(--primary-color) !important;
border: 1px solid var(--primary-lv-1) !important;
font-weight: 700 !important;
padding: 4px 16px !important;
border-radius: 4px !important;
font-size: 11px !important;
transition: 0.2s !important;
}
#fullViewBtn:hover { background: var(--primary-lv-1) !important; }
.preview-toggle-handle {
position: absolute; left: -20px; top: 50%; transform: translateY(-50%);
width: 20px; height: 60px; background: var(--primary-color); color: #fff;
display: flex; align-items: center; justify-content: center;
border-radius: 8px 0 0 8px; font-size: 10px; cursor: pointer;
box-shadow: -2px 0 5px rgba(0,0,0,0.1); z-index: 100;
}
.preview-toggle-handle:hover { background: var(--primary-hover); }
.a4-container {
flex: 1; padding: 30px; overflow-y: auto; background: #e9ecef;
display: flex; justify-content: center;
}
.a4-container iframe, .a4-container .preview-placeholder {
width: 100%; height: 100%; background: #fff;
box-shadow: 0 4px 20px rgba(0,0,0,0.08); border-radius: 4px;
}
.preview-placeholder {
display: flex; align-items: center; justify-content: center;
text-align: center; color: var(--text-sub); font-size: 13px; line-height: 1.6;
}
.mail-preview-area.active > * { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; }
.mail-preview-area > *:not(.preview-toggle-handle) { opacity: 0; visibility: hidden; pointer-events: none; transition: 0.2s; }
/* 6. Footer & Others */
.address-book-footer {
position: absolute; bottom: 0; left: 0; width: 100%; padding: 12px 16px;
border-top: 1px solid var(--border-color); background: #fff; display: flex; gap: 8px; z-index: 5;
}
.file-log-area {
display: none; width: 100%; margin-top: 10px; background: #1a202c;
border-radius: 4px; padding: 12px; font-family: monospace; font-size: 11px; color: #cbd5e0;
}
.file-log-area.active { display: block; }
.log-success { color: #48bb78; font-weight: 700; }
.switch { position: relative; display: inline-block; width: 34px; height: 20px; }
.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: 20px;
}
.slider:before {
position: absolute; content: ""; height: 14px; width: 14px; left: 3px; bottom: 3px;
background-color: white; transition: .4s; border-radius: 50%;
}
input:checked+.slider { background: var(--ai-gradient); }
input:checked+.slider:before { transform: translateX(14px); }
/* Restore Path Selector Modal Specific Styles */
.select-group {
display: flex;
flex-direction: column;
gap: 8px;
}
.select-group label {
font-size: 12px;
font-weight: 700;
color: var(--text-main);
}
.modal-select {
width: 100%;
height: 44px;
padding: 0 15px;
border: 1px solid var(--border-color);
border-radius: 8px;
background-color: #f9f9f9;
font-size: 14px;
color: #333;
outline: none;
transition: all 0.2s;
cursor: pointer;
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L2 4h8L6 8z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 15px center;
}
.modal-select:focus {
border-color: var(--primary-color);
background-color: #fff;
box-shadow: 0 0 0 3px rgba(30, 81, 73, 0.1);
}
.modal-select option {
padding: 10px;
}

View File

@@ -1,3 +1,3 @@
@import url('common.css');
@import url('dashboard.css');
@import url('mail.css');
@import url('common.css');
@import url('dashboard.css');
@import url('mail.css');