style(라이브): 방송·호스트 편집 창을 애니메이션으로 표시

창이 나타날 때 0.2초 동안 아래에서 올라오며 커지고 뒤 배경은 서서히 어두워진다.
브라우저의 움직임 줄이기 설정이면 애니메이션 없이 바로 뜬다.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-05 19:14:38 +09:00
parent d9db230fe4
commit 2224eb6c22
5 changed files with 28 additions and 3 deletions
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{#- 라이브 커머스 달력 보기(2026-11-04) — 줄 = 2시간 칸, 열 = 날짜, 맨 아래 = 날짜별 합계. 카드 머리 = 호스트 간단한 이름 + 그 방송의 틱톡 계정.
카드 머리를 끌어 빈 칸으로 옮기거나 다른 카드 위에 놓아 맞바꾼다(live.js). 문구 = t()(i18n.py), 영문은 CSS 로 대문자(받은 화면과 같게). -#}
{% block head_extra %}<link rel="stylesheet" href="/static/live.css?v=20261105d" />
{% block head_extra %}<link rel="stylesheet" href="/static/live.css?v=20261105e" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
<link rel="stylesheet" href="/static/erp-datepop.css?v=20261102a" />{% endblock %}
+1 -1
View File
@@ -1,6 +1,6 @@
{% extends "erp_base.html" %}
{#- 라이브 커머스 스케줄표(2026-11-04) — 달마다 방송 목록. 추가·고치기 창은 달력과 공용(_dialog.html, live.js). 문구 = t()(i18n.py). -#}
{% block head_extra %}<link rel="stylesheet" href="/static/live.css?v=20261105d" />{% endblock %}
{% block head_extra %}<link rel="stylesheet" href="/static/live.css?v=20261105e" />{% endblock %}
{% block content %}
<section class="lv" lang="{{ lang }}">
@@ -1,6 +1,6 @@
{% extends "erp_base.html" %}
{#- 라이브 커머스 설정(2026-11-04) — 호스트 정보. 계좌 등 개인정보·지우기는 ERP 관리자만(router.settings), 칩 권한자는 이름·상태만 보임 — `live_host` = 새 등록, `live_host_edit` = 고치기(개인정보는 빈칸으로 열림, 비워 두면 그대로). 추가·고치기는 같은 창(live.js). 문구 = t()(i18n.py). -#}
{% block head_extra %}<link rel="stylesheet" href="/static/live.css?v=20261105d" />{% endblock %}
{% block head_extra %}<link rel="stylesheet" href="/static/live.css?v=20261105e" />{% endblock %}
{% block content %}
<section class="lv" lang="{{ lang }}">
+7
View File
@@ -112,6 +112,13 @@
.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; }