aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos/video-list/overview/video-overview.component.scss
blob: cb9308dda009ceff8b664b9131d7d436643b0613 (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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
@import '_variables';
@import '_mixins';
@import '_miniature';

.section-title {
  // make the element span a full grid row within .videos grid
  grid-column: 1 / -1;
}

.margin-content {
  @include grid-videos-miniature-layout-with-margins;
}

.section {
  &:first-child {
    padding-top: 30px;

    .section-title {
      border-top: 0 !important;
    }
  }

  .section-title {
    font-size: 24px;
    font-weight: $font-semibold;
    padding-top: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;

    &:not(h2) {
      border-top: 1px solid $separator-border-color;
    }

    a {
      color: pvar(--mainForegroundColor);

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

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

        my-actor-avatar {
          @include actor-avatar-size(28px);
          @include margin-right(8px);

          font-size: initial;
        }
      }

      .followers {
        @include margin-left(10px);

        color: pvar(--greyForegroundColor);
        font-weight: normal;
        font-size: 14px;
        position: relative;
        top: 2px;
      }
    }
  }

  .show-more {
    position: relative;
    top: -5px;
    display: inline-block;
    font-size: 16px;
    text-transform: uppercase;
    color: pvar(--greyForegroundColor);
    margin-bottom: 10px;
    font-weight: $font-semibold;
    text-decoration: none;
  }

  @media screen and (max-width: $mobile-view) {
    max-height: initial;
    overflow: initial;

    .section-title {
      @include margin-left(10px);

      font-size: 17px;
    }
  }
}