aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-library/my-subscriptions/my-subscriptions.component.scss
blob: 5ead45dd85a6911c5ac838e010a1386189cbac97 (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
@import '_variables';
@import '_mixins';

input[type=text] {
  @include peertube-input-text(300px);
}

.video-channel {
  @include row-blocks;

  img {
    @include avatar(80px);

    margin-right: 10px;
  }

  .video-channel-info {
    flex-grow: 1;

    a.video-channel-names {
      @include disable-default-a-behaviour;

      width: fit-content;
      display: flex;
      align-items: baseline;
      color: pvar(--mainForegroundColor);

      .video-channel-display-name {
        font-weight: $font-semibold;
        font-size: 18px;
      }

      .video-channel-name {
        font-size: 14px;
        color: $grey-actor-name;
        margin-left: 5px;
      }
    }
  }

  .actor-owner {
    @include actor-owner;

    margin-top: 0;
  }
}

.video-subscriptions-header {
  margin-bottom: 30px;
}

@media screen and (max-width: $small-view) {
  .video-channel {
    .video-channel-info {
      padding-bottom: 10px;
      text-align: center;

      .video-channel-names {
        flex-direction: column;
        align-items: center !important;
        margin: auto;
      }
    }

    img {
      margin-right: 0;
    }
  }
}

@media screen and (max-width: $mobile-view) {
  .video-subscriptions-header {
    flex-direction: column;

    input[type=text] {
      width: 100% !important;
    }
  }
}