]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/shared-main/buttons/button.component.scss
Move to sass @use
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-main / buttons / button.component.scss
CommitLineData
fa12eacc
C
1@use '_variables';
2@use '_mixins';
63c4db6d 3
faf7eab7
C
4@mixin responsive-label {
5 .action-button {
6 padding: 0 13px;
7 }
8
9 .button-label {
10 display: none;
11 }
12}
13
30814423
K
14:host {
15 outline: none;
16}
17
03652b31 18my-small-loader ::ng-deep .root {
b5f919ac
C
19 display: inline-block;
20 margin: 0 3px 0 0;
21 width: 20px;
22}
23
292c17b8 24a[class$=-button],
2b587cad
RK
25span[class$=-button] {
26 > span {
27bc9586 27 @include margin-left(5px);
2b587cad
RK
28 }
29}
30
cd83ea1b
C
31.action-button {
32 @include peertube-button-link;
ff0497fe 33 @include button-with-icon(21px);
14aa8556 34}
61875048 35
14aa8556
C
36.orange-button {
37 @include peertube-button;
38 @include orange-button;
39}
40
41.orange-button-link {
42 @include peertube-button-link;
43 @include orange-button;
44}
45
46.grey-button {
47 @include peertube-button;
48 @include grey-button;
49}
50
51.grey-button-link {
52 @include peertube-button-link;
53 @include grey-button;
cd83ea1b 54}
b17e8d89
C
55
56// In a table, try to minimize the space taken by this button
57@media screen and (max-width: 1400px) {
58 :host-context(td) {
faf7eab7
C
59 @include responsive-label;
60 }
61}
b17e8d89 62
faf7eab7
C
63@media screen and (max-width: $small-view) {
64 .responsive-label {
65 @include responsive-label;
b17e8d89
C
66 }
67}