백엔드: - proxyInputModel 전체 worker_id→user_id 전환 (작업보고서/휴가 매핑 실패 → 전부 미입력으로 표시되던 문제) 프론트: - 개별 입력 → 공통 입력 1개로 전환 프로젝트/공종/시간/부적합 한번 입력 → 선택된 전원에 적용 - 부서별 그룹핑 표시 - 적용 대상 칩 표시 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
86 lines
5.5 KiB
CSS
86 lines
5.5 KiB
CSS
/* proxy-input.css — 대리입력 리뉴얼 */
|
|
|
|
/* Title Row */
|
|
.pi-title-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
|
|
.pi-title { font-size: 18px; font-weight: 700; color: #1f2937; flex: 1; }
|
|
.pi-back-btn { background: none; border: none; font-size: 18px; color: #6b7280; cursor: pointer; padding: 4px 8px; }
|
|
.pi-date-group { display: flex; align-items: center; gap: 6px; }
|
|
.pi-date-input { border: 1px solid #d1d5db; border-radius: 8px; padding: 6px 10px; font-size: 14px; }
|
|
.pi-refresh-btn { background: none; border: none; color: #6b7280; font-size: 14px; cursor: pointer; padding: 6px; }
|
|
|
|
/* Status Bar */
|
|
.pi-status-bar { display: flex; gap: 16px; background: white; border-radius: 10px; padding: 10px 14px; margin-bottom: 10px; font-size: 13px; color: #6b7280; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
|
|
|
|
/* Select All */
|
|
.pi-select-all { padding: 6px 2px; font-size: 13px; color: #6b7280; }
|
|
.pi-select-all input { margin-right: 6px; }
|
|
|
|
/* Worker List */
|
|
.pi-worker-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 80px; }
|
|
.pi-worker { display: flex; align-items: center; gap: 10px; background: white; border-radius: 10px; padding: 10px 12px; cursor: pointer; border: 2px solid transparent; transition: border-color 0.15s; }
|
|
.pi-worker:hover { border-color: #93c5fd; }
|
|
.pi-worker.disabled { opacity: 0.45; cursor: not-allowed; }
|
|
.pi-check { width: 18px; height: 18px; flex-shrink: 0; accent-color: #2563eb; }
|
|
.pi-worker-info { flex: 1; display: flex; flex-direction: column; gap: 1px; }
|
|
.pi-worker-name { font-size: 14px; font-weight: 600; color: #1f2937; }
|
|
.pi-worker-job { font-size: 11px; color: #9ca3af; }
|
|
.pi-worker-badges { display: flex; gap: 4px; flex-shrink: 0; }
|
|
|
|
/* Badges */
|
|
.pi-badge { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 6px; }
|
|
.pi-badge.done { background: #dcfce7; color: #166534; }
|
|
.pi-badge.missing { background: #fee2e2; color: #991b1b; }
|
|
.pi-badge.vac { background: #dbeafe; color: #1e40af; }
|
|
.pi-badge.vac-half { background: #fef3c7; color: #92400e; }
|
|
|
|
/* Bottom Bar */
|
|
.pi-bottom-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; background: white; padding: 12px 16px; border-top: 1px solid #e5e7eb; box-shadow: 0 -2px 8px rgba(0,0,0,0.06); }
|
|
.pi-edit-btn, .pi-save-btn { width: 100%; padding: 12px; border: none; border-radius: 10px; font-size: 15px; font-weight: 600; color: white; cursor: pointer; }
|
|
.pi-edit-btn { background: #2563eb; }
|
|
.pi-edit-btn:hover { background: #1d4ed8; }
|
|
.pi-edit-btn:disabled { background: #9ca3af; cursor: not-allowed; }
|
|
.pi-save-btn { background: #10b981; }
|
|
.pi-save-btn:hover { background: #059669; }
|
|
.pi-save-btn:disabled { background: #9ca3af; }
|
|
|
|
/* Edit Cards */
|
|
.pi-edit-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 80px; }
|
|
.pi-edit-card { background: white; border-radius: 12px; padding: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
|
|
.pi-edit-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 14px; }
|
|
.pi-edit-job { font-size: 11px; color: #9ca3af; }
|
|
.pi-edit-fields { display: flex; flex-direction: column; gap: 6px; }
|
|
.pi-edit-row { display: flex; gap: 6px; }
|
|
.pi-select { flex: 1; padding: 6px 8px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 13px; background: white; }
|
|
.pi-field { display: flex; flex-direction: column; gap: 2px; flex: 1; }
|
|
.pi-field span { font-size: 11px; color: #6b7280; font-weight: 600; }
|
|
.pi-input { padding: 6px 8px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 14px; text-align: center; }
|
|
.pi-note-input { width: 100%; padding: 6px 8px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 13px; }
|
|
|
|
/* Skeleton */
|
|
.pi-skeleton { height: 52px; border-radius: 10px; background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%); background-size: 200% 100%; animation: pi-shimmer 1.5s infinite; }
|
|
@keyframes pi-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
|
|
|
|
/* Department Label */
|
|
.pi-dept-label { font-size: 11px; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: 0.5px; padding: 8px 2px 4px; }
|
|
|
|
/* Bulk Form */
|
|
.pi-bulk-form { background: white; border-radius: 12px; padding: 14px; margin-bottom: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); display: flex; flex-direction: column; gap: 8px; }
|
|
.pi-edit-row { display: flex; gap: 8px; }
|
|
.pi-select { flex: 1; padding: 8px 10px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 14px; background: white; }
|
|
.pi-field { display: flex; flex-direction: column; gap: 2px; flex: 1; }
|
|
.pi-field span { font-size: 11px; color: #6b7280; font-weight: 600; }
|
|
.pi-input { padding: 8px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 15px; text-align: center; font-weight: 600; }
|
|
.pi-note-input { width: 100%; padding: 8px 10px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 13px; }
|
|
|
|
/* Target Section */
|
|
.pi-target-section { background: white; border-radius: 12px; padding: 12px; margin-bottom: 80px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
|
|
.pi-target-label { font-size: 12px; font-weight: 700; color: #6b7280; margin-bottom: 8px; }
|
|
.pi-target-list { display: flex; flex-wrap: wrap; gap: 6px; }
|
|
.pi-target-chip { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 20px; background: #dbeafe; color: #1e40af; }
|
|
|
|
/* Empty */
|
|
.pi-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 48px 16px; color: #9ca3af; font-size: 14px; }
|
|
|
|
/* Responsive */
|
|
@media (min-width: 640px) { .pi-bottom-bar { max-width: 640px; margin: 0 auto; } }
|