|
|
|
@@ -36,58 +36,79 @@
|
|
|
|
|
|
|
|
|
|
/* ── 달력 보기 ── */
|
|
|
|
|
.lv-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
|
|
|
|
|
.lv-kpi { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border: 1px solid var(--color-subtle-ash, #e5e5e5); border-radius: 10px; background: #fff; }
|
|
|
|
|
.lv-kpi span { font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--color-midtone-gray, #666); }
|
|
|
|
|
.lv-kpi b { font-size: 18px; font-variant-numeric: tabular-nums; }
|
|
|
|
|
.lv-tip { margin: 0; padding: 8px 12px; border: 1px solid var(--color-subtle-ash, #e5e5e5); border-radius: 10px; background: #f6f8fb; font-size: 13px; color: #374151; }
|
|
|
|
|
.lv-kpi { display: flex; flex-direction: column; gap: 0; padding: 4px 12px; border: 1px solid var(--color-subtle-ash, #e5e5e5); border-radius: 10px; background: #fff; }
|
|
|
|
|
.lv-kpi span { font-size: 10px; font-weight: 600; letter-spacing: .04em; color: var(--color-midtone-gray, #666); }
|
|
|
|
|
.lv-kpi b { font-size: 15px; font-variant-numeric: tabular-nums; }
|
|
|
|
|
.lv-tip { margin: 0; padding: 2px 12px; border: 1px solid var(--color-subtle-ash, #e5e5e5); border-radius: 10px; background: #f6f8fb; font-size: 11.5px; color: #374151; }
|
|
|
|
|
|
|
|
|
|
/* 달력 보기 = 세로 2분할: 왼쪽 표 + 오른쪽 위에 붙는 달력(공용 erp-datepop 서식) */
|
|
|
|
|
.lv-split { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; align-items: start; }
|
|
|
|
|
.lv-side-cal { position: sticky; top: 0; box-sizing: border-box; padding: 12px; border: 1px solid #cfd4dc; border-radius: 10px; background: #fff; font-size: 13px; }
|
|
|
|
|
.lv-split { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 12px; }
|
|
|
|
|
.lv-split > .lv { gap: 6px; }
|
|
|
|
|
/* 풀HD 브라우저(세로 약 880~940px)에서 페이지 세로 스크롤 없이 한 화면 — 표 상자가 남은 높이를 쓰고, 더 좁은 창이나 카드가 겹친 칸은 표 안에서 스크롤 */
|
|
|
|
|
@media (min-width: 1101px) {
|
|
|
|
|
.erp-page:has(> .lv-split) { overflow: hidden; padding: 10px 12px; }
|
|
|
|
|
.lv-split { flex: 1 1 auto; min-height: 0; grid-template-rows: minmax(0, 1fr); }
|
|
|
|
|
.lv-split > .lv { min-height: 0; }
|
|
|
|
|
.lv-split .lv-cal-wrap { flex: 1 1 auto; min-height: 0; max-height: none; }
|
|
|
|
|
.lv-split .lv-cal { height: 100%; }
|
|
|
|
|
}
|
|
|
|
|
@media (max-width: 1100px) {
|
|
|
|
|
.lv-split { grid-template-columns: minmax(0, 1fr); }
|
|
|
|
|
.lv-side-cal { position: static; order: -1; max-width: 340px; }
|
|
|
|
|
.lv-side-cal { order: -1; max-width: 340px; }
|
|
|
|
|
}
|
|
|
|
|
/* 오른쪽 달력 = 공용 달력의 80% */
|
|
|
|
|
.lv-side-cal { align-self: start; box-sizing: border-box; padding: 10px; border: 1px solid #cfd4dc; border-radius: 10px; background: #fff; font-size: 10.4px; }
|
|
|
|
|
.lv-side-cal .pj-dp-nav { margin: 0 0 4px; }
|
|
|
|
|
.lv-side-cal .pj-dp-title { font-size: 11.2px; }
|
|
|
|
|
.lv-side-cal .pj-dp-navbtn { width: 22px; height: 22px; }
|
|
|
|
|
.lv-side-cal .pj-dp-navbtn .material-symbols-outlined { font-size: 18px; }
|
|
|
|
|
.lv-side-cal .pj-dp-wd { padding: 3px 0 4px; font-size: 9.6px; }
|
|
|
|
|
.lv-side-cal .pj-dp-day { height: 27px; font-size: 10.8px; }
|
|
|
|
|
.lv-side-cal .pj-dp-day::before { width: 24px; height: 24px; top: 13.5px; }
|
|
|
|
|
.lv-side-cal .pj-dp-num { height: 27px; }
|
|
|
|
|
.lv-side-cal .pj-dp-day.has-hol { height: 37px; }
|
|
|
|
|
.lv-side-cal .pj-dp-hol { margin-top: -2px; font-size: 8px; }
|
|
|
|
|
.lv-cal-wrap { overflow: auto; max-height: calc(100vh - 150px); border: 1px solid #cfd4dc; border-radius: 10px; background: #fff; }
|
|
|
|
|
.lv-cal { border-collapse: separate; border-spacing: 0; min-width: max-content; }
|
|
|
|
|
.lv-cal th, .lv-cal td { border-right: 1px solid #e3e6eb; border-bottom: 1px solid #e3e6eb; }
|
|
|
|
|
.lv-cal thead th { position: sticky; top: 0; z-index: 2; width: 182px; min-width: 182px; padding: 8px 6px; background: #e4e8ee; text-align: center; font-weight: 700; }
|
|
|
|
|
.lv-cal thead th { position: sticky; top: 0; z-index: 2; width: 182px; min-width: 182px; height: 1px; padding: 3px 6px; background: #e4e8ee; text-align: center; font-weight: 700; }
|
|
|
|
|
.lv-cal thead th.is-weekend { background: #f5efd3; color: #7a5c00; }
|
|
|
|
|
.lv-cal thead th.is-today { box-shadow: inset 0 -3px 0 #111; }
|
|
|
|
|
.lv-cal-weekday { font-size: 13px; letter-spacing: .03em; }
|
|
|
|
|
.lv-cal-count { display: inline-block; min-width: 18px; padding: 0 4px; margin-left: 2px; border: 1px solid #cfd4dc; border-radius: 4px; background: #fff; color: #374151; font-size: 11px; font-weight: 600; }
|
|
|
|
|
.lv-cal-date { margin-top: 2px; font-size: 11px; font-weight: 600; color: #6b7280; }
|
|
|
|
|
.lv-cal .lv-cal-time { position: sticky; left: 0; z-index: 1; width: 132px; min-width: 132px; padding: 8px; background: #f6f7f9; text-align: center; font-size: 13px; font-weight: 700; white-space: nowrap; }
|
|
|
|
|
.lv-cal-weekday { font-size: 11.5px; letter-spacing: .03em; }
|
|
|
|
|
.lv-cal-count { display: inline-block; min-width: 15px; padding: 0 3px; margin-left: 2px; border: 1px solid #cfd4dc; border-radius: 4px; background: #fff; color: #374151; font-size: 9.5px; font-weight: 600; }
|
|
|
|
|
.lv-cal-date { margin-top: 0; font-size: 9.5px; font-weight: 600; color: #6b7280; }
|
|
|
|
|
.lv-cal .lv-cal-time { position: sticky; left: 0; z-index: 1; width: 112px; min-width: 112px; padding: 2px 6px; background: #f6f7f9; text-align: center; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
|
|
|
|
|
.lv-cal thead .lv-cal-time { z-index: 3; background: #d9dee6; }
|
|
|
|
|
.lv-cal .lv-cal-time small { display: block; margin-top: 2px; font-size: 10.5px; font-weight: 600; color: #6b7280; }
|
|
|
|
|
.lv-cell { min-height: 100px; padding: 4px; vertical-align: top; background: #fff; }
|
|
|
|
|
.lv-cal .lv-cal-time small { display: block; margin-top: 0; font-size: 9px; font-weight: 600; color: #6b7280; }
|
|
|
|
|
.lv-cell { padding: 2px; vertical-align: top; background: #fff; }
|
|
|
|
|
.lv-cell.is-weekend { background: #fffdf3; }
|
|
|
|
|
.lv-cell.is-drop { background: #e8f1ff; box-shadow: inset 0 0 0 2px #3b82f6; }
|
|
|
|
|
.lv-cell-add { display: block; width: 100%; min-height: 88px; border: 1px dashed #d8dce3; border-radius: 6px; background: transparent; color: #b0b6c0; font-size: 16px; cursor: pointer; }
|
|
|
|
|
.lv-cell-add { display: block; width: 100%; height: 100%; min-height: 52px; border: 1px dashed #d8dce3; border-radius: 6px; background: transparent; color: #b0b6c0; font-size: 14px; cursor: pointer; }
|
|
|
|
|
.lv-cell-add:hover, .lv-cell-add:focus-visible { border-color: #6b7280; color: #374151; }
|
|
|
|
|
.lv-card { margin-bottom: 4px; border: 1.5px solid #1f2937; border-radius: 6px; background: #fff; overflow: hidden; }
|
|
|
|
|
.lv-card-head { display: flex; align-items: center; gap: 4px; padding: 3px 6px; border-bottom: 1px solid #1f2937; cursor: grab; }
|
|
|
|
|
.lv-card + .lv-card { margin-top: 2px; }
|
|
|
|
|
.lv-card { border: 1px solid #1f2937; border-radius: 6px; background: #fff; overflow: hidden; }
|
|
|
|
|
.lv-card-head { display: flex; align-items: center; gap: 3px; padding: 1px 4px; border-bottom: 1px solid #1f2937; cursor: grab; }
|
|
|
|
|
.lv-card-head:active { cursor: grabbing; }
|
|
|
|
|
.lv-card-name small { display: block; overflow: hidden; text-overflow: ellipsis; text-transform: none; font-size: 10px; font-weight: 600; letter-spacing: 0; }
|
|
|
|
|
.lv-card-grip { font-size: 12px; color: #374151; }
|
|
|
|
|
.lv-card-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-align: center; text-overflow: ellipsis; white-space: nowrap; text-transform: uppercase; font-size: 13px; font-weight: 800; letter-spacing: .03em; color: #111; }
|
|
|
|
|
.lv-card-edit { padding: 0 2px; border: 0; background: none; color: #374151; font-size: 13px; cursor: pointer; }
|
|
|
|
|
.lv-card-name small { display: block; overflow: hidden; text-overflow: ellipsis; text-transform: none; font-size: 9px; line-height: 1.1; font-weight: 600; letter-spacing: 0; }
|
|
|
|
|
.lv-card-grip { font-size: 10px; color: #374151; }
|
|
|
|
|
.lv-card-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-align: center; text-overflow: ellipsis; white-space: nowrap; text-transform: uppercase; font-size: 11px; line-height: 1.2; font-weight: 800; letter-spacing: .03em; color: #111; }
|
|
|
|
|
.lv-card-edit { padding: 0 2px; border: 0; background: none; color: #374151; font-size: 11px; cursor: pointer; }
|
|
|
|
|
.lv-card-nums { display: grid; grid-template-columns: 1fr 1fr; }
|
|
|
|
|
.lv-card-nums div { display: flex; flex-direction: column; text-align: center; }
|
|
|
|
|
.lv-card-nums div { display: flex; align-items: baseline; justify-content: center; gap: 4px; padding: 1px 2px; white-space: nowrap; }
|
|
|
|
|
.lv-card-nums div + div { border-left: 1px solid #e3e6eb; }
|
|
|
|
|
.lv-card-nums span { padding: 2px 0; background: #f6f7f9; font-size: 10px; font-weight: 600; color: #4b5563; }
|
|
|
|
|
.lv-card-nums b { padding: 3px 0; font-size: 14px; font-variant-numeric: tabular-nums; }
|
|
|
|
|
.lv-card-foot { display: flex; justify-content: space-between; gap: 4px; padding: 2px 6px; border-top: 1px solid #e3e6eb; background: #f6f7f9; font-size: 10.5px; font-weight: 600; color: #4b5563; }
|
|
|
|
|
.lv-card-nums span { font-size: 9px; font-weight: 600; color: #4b5563; }
|
|
|
|
|
.lv-card-nums b { font-size: 11px; font-variant-numeric: tabular-nums; }
|
|
|
|
|
.lv-card-foot { display: flex; justify-content: space-between; gap: 4px; padding: 0 4px; border-top: 1px solid #e3e6eb; background: #f6f7f9; font-size: 9px; font-weight: 600; color: #4b5563; }
|
|
|
|
|
.lv-card-foot b { color: #8a2c0d; }
|
|
|
|
|
.lv-card-foot a { color: #1d4f91; }
|
|
|
|
|
.lv-cal tfoot th, .lv-cal tfoot td { position: sticky; bottom: 0; z-index: 2; padding: 8px; background: #101a33; color: #fff; border-color: #2a3550; }
|
|
|
|
|
.lv-cal tfoot .lv-cal-time { z-index: 3; background: #101a33; font-size: 12px; }
|
|
|
|
|
.lv-total { display: flex; flex-direction: column; gap: 2px; margin: 0; font-size: 11px; font-weight: 600; }
|
|
|
|
|
.lv-cal tfoot th, .lv-cal tfoot td { position: sticky; bottom: 0; z-index: 2; height: 1px; padding: 3px 6px; background: #101a33; color: #fff; border-color: #2a3550; }
|
|
|
|
|
.lv-cal tfoot .lv-cal-time { z-index: 3; background: #101a33; font-size: 11px; }
|
|
|
|
|
.lv-total { display: flex; flex-direction: column; gap: 0; margin: 0; font-size: 9.5px; line-height: 1.25; font-weight: 600; }
|
|
|
|
|
.lv-total div { display: flex; justify-content: space-between; gap: 6px; }
|
|
|
|
|
.lv-total dt { color: #aab3c5; }
|
|
|
|
|
.lv-total dd { margin: 0; font-variant-numeric: tabular-nums; color: #fbbf72; white-space: nowrap; }
|
|
|
|
|
.lv-total dd.is-sales { color: #6ee7a8; }
|
|
|
|
|
.lv-total-edit { padding: 0 2px; border: 0; background: none; color: #cbd5e1; font-size: 11px; cursor: pointer; }
|
|
|
|
|
.lv-total-edit { padding: 0 2px; border: 0; background: none; color: #cbd5e1; font-size: 9.5px; line-height: 1; cursor: pointer; }
|
|
|
|
|
|
|
|
|
|
.lv-dlg { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 40px); padding: 0; border: 1px solid var(--color-subtle-ash, #e5e5e5); border-radius: 12px; }
|
|
|
|
|
.lv-dlg::backdrop { background: rgba(0, 0, 0, .35); }
|
|
|
|
|