UNPKG

styleui-components

Version:

Lightweight, modular UI component library with zero dependencies

53 lines (48 loc) 1.09 kB
.video-player { background: var(--surface-1); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; } .video-player video { display: block; width: 100%; height: auto; border-radius: 0; } .video-controls { display: flex; align-items: center; padding: var(--space-2); background: var(--surface-2); border-top: 1px solid var(--border-color); } .video-time-label { font-family: var(--font-mono); font-size: var(--font-size-sm); color: var(--text-secondary); white-space: nowrap; margin-left: var(--space-2); } /* Overlay for drawing */ .video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; /* Initially disabled */ } .video-thumbnail-preview { position: absolute; display: none; width: 120px; height: 90px; border: 2px solid var(--accent); border-radius: var(--radius-md); background: var(--surface-1); object-fit: contain; pointer-events: none; z-index: 99; }