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

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

.video-channel {
  @include row-blocks;

  > my-actor-avatar {
    @include actor-avatar-size(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 disable-default-a-behaviour;

  font-size: 13px;
  color: pvar(--mainForegroundColor);

  span:hover {
    opacity: 0.8;
  }

  my-actor-avatar {
    margin-left: 7px;
    display: inline-block;
    vertical-align: top;
  }
}

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

@media screen and (max-width: $small-view) {
  .video-subscriptions-header input[type=text] {
    width: 100% !important;
  }

  .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;
  }
}