4 @mixin miniature-name {
5 @include ellipsis-multiline(1.1em, 2);
8 transition: color 0.2s;
9 font-weight: $font-semibold;
10 color: pvar(--mainForegroundColor);
15 text-decoration: none;
24 $play-overlay-transition: 0.2s ease;
25 $play-overlay-height: 26px;
26 $play-overlay-width: 18px;
28 @mixin miniature-thumbnail {
29 @include disable-outline;
32 flex-direction: column;
36 width: $video-thumbnail-width;
37 height: $video-thumbnail-height;
38 background-color: #ececec;
39 transition: filter $play-overlay-transition;
49 background-color: rgba(0, 0, 0, 0.3);
52 transition: all $play-overlay-transition;
56 @include play-icon($play-overlay-width, $play-overlay-height);
61 text-decoration: none !important;
67 transform: translate(-50%, -50%) scale(1);
73 box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest);
83 transform : scale(1.03);
88 @mixin thumbnail-size-component ($width, $height) {
89 ::ng-deep .video-thumbnail {
95 @mixin static-thumbnail-overlay {
96 display: inline-block;
97 background-color: rgba(0, 0, 0, 0.7);
101 @mixin miniature-rows {
106 border-top: none !important;
112 font-weight: $font-semibold;
116 justify-content: space-between;
119 border-top: 1px solid $separator-border-color;
123 &:hover, &:focus:not(.focus-visible), &:active {
124 text-decoration: none;
128 color: pvar(--mainForegroundColor);
140 @include channel-avatar(28px);
147 color: pvar(--greyForegroundColor);
160 display: inline-block;
162 text-transform: uppercase;
163 color: pvar(--greyForegroundColor);
165 font-weight: $font-semibold;
166 text-decoration: none;
169 @media screen and (max-width: $mobile-view) {
180 // Use margin by default, or padding if $margin is false
181 @mixin fluid-videos-miniature-margins ($margin: true, $min-margin: 0) {
182 --fluidVideosMiniatureMargins: #{pvar(--horizontalMarginContent)};
185 margin-left: var(--fluidVideosMiniatureMargins) !important;
186 margin-right: var(--fluidVideosMiniatureMargins) !important;
188 padding-left: var(--fluidVideosMiniatureMargins) !important;
189 padding-right: var(--fluidVideosMiniatureMargins) !important;
192 @media screen and (max-width: $mobile-view) {
193 --fluidVideosMiniatureMargins: $min-margin;
199 @mixin fluid-videos-miniature-layout {
200 @include fluid-videos-miniature-margins;
202 @media screen and (max-width: $mobile-view) {
206 ::ng-deep .video-miniature {
212 .video-miniature-information {
213 width: 100% !important;
228 @media screen and (min-width: $mobile-view) {
230 --miniatureMinWidth: #{$video-thumbnail-width - 15px};
231 --miniatureMaxWidth: #{$video-thumbnail-width};
235 grid-template-columns: repeat(
238 var(--miniatureMinWidth),
243 @media screen and (min-width: #{breakpoint(fhd)}) {
245 --miniatureMinWidth: #{$video-thumbnail-width};
254 min-width: var(--miniatureMinWidth);
255 max-width: var(--miniatureMaxWidth);