mirror of
https://github.com/iv-org/invidious.git
synced 2025-10-25 02:08:30 -05:00
461 lines
9.6 KiB
CSS
461 lines
9.6 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: calc(50% - 1.5em);
|
|
left: calc(50% - 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: 7px !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 {
|
|
border-bottom-right-radius: 13px;
|
|
border-bottom-left-radius: 13px;
|
|
background-color: rgba(0,0,0,0.35);
|
|
backdrop-filter: blur(2.5px);
|
|
box-shadow: 0.3em 0.3em 0.5em rgba(0,0,0,0.8);
|
|
height: 30px !important;
|
|
z-index: 100;
|
|
}
|
|
|
|
.video-js :is(button, .vjs-control) {
|
|
text-shadow: 0.2em 0.2em 0.5em rgb(0 0 0 / 75%), 0 0 0.2em #000000 !important;
|
|
}
|
|
|
|
|
|
.vjs-menu-button-popup .vjs-menu .vjs-menu-content {
|
|
background-color: rgba(0,0,0,0.75);
|
|
border-radius: 5px !important;
|
|
border: 0.5 solid rgba(230,230,230,0.8);
|
|
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, 1);
|
|
text-shadow:none;
|
|
}
|
|
|
|
.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);
|
|
color: rgba(255,255,255,1)
|
|
}
|
|
|
|
/* Progress Bar */
|
|
.video-js .vjs-slider {
|
|
background-color: rgba(32, 32, 32, 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(32, 32, 32, 0.8) !important;
|
|
}
|
|
.video-js .vjs-overlay * {
|
|
color: rgba(230, 230, 230, 1) !important;
|
|
text-align: center;
|
|
}
|
|
|
|
/* ProgressBar marker */
|
|
.vjs-marker {
|
|
background-color: rgba(230, 230, 230, 1);
|
|
z-index: 0;
|
|
}
|
|
|
|
/* Big "Play" Button */
|
|
|
|
.video-js .vjs-big-play-button {
|
|
font-size: 3em;
|
|
line-height: 2.5em;
|
|
height: 80px !important;
|
|
width: 80px !important;
|
|
margin: auto;
|
|
display: inline-block;
|
|
position: absolute;
|
|
top: calc(50% - 15px);
|
|
left: calc(50% - 15px);
|
|
cursor: pointer;
|
|
/* opacity: 1; */
|
|
color: #dddddd !important;
|
|
border: 0.7vmin solid #dddddd;
|
|
background-color: rgba(32, 32, 32, 0.5);
|
|
background-size: 50%;
|
|
backgound-repeat: 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(47, 121, 160, 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;
|
|
border-radius: 13px;
|
|
border: solid 0.75px rgba(32,32,32,0.5);
|
|
box-shadow: 0.3em 0.3em 0.5em rgba(0,0,0,0.8);
|
|
}
|
|
|
|
.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;
|
|
border-radius: 13px;
|
|
height: 0;
|
|
}
|
|
/*
|
|
#player {
|
|
border-radius: 13px;
|
|
border: 3px solid rgba(255,255,255,1);
|
|
box-shadow: 9px 9px 15px rgba(0,0,0,0.8);
|
|
background-color: rgba(0,0,0,0.8) !important;
|
|
backdrop-filter: blur(2.5px);
|
|
}*/
|
|
|
|
|
|
#player::before {
|
|
display: flex;
|
|
content: "";
|
|
background-image: linear-gradient(32.5deg, rgba(17,17,17,.65), rgba(94,149,183,1));
|
|
position: relative;
|
|
top: calc(100% - 7.5em);
|
|
width: 100%;
|
|
backdrop-filter: blur(2.5px);
|
|
box-shadow: 0.3em 0.3em 0.5em rgba(32,32,32,0.8), 0em -0.15em 0.25em rgba(230,230,230,0.35);
|
|
height: 45px;
|
|
z-index: 10;
|
|
}
|
|
|
|
#player {
|
|
border-radius: 13px;
|
|
border: 3px solid rgba(255,255,255,1);
|
|
box-shadow: 9px 9px 15px rgba(0,0,0,0.8);
|
|
background-color: rgba(0,0,0,0.8) !important;
|
|
backdrop-filter: blur(2.5px);
|
|
aspect-ratio: 16 / 9 !important;
|
|
height: var(--posPlayerHeight) !important;
|
|
left: var(--posBannerLeft) !important;
|
|
width: var(--posBannerWidth) !important;
|
|
}
|
|
|
|
#player::after {
|
|
content: '';
|
|
display: block;
|
|
width: 200px;
|
|
height: 112.5px;
|
|
border: solid 3px rgb(230,230,230);
|
|
position: relative;
|
|
left: -3px;
|
|
top: calc(100% - (3px + 112.5px) - 4.5em);
|
|
background-image: url(../CMovie.svg), url(../Wasser.png);
|
|
background-repeat: no-repeat;
|
|
border-bottom-left-radius: 13px;
|
|
background-position-y: calc(112.5px * 0.22), 0;
|
|
box-shadow: 0.3em 0.3em 0.5em rgba(32,32,32,0.8);
|
|
z-index: 11 !important;
|
|
}
|
|
|
|
.vjs-modal-dialog.vjs-text-track-settings {
|
|
background-color: #2B333F;
|
|
background-color: rgba(43, 51, 63, 0.75);
|
|
color: #fff;
|
|
border-radius: 13px;
|
|
height: 70%;
|
|
}
|
|
|
|
.video-js .vjs-modal-dialog {
|
|
background: rgba(0, 0, 0, 0.8);
|
|
background: linear-gradient(180deg, rgba(0, 0, 0, 0.8), rgba(255, 255, 255, 0));
|
|
border-radius: 13px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
#contents #player-container ~ .h-box {
|
|
position: relative;
|
|
display: flex;
|
|
line-height: 1.1em;
|
|
top: calc(-1em - 60px);
|
|
vertical-align: middle;
|
|
height: 45px !important;
|
|
width: 62vw;
|
|
text-overflow: ellipsis !important;
|
|
overflow: clip !important;
|
|
white-space: nowrap !important;
|
|
padding-left: calc(200px + 2.2em);
|
|
/*background-color: rgba(200,0,0,0.4);*/
|
|
z-index: 0;
|
|
}
|
|
|
|
img.thumbnail {
|
|
display: block;
|
|
width: 100%;
|
|
object-fit: cover;
|
|
border-radius: 7px;
|
|
box-shadow: 0.3em 0.3em 0.5em rgba(32,32,32,0.8);
|
|
border: solid 0.75px rgba(32,32,32,0.5);
|
|
z-index: 100;
|
|
}
|
|
|
|
video#player_html5_api {
|
|
background-color: transparent !important;
|
|
border-radius: 13px;
|
|
}
|
|
|
|
.video-js {
|
|
display: block;
|
|
vertical-align: top;
|
|
box-sizing: border-box;
|
|
color: #dddddd;
|
|
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;
|
|
border-radius: 13px;
|
|
border: solid 0.75px rgba(32,32,32,0.5);
|
|
}
|
|
|
|
a:not([data-id]) > .icon, .pure-u-lg-1-5 > .h-box > a[href^="/watch?"], .playlist-restricted > ol > li > a {
|
|
color: #c0c0c0;
|
|
}
|
|
|
|
.video-js .vjs-vtt-thumbnail-display{
|
|
box-shadow: 0.3em 0.3em 0.5em rgba(0,0,0,1) !important;
|
|
border-radius: 7px !important;
|
|
border: 1.5px solid rgba(230,230,230,0.8) !important;
|
|
z-index: 99;
|
|
}
|
|
|
|
.vjs-button {
|
|
cursor: pointer;
|
|
color: #f0f0f0 !important;
|
|
text-shadow: 0.2em 0.2em 0.5em rgb(0 0 0 / 75%), 0 0 0.2em #000000;
|
|
}
|
|
|
|
.video-js .vjs-loading-spinner {
|
|
display: none;
|
|
box-sizing: border-box;
|
|
position: absolute;
|
|
top: calc(50% - 15px);
|
|
left: calc(50% - 15px);
|
|
height: 80px !important;
|
|
width: 80px !important;
|
|
margin: auto;
|
|
cursor: pointer;
|
|
border: 0.7vmin solid var(--colorBlueDrk);
|
|
color: #dddddd !important;
|
|
background-color: transparent;
|
|
aspect-ratio: 1 / 1 !important;
|
|
-webkit-aspect-ratio: 1 / 1 !important;
|
|
box-shadow: 5px 5px 9px rgba(0,0,0,0.8), 0em 0em 0.5em rgba(0, 0, 0,0.5);
|
|
border-radius: 50%;
|
|
opacity: 0.85;
|
|
visibility: hidden;
|
|
}
|
|
|
|
|
|
|
|
@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;
|
|
}
|
|
}
|