Strict templates enabled
[oweals/peertube.git] / client / src / app / shared / buttons / action-dropdown.component.scss
index cc459b97254d2130f58fbaf3cf1d438d72726b2c..442c90984da9f5e41b9c58a3ae405d190eaca1ab 100644 (file)
@@ -1,21 +1,68 @@
 @import '_variables';
 @import '_mixins';
 
+.dropdown-divider:last-child {
+  display: none;
+}
+
 .action-button {
   @include peertube-button;
-  @include grey-button;
 
-  &:hover, &:active, &:focus {
-    background-color: $grey-color;
+  &.button-styled {
+
+    &.grey {
+      @include grey-button;
+    }
+
+    &.orange {
+      @include orange-button;
+    }
+
+    &:hover, &:active, &:focus {
+      background-color: $grey-background-color;
+    }
   }
 
   display: inline-block;
   padding: 0 10px;
 
-  .icon-action {
-    @include icon(21px);
+  &::after {
+    display: none;
+  }
+
+  .more-icon {
+    width: 21px;
+
+    ::ng-deep {
+      @include apply-svg-color(var(--actionButtonColor));
+    }
+  }
+
+  &.small {
+    font-size: 14px;
+    height: 20px;
+    line-height: 20px;
+  }
+}
+
+.dropdown-toggle::after {
+  position: relative;
+  top: 1px;
+}
+
+.dropdown-menu {
+  .dropdown-item {
+    display: flex;
+    cursor: pointer;
+    color: #000 !important;
+
+    &.with-icon {
+      @include dropdown-with-icon-item;
+    }
 
-    background-image: url('../../../assets/images/video/more.svg');
-    top: -1px;
+    a, span {
+      display: block;
+      width: 100%;
+    }
   }
-}
\ No newline at end of file
+}