X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fbuttons%2Faction-dropdown.component.scss;h=442c90984da9f5e41b9c58a3ae405d190eaca1ab;hb=be27ef3b4682c5639039474c39ee0d234d16f482;hp=615511093ae553d02852f91b31967f5f09bc3d4f;hpb=141b177db088891e84040f68aa95008fb52f1d44;p=oweals%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 615511093..442c90984 100644 --- a/client/src/app/shared/buttons/action-dropdown.component.scss +++ b/client/src/app/shared/buttons/action-dropdown.component.scss @@ -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; @@ -12,21 +30,39 @@ display: none; } - &:hover, &:active, &:focus { - background-color: $grey-color; - } + .more-icon { + width: 21px; - .icon-action { - @include icon(21px); + ::ng-deep { + @include apply-svg-color(var(--actionButtonColor)); + } + } - 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 { + display: flex; cursor: pointer; color: #000 !important; + + &.with-icon { + @include dropdown-with-icon-item; + } + + a, span { + display: block; + width: 100%; + } } -} \ No newline at end of file +}