]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/buttons/action-dropdown.component.scss
add keyboard navigation for video actions (#2854)
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / buttons / action-dropdown.component.scss
index a4fcceeee25f5203f1b2f2b6a23563a6c89e7aa7..724a04efcf1d1260c6fad1d143e907eb413d80ab 100644 (file)
@@ -8,12 +8,19 @@
 .action-button {
   @include peertube-button;
 
-  &.grey {
-    @include grey-button;
-  }
+  &.button-styled {
+
+    &.grey {
+      @include grey-button;
+    }
 
-  &.orange {
-    @include orange-button;
+    &.orange {
+      @include orange-button;
+    }
+
+    &:hover, &:active, &:focus {
+      background-color: $grey-background-color;
+    }
   }
 
   display: inline-block;
     display: none;
   }
 
-  &:hover, &:active, &:focus {
-    background-color: $grey-color;
-  }
+  .more-icon {
+    width: 21px;
 
-  .icon-action {
-    @include icon(21px);
-
-    background-image: url('../../../assets/images/video/more.svg');
-    top: -1px;
+    ::ng-deep {
+      @include apply-svg-color(pvar(--actionButtonColor));
+    }
   }
 
   &.small {
 }
 
 .dropdown-menu {
+  .dropdown-header {
+    padding: 0.2rem 1rem;
+  }
+
   .dropdown-item {
+    display: flex;
     cursor: pointer;
     color: #000 !important;
 
+    &.with-icon {
+      @include dropdown-with-icon-item;
+    }
+
     a, span {
       display: block;
       width: 100%;