aboutsummaryrefslogtreecommitdiffstats
path: root/webapp/src/app/pages/dashboard/dashboard.component.scss
blob: 376510de4eae4b64c6762cc04b8e3be53fe60298 (plain)
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
@import '../../@theme/styles/themes';
@include nb-install-component() {
  nb-card-body {
    display: flex;
    flex-direction: column;
    padding: 0;
  }
  .picture {
    background-position: center;
    background-size: cover;
    position: relative;
    border-top-left-radius: nb-theme(card-border-radius);
    border-top-right-radius: nb-theme(card-border-radius);
    flex: 1;
  }
  .details {
    padding: 1.25rem;
    .title {
      padding-bottom: 2.5rem;
      font-family: nb-theme(font-secondary);
      font-weight: nb-theme(font-weight-bold);
      color: nb-theme(color-fg-heading);
      font-size: 2rem;
      margin-bottom: 1rem;
      @include nb-for-theme(cosmic) {
        font-weight: nb-theme(font-weight-bolder);
      }
    }
    .description {
      text-align: center;
      color: nb-theme(color-fg-text);
      font-size: 1.3rem;
      font-weight: nb-theme(font-weight-light);
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
  nb-card-footer {
    display: flex;
    justify-content: space-around;
    padding: 0.75rem 0;
    border: none;
    a {
      text-decoration: none;
      color: nb-theme(color-fg);
      &:hover {
        color: nb-theme(color-fg-heading);
      }
      i {
        font-size: 1.75rem;
      }
    }
  }
}