]>
Commit | Line | Data |
---|---|---|
eacb25c4 C |
1 | @import '_variables'; |
2 | @import '_mixins'; | |
3 | ||
f97c91f7 C |
4 | .dropdown-divider:last-child { |
5 | display: none; | |
6 | } | |
7 | ||
eacb25c4 C |
8 | .action-button { |
9 | @include peertube-button; | |
791645e6 | 10 | |
3a0fb65c C |
11 | &.button-styled { |
12 | ||
13 | &.grey { | |
14 | @include grey-button; | |
15 | } | |
16 | ||
17 | &.orange { | |
18 | @include orange-button; | |
19 | } | |
791645e6 | 20 | |
3a0fb65c C |
21 | &:hover, &:active, &:focus { |
22 | background-color: $grey-background-color; | |
23 | } | |
791645e6 | 24 | } |
eacb25c4 | 25 | |
141b177d C |
26 | display: inline-block; |
27 | padding: 0 10px; | |
28 | ||
29 | &::after { | |
30 | display: none; | |
31 | } | |
32 | ||
457bb213 C |
33 | .more-icon { |
34 | width: 21px; | |
e5b432e0 | 35 | |
03652b31 | 36 | ::ng-deep { |
e66883b3 | 37 | @include apply-svg-color(pvar(--actionButtonColor)); |
e5b432e0 | 38 | } |
eacb25c4 | 39 | } |
79bd2632 C |
40 | |
41 | &.small { | |
42 | font-size: 14px; | |
43 | height: 20px; | |
44 | line-height: 20px; | |
45 | } | |
141b177d C |
46 | } |
47 | ||
791645e6 C |
48 | .dropdown-toggle::after { |
49 | position: relative; | |
50 | top: 1px; | |
51 | } | |
52 | ||
141b177d | 53 | .dropdown-menu { |
bb152476 RK |
54 | .dropdown-header { |
55 | padding: 0.2rem 1rem; | |
56 | } | |
57 | ||
141b177d | 58 | .dropdown-item { |
9b82d49d | 59 | display: flex; |
141b177d C |
60 | cursor: pointer; |
61 | color: #000 !important; | |
af5767ff | 62 | |
3a0fb65c C |
63 | &.with-icon { |
64 | @include dropdown-with-icon-item; | |
65 | } | |
66 | ||
af5767ff C |
67 | a, span { |
68 | display: block; | |
69 | width: 100%; | |
70 | } | |
141b177d | 71 | } |
f97c91f7 | 72 | } |