]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/video-watch/video-watch.component.scss
Client: display video tags
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / video-watch / video-watch.component.scss
index 96420582ae831a6051ad39d932275eb021a41997..8d8454cfdc38fc9f2766b4972f7dcf530057e0f3 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 {
@@ -24,3 +30,155 @@ my-loader {
     height: 300px;
   }
 }
+
+#video-info {
+  .video-name-views {
+    font-weight: bold;
+    font-size: 18px;
+    height: $video-watch-title-height;
+    line-height: $video-watch-title-height;
+
+    .video-name {
+      padding-left: $video-watch-info-padding-left;
+    }
+
+    .video-views {
+      text-align: right;
+      // Keep a symmetry with the video name
+      padding-right: $video-watch-info-padding-left
+    }
+  }
+
+  .video-small-blocks {
+    height: $video-watch-info-height;
+    color: $video-watch-info-color;
+    border-color: $video-watch-border-color;
+    border-width: 1px 0px;
+    border-style: solid;
+
+    .video-small-block {
+      height: $video-watch-info-height;
+      display: flex;
+      flex-direction: column;
+      justify-content: center;
+      text-align: center;
+
+      a {
+        cursor: pointer;
+        transition: color 0.3s;
+
+        &, &:hover {
+          color: inherit;
+          text-decoration:none;
+        }
+
+        &:hover {
+          color: #000 !important;
+        }
+      }
+
+      .option .glyphicon {
+        font-size: 22px;
+        color: inherit;
+        opacity: 0.6;
+        margin-bottom: 10px;
+      }
+
+      .video-small-block-text {
+        font-size: 15px;
+        font-weight: bold;
+      }
+    }
+
+    .video-small-block:not(:last-child) {
+      border-width: 0 1px 0 0;
+      border-color: $video-watch-border-color;
+      border-style: solid;
+    }
+
+    .video-small-block-author {
+      font-size: 15px;
+      font-weight: bold;
+      text-align: left;
+      padding-left: $video-watch-info-padding-left;
+    }
+
+    .video-small-block-share, .video-small-block-more {
+      a.option {
+        display: block;
+
+        .glyphicon {
+          display: block;
+        }
+      }
+    }
+
+    .video-small-block-more .video-small-block-dropdown {
+      position: relative;
+
+      .dropdown-item .glyphicon {
+        margin-right: 5px;
+      }
+    }
+
+    .video-small-block-rating {
+
+      .video-small-block-like {
+        margin-bottom: 10px;
+      }
+
+      .video-small-block-text {
+        vertical-align: top;
+      }
+
+      .glyphicon {
+        font-size: 18px;
+        margin: 0 10px 0 0;
+      }
+
+      .interactive {
+        cursor: pointer;
+        transition: color 0.3s;
+
+        &.activated, &:hover {
+          color: #000;
+        }
+      }
+    }
+  }
+
+  .video-details {
+    margin-top: 30px;
+
+    .video-details-date-description {
+      padding-left: $video-watch-info-padding-left;
+
+      .video-details-date {
+        font-weight: bold;
+        margin-bottom: 30px;
+      }
+    }
+
+    .video-details-attributes {
+      font-weight: bold;
+      font-size: 12px;
+
+      .video-details-attribute-label {
+        color: $video-watch-info-color;
+        display: inline-block;
+        width: 60px;
+        margin-right: 5px;
+      }
+    }
+
+    .video-details-tags {
+      display: inline-block;
+
+      a {
+        display: inline-block;
+        margin-right: 3px;
+        font-size: 11px;
+      }
+    }
+  }
+}