]>
Commit | Line | Data |
---|---|---|
1 | @use '_variables' as *; | |
2 | @use '_mixins' as *; | |
3 | ||
4 | .dropdown-divider:last-child { | |
5 | display: none; | |
6 | } | |
7 | ||
8 | .action-button { | |
9 | @include peertube-button; | |
10 | ||
11 | display: inline-block; | |
12 | padding: 0 10px; | |
13 | ||
14 | &.button-styled { | |
15 | ||
16 | &.grey { | |
17 | @include grey-button; | |
18 | } | |
19 | ||
20 | &.orange { | |
21 | @include orange-button; | |
22 | } | |
23 | ||
24 | &:hover, | |
25 | &:active, | |
26 | &:focus { | |
27 | background-color: $grey-background-color; | |
28 | } | |
29 | } | |
30 | ||
31 | &::after { | |
32 | display: none; | |
33 | } | |
34 | ||
35 | .more-icon { | |
36 | width: 21px; | |
37 | ||
38 | ::ng-deep { | |
39 | @include apply-svg-color(pvar(--actionButtonColor)); | |
40 | } | |
41 | } | |
42 | ||
43 | &.small { | |
44 | font-size: 14px; | |
45 | height: 20px; | |
46 | line-height: 20px; | |
47 | } | |
48 | } | |
49 | ||
50 | .dropdown-toggle::after { | |
51 | position: relative; | |
52 | top: 1px; | |
53 | } | |
54 | ||
55 | .dropdown-menu { | |
56 | max-width: 75vw; | |
57 | ||
58 | .dropdown-header { | |
59 | padding: 0.2rem 1rem; | |
60 | } | |
61 | ||
62 | .dropdown-item { | |
63 | display: flex; | |
64 | cursor: pointer; | |
65 | ||
66 | &.with-icon { | |
67 | @include dropdown-with-icon-item; | |
68 | } | |
69 | ||
70 | a, | |
71 | span { | |
72 | display: block; | |
73 | width: 100%; | |
74 | } | |
75 | } | |
76 | } | |
77 | ||
78 | .item-label { | |
79 | display: flex; | |
80 | flex-direction: column; | |
81 | min-width: 1px; | |
82 | ||
83 | > * { | |
84 | @include ellipsis; | |
85 | } | |
86 | } |