]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/buttons/action-dropdown.component.scss
Merge branch 'feature/correctly-send-activities' into develop
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / buttons / action-dropdown.component.scss
index cc459b97254d2130f58fbaf3cf1d438d72726b2c..985b2ca8844da898537e0e4a69b544295c71abbe 100644 (file)
@@ -1,21 +1,56 @@
 @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;
+  &.grey {
+    @include grey-button;
+  }
+
+  &.orange {
+    @include orange-button;
   }
 
   display: inline-block;
   padding: 0 10px;
 
-  .icon-action {
-    @include icon(21px);
+  &::after {
+    display: none;
+  }
+
+  &:hover, &:active, &:focus {
+    background-color: $grey-background-color;
+  }
+
+  .more-icon {
+    width: 21px;
+  }
+
+  &.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;
 
-    background-image: url('../../../assets/images/video/more.svg');
-    top: -1px;
+    a, span {
+      display: block;
+      width: 100%;
+    }
   }
-}
\ No newline at end of file
+}