]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - client/src/app/shared/shared-video-playlist/video-playlist-miniature.component.scss
Remove avatarUrl from models
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-video-playlist / video-playlist-miniature.component.scss
... / ...
CommitLineData
1@import '_variables';
2@import '_mixins';
3@import '_miniature';
4
5.miniature {
6 display: inline-block;
7 width: 100%;
8
9 &.no-videos:not(.to-manage){
10 a {
11 cursor: default !important;
12 }
13 }
14
15 &.to-manage,
16 &.no-videos {
17 .play-overlay {
18 display: none;
19 }
20 }
21}
22
23.miniature-thumbnail {
24 @include miniature-thumbnail;
25
26 .miniature-playlist-info-overlay {
27 @include static-thumbnail-overlay;
28
29 position: absolute;
30 right: 0;
31 bottom: 0;
32 height: 100%;
33 padding: 0 10px;
34 display: flex;
35 align-items: center;
36 font-size: 14px;
37 font-weight: $font-semibold;
38 }
39}
40
41.miniature-info {
42
43 .miniature-name {
44 @include miniature-name;
45
46 margin-top: 10px;
47 margin-bottom: 5px;
48 }
49
50 .by {
51 @include disable-default-a-behaviour;
52
53 display: block;
54 color: pvar(--greyForegroundColor);
55 }
56
57 .privacy-date {
58 margin-top: 5px;
59 font-size: 13px;
60
61 .video-info-privacy {
62 font-weight: $font-semibold;
63
64 &::after {
65 content: '-';
66 margin: 0 3px;
67 }
68 }
69 }
70
71 .video-info-description {
72 margin-top: 10px;
73 color: pvar(--greyForegroundColor);
74 }
75}
76
77.miniature:not(.display-as-row) {
78 .miniature-thumbnail {
79 margin-top: 10px;
80 margin-bottom: 5px;
81 }
82}
83
84.miniature.display-as-row {
85 --rowThumbnailWidth: #{$video-thumbnail-width};
86 --rowThumbnailHeight: #{$video-thumbnail-height};
87
88 display: flex;
89
90 .miniature-thumbnail {
91 width: var(--rowThumbnailWidth);
92 height: var(--rowThumbnailHeight);
93 margin-right: 10px;
94 }
95}
96
97@include on-small-main-col {
98 .miniature.display-as-row {
99 --rowThumbnailWidth: #{$video-thumbnail-medium-width};
100 --rowThumbnailHeight: #{$video-thumbnail-medium-height};
101 }
102}
103
104@include on-mobile-main-col {
105 .miniature.display-as-row {
106 --rowThumbnailWidth: #{$video-thumbnail-small-width};
107 --rowThumbnailHeight: #{$video-thumbnail-small-height};
108 }
109}