]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/shared-main/buttons/action-dropdown.component.scss
Bumped to version v5.2.1
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-main / buttons / action-dropdown.component.scss
CommitLineData
8cbc40b2
C
1@use '_variables' as *;
2@use '_mixins' as *;
eacb25c4 3
f97c91f7
C
4.dropdown-divider:last-child {
5 display: none;
6}
7
eacb25c4
C
8.action-button {
9 @include peertube-button;
791645e6 10
931d3430 11 display: inline-block;
931d3430 12
3a0fb65c
C
13 &.button-styled {
14
15 &.grey {
16 @include grey-button;
17 }
18
19 &.orange {
20 @include orange-button;
21 }
791645e6 22
931d3430
C
23 &:hover,
24 &:active,
25 &:focus {
3a0fb65c
C
26 background-color: $grey-background-color;
27 }
791645e6 28 }
eacb25c4 29
141b177d
C
30 &::after {
31 display: none;
32 }
33
457bb213
C
34 .more-icon {
35 width: 21px;
e5b432e0 36
03652b31 37 ::ng-deep {
e66883b3 38 @include apply-svg-color(pvar(--actionButtonColor));
e5b432e0 39 }
eacb25c4 40 }
79bd2632
C
41
42 &.small {
43 font-size: 14px;
2346a6dc 44 padding: 0 10px;
79bd2632 45 }
141b177d
C
46}
47
791645e6
C
48.dropdown-toggle::after {
49 position: relative;
50 top: 1px;
51}
52
141b177d 53.dropdown-menu {
52444ea1
C
54 max-width: 75vw;
55
bb152476
RK
56 .dropdown-header {
57 padding: 0.2rem 1rem;
58 }
59
141b177d 60 .dropdown-item {
9b82d49d 61 display: flex;
141b177d 62 cursor: pointer;
af5767ff 63
3a0fb65c
C
64 &.with-icon {
65 @include dropdown-with-icon-item;
66 }
67
931d3430
C
68 a,
69 span {
af5767ff
C
70 display: block;
71 width: 100%;
72 }
141b177d 73 }
f97c91f7 74}
52444ea1
C
75
76.item-label {
77 display: flex;
78 flex-direction: column;
79 min-width: 1px;
80
81 > * {
82 @include ellipsis;
83 }
84}