refactor: 시스템 전반 코드 리팩토링 및 문의사항 UI 개선
This commit is contained in:
@@ -61,10 +61,13 @@ input, select, textarea, button { font-family: inherit; }
|
||||
a { text-decoration: none; color: inherit; }
|
||||
button { cursor: pointer; border: none; transition: all 0.2s ease; }
|
||||
|
||||
/* Utilities */
|
||||
/* 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 {
|
||||
@@ -103,19 +106,20 @@ button { cursor: pointer; border: none; transition: all 0.2s ease; }
|
||||
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; }
|
||||
.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; }
|
||||
.data-table th, .data-table td { padding: 10px 8px; border-bottom: 1px solid var(--border-color); text-align: left; }
|
||||
.data-table th { color: var(--text-sub); font-weight: 600; background: var(--bg-muted); }
|
||||
.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: Buttons (Unified) */
|
||||
/* 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); }
|
||||
@@ -124,7 +128,7 @@ button { cursor: pointer; border: none; transition: all 0.2s ease; }
|
||||
.btn-danger { background: #fee2e2; color: #dc2626; }
|
||||
.btn-danger:hover { background: #fecaca; }
|
||||
|
||||
/* Existing Utils - Compatibility */
|
||||
/* 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);
|
||||
@@ -142,17 +146,17 @@ button { cursor: pointer; border: none; transition: all 0.2s ease; }
|
||||
}
|
||||
.sync-btn { background: var(--primary-color); color: #fff; padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; }
|
||||
|
||||
/* Badges */
|
||||
.badge { padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 700; display: inline-block; background: #eee; }
|
||||
|
||||
/* Status Colors (Common) */
|
||||
.bg-success { background: #e8f5e9; color: #2e7d32; }
|
||||
.bg-warning { background: #fff8e1; color: #FFBF00; }
|
||||
.bg-danger { background: #ffebee; color: #dc2626; }
|
||||
.bg-info { background: #e3f2fd; color: #1565c0; }
|
||||
/* 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; }
|
||||
.status-warning { background: #fff9e6; }
|
||||
|
||||
.warning-text { color: #FFBF00; font-weight: 600; }
|
||||
.error-text { color: #F21D0D !important; font-weight: 700; }
|
||||
@@ -163,21 +167,3 @@ button { cursor: pointer; border: none; transition: all 0.2s ease; }
|
||||
border-radius: 50%; border-top-color: #fff; animation: spin 1s ease-in-out infinite;
|
||||
}
|
||||
@keyframes spin { to { transform: rotate(360deg); } }
|
||||
|
||||
/* Modals (Refined) */
|
||||
.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); }
|
||||
|
||||
Reference in New Issue
Block a user