aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/user-subscription/subscribe-button.component.scss
blob: 92a28aad9af4ee765e7de69945b42730528157da (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
@import '_variables';
@import '_mixins';

.btn-group-subscribe {
  @include peertube-button;
  @include disable-default-a-behaviour;

  float: right;
  padding: 0;

  & > .btn,
  & > .dropdown > .dropdown-toggle {
    font-size: 15px;
  }

  // Unlogged
  & > .dropdown > .dropdown-toggle span {
    padding-right: 3px;
  }

  // Logged
  & > .btn {
    padding-right: 4px;

    & + .dropdown > button {
      padding-left: 2px;

      &::after {
        position: relative;
        top: 1px;
      }
    }
  }

  &.subscribe-button {
    .btn {
      @include orange-button;
      font-weight: 600;
    }

    span.followers-count {
      padding-left: 5px;
    }
  }
  &.unsubscribe-button {
    .btn {
      @include grey-button;
      font-weight: 600;
    }
  }

  .dropdown-menu {
    cursor: default;

    button {
      cursor: pointer;
    }
  }

  .dropdown-header {
    padding-left: 1rem;
  }

  ::ng-deep form {
    padding: 0.25rem 1rem;
  }

  input {
    @include peertube-input-text(100%);
  }
}