]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/shared-main/buttons/button.component.scss
fix video update button, add color to danger zone
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-main / buttons / button.component.scss
CommitLineData
63c4db6d
C
1@import '_variables';
2@import '_mixins';
3
03652b31 4my-small-loader ::ng-deep .root {
b5f919ac
C
5 display: inline-block;
6 margin: 0 3px 0 0;
7 width: 20px;
8}
9
cd83ea1b
C
10.action-button {
11 @include peertube-button-link;
1fe1e14c 12 @include button-with-icon(21px, 0, -1px);
c41c0e28 13
1fe1e14c 14 > span:nth-child(2) {
c41c0e28
RK
15 margin-left: 5px;
16 }
14aa8556 17}
61875048 18
14aa8556
C
19.orange-button {
20 @include peertube-button;
21 @include orange-button;
22}
23
24.orange-button-link {
25 @include peertube-button-link;
26 @include orange-button;
27}
28
29.grey-button {
30 @include peertube-button;
31 @include grey-button;
32}
33
34.grey-button-link {
35 @include peertube-button-link;
36 @include grey-button;
cd83ea1b 37}
b17e8d89
C
38
39// In a table, try to minimize the space taken by this button
40@media screen and (max-width: 1400px) {
41 :host-context(td) {
42 .action-button {
43 padding: 0 13px;
44 }
45
46 .button-label {
47 display: none;
48 }
49 }
50}