7개 시스템(tkpurchase/tksafety/tksupport/tkuser/system1/system2/system3)의 모바일 사용성 일괄 개선. system1(tkfb)의 모바일 메뉴 패턴을 3개 신규 시스템에 적용. 주요 변경: - 모바일 햄버거 메뉴: tkpurchase/tksafety/tksupport에 toggleMobileMenu+overlay 추가 - 필터 반응형: 768px 이하 2열 그리드 전환 (filter-bar/filter-actions 클래스) - 터치 타겟 44px: 테이블 액션 버튼 36px+gap, tksafety ±버튼 w-11 - iOS 줌 방지: input/select/textarea font-size 16px - tkuser: 탭 가로스크롤+fade힌트, 사이드바·grid·드롭다운 반응형 - system1: 대시보드 인라인 width 제거, 이동설비 그리드 1열 - system2: 사진그리드 4열, 유형버튼 2열 (480px 이하) - system3: 카드 내 액션 버튼 stopPropagation 추가 - 캐시 무효화: 전체 HTML ?v=2026031401 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
37 lines
1.7 KiB
CSS
37 lines
1.7 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
|
|
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: #f1f5f9; min-height: 100vh; }
|
|
.input-field { background: white; border: 1px solid #e2e8f0; transition: all 0.2s; }
|
|
.input-field:focus { outline: none; border-color: #64748b; box-shadow: 0 0 0 3px rgba(100,116,139,0.1); }
|
|
.tab-btn { transition: all 0.2s; }
|
|
.tab-btn.active { background: #334155; color: white; }
|
|
.tab-btn:not(.active) { color: #64748b; }
|
|
.tab-btn:not(.active):hover { background: #e2e8f0; }
|
|
.system-section { border-left: 4px solid; }
|
|
.system-section.system1 { border-color: #3b82f6; }
|
|
.system-section.system3 { border-color: #8b5cf6; }
|
|
.group-header { cursor: pointer; user-select: none; }
|
|
.group-header:hover { background: #f8fafc; }
|
|
.perm-item { transition: all 0.15s; }
|
|
.perm-item.checked { background: #f0f9ff; border-color: #93c5fd; }
|
|
.toast-message { transition: all 0.3s ease; }
|
|
.fade-in { opacity: 0; transform: translateY(10px); transition: opacity 0.4s, transform 0.4s; }
|
|
.fade-in.visible { opacity: 1; transform: translateY(0); }
|
|
|
|
/* Mobile responsive */
|
|
@media (max-width: 768px) {
|
|
#tabNav {
|
|
-webkit-overflow-scrolling: touch;
|
|
scrollbar-width: none;
|
|
padding: 0.25rem 0;
|
|
position: relative;
|
|
}
|
|
#tabNav::-webkit-scrollbar { display: none; }
|
|
#tabNav button { white-space: nowrap; flex-shrink: 0; font-size: 0.8rem; padding: 0.375rem 0.75rem; }
|
|
.tab-scroll-hint {
|
|
position: absolute; right: 0; top: 0; bottom: 0; width: 2rem;
|
|
background: linear-gradient(to right, transparent, #fff);
|
|
pointer-events: none;
|
|
}
|
|
input, select, textarea { font-size: 16px !important; }
|
|
}
|