]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/shared-main/buttons/action-dropdown.component.scss
Fix action dropdown height
[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;
44 height: 20px;
45 line-height: 20px;
46 }
141b177d
C
47}
48
791645e6
C
49.dropdown-toggle::after {
50 position: relative;
51 top: 1px;
52}
53
141b177d 54.dropdown-menu {
52444ea1
C
55 max-width: 75vw;
56
bb152476
RK
57 .dropdown-header {
58 padding: 0.2rem 1rem;
59 }
60
141b177d 61 .dropdown-item {
9b82d49d 62 display: flex;
141b177d 63 cursor: pointer;
af5767ff 64
3a0fb65c
C
65 &.with-icon {
66 @include dropdown-with-icon-item;
67 }
68
931d3430
C
69 a,
70 span {
af5767ff
C
71 display: block;
72 width: 100%;
73 }
141b177d 74 }
f97c91f7 75}
52444ea1
C
76
77.item-label {
78 display: flex;
79 flex-direction: column;
80 min-width: 1px;
81
82 > * {
83 @include ellipsis;
84 }
85}