/* 기본 CSS - DevonThink 스타일과 함께 사용 */ /* 추가 유틸리티 클래스 */ .text-center { text-align: center; } .text-left { text-align: left; } .text-right { text-align: right; } .mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; } .mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .p-0 { padding: 0; } .p-1 { padding: 8px; } .p-2 { padding: 16px; } .p-3 { padding: 24px; } .p-4 { padding: 32px; } .d-none { display: none; } .d-block { display: block; } .d-flex { display: flex; } .d-grid { display: grid; } .flex-1 { flex: 1; } .flex-column { flex-direction: column; } .align-items-center { align-items: center; } .justify-content-center { justify-content: center; } .justify-content-between { justify-content: space-between; } .w-100 { width: 100%; } .h-100 { height: 100%; } /* 애니메이션 */ .fade-in { animation: fadeIn 0.3s ease-in-out; } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .slide-in { animation: slideIn 0.3s ease-out; } @keyframes slideIn { from { transform: translateX(-20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } } /* 호버 효과 */ .hover-lift { transition: transform 0.2s ease, box-shadow 0.2s ease; } .hover-lift:hover { transform: translateY(-2px); box-shadow: var(--dt-shadow-lg); } /* 포커스 효과 */ .focus-ring:focus { outline: none; box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2); } /* 로딩 스피너 */ .spinner { width: 20px; height: 20px; border: 2px solid var(--dt-gray-300); border-top: 2px solid var(--dt-primary); border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* 툴팁 */ .tooltip { position: relative; cursor: help; } .tooltip::after { content: attr(data-tooltip); position: absolute; bottom: 125%; left: 50%; transform: translateX(-50%); background-color: var(--dt-gray-800); color: white; padding: 6px 12px; border-radius: 4px; font-size: 12px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; z-index: 1000; } .tooltip:hover::after { opacity: 1; } /* 알림 배지 */ .notification-badge { position: absolute; top: -6px; right: -6px; background-color: var(--dt-danger); color: white; border-radius: 50%; width: 16px; height: 16px; font-size: 10px; font-weight: 600; display: flex; align-items: center; justify-content: center; } /* 진행률 바 */ .progress-bar { width: 100%; height: 8px; background-color: var(--dt-gray-200); border-radius: 4px; overflow: hidden; } .progress-bar-fill { height: 100%; background-color: var(--dt-primary); transition: width 0.3s ease; } /* 드래그 앤 드롭 */ .drop-zone { border: 2px dashed var(--dt-gray-300); border-radius: 8px; padding: 40px 20px; text-align: center; color: var(--dt-gray-600); transition: all 0.2s ease; } .drop-zone.drag-over { border-color: var(--dt-primary); background-color: rgba(74, 144, 226, 0.05); color: var(--dt-primary); } /* 테이블 */ .table { width: 100%; border-collapse: collapse; background-color: white; border-radius: 8px; overflow: hidden; box-shadow: var(--dt-shadow); } .table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--dt-gray-200); } .table th { background-color: var(--dt-gray-50); font-weight: 600; color: var(--dt-gray-700); font-size: 14px; } .table td { font-size: 14px; color: var(--dt-gray-800); } .table tr:hover { background-color: var(--dt-gray-50); } /* 모달 */ .modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; z-index: 1000; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; } .modal-overlay.active { opacity: 1; pointer-events: all; } .modal { background-color: white; border-radius: 8px; box-shadow: var(--dt-shadow-lg); max-width: 600px; width: 90%; max-height: 80vh; overflow-y: auto; transform: scale(0.9); transition: transform 0.3s ease; } .modal-overlay.active .modal { transform: scale(1); } .modal-header { padding: 20px 24px 16px 24px; border-bottom: 1px solid var(--dt-gray-200); } .modal-title { font-size: 20px; font-weight: 600; color: var(--dt-gray-800); margin: 0; } .modal-body { padding: 24px; } .modal-footer { padding: 16px 24px 20px 24px; border-top: 1px solid var(--dt-gray-200); display: flex; justify-content: flex-end; gap: 12px; } /* 탭 */ .tabs { border-bottom: 1px solid var(--dt-gray-200); margin-bottom: 24px; } .tab-list { display: flex; list-style: none; margin: 0; padding: 0; } .tab-item { margin-right: 32px; } .tab-link { display: block; padding: 12px 0; color: var(--dt-gray-600); text-decoration: none; font-weight: 500; border-bottom: 2px solid transparent; transition: all 0.2s ease; } .tab-link:hover { color: var(--dt-gray-800); } .tab-link.active { color: var(--dt-primary); border-bottom-color: var(--dt-primary); } .tab-content { display: none; } .tab-content.active { display: block; } /* 아코디언 */ .accordion-item { border: 1px solid var(--dt-gray-200); border-radius: 6px; margin-bottom: 8px; overflow: hidden; } .accordion-header { padding: 16px 20px; background-color: var(--dt-gray-50); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--dt-gray-800); transition: background-color 0.2s ease; } .accordion-header:hover { background-color: var(--dt-gray-100); } .accordion-header.active { background-color: var(--dt-primary); color: white; } .accordion-icon { transition: transform 0.2s ease; } .accordion-header.active .accordion-icon { transform: rotate(180deg); } .accordion-content { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; } .accordion-content.active { padding: 20px; max-height: 500px; } /* 알림 메시지 */ .alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; border: 1px solid transparent; } .alert-success { background-color: rgba(52, 168, 83, 0.1); border-color: var(--dt-success); color: var(--dt-success); } .alert-warning { background-color: rgba(251, 188, 4, 0.1); border-color: var(--dt-warning); color: #B8860B; } .alert-danger { background-color: rgba(234, 67, 53, 0.1); border-color: var(--dt-danger); color: var(--dt-danger); } .alert-info { background-color: rgba(74, 144, 226, 0.1); border-color: var(--dt-primary); color: var(--dt-primary); } /* 빈 상태 */ .empty-state { text-align: center; padding: 60px 20px; color: var(--dt-gray-500); } .empty-state-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.5; } .empty-state-title { font-size: 18px; font-weight: 600; margin-bottom: 8px; color: var(--dt-gray-700); } .empty-state-description { font-size: 14px; margin-bottom: 24px; } /* 스크롤바 스타일링 */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: var(--dt-gray-100); } ::-webkit-scrollbar-thumb { background: var(--dt-gray-400); border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: var(--dt-gray-500); } /* 인쇄 스타일 */ @media print { .sidebar, .btn, .modal-overlay { display: none !important; } .main-content { width: 100% !important; margin: 0 !important; padding: 0 !important; } .page { display: block !important; padding: 0 !important; } .card { box-shadow: none !important; border: 1px solid #ccc !important; margin-bottom: 20px !important; } }