aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/user-subscription/subscribe-button.component.scss
blob: b78d2f59cd53b27d482341f9172c7fe8a5b7a709 (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
@import '_variables';
@import '_mixins';

.subscribe-button {
  @include peertube-button;
  @include orange-button;
}

.unsubscribe-button {
  @include peertube-button;
  @include grey-button
}

.subscribe-button,
.unsubscribe-button {
  display: inline-block;

  &.small {
    min-width: 75px;
    height: 20px;
    line-height: 20px;
    font-size: 13px;
  }

  &.normal {
    min-width: 120px;
    height: 30px;
    line-height: 30px;
    font-size: 16px;
  }
}

.unsubscribe-button {
  .subscribed {
    display: inline;
  }

  .unsubscribe {
    display: none;
  }

  &:hover {
    .subscribed {
      display: none;
    }

    .unsubscribe {
      display: inline;
    }
  }
}