]>
Commit | Line | Data |
---|---|---|
830b4faf C |
1 | @import '_variables'; |
2 | @import '_mixins'; | |
3 | @import '_miniature'; | |
4 | ||
5 | .miniature { | |
6 | display: inline-block; | |
0f7407d9 | 7 | width: 100%; |
830b4faf | 8 | |
931d3430 | 9 | &.no-videos:not(.to-manage) { |
f0a39880 C |
10 | a { |
11 | cursor: default !important; | |
12 | } | |
13 | } | |
14 | ||
bce47964 | 15 | &.to-manage, |
f0a39880 | 16 | &.no-videos { |
bce47964 C |
17 | .play-overlay { |
18 | display: none; | |
19 | } | |
f0a39880 | 20 | } |
0f7407d9 | 21 | } |
f0a39880 | 22 | |
0f7407d9 C |
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; | |
830b4faf | 38 | } |
0f7407d9 | 39 | } |
830b4faf | 40 | |
0f7407d9 | 41 | .miniature-info { |
3143ae17 | 42 | |
0f7407d9 C |
43 | .miniature-name { |
44 | @include miniature-name; | |
3143ae17 | 45 | |
d3de2555 C |
46 | margin-top: 10px; |
47 | margin-bottom: 5px; | |
0f7407d9 | 48 | } |
bce47964 | 49 | |
0f7407d9 C |
50 | .by { |
51 | @include disable-default-a-behaviour; | |
bce47964 | 52 | |
0f7407d9 C |
53 | display: block; |
54 | color: pvar(--greyForegroundColor); | |
55 | } | |
bce47964 | 56 | |
0f7407d9 C |
57 | .privacy-date { |
58 | margin-top: 5px; | |
d3de2555 | 59 | font-size: 13px; |
3143ae17 | 60 | |
0f7407d9 | 61 | .video-info-privacy { |
0f7407d9 | 62 | font-weight: $font-semibold; |
bce47964 | 63 | |
0f7407d9 C |
64 | &::after { |
65 | content: '-'; | |
66 | margin: 0 3px; | |
bce47964 C |
67 | } |
68 | } | |
0f7407d9 | 69 | } |
bce47964 | 70 | |
0f7407d9 C |
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 { | |
27bc9586 C |
91 | @include margin-right(10px); |
92 | ||
0f7407d9 C |
93 | width: var(--rowThumbnailWidth); |
94 | height: var(--rowThumbnailHeight); | |
0f7407d9 C |
95 | } |
96 | } | |
97 | ||
98 | @include on-small-main-col { | |
99 | .miniature.display-as-row { | |
100 | --rowThumbnailWidth: #{$video-thumbnail-medium-width}; | |
101 | --rowThumbnailHeight: #{$video-thumbnail-medium-height}; | |
102 | } | |
103 | } | |
104 | ||
105 | @include on-mobile-main-col { | |
106 | .miniature.display-as-row { | |
107 | --rowThumbnailWidth: #{$video-thumbnail-small-width}; | |
108 | --rowThumbnailHeight: #{$video-thumbnail-small-height}; | |
830b4faf C |
109 | } |
110 | } |