mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
fix(html): simplify styles for slotted video (#953)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
c39b1f8809
commit
d6e471a837
@@ -28,6 +28,7 @@
|
||||
--media-surface-outer-border-color: oklch(0 0 0 / 0.1);
|
||||
--media-surface-shadow-color: oklch(0 0 0 / 0.15);
|
||||
--media-surface-backdrop-filter: blur(16px) saturate(1.5);
|
||||
--media-video-border-radius: var(--media-border-radius, 2rem);
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
--media-border-color: oklch(1 0 0 / 0.1);
|
||||
@@ -45,7 +46,7 @@
|
||||
}
|
||||
|
||||
&:fullscreen {
|
||||
border-radius: 0;
|
||||
--media-border-radius: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -92,6 +93,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* Hide cursor when controls are hidden in fullscreen */
|
||||
.media-default-skin--video:fullscreen:has(.media-controls:not([data-visible])) {
|
||||
cursor: none;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Sliders
|
||||
========================================================================== */
|
||||
|
||||
Reference in New Issue
Block a user