mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
feat(packages): add UI support for gestures and hotkeys (#1388)
Co-authored-by: Rahim <rahim.alwer@gmail.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Rahim
Claude Opus 4.6
parent
6c81f2d190
commit
0620814a67
@@ -0,0 +1,31 @@
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* Global styles for the host document, outside of the Shadow DOM */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
|
||||
video-player,
|
||||
live-video-player {
|
||||
display: contents;
|
||||
}
|
||||
|
||||
/*
|
||||
Required to override any default video and image styles (such as
|
||||
Tailwind's CSS reset) and ensure they fill the container as expected.
|
||||
*/
|
||||
video-player video,
|
||||
video-player [slot="poster"],
|
||||
live-video-player video,
|
||||
live-video-player [slot="poster"] {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
video-player video::-webkit-media-text-track-container,
|
||||
live-video-player video::-webkit-media-text-track-container {
|
||||
z-index: 1;
|
||||
font-family: inherit;
|
||||
scale: 0.98;
|
||||
translate: 0 var(--media-caption-track-y, 0);
|
||||
transition: translate var(--media-caption-track-duration, 0) ease-out;
|
||||
transition-delay: var(--media-caption-track-delay, 0);
|
||||
}
|
||||
Reference in New Issue
Block a user