aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-watch/video-watch.component.scss
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2019-12-15 21:27:37 +0100
committerRigel Kent <sendmemail@rigelk.eu>2019-12-15 21:58:11 +0100
commitdd4f25eea802fd88ea641d730432b56f562e0861 (patch)
tree72ead957524555827f4531fb00f90bf3f5e633c1 /client/src/app/videos/+video-watch/video-watch.component.scss
parent44efbebac43c2bac75744399dc1176dce7ba3277 (diff)
downloadPeerTube-dd4f25eea802fd88ea641d730432b56f562e0861.tar.gz
PeerTube-dd4f25eea802fd88ea641d730432b56f562e0861.tar.zst
PeerTube-dd4f25eea802fd88ea641d730432b56f562e0861.zip
add channel avatar to watch view
Diffstat (limited to 'client/src/app/videos/+video-watch/video-watch.component.scss')
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.scss53
1 files changed, 20 insertions, 33 deletions
diff --git a/client/src/app/videos/+video-watch/video-watch.component.scss b/client/src/app/videos/+video-watch/video-watch.component.scss
index 314f9849d..15335b0b3 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.scss
+++ b/client/src/app/videos/+video-watch/video-watch.component.scss
@@ -3,8 +3,8 @@
3@import '_bootstrap-variables'; 3@import '_bootstrap-variables';
4@import '_miniature'; 4@import '_miniature';
5 5
6$other-videos-width: 260px;
7$player-factor: 1.7; // 16/9 6$player-factor: 1.7; // 16/9
7$video-info-margin-left: 44px;
8 8
9@function getPlayerHeight($width){ 9@function getPlayerHeight($width){
10 @return calc(#{$width} / #{$player-factor}) 10 @return calc(#{$width} / #{$player-factor})
@@ -180,40 +180,24 @@ $player-factor: 1.7; // 16/9
180 } 180 }
181 } 181 }
182 182
183 my-subscribe-button { 183 .video-info-channel-left {
184 margin-left: 5px; 184 flex-grow: 1;
185 }
186 }
187 185
188 .video-info-by { 186 .video-info-channel-left-links {
189 187 display: flex;
190 a { 188 flex-direction: column;
191 @include disable-default-a-behaviour; 189 position: relative;
192 190 line-height: 1.3;
193 display: inline;
194 align-items: center;
195 font-size: 13px;
196 color: var(--mainForegroundColor);
197
198 span:hover {
199 opacity: 0.8;
200 }
201 191
202 span { 192 a:nth-of-type(2) {
203 margin-left: 2px; 193 font-weight: 500;
204 } 194 font-size: 90%;
205 195 }
206 img {
207 @include avatar(18px);
208
209 margin: -2px 5px 0 0;
210 } 196 }
211 } 197 }
212 198
213 my-help { 199 my-subscribe-button {
214 position: relative; 200 margin-left: 5px;
215 top: 1px;
216 margin-left: 2px;
217 } 201 }
218 } 202 }
219 203
@@ -330,6 +314,7 @@ $player-factor: 1.7; // 16/9
330 314
331 .video-info-description { 315 .video-info-description {
332 margin: 20px 0; 316 margin: 20px 0;
317 margin-left: $video-info-margin-left;
333 font-size: 15px; 318 font-size: 15px;
334 319
335 .video-info-description-html { 320 .video-info-description-html {
@@ -357,6 +342,10 @@ $player-factor: 1.7; // 16/9
357 } 342 }
358 } 343 }
359 344
345 .video-attributes {
346 margin-left: $video-info-margin-left;
347 }
348
360 .video-attributes .video-attribute { 349 .video-attributes .video-attribute {
361 font-size: 13px; 350 font-size: 13px;
362 display: block; 351 display: block;
@@ -391,11 +380,9 @@ $player-factor: 1.7; // 16/9
391 380
392 ::ng-deep .other-videos { 381 ::ng-deep .other-videos {
393 padding-left: 15px; 382 padding-left: 15px;
394 flex-basis: $other-videos-width;
395 min-width: $other-videos-width;
396 383
397 .title-page { 384 .title-page {
398 margin-top: 0 !important; 385 margin: 0 !important;
399 } 386 }
400 387
401 .video-miniature { 388 .video-miniature {