aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-instance/instance-about-accordion.component.scss
blob: 2f6b420e34352ec6ba8a0d518f54ac280c989be6 (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
@import '_variables';
@import '_mixins';
@import "./_bootstrap-variables";

@import '~bootstrap/scss/functions';
@import '~bootstrap/scss/variables';

.instance-name {
  line-height: 1.7rem;
}

.instance-short-description {
  @include ellipsis-multiline(1rem, 3);

  margin-top: 20px;
  margin-bottom: 20px;
}

.block {
  font-size: 15px;
  margin-bottom: 15px;
  padding: 0 $btn-padding-x;
}

ngb-accordion ::ng-deep {
  .card {
    border-color: var(--mainBackgroundColor);

    .card-header {
      background-color: unset;
      padding: 0;

      & + .collapse.show {
        background-color: var(--submenuBackgroundColor);
      }
    }
  }

  .btn {
    @include peertube-button;
    @include grey-button;

    border-radius: unset;
    width: 100%;
  }
}