@moartube/moartube-node
Version:
A free, open-source, self-hosted, anonymous, decentralized video/live stream platform. Scalable via Cloudflare, works in the cloud or from home WiFi.
292 lines (242 loc) • 6.35 kB
CSS
body {
background: rgb(18,18,18);
}
.video-js {
font-size: 12px;
color: #fff;
}
.vjs-default-skin .vjs-big-play-button {
font-size: 3em;
line-height: 2em;
height: 2em;
width: 2em;
background-color: #cb0c9f ;
border: 0.06666em solid #fff;
border: none;
border-radius: 0;
left: 50%;
top: 50%;
margin-left: -(2em / 2);
margin-top: -(2em / 2);
}
.video-js .vjs-control-bar {
background-color: transparent;
}
.video-js .vjs-menu-button .vjs-menu-content {
background-color: rgba(0, 0, 0, 0.7);
border-radius: 0.25em;
}
.vjs-menu li.vjs-selected, .vjs-menu li.vjs-selected:focus, .vjs-menu li.vjs-selected:hover {
color: #fff;
background-color: rgba(255,255,255,0.15);
}
.video-js .vjs-slider {
background-color: darken(#fff, 15%);
background-color: rgba(darken(#fff, 15%), 0.4);
}
.video-js .vjs-play-progress,
.video-js .vjs-slider-bar {
background: #cb0c9f;
}
.video-js .vjs-progress-holder .vjs-slider-bar {
background: #cb0c9f;
color: #cb0c9f;
}
.video-js .vjs-volume-bar {
background: rgba(255, 255, 255, 0.54);
}
.video-js .vjs-load-progress {
background: lighten(darken(#fff, 15%), 25%);
background: rgba(darken(#fff, 15%), 0.5);
}
.video-js .vjs-load-progress div {
background: lighten(darken(#fff, 15%), 60%);
background: rgba(darken(#fff, 15%), 0.75);
}
.vjs-menu li.vjs-menu-item:focus, .vjs-menu li.vjs-menu-item:hover {
background-color: #cb0c9f;
}
.video-js .vjs-progress-holder {
margin: 0;
}
.video-js .vjs-progress-control {
bottom: 40px;
position: absolute;
width: 100%;
}
.video-js:after {
position: absolute;
left: 0;
right: 0;
top: 70%;
bottom: 0;
pointer-events: none;
content: '';
display: block;
opacity: 1;
transition: opacity 250ms ease-in-out;
background: linear-gradient(transparent, transparent 60%, rgba(0,0,0,0.8));
}
.video-js.vjs-has-started.vjs-user-inactive.vjs-playing:after {
opacity: 0;
}
.video-js .vjs-control-bar {
z-index: 2;
}
.video-js .vjs-time-control {
display: block;
padding: 0;
min-width: auto;
}
.video-js .vjs-current-time {
padding-left: 0.4em;
}
.video-js .vjs-time-divider {
padding: 0 0.4em;
}
.video-js .vjs-remaining-time {
display: block;
flex-grow: 1;
visibility: hidden;
}
.video-js .vjs-play-progress .vjs-time-tooltip {
display: none ;
}
.video-js-overflow-menu {
overflow-x: hidden;
overflow-y: auto;
white-space: nowrap;
background: rgba(28, 28, 28, 0.9);
text-shadow: 0 0 2px rgb(0 0 0%);
box-shadow: 0 1px 9px 0 rgba(0 0 0 / 40%);
border-radius: 2px;
min-width: 200px;
-webkit-transition: opacity 0.1s cubic-bezier(0, 0, 0.2, 1);
transition: opacity 0.1s cubic-bezier(0, 0, 0.2, 1);
-moz-user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
display: flex;
flex-direction: column;
position: absolute;
z-index: 2;
right: 10px;
bottom: 50px;
padding: 8px 0;
}
.video-js-overflow-menu button {
font-size: 14px;
background: 0 0;
color: #000;
border: none;
min-height: 30px;
padding: 3.5px 6px;
display: flex;
align-items: center;
cursor: pointer;
}
.video-js-overflow-menu button {
color: #EEE;
}
.video-js-overflow-menu button {
padding: 0;
}
.shaka-controls-container * {
flex-shrink: 0;
}
.video-js-overflow-menu button .video-js-overflow-button-label {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
cursor: default;
outline: none;
height: 40px;
-webkit-box-flex: 0;
-ms-flex: 0 0 100%;
flex: 0 0 100%;
}
.video-js-overflow-menu button .video-js-overflow-button-label span {
-ms-flex-negative: initial;
flex-shrink: initial;
padding-left: 15px;
font-size: 13px;
font-weight: 500;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.video-js-overflow-menu span + span {
color: #FFF;
font-weight: 400 ;
font-size: 12px ;
padding-right: 8px;
padding-left: 0 ;
}
.video-js-overflow-menu * {
font-family: 'Roboto', sans-serif;
}
.video-js-overflow-menu * {
flex-shrink: 0;
}
.video-js-overflow-menu button:hover label {
cursor: pointer;
}
.video-js-overflow-menu button:hover {
background-color: rgba(255, 255, 255, 0.1);
cursor: pointer;
}
.video-js-overflow-menu i {
-webkit-box-ordinal-group: 2;
-ms-flex-order: 1;
order: 1;
font-size: 18px;
padding-left: 5px;
}
.video-js-overflow-menu .video-js-chosen-item {
padding-right: 10px;
}
.video-js-overflow-explicit-button, .video-js-overflow-format-explicit-button, .video-js-overflow-format-resolution-explicit-button {
margin-left: 33px;
}
.video-js-overflow-explicit-button, .video-js-overflow-format-explicit-button, .video-js-overflow-format-resolution-explicit-button, .video-js-back-to-overflow-button {
padding: 3.5px 6px ;
}
.video-js-back-to-overflow-button {
height: 40px;
}
.video-js-overflow-explicit-selected-button {
padding: 3.5px 6px ;
margin-left: 0px;
}
.video-js-overflow-explicit-selected-button span, .video-js-back-to-overflow-button span, .video-js-back-to-overflow-main-button span, .video-js-back-to-overflow-formats-button span {
order: 2;
}
.video-js-overflow-explicit-selected-button i {
font-family: 'Material Icons Sharp';
}
.video-js .vjs-progress-control {
height: 5px;
}
.video-js .video-js-back-to-overflow-button i {
font-family: 'Material Icons Sharp' ;
padding-right: 10px;
}
.video-js-overflow-menu button span {
font-size: 13px;
}
.video-js-overflow-menu {
padding: 0 0 8px 0;
}