4 @mixin miniature-name {
5 @include ellipsis-multiline(1.1em, 2);
7 transition: color 0.2s;
8 font-weight: $font-semibold;
9 color: pvar(--mainForegroundColor);
14 text-decoration: none;
23 $play-overlay-transition: 0.2s ease;
24 $play-overlay-height: 26px;
25 $play-overlay-width: 18px;
27 @mixin miniature-thumbnail {
28 @include disable-outline;
31 flex-direction: column;
35 width: $video-thumbnail-width;
36 height: $video-thumbnail-height;
37 background-color: #ececec;
38 transition: filter $play-overlay-transition;
48 background-color: rgba(0, 0, 0, 0.3);
51 transition: all $play-overlay-transition;
55 @include play-icon($play-overlay-width, $play-overlay-height);
60 text-decoration: none !important;
66 transform: translate(-50%, -50%) scale(1);
72 box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest);
82 transform : scale(1.03);
87 @mixin thumbnail-size-component ($width, $height) {
88 ::ng-deep .video-thumbnail {
94 @mixin static-thumbnail-overlay {
95 display: inline-block;
96 background-color: rgba(0, 0, 0, 0.7);
100 @mixin miniature-rows {
105 border-top: none !important;
111 font-weight: $font-semibold;
115 justify-content: space-between;
118 border-top: 1px solid $separator-border-color;
122 &:hover, &:focus:not(.focus-visible), &:active {
123 text-decoration: none;
127 color: pvar(--mainForegroundColor);
139 @include channel-avatar(28px);
146 color: pvar(--greyForegroundColor);
159 display: inline-block;
161 text-transform: uppercase;
162 color: pvar(--greyForegroundColor);
164 font-weight: $font-semibold;
165 text-decoration: none;
168 @media screen and (max-width: $mobile-view) {
179 // Use margin by default, or padding if $margin is false
180 @mixin fluid-videos-miniature-margins ($margin: true, $min-margin: 0) {
182 margin-left: $not-expanded-horizontal-margins !important;
183 margin-right: $not-expanded-horizontal-margins !important;
185 padding-left: $not-expanded-horizontal-margins !important;
186 padding-right: $not-expanded-horizontal-margins !important;
189 @media screen and (max-width: $mobile-view) {
193 margin: $min-margin !important;
195 padding: $min-margin !important;
199 @media screen and (min-width: #{breakpoint(fhd)}) {
201 margin-left: 6vw !important;
202 margin-right: 6vw !important;
204 padding-left: 6vw !important;
205 padding-right: 6vw !important;
210 @mixin fluid-videos-miniature-layout {
211 @include fluid-videos-miniature-margins;
213 @media screen and (max-width: $mobile-view) {
217 ::ng-deep .video-miniature {
223 .video-miniature-information {
224 width: 100% !important;
239 @media screen and (min-width: $mobile-view) {
241 --miniature-min-width: #{$video-thumbnail-width - 15px};
242 --miniature-max-width: #{$video-thumbnail-width};
246 grid-template-columns: repeat(
249 var(--miniature-min-width),
254 @media screen and (min-width: #{breakpoint(fhd)}) {
256 --miniature-min-width: #{$video-thumbnail-width};
265 min-width: var(--miniature-min-width);
266 max-width: var(--miniature-max-width);