]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/video-watch/video-watch.component.scss
Client: add video not found message if the video... is not found
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / video-watch / video-watch.component.scss
index 474de74d92a5225d735cdfb79433e4ecbb8bbd2d..45446e175986006387d682d8748b5f65e27a4bd2 100644 (file)
@@ -1,8 +1,14 @@
-my-loader {
-  display: block;
-  padding-top: 200px;
+#video-container {
   width: 100%;
+  height: 100%;
+}
+
+#video-not-found {
+  height: 300px;
+  line-height: 300px;
+  margin-top: 50px;
   text-align: center;
+  font-weight: bold;
 }
 
 .embed-responsive {
@@ -11,10 +17,76 @@ my-loader {
 
 #torrent-info {
   font-size: 10px;
+  margin-top: 10px;
+  text-align: center;
 
   div {
-    display: inline-block;
-    width: 33%;
-    text-align: center;
+    min-width: 60px;
+  }
+}
+
+.embed-responsive {
+  @media screen and (max-width: 600px) {
+    height: 300px;
+  }
+}
+
+#video-info {
+  border-top: 1px solid rgba(0, 0, 0, 0.1);
+  margin-top: 10px;
+  padding-top: 5px;
+
+  #video-name-actions {
+
+    #video-name {
+      font-size: 20px;
+    }
+
+    .btn .glyphicon {
+      position: relative;
+      top: 2px;
+    }
+
+    #magnet-uri, #share {
+      font-weight: bold;
+      opacity: 0.85;
+    }
+  }
+
+  #video-by-date {
+    font-size: 13px;
+    opacity: 0.6;
+
+    a {
+      color: black;
+    }
+
+    #video-date:before {
+      content: '\002022';
+      margin: 0 5px;
+    }
+  }
+
+  #video-tags {
+    margin-top: 10px;
+
+    a {
+      margin-right: 5px;
+    }
+  }
+
+  #video-description {
+    margin-top: 15px;
+
+    #description-label {
+      font-weight: bold;
+    }
+  }
+}
+
+.modal-content {
+  input {
+    /* Force blank on readonly inputs */
+    background-color: #fff;
   }
 }