aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/video-list/video-overview.component.scss
blob: a24766783e198faffe3739357d0b0320e8421572 (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
@import '_variables';
@import '_mixins';
@import '_miniature';

.section {
  max-height: 500px; // 2 rows max
  overflow: hidden;
  padding-top: 10px;

  &:first-child {
    padding-top: 30px;
  }

  my-video-miniature {
    text-align: left;
  }
}

.section-title {
  font-size: 24px;
  font-weight: $font-semibold;
  margin-bottom: 10px;

  a {
    &:hover, &:focus:not(.focus-visible), &:active {
      text-decoration: none;
      outline: none;
    }

    color: var(--mainForegroundColor);
  }
}

.channel {
  .section-title a {
    display: flex;
    width: fit-content;
    align-items: center;

    img {
      @include avatar(28px);

      margin-right: 8px;
    }
  }
}

@media screen and (max-width: 500px) {
  .margin-content {
    margin: 0 !important;
  }

  .section-title {
    font-size: 17px;
  }

  .section {
    max-height: initial;
    overflow: initial;

    @include video-miniature-small-screen;
  }
}