style(라이브): 방송·호스트 편집 창을 애니메이션으로 표시
창이 나타날 때 0.2초 동안 아래에서 올라오며 커지고 뒤 배경은 서서히 어두워진다. 브라우저의 움직임 줄이기 설정이면 애니메이션 없이 바로 뜬다. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user