]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/+video-watch/video-watch.component.scss
Fix loading spinner in player
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-watch / video-watch.component.scss
index 3f36410f4ca2a6bdf020b850be234a9770f9eb88..9daa757b4afc16e16bb24c83e5c291c4b3632e61 100644 (file)
@@ -7,9 +7,14 @@
     width: 888px;
     height: 500px;
 
+    @media screen and (max-width: 800px) {
+      height: auto;
+    }
+
     // VideoJS create an inner video player
     video {
       outline: 0;
+      position: relative !important;
     }
   }
 }
           padding: 0 10px 0 10px;
 
           .icon {
-            display: inline-block;
-            background-repeat: no-repeat;
-            background-size: contain;
-            width: 21px;
-            height: 21px;
-            vertical-align: middle;
+            @include icon(21px);
+
             position: relative;
             top: -2px;
 
@@ -74,6 +75,7 @@
 
             &.icon-more {
               background-image: url('../../../assets/images/video/more.svg');
+              top: -1px;
             }
           }
 
             top: -1px;
 
             &.icon-download {
-              background-image: url('../../../assets/images/video/download.svg');
+              background-image: url('../../../assets/images/video/download-grey.svg');
             }
 
             &.icon-alert {
   }
 }
 
+
+@media screen and (max-width: 1000px) {
+  .other-videos {
+    display: none;
+  }
+}
+
+@media screen and (max-width: 800px) {
+  .video-bottom {
+    margin: 20px 0 0 0;
+
+    .video-info {
+      margin-right: 0;
+
+      .video-info-name-actions {
+        align-items: left;
+        flex-direction: column;
+        margin-bottom: 30px;
+      }
+
+      .video-info-date-views-bar {
+        align-items: left;
+        flex-direction: column;
+        margin-bottom: 30px;
+
+        .video-info-likes-dislikes-bar {
+          margin-top: 0;
+        }
+      }
+    }
+  }
+}