]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/buttons/action-dropdown.component.scss
Merge branch 'release/v1.3.0' into develop
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / buttons / action-dropdown.component.scss
index 615511093ae553d02852f91b31967f5f09bc3d4f..7c2b0db71b2c53365a67b6a5b8a3e9dec771db36 100644 (file)
@@ -1,9 +1,27 @@
 @import '_variables';
 @import '_mixins';
 
+.dropdown-divider:last-child {
+  display: none;
+}
+
 .action-button {
   @include peertube-button;
-  @include grey-button;
+
+  &.button-styled {
+
+    &.grey {
+      @include grey-button;
+    }
+
+    &.orange {
+      @include orange-button;
+    }
+
+    &:hover, &:active, &:focus {
+      background-color: $grey-background-color;
+    }
+  }
 
   display: inline-block;
   padding: 0 10px;
     display: none;
   }
 
-  &:hover, &:active, &:focus {
-    background-color: $grey-color;
-  }
+  .more-icon {
+    width: 21px;
 
-  .icon-action {
-    @include icon(21px);
+    /deep/ {
+      @include apply-svg-color(var(--mainForegroundColor));
+    }
+  }
 
-    background-image: url('../../../assets/images/video/more.svg');
-    top: -1px;
+  &.small {
+    font-size: 14px;
+    height: 20px;
+    line-height: 20px;
   }
 }
 
+.dropdown-toggle::after {
+  position: relative;
+  top: 1px;
+}
+
 .dropdown-menu {
   .dropdown-item {
     cursor: pointer;
     color: #000 !important;
+
+    &.with-icon {
+      @include dropdown-with-icon-item;
+    }
+
+    a, span {
+      display: block;
+      width: 100%;
+    }
   }
-}
\ No newline at end of file
+}