Fix selection buttons in my videos
authorChocobozzz <florian.bigard@gmail.com>
Mon, 11 Dec 2017 09:38:17 +0000 (10:38 +0100)
committerChocobozzz <florian.bigard@gmail.com>
Mon, 11 Dec 2017 09:38:17 +0000 (10:38 +0100)
client/src/app/account/account-videos/account-videos.component.html
client/src/app/account/account-videos/account-videos.component.scss

index 77f959fefb969064fa4c3fbbf3b1549d4cd89b16..f69c0487d0d8d2559cd40034d25a80d0b27a9793 100644 (file)
@@ -19,7 +19,7 @@
     <!-- Display only once -->
     <div class="action-selection-mode" *ngIf="isInSelectionMode() === true && i === 0">
       <div class="action-selection-mode-child">
-        <span class="action-button" (click)="abortSelectionMode()">
+        <span class="action-button action-button-cancel-selection" (click)="abortSelectionMode()">
           Cancel
         </span>
 
index 4c00431fae93cb8c6b4730fb852b92d0355714e2..5459014a6a118036864440bd958a59cb4387bde9 100644 (file)
@@ -1,33 +1,43 @@
 .action-selection-mode {
   width: 174px;
+  display: flex;
+  justify-content: flex-end;
 
   .action-selection-mode-child {
     position: fixed;
-  }
-}
 
-/deep/ .action-button {
+    .action-button {
+      display: inline-block;
+    }
 
-  &.action-button-delete {
-    margin-right: 10px;
-  }
+    .action-button-cancel-selection {
+      @include peertube-button;
+      @include grey-button;
 
-  &.action-button-delete-selection {
-    background-color: $orange-color;
-    color: #fff;
+      margin-right: 10px;
+    }
 
-    &:hover {
-      background-color: $orange-hoover-color;
+    .action-button-delete-selection {
+      @include peertube-button;
+      @include orange-button;
     }
-  }
 
-  .icon {
-    &.icon-delete-white {
+    .icon.icon-delete-white {
+      @include icon(21px);
+
+      position: relative;
+      top: -2px;
       background-image: url('../../../assets/images/global/delete-white.svg');
     }
   }
 }
 
+/deep/ .action-button {
+  &.action-button-delete {
+    margin-right: 10px;
+  }
+}
+
 .video {
   display: flex;
   height: 130px;