X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fstandalone%2Fvideos%2Fembed.scss;h=f92a1f54a37c66289010eb764227248384f80a39;hb=78f912ed5733028ec2bf10c06c19f75b07943be2;hp=9fa868c9b966b26ffc579ca14dbc8f8c6da5aab9;hpb=3ec8dc096276ac3c7e5d8dca5f100017516f62ec;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/standalone/videos/embed.scss b/client/src/standalone/videos/embed.scss index 9fa868c9b..f92a1f54a 100644 --- a/client/src/standalone/videos/embed.scss +++ b/client/src/standalone/videos/embed.scss @@ -2,7 +2,19 @@ @import '_mixins'; @import '~video.js/dist/video-js.css'; @import '~videojs-dock/dist/videojs-dock.css'; -@import '../../sass/video-js-custom.scss'; + +$assets-path: '../../assets/'; +@import '../../sass/player/player'; + +[hidden] { + display: none !important; +} + +body { + font-family: $main-fonts; + font-weight: $font-regular; + color: #000; +} video { width: 99%; @@ -12,10 +24,9 @@ video { html, body { height: 100%; margin: 0; + background-color: #000; } - - .video-js.vjs-peertube-skin { width: 100%; height: 100%; @@ -25,22 +36,6 @@ html, body { background-size: 100% auto; } - .vjs-peertube-link { - @include disable-outline; - - 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-peertube-link:hover { - text-shadow: 0 0 1em #fff; - } - @media screen and (max-width: 350px) { .vjs-play-control { padding: 0 5px !important; @@ -60,3 +55,38 @@ html, body { } } } + +#error-block { + display: none; + + flex-direction: column; + align-content: center; + justify-content: center; + text-align: center; + background-color: #141313; + width: 100%; + height: 100%; + color: white; + box-sizing: border-box; + font-family: sans-serif; + + #error-title { + font-size: 45px; + margin-bottom: 5px; + } + + #error-content { + font-size: 24px; + } +} + +@media screen and (max-width: 300px) { + #error-block { + font-size: 36px; + + #error-content { + font-size: 14px; + } + } +} +