]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/+video-watch/video-watch.component.scss
Better admin tables
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-watch / video-watch.component.scss
index 9daa757b4afc16e16bb24c83e5c291c4b3632e61..b37fa3d61d7759652350aa69684aaefdca349a88 100644 (file)
@@ -1,3 +1,6 @@
+@import '_variables';
+@import '_mixins';
+
 #video-container {
   background-color: #000;
   display: flex;
@@ -24,7 +27,8 @@
   line-height: 300px;
   margin-top: 50px;
   text-align: center;
-  font-weight: bold;
+  font-weight: $font-semibold;
+  font-size: 15px;
 }
 
 .video-bottom {
       align-items: center;
 
       .video-info-name {
+        margin-right: 30px;
         font-size: 27px;
         font-weight: $font-semibold;
         flex-grow: 1;
       }
 
       .video-info-actions {
+        min-width: 215px;
+        display: flex;
+        justify-content: end;
+
+        .action-button:not(:first-child), .action-more {
+          margin-left: 10px;
+        }
+
         .action-button {
           @include peertube-button;
           @include grey-button;
             }
           }
 
-          &.activated {
-            @include orange-button;
+          &.action-button-like.activated {
+            background-color: #39CC0B;
 
             .icon-like {
               background-image: url('../../../assets/images/video/like-white.svg');
             }
+          }
+
+          &.action-button-dislike.activated {
+            background-color: #FF0000;
 
             .icon-dislike {
               background-image: url('../../../assets/images/video/dislike-white.svg');
         .action-more {
           display: inline-block;
 
-          .dropdown-menu .icon {
-            display: inline-block;
-            background-repeat: no-repeat;
-            background-size: contain;
-            width: 21px;
-            height: 21px;
-            vertical-align: middle;
-            margin-right: 5px;
-            position: relative;
-            top: -1px;
+          .dropdown-menu .dropdown-item {
+            padding: 6px 24px;
 
-            &.icon-download {
-              background-image: url('../../../assets/images/video/download-grey.svg');
-            }
+            .icon {
+              @include icon(24px);
 
-            &.icon-alert {
-              background-image: url('../../../assets/images/video/alert.svg');
-            }
+              margin-right: 10px;
+              position: relative;
+              top: -1px;
+
+              &.icon-download {
+                background-image: url('../../../assets/images/video/download-black.svg');
+              }
 
-            &.icon-blacklist {
-              background-image: url('../../../assets/images/video/eye-closed.svg');
+              &.icon-alert {
+                background-image: url('../../../assets/images/video/alert.svg');
+              }
+
+              &.icon-blacklist {
+                background-image: url('../../../assets/images/video/blacklist.svg');
+              }
             }
           }
         }
 }
 
 
-@media screen and (max-width: 1000px) {
+@media screen and (max-width: 1300px) {
   .other-videos {
     display: none;
   }
-}
 
-@media screen and (max-width: 800px) {
   .video-bottom {
-    margin: 20px 0 0 0;
-
     .video-info {
       margin-right: 0;
 
     }
   }
 }
+
+@media screen and (max-width: 800px) {
+  .video-bottom {
+    margin: 20px 0 0 0;
+  }
+}