fc95c8bd25
- 스케줄표 머리글: 가운데 정렬, 굵게, 검정, 글자 12% 크게 - 스케줄표 첫 열 = 호스트 쇼핑몰(틱톡·쇼피) 아이콘 - 달력 카드 머리 왼쪽 위 사방 화살표 대신 쇼핑몰 작은 아이콘 - 아이콘 = 말레이시아 배송 로고에서 심볼만 잘라 만든 live-icon-tiktok.png, live-icon-shopee.png Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
176 lines
15 KiB
CSS
176 lines
15 KiB
CSS
/* 라이브 커머스(2026-11-04) — 스케줄표·호스트 설정 */
|
|
/* 공용 .erp-page 는 폭 100% + 안쪽 여백이라 그대로면 화면보다 넓어진다. 라이브 커머스는 화면 전체 너비를 쓴다(공용 최대 1550px 해제). */
|
|
.erp-page:has(> .lv), .erp-page:has(> .lv-split) { box-sizing: border-box; max-width: none; padding: var(--sp-16, 16px); }
|
|
.lv { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
|
|
.lv *, .lv-dlg *, .lv-dlg *::before, .lv-dlg *::after { box-sizing: border-box; }
|
|
.lv-dlg [hidden] { display: none !important; }
|
|
.lv-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
|
.lv-gap { flex: 1 1 auto; }
|
|
.lv-month { margin: 0 6px; font-size: 18px; font-weight: 600; white-space: nowrap; }
|
|
.lv-note { margin: 0; padding: 10px 14px; border-radius: 8px; background: #eef6ff; color: #0b4a8b; border: 1px solid #cfe3fb; font-size: 13px; }
|
|
|
|
.lv-table td { vertical-align: middle; overflow-wrap: anywhere; }
|
|
.lv-table th { white-space: nowrap; }
|
|
.lv-table tr.lv-off td { color: var(--color-midtone-gray, #666); }
|
|
.lv-r { text-align: right; }
|
|
.lv-table th.lv-r { text-align: right; }
|
|
/* 스케줄표 머리글(2026-11-06) — 가운데·굵게·검정·공용 크기의 112% */
|
|
.lv-table.lv-sched thead th { text-align: center; font-weight: 700; color: #000; font-size: calc(var(--text-caption, 13px) * 1.12); }
|
|
.lv-c { text-align: center; }
|
|
.lv-pf { display: inline-block; width: 22px; height: 22px; vertical-align: middle; }
|
|
.lv-num { font-variant-numeric: tabular-nums; }
|
|
.lv-nowrap { white-space: nowrap; }
|
|
.lv-sub { margin: 0; font-size: 12px; color: var(--color-midtone-gray, #666); }
|
|
.lv-actions { white-space: nowrap; text-align: right; }
|
|
.lv-thumbs { display: flex; flex-wrap: wrap; gap: 4px; }
|
|
.lv-thumbs img { display: block; width: 44px; height: 44px; object-fit: cover; border-radius: 6px; border: 1px solid var(--color-subtle-ash, #e5e5e5); }
|
|
|
|
/* 공용 .erp-table 은 640px 아래에서 제목 줄을 숨기고 카드로 바뀐다 — 칸 이름을 칸마다 보여 준다 */
|
|
@media (max-width: 640px) {
|
|
.lv-table td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 400; color: var(--color-midtone-gray, #666); text-align: left; }
|
|
.lv-table td.lv-r, .lv-table td.lv-c { text-align: left; }
|
|
}
|
|
|
|
.lv-views { display: inline-flex; gap: 4px; margin-left: 10px; }
|
|
.lv-lang { display: inline-flex; padding: 2px; border: 1px solid var(--color-subtle-ash, #e5e5e5); border-radius: 999px; background: #fff; }
|
|
.lv-lang button { min-width: 40px; padding: 4px 10px; border: 0; border-radius: 999px; background: none; font-size: 12px; font-weight: 600; color: #4b5563; cursor: pointer; }
|
|
.lv-lang button.is-active { background: #111; color: #fff; }
|
|
/* 영문 화면은 받은 화면처럼 대문자 */
|
|
.lv[lang="en"] .lv-kpi span, .lv[lang="en"] .lv-card-nums span, .lv[lang="en"] .lv-cal thead .lv-cal-time, .lv[lang="en"] .lv-cal tfoot .lv-cal-time, .lv[lang="en"] .lv-total dt { text-transform: uppercase; }
|
|
|
|
/* ── 달력 보기 ── */
|
|
.lv-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
|
|
.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) 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 { order: -1; max-width: 340px; }
|
|
.lv-preview { display: none; } /* 좁은 화면(휴대폰)은 마우스 올리기가 없음 — 링크를 누르면 새 탭 */
|
|
}
|
|
/* 오른쪽 줄 = 달력 + 그 아래 빈 곳에 결과 이미지 미리보기(카드의 이미지 링크에 마우스를 올린 동안) */
|
|
.lv-side { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
|
|
.lv-preview { flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; min-height: 0; margin: 0; padding: 8px; border: 1px solid #cfd4dc; border-radius: 10px; background: #fff;
|
|
box-shadow: 0 8px 24px rgba(15, 23, 42, .14); }
|
|
.lv-preview[hidden] { display: none; }
|
|
.lv-preview img { flex: 1 1 auto; min-height: 0; width: 100%; object-fit: contain; object-position: top; }
|
|
/* 이미지 보기 창 — 화면 가운데(모달 기본), 원본 크기, 크면 창 안에서 스크롤. 회전은 무대(stage) 크기를 돌린 크기로 바꿔 스크롤이 맞게 */
|
|
.lv-viewer { max-width: 94vw; max-height: 94vh; padding: 0; border: 1px solid #cfd4dc; border-radius: 12px; background: #fff; overflow: hidden; }
|
|
.lv-viewer[open] { display: flex; flex-direction: column; }
|
|
.lv-viewer::backdrop { background: rgba(0, 0, 0, .6); }
|
|
.lv-viewer-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 10px; border-bottom: 1px solid #e3e6eb; }
|
|
.lv-viewer-cap { font-size: 12.5px; font-weight: 600; color: #374151; }
|
|
.lv-viewer-count { font-size: 12px; font-variant-numeric: tabular-nums; color: #4b5563; }
|
|
.lv-viewer-body { display: flex; min-height: 0; overflow: auto; background: #f3f4f6; }
|
|
.lv-viewer-stage { position: relative; flex: none; margin: auto; } /* margin:auto = 작으면 가운데, 크면 스크롤 시작이 잘리지 않음 */
|
|
.lv-viewer-stage img { position: absolute; left: 50%; top: 50%; max-width: none; transform: translate(-50%, -50%); }
|
|
.lv-preview figcaption { flex: none; font-size: 10.5px; font-weight: 600; color: #4b5563; text-align: center; }
|
|
/* 오른쪽 달력 = 공용 달력의 80% */
|
|
.lv-side-cal { flex: none; 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; }
|
|
/* 글자 굵게(오늘은 공용 800 그대로), 방송 있는 날 = 숫자 원 오른쪽 위 초록 점 */
|
|
.lv-side-cal .pj-dp-title, .lv-side-cal .pj-dp-wd, .lv-side-cal .pj-dp-day:not(.is-today), .lv-side-cal .pj-dp-hol { font-weight: 700; }
|
|
.lv-side-cal .pj-dp-day.has-live::after { content: ""; position: absolute; top: 1px; left: calc(50% + 7px); width: 6px; height: 6px; border-radius: 50%; background: #16a34a; z-index: 1; }
|
|
.lv-side-cal .pj-dp-day.is-out.has-live::after { opacity: .4; }
|
|
.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; 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: 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: 0; font-size: 9px; line-height: 1.1; font-weight: 600; color: #6b7280; }
|
|
.lv-cal tbody .lv-cal-time { line-height: 1.2; } /* 1시간 칸 18줄 — 빈 달은 풀HD 한 화면 */
|
|
.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%; height: 100%; min-height: 22px; 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; }
|
|
/* 카드 = 합친 칸 높이 전체(2시간 방송 = 두 칸). 표 칸의 height:1px 은 최소값일 뿐 — 안의 height:100% 가 칸 높이를 따르게 하는 방법 */
|
|
.lv-cell { height: 1px; }
|
|
.lv-cards { display: flex; flex-direction: column; gap: 2px; height: 100%; }
|
|
.lv-cards .lv-card { flex: 1 1 auto; display: flex; flex-direction: column; }
|
|
.lv-cards .lv-card-nums { flex: 1 1 auto; align-items: center; }
|
|
.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: 9px; line-height: 1.1; font-weight: 600; letter-spacing: 0; }
|
|
.lv-card-pf { flex: none; width: 12px; height: 12px; } /* 호스트 쇼핑몰 아이콘(예전 ✥ 자리) */
|
|
.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; 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 { 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; 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-dlg input[readonly] { background: #f1f5f9; color: #475569; }
|
|
|
|
.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); }
|
|
/* 창이 나타날 때 — 살짝 아래에서 올라오며 커지고, 뒤 배경은 서서히 어두워짐. 움직임 줄이기 설정이면 바로 뜬다 */
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
.lv-dlg[open] { animation: lv-dlg-in .2s cubic-bezier(.2, .8, .2, 1); }
|
|
.lv-dlg[open]::backdrop { animation: lv-dlg-fade .2s ease-out; }
|
|
}
|
|
@keyframes lv-dlg-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
|
|
@keyframes lv-dlg-fade { from { opacity: 0; } to { opacity: 1; } }
|
|
.lv-dlg form { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px; }
|
|
.lv-dlg h3 { margin: 0; font-size: 17px; font-weight: 600; }
|
|
.lv-field { display: flex; flex: 1 1 0; flex-direction: column; gap: 4px; min-width: 0; font-size: 13px; font-weight: 500; }
|
|
.lv-field .erp-input, .lv-field .erp-select { width: 100%; min-width: 0; font-weight: 400; }
|
|
.lv-field textarea { resize: vertical; }
|
|
.lv-row { display: flex; flex-wrap: wrap; gap: 10px; }
|
|
.lv-row .lv-field { flex-basis: 140px; }
|
|
.lv-check { display: flex; align-items: center; gap: 6px; font-size: 13px; }
|
|
/* 쇼핑몰 로고(말레이시아 배송 모듈 이미지) — 두 로고 같은 상자 크기. 창: 안 고르면 흑백, 고르면 컬러 */
|
|
.lv-logo { display: block; width: 88px; height: 26px; object-fit: contain; }
|
|
.lv-platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin: 0; padding: 0; border: 0; }
|
|
.lv-platforms legend { width: 100%; margin-bottom: 6px; padding: 0; font-size: 13px; font-weight: 500; }
|
|
.lv-platform { display: flex; align-items: center; gap: 8px; cursor: pointer; }
|
|
.lv-platform input { margin: 0; accent-color: var(--color-deep-black, #000); }
|
|
.lv-platform .lv-logo { filter: grayscale(1); opacity: .45; transition: filter .15s, opacity .15s; }
|
|
.lv-platform input:checked + .lv-logo { filter: none; opacity: 1; }
|
|
.lv-table .erp-switch input:focus-visible + .erp-switch-slider { outline: 2px solid var(--color-deep-black, #000); outline-offset: 2px; }
|
|
.lv-saved { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 13px; }
|
|
.lv-saved li { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
|
|
.lv-saved a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.lv-msg { margin: 0; padding: 9px 12px; border-radius: 8px; background: #fbe9e6; color: #a1261b; border: 1px solid #efc6bf; font-size: 13px; }
|
|
.lv-msg.is-info { background: #e8f1ff; color: #1d4f91; border-color: #c5d8f5; } /* 이미지에서 매출 읽기 안내(오류 아님) */
|
|
.lv-foot { display: flex; justify-content: flex-end; gap: 8px; }
|