A1: fade-in querySelectorAll 전환 (5개 core.js) — 복수 요소 모두 표시 A2: 모달 ESC 키 닫기 (5개 core.js) A3: 모바일 메뉴 body 스크롤 잠금 (tkfb-core.js) A4: Gateway 대시보드 max-width 800→1080px B1: 모달 z-index 50→60 — 헤더 위에 표시 (4개 CSS) B3: 테이블 sticky header (tkfb.css, tkpurchase.css) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
61 lines
3.2 KiB
CSS
61 lines
3.2 KiB
CSS
/* tkfb global styles — orange theme */
|
|
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #f8fafc; margin: 0; }
|
|
.fade-in { opacity: 0; transition: opacity 0.3s; }
|
|
.fade-in.visible { opacity: 1; }
|
|
|
|
/* Input */
|
|
.input-field { border: 1px solid #e2e8f0; transition: border-color 0.15s; outline: none; }
|
|
.input-field:focus { border-color: #ea580c; box-shadow: 0 0 0 3px rgba(234,88,12,0.1); }
|
|
|
|
/* Toast */
|
|
.toast-message { transition: opacity 0.3s; }
|
|
|
|
/* Nav active */
|
|
.nav-link.active { background: rgba(234,88,12,0.12); color: #c2410c; font-weight: 600; }
|
|
|
|
/* Nav category */
|
|
.nav-category-header { display: flex; align-items: center; gap: 0.5rem; width: 100%; padding: 0.5rem 1rem; background: none; border: none; cursor: pointer; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: #9ca3af; transition: color 0.15s; }
|
|
.nav-category-header:hover { color: #6b7280; }
|
|
.nav-category-header .nav-arrow { margin-left: auto; font-size: 0.6rem; transition: transform 0.2s; }
|
|
.nav-category.expanded .nav-arrow { transform: rotate(180deg); }
|
|
.nav-category-items { display: none; }
|
|
.nav-category.expanded .nav-category-items { display: flex; flex-direction: column; gap: 1px; }
|
|
|
|
/* Stat card */
|
|
.stat-card { background: white; border-radius: 0.75rem; padding: 1.25rem; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
|
|
.stat-card .stat-value { font-size: 1.75rem; font-weight: 700; line-height: 1.2; }
|
|
.stat-card .stat-label { font-size: 0.8rem; color: #6b7280; margin-top: 0.25rem; }
|
|
|
|
/* Table */
|
|
.data-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
|
|
.data-table th { background: #f1f5f9; padding: 0.625rem 0.75rem; text-align: left; font-weight: 600; color: #475569; white-space: nowrap; border-bottom: 2px solid #e2e8f0; }
|
|
.data-table thead th { position: sticky; top: 56px; z-index: 10; }
|
|
.data-table td { padding: 0.625rem 0.75rem; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
|
|
.data-table tr:hover { background: #f8fafc; }
|
|
|
|
/* Badge */
|
|
.badge { display: inline-flex; align-items: center; padding: 0.125rem 0.5rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 500; }
|
|
.badge-green { background: #ecfdf5; color: #059669; }
|
|
.badge-blue { background: #eff6ff; color: #2563eb; }
|
|
.badge-amber { background: #fffbeb; color: #d97706; }
|
|
.badge-red { background: #fef2f2; color: #dc2626; }
|
|
.badge-gray { background: #f3f4f6; color: #6b7280; }
|
|
.badge-orange { background: #fff7ed; color: #c2410c; }
|
|
.badge-purple { background: #faf5ff; color: #7c3aed; }
|
|
|
|
/* Collapsible */
|
|
.collapsible-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
|
|
.collapsible-content.open { max-height: 500px; }
|
|
|
|
/* Modal */
|
|
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; z-index: 60; padding: 1rem; }
|
|
.modal-content { background: white; border-radius: 0.75rem; max-width: 40rem; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.stat-card .stat-value { font-size: 1.25rem; }
|
|
.data-table { font-size: 0.8rem; }
|
|
.data-table th, .data-table td { padding: 0.5rem; }
|
|
.hide-mobile { display: none; }
|
|
}
|