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