mirror of
https://github.com/iv-org/invidious.git
synced 2025-10-25 02:08:30 -05:00
346 lines
6.7 KiB
CSS
346 lines
6.7 KiB
CSS
/* Youtube player style */
|
|
.video-js.player-style-youtube .vjs-progress-control {
|
|
height: 0;
|
|
}
|
|
|
|
.video-js.player-style-youtube .vjs-progress-control .vjs-progress-holder, .video-js.player-style-youtube .vjs-progress-control {
|
|
position: absolute;
|
|
right: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
margin: 0;
|
|
}
|
|
|
|
.video-js.player-style-youtube .vjs-control-bar {
|
|
background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.5));
|
|
}
|
|
|
|
.video-js.player-style-youtube .vjs-slider {
|
|
background-color: rgba(255,255,255,0.2);
|
|
}
|
|
|
|
.video-js.player-style-youtube .vjs-load-progress > div {
|
|
background-color: rgba(255,255,255,0.5);
|
|
}
|
|
|
|
.video-js.player-style-youtube .vjs-play-progress {
|
|
background-color: red;
|
|
}
|
|
|
|
.video-js.player-style-youtube .vjs-progress-control:hover .vjs-progress-holder {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.video-js.player-style-youtube .vjs-control-bar > .vjs-spacer {
|
|
flex: 1;
|
|
order: 2;
|
|
}
|
|
|
|
.video-js.player-style-youtube .vjs-play-progress .vjs-time-tooltip {
|
|
display: none;
|
|
}
|
|
|
|
.video-js.player-style-youtube .vjs-play-progress::before {
|
|
color: red;
|
|
font-size: 0.85em;
|
|
display: none;
|
|
}
|
|
|
|
.video-js.player-style-youtube .vjs-progress-holder:hover .vjs-play-progress::before {
|
|
display: unset;
|
|
}
|
|
|
|
.video-js.player-style-youtube .vjs-control-bar {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.video-js.player-style-youtube .vjs-big-play-button {
|
|
/*
|
|
Styles copied from video-js.min.css, definition of
|
|
.vjs-big-play-centered .vjs-big-play-button
|
|
*/
|
|
top: 50%;
|
|
left: 50%;
|
|
margin-top: -0.81666em;
|
|
margin-left: -1.5em;
|
|
}
|
|
|
|
.video-js.player-style-youtube .vjs-menu-button-popup .vjs-menu {
|
|
margin-bottom: 2em;
|
|
}
|
|
|
|
.video-js.player-style-youtube .vjs-progress-control .vjs-progress-holder, .video-js.player-style-youtube .vjs-progress-control {height: 5px;
|
|
margin-bottom: 10px;}
|
|
|
|
ul.vjs-menu-content::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.vjs-user-inactive {
|
|
cursor: none;
|
|
}
|
|
|
|
.video-js .vjs-text-track-display > div > div > div {
|
|
background-color: rgba(0, 0, 0, 0.75) !important;
|
|
border-radius: 9px !important;
|
|
padding: 5px !important;
|
|
}
|
|
|
|
.vjs-play-control,
|
|
.vjs-volume-panel,
|
|
.vjs-current-time,
|
|
.vjs-time-control,
|
|
.vjs-duration,
|
|
.vjs-progress-control,
|
|
.vjs-remaining-time {
|
|
order: 1;
|
|
}
|
|
|
|
.vjs-captions-button {
|
|
order: 2;
|
|
}
|
|
|
|
.vjs-audio-button {
|
|
order: 3;
|
|
}
|
|
|
|
.vjs-quality-selector,
|
|
.video-js .vjs-http-source-selector {
|
|
order: 4;
|
|
}
|
|
|
|
.vjs-playback-rate {
|
|
order: 5;
|
|
}
|
|
|
|
.vjs-share-control {
|
|
order: 6;
|
|
}
|
|
|
|
.vjs-fullscreen-control {
|
|
order: 7;
|
|
}
|
|
|
|
.vjs-playback-rate > .vjs-menu {
|
|
width: 50px;
|
|
}
|
|
|
|
.vjs-control-bar {
|
|
display: flex;
|
|
flex-direction: row;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.vjs-control-bar::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.video-js .vjs-icon-cog {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.video-js .vjs-control-bar,
|
|
.vjs-menu-button-popup .vjs-menu .vjs-menu-content {
|
|
background-color: transparent;
|
|
z-index: 100;
|
|
}
|
|
|
|
.vjs-menu li.vjs-menu-item:focus,
|
|
.vjs-menu li.vjs-menu-item:hover {
|
|
background-color: rgba(255, 255, 255, 0.75);
|
|
color: rgba(49, 49, 51, 0.75);
|
|
}
|
|
|
|
.vjs-menu li.vjs-selected,
|
|
.vjs-menu li.vjs-selected:focus,
|
|
.vjs-menu li.vjs-selected:hover {
|
|
background-color: rgba(0, 182, 240, 0.75);
|
|
}
|
|
|
|
/* Progress Bar */
|
|
.video-js .vjs-slider {
|
|
background-color: rgba(15, 15, 15, 0.5);
|
|
}
|
|
|
|
.video-js .vjs-load-progress,
|
|
.video-js .vjs-load-progress div {
|
|
background: rgba(87, 87, 88, 1);
|
|
}
|
|
|
|
.video-js .vjs-slider:hover,
|
|
.video-js button:hover {
|
|
color: rgba(0, 182, 240, 1);
|
|
}
|
|
|
|
.video-js.player-style-invidious .vjs-play-progress {
|
|
background-color: rgba(0, 182, 240, 1);
|
|
}
|
|
|
|
/* Overlay */
|
|
.video-js .vjs-overlay {
|
|
background-color: rgba(35, 35, 35, 0.75) !important;
|
|
}
|
|
.video-js .vjs-overlay * {
|
|
color: rgba(255, 255, 255, 1) !important;
|
|
text-align: center;
|
|
}
|
|
|
|
/* ProgressBar marker */
|
|
.vjs-marker {
|
|
background-color: rgba(255, 255, 255, 1);
|
|
z-index: 0;
|
|
}
|
|
|
|
/* Big "Play" Button */
|
|
|
|
.video-js .vjs-big-play-button {
|
|
font-size: 3em;
|
|
line-height: 3em;
|
|
height: 80px;
|
|
width: 80px;
|
|
margin: auto;
|
|
display: inline-block;
|
|
position: absolute;
|
|
top: calc(50% - 1.5em);
|
|
left: calc(50% - 1.5em);
|
|
padding: 1.45em !important;
|
|
cursor: pointer;
|
|
/*opacity: 1;*/
|
|
border: 0.7vmin solid #dddddd;
|
|
background-color: rgba(47, 121, 160, 1);
|
|
background-size: 50%;
|
|
backgound-repeate: no-repeat;
|
|
aspect-ratio: 1 / 1 !important;
|
|
-webkit-aspect-ratio: 1 / 1 !important;
|
|
border-radius: 50%;
|
|
transition: all 0.4s;
|
|
}
|
|
|
|
.video-js:hover .vjs-big-play-button {
|
|
background-color: rgba(35, 35, 35, 0.5);
|
|
}
|
|
|
|
.video-js .vjs-current-time,
|
|
.video-js .vjs-time-divider,
|
|
.video-js .vjs-duration {
|
|
display: block;
|
|
}
|
|
|
|
.video-js .vjs-time-divider {
|
|
min-width: 0px;
|
|
padding-left: 0px;
|
|
padding-right: 0px;
|
|
}
|
|
|
|
.video-js .vjs-poster {
|
|
background-size: cover;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.player-dimensions.vjs-fluid {
|
|
padding-top: 82vh;
|
|
}
|
|
|
|
video.video-js {
|
|
position: absolute;
|
|
height: 100%;
|
|
}
|
|
|
|
#player-container {
|
|
position: relative;
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
margin-left: 1em;
|
|
margin-right: 1em;
|
|
padding-bottom: 82vh;
|
|
height: 0;
|
|
}
|
|
|
|
.mobile-operations-bar {
|
|
display: flex;
|
|
position: absolute;
|
|
top: 0;
|
|
right: 1px !important;
|
|
left: initial !important;
|
|
width: initial !important;
|
|
}
|
|
|
|
.mobile-operations-bar ul {
|
|
position: absolute !important;
|
|
bottom: unset !important;
|
|
top: 1.5em;
|
|
}
|
|
|
|
/*.video-js .vjs-control-bar */
|
|
#contents #player-container ~ .h-box h1::before {
|
|
content: '';
|
|
display: block;
|
|
width: calc(16.3vw * 0.75);
|
|
height: calc(8.645833vw * 0.75);
|
|
border: solid;
|
|
position: relative;
|
|
top: calc(0px - 8.645833vw * 0.75);
|
|
background-image: url(../CMovie.svg), url(../Wasser.png);
|
|
background-repeat: no-repeat;
|
|
background-position-y: calc(8.645833vw * 0.75 * 0.22), 0;
|
|
box-shadow: 0.3em 0.3em 0.5em rgba(32,32,32,0.8);
|
|
z-index: 100;
|
|
}
|
|
|
|
#contents #player-container ~ .h-box h1 {
|
|
background-image: linear-gradient(to right, rgba(17,17,17,.9), rgba(94,149,183,1));
|
|
position: relative;
|
|
top: -2.8em;
|
|
padding-left: 200px;
|
|
z-index: 90;
|
|
}
|
|
|
|
.video-js {
|
|
display: block;
|
|
vertical-align: top;
|
|
box-sizing: border-box;
|
|
color: #fff;
|
|
background-color: transparent !important;
|
|
position: relative;
|
|
padding: 0;
|
|
font-size: 10px;
|
|
line-height: 1;
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
word-break: initial;
|
|
}
|
|
|
|
video#player_html5_api {
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.video-js {
|
|
display: block;
|
|
vertical-align: top;
|
|
box-sizing: border-box;
|
|
color: #fff;
|
|
background-color: transparent !important;
|
|
position: relative;
|
|
padding: 0;
|
|
font-size: 10px;
|
|
line-height: 1;
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
word-break: initial;
|
|
}
|
|
|
|
@media screen and (max-width: 700px) {
|
|
.video-js .vjs-share {
|
|
justify-content: unset;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 650px) {
|
|
.vjs-modal-dialog-content {
|
|
overflow-x: hidden;
|
|
}
|
|
}
|