Files
test-mcp/style/dashboard.css
Taehoon d246b08799 feat: 메일 관리 UI 개편 및 시스템 구조 최적화
- UI/UX: 메일 관리 레이아웃 고도화 및 미리보기 토글 핸들 도입
- 기능: 주소록 CRUD 기능 추가 및 모달 인터페이스 개선
- 구조: CSS 파일 기능별 분리 및 Jinja2 템플릿 엔진 도입
- 백엔드: OCR 비동기 처리 및 CSV 파싱(BOM) 안정화
- 데이터: 2026.03.04 기준 최신 프로젝트 현황 업데이트
2026-03-04 17:58:54 +09:00

265 lines
4.6 KiB
CSS

/* Portal (Index) */
.portal-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: calc(100vh - 36px);
background: var(--bg-muted);
padding: var(--space-lg);
margin-top: 36px;
}
.portal-header {
text-align: center;
margin-bottom: 50px;
}
.portal-header h1 {
font-size: 28px;
color: var(--primary-color);
margin-bottom: 10px;
}
.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: 0.3s;
width: 100%;
box-shadow: var(--box-shadow);
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
}
.portal-card:hover {
transform: translateY(-5px);
border-color: var(--primary-color);
box-shadow: var(--box-shadow-lg);
}
.portal-card .icon {
font-size: 32px;
width: 64px;
height: 64px;
background: var(--bg-muted);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: 0.3s;
}
.portal-card:hover .icon {
background: var(--primary-color);
color: #fff;
}
.portal-card h2 {
font-size: 20px;
font-weight: 700;
}
.portal-card p {
color: var(--text-sub);
font-size: 14px;
line-height: 1.5;
}
@media screen and (max-width: 600px) {
.button-grid {
grid-template-columns: 1fr;
}
}
/* Dashboard List & Console */
.log-console {
background: #000;
color: #0f0;
font-family: monospace;
padding: 15px;
margin-bottom: 20px;
border-radius: 4px;
max-height: 200px;
overflow-y: auto;
font-size: 12px;
line-height: 1.5;
}
.log-console-header {
color: #fff;
border-bottom: 1px solid #333;
margin-bottom: 10px;
padding-bottom: 5px;
font-weight: bold;
}
.accordion-container {
border-top: 1px solid var(--border-color);
}
.accordion-list-header,
.accordion-header {
display: grid;
grid-template-columns: 2.5fr 1fr 1fr 0.8fr 2fr;
gap: var(--space-md);
padding: var(--space-md) var(--space-lg);
align-items: center;
cursor: pointer;
}
.accordion-list-header {
font-size: 11px;
font-weight: 700;
color: var(--text-sub);
border-bottom: 1px solid var(--text-main);
cursor: default;
}
.accordion-item {
border-bottom: 1px solid var(--border-color);
}
.accordion-item:hover {
background: var(--primary-lv-0);
}
.repo-title {
font-weight: 700;
color: var(--primary-color);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.repo-files {
text-align: center;
font-weight: 600;
}
.repo-log {
font-size: 11px;
color: var(--text-sub);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.accordion-body {
display: none;
padding: var(--space-lg);
background: var(--bg-muted);
border-top: 1px solid var(--border-color);
}
.accordion-item.active .accordion-body {
display: block;
}
.status-warning {
background: #fff9e6;
}
.status-error {
background: #fee9e7;
}
.warning-text {
color: #f21d0d !important;
font-weight: 700;
}
/* Accordion Multi-level (Continent/Country) */
.continent-group,
.country-group {
margin-bottom: 10px;
}
.continent-header,
.country-header {
background: #fff;
padding: 12px 20px;
border: 1px solid var(--border-color);
border-radius: 8px;
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
font-weight: 700;
transition: all 0.2s;
}
.continent-header {
background: var(--primary-color);
color: white;
border: none;
font-size: 15px;
}
.country-header {
font-size: 14px;
color: var(--text-main);
margin-top: 5px;
}
.continent-body,
.country-body {
display: none;
padding: 10px 0 10px 20px;
}
.active>.continent-body,
.active>.country-body {
display: block;
}
/* Detail Views */
.detail-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
}
.detail-section h4 {
font-size: 13px;
margin-bottom: 10px;
color: var(--text-main);
border-left: 3px solid var(--primary-color);
padding-left: 8px;
}
.data-table {
width: 100%;
border-collapse: collapse;
font-size: 12px;
}
.data-table th,
.data-table td {
padding: 8px;
border-bottom: 1px solid var(--border-color);
text-align: left;
}
.data-table th {
color: var(--text-sub);
font-weight: 600;
}