Files
DndGamePlayer/app/renderer/shared/effects/ExplosionVideoOverlay.module.css
T
Ivan Fontosh bdeb64e356 feat(scene): battle grid overlay with color and trap VFX stacking
Add configurable square/hex grid in the scene editor (persisted and shown on control/presentation) and keep trap activation effects above trap icons.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-27 06:47:59 +08:00

20 lines
489 B
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
.layer {
position: absolute;
inset: 0;
pointer-events: none;
/* Выше иконок ловушек (z-index: 5), чтобы VFX взрыва не уходил под маркер. */
z-index: 7;
overflow: hidden;
}
.video {
position: absolute;
height: auto;
max-width: none;
transform: translate(-50%, -50%);
pointer-events: none;
background: transparent;
/* WebM VP8/VP9 с alpha_mode=1 — без чёрной подложки */
mix-blend-mode: normal;
}