X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fstandalone%2Fvideos%2Fembed.scss;h=9fa868c9b966b26ffc579ca14dbc8f8c6da5aab9;hb=c1dd9b0734336a769f5dce9800b447c3d0e58bb1;hp=9140cd37c2b2f937af0799b149cd04d9f6b77331;hpb=9e6b41cc1d825182bcfdf51364fdf3eae8001244;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/standalone/videos/embed.scss b/client/src/standalone/videos/embed.scss index 9140cd37c..9fa868c9b 100644 --- a/client/src/standalone/videos/embed.scss +++ b/client/src/standalone/videos/embed.scss @@ -1,3 +1,5 @@ +@import '_variables'; +@import '_mixins'; @import '~video.js/dist/video-js.css'; @import '~videojs-dock/dist/videojs-dock.css'; @import '../../sass/video-js-custom.scss'; @@ -12,47 +14,49 @@ html, body { margin: 0; } -.video-js { + + +.video-js.vjs-peertube-skin { width: 100%; height: 100%; overflow: hidden; -} - -.vjs-poster { - background-size: 100% auto; -} - -.vjs-peertube-link { - color: #fff; - text-decoration: none; - font-size: $font-size; - line-height: $control-bar-height; - transition: all .4s; - font-weight: $font-semibold; - margin-right: 3px; -} -.vjs-peertube-link:hover { - text-shadow: 0 0 1em #fff; -} + .vjs-poster { + background-size: 100% auto; + } -// Fix volume panel because we added a new component (PeerTube link) -.vjs-volume-panel { - margin-right: 121px !important; -} + .vjs-peertube-link { + @include disable-outline; -@media screen and (max-width: 350px) { - .vjs-play-control { - padding: 0 5px !important; - width: 25px !important; + color: #fff; + text-decoration: none; + font-size: $font-size; + line-height: $control-bar-height; + transition: all .4s; + font-weight: $font-semibold; + padding-right: 5px; } - .vjs-volume-control { - display: none !important; + .vjs-peertube-link:hover { + text-shadow: 0 0 1em #fff; } - .vjs-volume-panel { - width: 26px !important; - margin-right: 140px !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; + } + + .vjs-peertube-link { + padding: 0; + } } }