aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-library/+my-video-channels/my-video-channels.component.scss
blob: dafba925e86668882cca0a8eb2edf7a5d3a6ff4f (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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
@import '_variables';
@import '_mixins';

.create-button {
  @include create-button;
}

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

::ng-deep .action-button {
  &.action-button-edit {
    margin-right: 10px;
  }
}

.video-channel {
  @include row-blocks;

  padding-bottom: 0;

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

  .video-channel-buttons {
    margin-top: 10px;
    min-width: 190px;
  }
}

::ng-deep .chartjs-render-monitor {
  position: relative;
  top: 1px;
}

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

@media screen and (max-width: $small-view) {
  .video-channels-header {
    text-align: center;
  }

  .video-channel {
    padding-bottom: 10px;

    .video-channel-info {
      padding-bottom: 10px;
      text-align: center;

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

        .video-channel-name {
          margin-left: 0px !important;
        }
      }
    }

    img {
      margin-right: 0;
    }

    .video-channel-buttons {
      align-self: center;
    }
  }
}

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

    input[type=text] {
      width: 100% !important;
      margin-bottom: 12px;
    }
  }
}

@media screen and (min-width: breakpoint(lg)) {
  :host-context(.main-col:not(.expanded)) {
    .video-channel-buttons {
      float: right;
    }
  }
}

@media screen and (min-width: $small-view) {
  :host-context(.expanded) {
    .video-channel-buttons {
      float: right;
    }
  }
}