aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/buttons/button.component.scss
blob: 168102f09e36378f7884fdd3972ac6e450e9026f (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
44
45
46
47
48
49
50
51
52
53
54
55
@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');
    }

    &.icon-im-with-her {
      background-image: url('../../../assets/images/global/im-with-her.svg');
    }

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

    &.icon-cross {
      background-image: url('../../../assets/images/global/cross.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;
    }
  }
}