aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/shared/user-subscription/subscribe-button.component.scss
blob: b78d2f59cd53b27d482341f9172c7fe8a5b7a709 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                           














                        




















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