aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/buttons/button.component.scss
blob: 2a8cfc74834ced5d1534ab63d603bd44285d53c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
@import '_variables';
@import '_mixins';

my-small-loader ::ng-deep .root {
  display: inline-block;
  margin: 0 3px 0 0;
  width: 20px;
}

.action-button {
  @include peertube-button-link;
  @include button-with-icon(21px, 0, -2px);

  // FIXME: Firefox does not apply global .orange-button icon color
  &.orange-button {
    @include apply-svg-color(#fff)
  }
}

// In a table, try to minimize the space taken by this button
@media screen and (max-width: 1400px) {
  :host-context(td) {
    .action-button {
      padding: 0 13px;
    }

    .button-label {
      display: none;
    }
  }
}