feat: 다수 기능 개선 - 순찰, 출근, 작업분석, 모바일 UI 등

- 순찰/점검 기능 개선 (zone-detail 페이지 추가)
- 출근/근태 시스템 개선 (연차 조회, 근무현황)
- 작업분석 대분류 그룹화 및 마이그레이션 스크립트
- 모바일 네비게이션 UI 추가
- NAS 배포 도구 및 문서 추가

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Hyungi Ahn
2026-02-09 14:41:01 +09:00
parent 1548253f56
commit 2b1c7bfb88
633 changed files with 361224 additions and 1090 deletions

View File

@@ -298,22 +298,26 @@
/* 작업장 마커 */
.workplace-marker {
position: absolute;
padding: 0.5rem 0.75rem;
padding: 0.3rem 0.5rem;
background: var(--surface-color, #fff);
border: 2px solid var(--border-color, #cbd5e1);
border-radius: 8px;
border-radius: 6px;
cursor: pointer;
font-size: 0.8rem;
font-weight: 500;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transition: all 0.2s;
font-size: 0.7rem;
font-weight: 600;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
transition: all 0.15s ease-out;
transform: translate(-50%, -50%);
white-space: nowrap;
/* z-index는 JS에서 y좌표 기반 설정 (아래에 있을수록 높음) */
}
.workplace-marker:hover {
transform: translate(-50%, -50%) scale(1.05);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
transform: translate(-50%, -50%) scale(1.15);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
z-index: 200 !important;
background: #f0f9ff;
border-color: var(--primary-color, #3b82f6);
}
.workplace-marker.completed {
@@ -330,7 +334,16 @@
border-color: var(--primary-color, #3b82f6);
background: var(--primary-color, #3b82f6);
color: #fff;
z-index: 10;
z-index: 150 !important;
transform: translate(-50%, -50%) scale(1.1);
}
/* 작은 마커 (밀집 구역용) */
.workplace-marker.compact {
padding: 0.2rem 0.35rem;
font-size: 0.6rem;
border-radius: 4px;
border-width: 1.5px;
}
/* 작업장 목록 */
@@ -665,6 +678,540 @@
margin-bottom: 0;
}
/* ==================== 작업장 상세 정보 패널 ==================== */
.workplace-detail-panel {
position: fixed;
top: 90px;
right: 20px;
width: 400px;
max-height: calc(100vh - 110px);
background: var(--surface-color, #fff);
border-radius: 16px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
display: none;
flex-direction: column;
z-index: 100;
overflow: hidden;
}
.detail-panel-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
padding: 1rem 1.25rem;
background: linear-gradient(135deg, var(--primary-color, #3b82f6), #2563eb);
color: #fff;
}
.detail-panel-title h3 {
margin: 0;
font-size: 1.1rem;
font-weight: 600;
}
.detail-panel-subtitle {
font-size: 0.8rem;
opacity: 0.9;
}
.detail-panel-close {
background: rgba(255, 255, 255, 0.2);
border: none;
color: #fff;
width: 28px;
height: 28px;
border-radius: 6px;
font-size: 1.25rem;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s;
}
.detail-panel-close:hover {
background: rgba(255, 255, 255, 0.3);
}
/* 요약 정보 */
.detail-panel-summary {
display: flex;
gap: 0.5rem;
padding: 0.75rem 1rem;
background: var(--bg-color, #f8fafc);
border-bottom: 1px solid var(--border-color, #e2e8f0);
flex-wrap: wrap;
}
.summary-item {
flex: 1;
min-width: 60px;
text-align: center;
padding: 0.5rem;
background: var(--surface-color, #fff);
border-radius: 8px;
}
.summary-item.warning {
background: #fef3c7;
}
.summary-item.danger {
background: #fee2e2;
}
.summary-item.info {
background: #dbeafe;
}
.summary-value {
display: block;
font-size: 1.25rem;
font-weight: 700;
color: var(--text-primary, #1e293b);
}
.summary-item.warning .summary-value {
color: #b45309;
}
.summary-item.danger .summary-value {
color: #dc2626;
}
.summary-item.info .summary-value {
color: #2563eb;
}
.summary-label {
font-size: 0.7rem;
color: var(--text-secondary, #64748b);
}
/* 탭 */
.detail-panel-tabs {
display: flex;
border-bottom: 1px solid var(--border-color, #e2e8f0);
background: var(--surface-color, #fff);
}
.detail-tab {
flex: 1;
padding: 0.6rem 0.5rem;
border: none;
background: none;
font-size: 0.75rem;
color: var(--text-secondary, #64748b);
cursor: pointer;
border-bottom: 2px solid transparent;
transition: all 0.2s;
position: relative;
}
.detail-tab:hover {
color: var(--primary-color, #3b82f6);
}
.detail-tab.active {
color: var(--primary-color, #3b82f6);
border-bottom-color: var(--primary-color, #3b82f6);
font-weight: 600;
}
.tab-badge {
display: none;
min-width: 16px;
height: 16px;
padding: 0 4px;
background: var(--error-color, #dc2626);
color: #fff;
font-size: 0.65rem;
font-weight: 600;
border-radius: 8px;
margin-left: 4px;
vertical-align: middle;
}
.tab-badge.show {
display: inline-flex;
align-items: center;
justify-content: center;
}
.tab-badge.warning {
background: var(--warning-color, #f59e0b);
}
/* 탭 콘텐츠 */
.detail-panel-content {
flex: 1;
overflow-y: auto;
padding: 1rem;
background: var(--bg-color, #f8fafc);
}
.detail-tab-content {
display: none;
}
.detail-tab-content.active {
display: block;
}
.detail-empty {
text-align: center;
padding: 2rem 1rem;
color: var(--text-secondary, #64748b);
font-size: 0.9rem;
}
/* 신고/부적합 섹션 */
.issue-section {
margin-bottom: 1.5rem;
}
.issue-section-title {
font-size: 0.85rem;
font-weight: 600;
margin: 0 0 0.75rem;
color: var(--text-primary, #1e293b);
}
.issue-item {
background: var(--surface-color, #fff);
border-radius: 8px;
padding: 0.75rem;
margin-bottom: 0.5rem;
border-left: 3px solid var(--border-color, #cbd5e1);
}
.issue-item.pending {
border-left-color: #f59e0b;
}
.issue-item.info {
border-left-color: #3b82f6;
}
.issue-item.warning {
border-left-color: #f59e0b;
}
.issue-item.success {
border-left-color: #16a34a;
}
.issue-item-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.5rem;
}
.issue-title {
font-weight: 600;
font-size: 0.9rem;
}
.issue-status {
font-size: 0.7rem;
padding: 2px 8px;
border-radius: 10px;
background: var(--bg-color, #f1f5f9);
}
.issue-status.pending {
background: #fef3c7;
color: #b45309;
}
.issue-status.info {
background: #dbeafe;
color: #1d4ed8;
}
.issue-status.warning {
background: #fed7aa;
color: #c2410c;
}
.issue-status.success {
background: #dcfce7;
color: #166534;
}
.issue-item-meta {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
margin-bottom: 0.5rem;
font-size: 0.75rem;
}
.issue-category {
color: var(--text-secondary, #64748b);
}
.issue-severity {
padding: 1px 6px;
border-radius: 4px;
font-size: 0.65rem;
}
.issue-severity.critical {
background: #fee2e2;
color: #dc2626;
}
.issue-severity.high {
background: #fed7aa;
color: #c2410c;
}
.issue-severity.medium {
background: #fef3c7;
color: #b45309;
}
.issue-severity.low {
background: #d1fae5;
color: #059669;
}
.issue-date {
color: var(--text-tertiary, #94a3b8);
}
.issue-desc {
font-size: 0.8rem;
color: var(--text-secondary, #64748b);
margin-bottom: 0.25rem;
}
.issue-reporter {
font-size: 0.7rem;
color: var(--text-tertiary, #94a3b8);
}
/* 설비 섹션 */
.equipment-section {
margin-bottom: 1.5rem;
}
.equipment-section-title {
font-size: 0.85rem;
font-weight: 600;
margin: 0 0 0.75rem;
color: var(--text-primary, #1e293b);
}
.repair-item {
background: var(--surface-color, #fff);
border-radius: 8px;
padding: 0.75rem;
margin-bottom: 0.5rem;
border-left: 3px solid #f59e0b;
}
.repair-item.emergency {
border-left-color: #dc2626;
background: #fef2f2;
}
.repair-item.high {
border-left-color: #f97316;
}
.repair-item-header {
display: flex;
justify-content: space-between;
margin-bottom: 0.25rem;
}
.repair-equipment {
font-weight: 600;
font-size: 0.85rem;
}
.repair-priority {
font-size: 0.7rem;
padding: 2px 6px;
border-radius: 4px;
background: #fef3c7;
color: #b45309;
}
.repair-priority.emergency {
background: #fee2e2;
color: #dc2626;
}
.repair-priority.high {
background: #fed7aa;
color: #c2410c;
}
.repair-category, .repair-desc, .repair-date {
font-size: 0.75rem;
color: var(--text-secondary, #64748b);
}
.equipment-list {
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.equipment-item {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 0.75rem;
background: var(--surface-color, #fff);
border-radius: 6px;
font-size: 0.8rem;
}
.equipment-item.attention {
background: #fef2f2;
}
.equipment-name {
flex: 1;
font-weight: 500;
}
.equipment-code {
color: var(--text-tertiary, #94a3b8);
font-size: 0.7rem;
}
.equipment-status {
font-size: 0.65rem;
padding: 2px 6px;
border-radius: 4px;
background: #dcfce7;
color: #166534;
}
.equipment-status.repair_needed {
background: #fee2e2;
color: #dc2626;
}
.equipment-status.under_repair {
background: #fef3c7;
color: #b45309;
}
.equipment-status.inactive {
background: #f1f5f9;
color: #64748b;
}
/* 출입 섹션 */
.visits-list {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.visit-item {
background: var(--surface-color, #fff);
border-radius: 8px;
padding: 0.75rem;
}
.visit-item-header {
display: flex;
justify-content: space-between;
margin-bottom: 0.25rem;
}
.visit-name {
font-weight: 600;
font-size: 0.9rem;
}
.visit-company {
font-size: 0.75rem;
color: var(--text-secondary, #64748b);
}
.visit-purpose {
font-size: 0.8rem;
color: var(--primary-color, #3b82f6);
margin-bottom: 0.25rem;
}
.visit-time, .visit-companion, .visit-vehicle {
font-size: 0.75rem;
color: var(--text-secondary, #64748b);
}
/* TBM 섹션 */
.tbm-list {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.tbm-item {
background: var(--surface-color, #fff);
border-radius: 8px;
padding: 0.75rem;
}
.tbm-item-header {
display: flex;
justify-content: space-between;
margin-bottom: 0.5rem;
}
.tbm-task {
font-weight: 600;
font-size: 0.9rem;
}
.tbm-status {
font-size: 0.7rem;
padding: 2px 8px;
border-radius: 10px;
background: var(--bg-color, #f1f5f9);
}
.tbm-status.completed {
background: #dcfce7;
color: #166534;
}
.tbm-status.in_progress {
background: #dbeafe;
color: #1d4ed8;
}
.tbm-location, .tbm-leader, .tbm-content, .tbm-safety {
font-size: 0.8rem;
color: var(--text-secondary, #64748b);
margin-bottom: 0.25rem;
}
.tbm-team {
font-size: 0.75rem;
padding-top: 0.5rem;
border-top: 1px dashed var(--border-color, #e2e8f0);
margin-top: 0.5rem;
}
.tbm-team-label {
font-weight: 500;
color: var(--text-primary, #1e293b);
}
.tbm-team-names {
color: var(--text-secondary, #64748b);
}
/* 반응형 */
@media (max-width: 768px) {
.patrol-start-section {
@@ -733,4 +1280,24 @@
flex-wrap: wrap;
justify-content: center;
}
/* 모바일 상세 패널 */
.workplace-detail-panel {
position: fixed;
top: 0;
right: 0;
left: 0;
bottom: 0;
width: 100%;
max-height: 100vh;
border-radius: 0;
}
.detail-panel-tabs {
overflow-x: auto;
}
.detail-tab {
white-space: nowrap;
}
}

713
web-ui/css/mobile.css Normal file
View File

@@ -0,0 +1,713 @@
/* =====================================================
mobile.css - 모바일 전용 스타일
대시보드, TBM, 작업보고서, 출근 관리 페이지 최적화
===================================================== */
/* ========== 모바일 헤더 간소화 ========== */
@media (max-width: 768px) {
.dashboard-header {
height: 56px !important;
padding: 0 0.75rem !important;
}
body {
padding-top: 56px !important;
}
.brand-logo {
width: 32px !important;
height: 32px !important;
}
.brand-text {
display: none !important;
}
.header-right {
gap: 0.5rem !important;
}
.dashboard-btn,
.report-btn {
display: none !important;
}
.notification-btn {
width: 36px !important;
height: 36px !important;
}
.user-profile {
padding: 0.25rem 0.5rem !important;
}
.user-avatar {
width: 32px !important;
height: 32px !important;
font-size: 0.875rem !important;
}
}
/* ========== 공통 모바일 스타일 ========== */
@media (max-width: 768px) {
/* 기본 여백 조정 */
.dashboard-main,
.page-container,
.main-content {
padding: 0.75rem !important;
padding-top: 1rem !important;
}
/* 카드 스타일 */
.card {
border-radius: 12px;
margin-bottom: 0.75rem;
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.card-header {
padding: 0.875rem 1rem;
}
.card-body {
padding: 0.875rem 1rem;
}
.card-title {
font-size: 1rem;
font-weight: 600;
}
/* 버튼 모바일 최적화 */
.btn {
padding: 0.625rem 1rem;
font-size: 0.875rem;
border-radius: 8px;
min-height: 44px; /* 터치 타겟 최소 크기 */
}
.btn-sm {
padding: 0.5rem 0.75rem;
font-size: 0.8125rem;
min-height: 36px;
}
.btn-lg {
padding: 0.875rem 1.25rem;
font-size: 1rem;
min-height: 48px;
}
/* 폼 요소 */
.form-control,
.form-select,
input[type="text"],
input[type="date"],
input[type="time"],
input[type="number"],
select,
textarea {
font-size: 16px !important; /* iOS 줌 방지 */
padding: 0.75rem;
border-radius: 8px;
min-height: 44px;
}
/* 테이블 스크롤 */
.table-responsive {
margin: 0 -1rem;
padding: 0 1rem;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
/* 모달 모바일 최적화 */
.modal-content,
[class*="modal-container"] {
width: 95% !important;
max-width: none !important;
margin: 1rem auto;
max-height: 90vh;
overflow-y: auto;
}
/* 숨기기 유틸리티 */
.hide-mobile {
display: none !important;
}
/* 푸터 */
.dashboard-footer {
padding: 1rem;
}
.footer-content {
flex-direction: column;
gap: 0.5rem;
text-align: center;
}
.footer-links {
justify-content: center;
}
}
/* ========== 대시보드 페이지 ========== */
@media (max-width: 768px) {
/* 작업장 현황 섹션 */
.workplace-status-section .card-header .flex {
flex-direction: column;
gap: 0.75rem;
align-items: stretch !important;
}
.workplace-status-section .card-header select {
width: 100% !important;
}
.workplace-status-section .card-header .btn {
width: 100%;
}
/* 지도 영역 */
#workplaceMapContainer {
min-height: 300px !important;
}
#workplaceMapCanvas {
max-height: 350px;
}
/* 범례 숨기기 또는 축소 */
#mapLegend {
display: none;
}
/* 안내 메시지 */
#mapPlaceholder {
min-height: 250px !important;
padding: 2rem 1rem;
}
#mapPlaceholder h3 {
font-size: 1.125rem;
}
/* 임시 이동 설비 그리드 */
.moved-equipment-grid {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.moved-equipment-item {
padding: 1rem;
border-radius: 10px;
}
/* 작업장 모달 */
.workplace-modal-container {
width: 100% !important;
height: 100% !important;
max-height: 100vh !important;
border-radius: 0 !important;
margin: 0 !important;
}
.workplace-modal-header {
padding: 1rem;
position: sticky;
top: 0;
background: white;
z-index: 10;
}
.workplace-modal-tabs {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
padding: 0.5rem;
gap: 0.5rem;
flex-wrap: nowrap;
}
.workplace-tab {
flex-shrink: 0;
padding: 0.5rem 0.75rem;
font-size: 0.8125rem;
}
.workplace-tab .tab-text {
display: none;
}
.workplace-tab .tab-icon {
font-size: 1.25rem;
}
}
/* ========== TBM 페이지 ========== */
@media (max-width: 768px) {
/* TBM 헤더 */
.tbm-header {
flex-direction: column;
gap: 1rem;
padding: 1rem;
}
.tbm-header-left,
.tbm-header-right {
width: 100%;
}
/* TBM 폼 */
.tbm-form {
padding: 1rem;
}
.tbm-form-row {
flex-direction: column;
gap: 0.75rem;
}
.tbm-form-group {
width: 100%;
}
/* 서명 영역 */
.signature-area {
height: 120px;
}
.signature-canvas {
height: 100px;
}
/* 팀원 목록 */
.team-member-list {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.team-member-item {
padding: 0.875rem;
border-radius: 10px;
}
.team-member-checkbox {
width: 24px;
height: 24px;
}
/* 안전점검 체크리스트 */
.safety-checklist {
gap: 0.5rem;
}
.checklist-item {
padding: 0.75rem;
flex-direction: column;
align-items: flex-start;
gap: 0.5rem;
}
.checklist-item label {
font-size: 0.9rem;
}
.checklist-buttons {
width: 100%;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 0.5rem;
}
.checklist-btn {
padding: 0.5rem;
font-size: 0.8rem;
}
/* TBM 카드 */
.tbm-session-card {
padding: 1rem;
}
.tbm-session-header {
flex-direction: column;
gap: 0.5rem;
}
/* 날씨 정보 */
.weather-info {
flex-wrap: wrap;
gap: 0.5rem;
}
.weather-item {
min-width: 80px;
}
}
/* ========== 작업보고서 페이지 ========== */
@media (max-width: 768px) {
/* 작업보고서 헤더 */
.work-report-header {
flex-direction: column;
gap: 1rem;
padding: 1rem;
}
/* 날짜/작업자 선택 */
.report-filter-row {
flex-direction: column;
gap: 0.75rem;
}
.report-filter-group {
width: 100%;
}
/* 작업 목록 */
.work-item {
padding: 1rem;
border-radius: 10px;
margin-bottom: 0.75rem;
}
.work-item-header {
flex-direction: column;
gap: 0.5rem;
align-items: flex-start;
}
.work-item-time {
font-size: 0.8rem;
}
/* 작업 입력 폼 */
.work-input-form {
padding: 1rem;
}
.work-form-row {
flex-direction: column;
gap: 0.75rem;
}
.work-form-group {
width: 100%;
}
/* 시간 입력 */
.time-input-group {
display: flex;
gap: 0.5rem;
align-items: center;
}
.time-input-group input {
flex: 1;
}
/* 결함 입력 */
.defect-section {
padding: 0.875rem;
border-radius: 10px;
}
.defect-item {
padding: 0.75rem;
margin-bottom: 0.5rem;
}
/* 요약 카드 */
.summary-cards {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 0.5rem;
}
.summary-card {
padding: 0.875rem;
text-align: center;
}
.summary-card-value {
font-size: 1.25rem;
}
.summary-card-label {
font-size: 0.75rem;
}
}
/* ========== 출근 체크 / 근무 현황 페이지 ========== */
@media (max-width: 768px) {
/* 출근 체크 버튼 */
.checkin-button-container {
padding: 1rem;
}
.checkin-btn {
width: 100%;
padding: 1.5rem;
font-size: 1.25rem;
border-radius: 16px;
min-height: 80px;
}
.checkin-btn-icon {
font-size: 2rem;
margin-bottom: 0.5rem;
}
/* 출근 상태 카드 */
.checkin-status-card {
padding: 1.25rem;
border-radius: 12px;
text-align: center;
}
.checkin-time {
font-size: 2rem;
font-weight: 700;
}
/* 작업자 목록 */
.worker-list {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.worker-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1rem;
background: white;
border-radius: 10px;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.worker-info {
display: flex;
align-items: center;
gap: 0.75rem;
}
.worker-avatar {
width: 40px;
height: 40px;
border-radius: 50%;
background: var(--primary-100, #dbeafe);
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
color: var(--primary-700, #1d4ed8);
}
.worker-name {
font-weight: 600;
font-size: 0.9375rem;
}
.worker-status-badge {
padding: 0.375rem 0.75rem;
border-radius: 20px;
font-size: 0.75rem;
font-weight: 600;
}
/* 근무 현황 테이블 대체 */
.work-status-table-mobile {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.work-status-row {
display: grid;
grid-template-columns: 1fr auto auto;
gap: 0.75rem;
align-items: center;
padding: 0.875rem 1rem;
background: white;
border-radius: 10px;
box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.work-status-name {
font-weight: 600;
font-size: 0.9375rem;
}
.work-status-hours {
font-size: 0.875rem;
color: var(--gray-600, #4b5563);
}
/* 날짜 선택 */
.date-selector {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1rem;
background: white;
border-radius: 10px;
margin-bottom: 1rem;
}
.date-selector input[type="date"] {
flex: 1;
border: none;
background: transparent;
font-size: 1rem;
font-weight: 600;
}
.date-nav-btn {
width: 40px;
height: 40px;
border-radius: 8px;
background: var(--gray-100, #f3f4f6);
border: none;
font-size: 1.25rem;
display: flex;
align-items: center;
justify-content: center;
}
/* 통계 요약 */
.attendance-summary {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 0.5rem;
margin-bottom: 1rem;
}
.attendance-stat {
text-align: center;
padding: 0.875rem 0.5rem;
background: white;
border-radius: 10px;
}
.attendance-stat-value {
font-size: 1.5rem;
font-weight: 700;
color: var(--primary-600, #2563eb);
}
.attendance-stat-label {
font-size: 0.6875rem;
color: var(--gray-500, #6b7280);
margin-top: 0.25rem;
}
/* 저장 버튼 영역 */
.save-button-container {
position: fixed;
bottom: 0;
left: 0;
right: 0;
padding: 1rem;
background: white;
box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
z-index: 100;
}
.save-button-container .btn {
width: 100%;
}
/* 바디 패딩 (고정 버튼 공간) */
body.has-fixed-button {
padding-bottom: 80px;
}
}
/* ========== 모바일 퀵 액션 버튼 (FAB) ========== */
@media (max-width: 768px) {
.mobile-fab {
position: fixed;
bottom: 1.5rem;
right: 1.5rem;
width: 56px;
height: 56px;
border-radius: 50%;
background: var(--primary-500, #3b82f6);
color: white;
border: none;
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
font-size: 1.5rem;
display: flex;
align-items: center;
justify-content: center;
z-index: 90;
transition: transform 0.2s, box-shadow 0.2s;
}
.mobile-fab:active {
transform: scale(0.95);
box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}
}
/* ========== 터치 최적화 ========== */
@media (max-width: 768px) {
/* 터치 피드백 */
.btn:active,
.card:active,
.worker-item:active,
.nav-item:active {
transform: scale(0.98);
opacity: 0.9;
}
/* 스크롤 스냅 */
.horizontal-scroll {
scroll-snap-type: x mandatory;
-webkit-overflow-scrolling: touch;
}
.horizontal-scroll > * {
scroll-snap-align: start;
}
/* 탭 바 최적화 */
.tab-bar {
display: flex;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
gap: 0.25rem;
padding: 0.25rem;
background: var(--gray-100, #f3f4f6);
border-radius: 10px;
}
.tab-bar::-webkit-scrollbar {
display: none;
}
.tab-item {
flex-shrink: 0;
padding: 0.625rem 1rem;
border-radius: 8px;
font-size: 0.875rem;
font-weight: 500;
white-space: nowrap;
transition: all 0.2s;
}
.tab-item.active {
background: white;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
}
/* ========== 다크모드 지원 (선택적) ========== */
@media (max-width: 768px) and (prefers-color-scheme: dark) {
/* 다크모드 색상 조정 필요시 여기에 추가 */
}

1491
web-ui/css/zone-detail.css Normal file

File diff suppressed because it is too large Load Diff