]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/shared-main/buttons/action-dropdown.component.scss
Move to sass @use
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-main / buttons / action-dropdown.component.scss
CommitLineData
fa12eacc
C
1@use '_variables';
2@use '_mixins';
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 {
bb152476
RK
56 .dropdown-header {
57 padding: 0.2rem 1rem;
58 }
59
141b177d 60 .dropdown-item {
9b82d49d 61 display: flex;
141b177d
C
62 cursor: pointer;
63 color: #000 !important;
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}