2017-12-12 05:38:02 -05:00
|
|
|
@import '_variables';
|
|
|
|
@import '_mixins';
|
2017-07-23 08:49:52 -04:00
|
|
|
@import '~video.js/dist/video-js.css';
|
|
|
|
@import '~videojs-dock/dist/videojs-dock.css';
|
|
|
|
@import '../../sass/video-js-custom.scss';
|
|
|
|
|
|
|
|
video {
|
|
|
|
width: 99%;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* fill the entire space */
|
|
|
|
html, body {
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-js {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2017-07-23 09:30:57 -04:00
|
|
|
overflow: hidden;
|
2017-07-23 08:49:52 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.vjs-poster {
|
|
|
|
background-size: 100% auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vjs-peertube-link {
|
2017-12-11 04:26:29 -05:00
|
|
|
color: #fff;
|
2017-07-23 08:49:52 -04:00
|
|
|
text-decoration: none;
|
2017-12-11 04:26:29 -05:00
|
|
|
font-size: $font-size;
|
|
|
|
line-height: $control-bar-height;
|
2017-07-23 08:49:52 -04:00
|
|
|
transition: all .4s;
|
2017-12-11 04:26:29 -05:00
|
|
|
font-weight: $font-semibold;
|
|
|
|
margin-right: 3px;
|
2017-07-23 08:49:52 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.vjs-peertube-link:hover {
|
|
|
|
text-shadow: 0 0 1em #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Fix volume panel because we added a new component (PeerTube link)
|
|
|
|
.vjs-volume-panel {
|
2017-12-11 04:26:29 -05:00
|
|
|
margin-right: 121px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 350px) {
|
|
|
|
.vjs-play-control {
|
|
|
|
padding: 0 5px !important;
|
|
|
|
width: 25px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vjs-volume-control {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vjs-volume-panel {
|
|
|
|
width: 26px !important;
|
|
|
|
margin-right: 140px !important;
|
|
|
|
}
|
2017-07-23 08:49:52 -04:00
|
|
|
}
|