aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/misc/button.component.scss
blob: 343aea2079a1b93a5fd60189cf4174f202fc3982 (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
32
33
34
35
36
37
38
39
40
41
42
43
@import '_variables';
@import '_mixins';

.action-button {
  @include peertube-button-link;

  font-size: 15px;
  font-weight: $font-semibold;
  color: #585858;
  background-color: #E5E5E5;

  &:hover {
    background-color: #EFEFEF;
  }

  .icon {
    @include icon(21px);

    position: relative;
    top: -2px;

    &.icon-edit {
      background-image: url('../../../assets/images/global/edit-grey.svg');
    }

    &.icon-delete-grey {
      background-image: url('../../../assets/images/global/delete-grey.svg');
    }
  }
}

// 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;
    }
  }
}