feat(휴가): 협의자 결재·신청 화면 개편(라디오·붙박이 달력·결재 라인)·내 신청 내역
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+57
-5
@@ -160,16 +160,68 @@
|
||||
.vac-list-reason { font-size: 12px; margin-top: 4px; }
|
||||
.vac-empty { padding: 12px 0; }
|
||||
|
||||
/* ── 신청 폼 ── */
|
||||
.vac-form-card { padding: 16px; max-width: 760px; }
|
||||
/* ── 신청 폼(2026-11-02) — 위 휴가 종류 · 왼쪽 달력 · 오른쪽 날짜·사유 · 아래 결재 라인 ── */
|
||||
.vac [hidden] { display: none !important; }
|
||||
.vac-form-card { padding: 20px; max-width: 1000px; flex-shrink: 0; display: flex; flex-direction: column; gap: 20px; }
|
||||
.vac-types { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; border: 0; }
|
||||
.vac-types legend { float: left; margin-right: 12px; padding: 0; font-size: 14px; font-weight: 600; line-height: 34px; }
|
||||
.vac-type { display: inline-flex; cursor: pointer; }
|
||||
.vac-type input { position: absolute; opacity: 0; width: 0; height: 0; }
|
||||
.vac-type span { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; box-sizing: border-box;
|
||||
border: 1px solid var(--vac-ash); border-radius: 9999px; font-size: 14px; color: var(--vac-black); background: #fff; }
|
||||
.vac-type span::before { content: ""; width: 12px; height: 12px; box-sizing: border-box; border: 1.5px solid #a3a3a3; border-radius: 50%; }
|
||||
.vac-type:hover span { background: var(--vac-ghost); }
|
||||
.vac-type input:checked + span { background: #000; border-color: #000; color: #fff; font-weight: 700; }
|
||||
.vac-type input:checked + span::before { border: 4px solid #fff; background: #000; }
|
||||
.vac-type input:focus-visible + span { outline: 2px solid var(--vac-black); outline-offset: 2px; }
|
||||
|
||||
.vac-form-main { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 24px; align-items: start; }
|
||||
@media (max-width: 760px) { .vac-form-main { grid-template-columns: minmax(0, 1fr); } }
|
||||
.vac-range-cal { border: 1px solid var(--vac-ash); border-radius: 12px; padding: 12px; font-size: 13px; }
|
||||
.vac-form-side { display: flex; flex-direction: column; min-width: 0; }
|
||||
.vac-form-grid {
|
||||
display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 12px; margin-bottom: 12px;
|
||||
}
|
||||
.vac-full { grid-column: 1 / -1; }
|
||||
.vac-days-preview { margin: 12px 0; font-size: 14px; }
|
||||
.vac-form-side .erp-input, .vac-form-side .erp-select { min-width: 0; width: 100%; box-sizing: border-box; }
|
||||
.vac-form-side input[readonly] { background: var(--vac-ghost); cursor: default; }
|
||||
.vac-reason textarea { resize: vertical; }
|
||||
.vac-days-preview { margin: 0 0 12px; font-size: 14px; }
|
||||
.vac-days-preview strong { font-size: 16px; font-weight: 600; }
|
||||
.vac-form-actions { display: flex; gap: 8px; margin-top: 8px; }
|
||||
.vac-form-err { margin: 0; color: var(--vac-red); font-size: 13px; font-weight: 600; }
|
||||
.vac-form-actions { display: flex; gap: 8px; }
|
||||
|
||||
/* 결재 라인 — 신청 화면·상세 공용 */
|
||||
.vac-line { border-top: 1px solid var(--vac-ash); padding-top: 16px; display: flex; flex-direction: column; gap: 12px; }
|
||||
.vac-line h3 { margin: 0; font-size: 15px; font-weight: 600; }
|
||||
.vac-line-row { display: flex; align-items: center; gap: 12px; }
|
||||
.vac-line-label { flex: none; width: 56px; font-size: 13px; font-weight: 600; }
|
||||
.vac-line-body { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; min-width: 0; font-size: 14px; }
|
||||
.vac-line-sub { margin: 0; font-size: 13px; font-weight: 600; }
|
||||
.vac-line-progress { margin: 0; }
|
||||
.vac-person { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
|
||||
.vac-pick { list-style: none; margin: 0; padding: 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px;
|
||||
max-height: 260px; overflow-y: auto; border: 1px solid var(--vac-ash); border-radius: 10px; }
|
||||
.vac-consult-box { display: flex; flex-direction: column; gap: 8px; }
|
||||
.vac-consult-row { display: grid; grid-template-columns: 140px minmax(0, 1fr) 28px; gap: 8px; align-items: center; }
|
||||
.vac-consult-row .erp-input { min-width: 0; width: 100%; box-sizing: border-box; resize: vertical; }
|
||||
.vac-consult-x { width: 28px; height: 28px; border: 0; border-radius: 6px; background: none; color: var(--vac-muted); cursor: pointer; }
|
||||
.vac-consult-x:hover { background: var(--vac-ghost); color: var(--vac-red); }
|
||||
.vac-line-consult { padding: 8px 12px; border-radius: 10px; background: var(--vac-ghost); font-size: 14px; }
|
||||
.vac-line-consult p { margin: 4px 0 0; white-space: pre-wrap; }
|
||||
.vac-line-comment { color: var(--vac-red); }
|
||||
.vac-consult-brief { font-size: 12.5px; white-space: pre-wrap; }
|
||||
|
||||
/* 협의·결재 진행 상황 */
|
||||
.vac-steps { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
|
||||
.vac-step { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px 2px 4px; border-radius: 9999px; background: var(--vac-ghost);
|
||||
font-size: 12.5px; white-space: nowrap; }
|
||||
.vac-step b { font-weight: 700; }
|
||||
.vac-step.is-ok b { color: var(--vac-green); }
|
||||
.vac-step.is-no b { color: var(--vac-red); }
|
||||
.vac-step.is-wait b { color: #b45309; }
|
||||
.vac-step .vac-opt-face { width: 18px; height: 18px; font-size: 10px; }
|
||||
.vac-step-arrow { color: var(--vac-muted); }
|
||||
|
||||
/* ── 상세 ── */
|
||||
.vac-detail-card { padding: 16px; max-width: 760px; }
|
||||
|
||||
Reference in New Issue
Block a user