]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/video-watch/video-watch.component.scss
Client Better design for video watch
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / video-watch / video-watch.component.scss
index ac62b04e7d7562d103592ce6c1f205f181ac4865..cd9d71fb4752837554331f767e2af2378765cb0b 100644 (file)
 }
 
 #video-info {
-  border-top: 1px solid rgba(0, 0, 0, 0.1);
-  margin-top: 10px;
-  padding-top: 5px;
-
-  #video-name-actions {
+  .video-name-views {
+    font-weight: bold;
+    font-size: 18px;
+    height: $video-watch-title-height;
+    line-height: $video-watch-title-height;
+    padding: 0 30px;
+
+    .video-views {
+      text-align: right;
+    }
+  }
 
-    #video-name {
-      font-size: 20px;
+  .video-small-blocks {
+    height: 150px;
+    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.9;
+        margin-bottom: 10px;
+      }
+
+      .video-small-block-text {
+        font-size: 15px;
+        font-weight: bold;
+      }
     }
 
-    .btn .glyphicon {
-      position: relative;
-      top: 2px;
+    .video-small-block:not(:last-child) {
+      border-width: 0 1px 0 0;
+      border-color: $video-watch-border-color;
+      border-style: solid;
     }
 
-    #magnet-uri, #share {
+    .video-small-block-author {
+      font-size: 15px;
       font-weight: bold;
-      opacity: 0.85;
     }
-  }
 
-  #video-by-date {
-    font-size: 13px;
-    opacity: 0.6;
+    .video-small-block-share, .video-small-block-more {
+      a.option {
+        display: block;
 
-    a {
-      color: black;
+        .glyphicon {
+          display: block;
+        }
+      }
     }
 
-    #video-date:before {
-      content: '\002022';
-      margin: 0 5px;
+    .video-small-block-more .video-small-block-dropdown {
+      position: relative;
+
+      .dropdown-item .glyphicon {
+        margin-right: 5px;
+      }
     }
-  }
 
-  #video-tags {
-    margin-top: 10px;
+    .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;
+      }
 
-    a {
-      margin-right: 5px;
+      .interactive {
+        cursor: pointer;
+        transition: color 0.3s;
+
+        &.activated, &:hover {
+          color: #000;
+        }
+      }
     }
   }
 
-  #video-description {
-    margin-top: 15px;
+  .video-details {
+    margin-top: 30px;
+
+    .video-details-date-description {
+      padding-left: 30px;
+
+      .video-details-date {
+        font-weight: bold;
+        margin-bottom: 30px;
+      }
+    }
 
-    #description-label {
+    .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;
+      }
     }
   }
 }