X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fbuttons%2Faction-dropdown.component.scss;h=7c2b0db71b2c53365a67b6a5b8a3e9dec771db36;hb=b91bc1d1f3591c35ab4426f6ab594b4bd9f1ef62;hp=cc459b97254d2130f58fbaf3cf1d438d72726b2c;hpb=eacb25c4366bcc8fba20f98f93f004fabc6d5578;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/buttons/action-dropdown.component.scss b/client/src/app/shared/buttons/action-dropdown.component.scss index cc459b972..7c2b0db71 100644 --- a/client/src/app/shared/buttons/action-dropdown.component.scss +++ b/client/src/app/shared/buttons/action-dropdown.component.scss @@ -1,21 +1,67 @@ @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; + + /deep/ { + @include apply-svg-color(var(--mainForegroundColor)); + } + } + + &.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; + } - background-image: url('../../../assets/images/video/more.svg'); - top: -1px; + a, span { + display: block; + width: 100%; + } } -} \ No newline at end of file +}