]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/standalone/videos/embed.scss
Add ability to set a start time
[github/Chocobozzz/PeerTube.git] / client / src / standalone / videos / embed.scss
index b76f096775cead75fc01c3e9da3b8d97bc602bf0..fc7135d643877f8d211f1a70cd2cf06c1b8b6eb0 100644 (file)
@@ -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';
@@ -10,37 +12,34 @@ video {
 html, body {
   height: 100%;
   margin: 0;
+  background-color: #000;
 }
 
-.video-js {
+.video-js.vjs-peertube-skin {
   width: 100%;
   height: 100%;
   overflow: hidden;
-}
 
-.vjs-poster {
-  background-size: 100% auto;
-}
+  .vjs-poster {
+    background-size: 100% auto;
+  }
 
-.vjs-peertube-link {
-  color: white;
-  text-decoration: none;
-  font-size: 1.3em;
-  line-height: 2.20;
-  transition: all .4s;
-  position: relative;
-  right: 8px;
-}
+  @media screen and (max-width: 350px) {
+    .vjs-play-control {
+      padding: 0 5px !important;
+      width: 25px !important;
+    }
 
-.vjs-resolution-button-label {
-  left: -7px;
-}
+    .vjs-volume-control {
+      display: none !important;
+    }
 
-.vjs-peertube-link:hover {
-  text-shadow: 0 0 1em #fff;
-}
+    .vjs-volume-panel {
+      width: 26px !important;
+    }
 
-// Fix volume panel because we added a new component (PeerTube link)
-.vjs-volume-panel {
-  margin-right: 130px !important;
+    .vjs-peertube-link {
+      padding: 0;
+    }
+  }
 }