mirror of
https://github.com/SoPat712/videospeed.git
synced 2026-04-26 22:23:09 -04:00
43 lines
1.1 KiB
CSS
43 lines
1.1 KiB
CSS
/* Base styles for the controller wrapper (the shadow host) */
|
|
.vsc-controller {
|
|
position: absolute !important;
|
|
top: 0 !important;
|
|
left: 0 !important;
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
pointer-events: none !important;
|
|
z-index: 2147483646 !important;
|
|
white-space: normal;
|
|
}
|
|
|
|
.vsc-nosource {
|
|
display: none !important;
|
|
}
|
|
.vsc-hidden {
|
|
display: none !important;
|
|
}
|
|
.vsc-manual {
|
|
visibility: visible !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
/* Original overrides removed to avoid interference with the new anchoring system.
|
|
The .vsc-controller wrapper now fills the player container exactly,
|
|
allowing #controller (inside shadow root) to anchor correctly to all 8 positions. */
|
|
|
|
/* disable Vimeo video overlay */
|
|
div.video-wrapper + div.target {
|
|
height: 0;
|
|
}
|
|
|
|
/* Fix black overlay on Kickstarter */
|
|
div.video-player.has_played.vertically_center:before,
|
|
div.legacy-video-player.has_played.vertically_center:before {
|
|
content: none !important;
|
|
}
|
|
|
|
/* Fix black overlay on openai.com */
|
|
.Shared-Video-player > .vsc-controller {
|
|
height: 0;
|
|
}
|