transition: color 0.2s;
font-weight: $font-semibold;
- color: var(--mainForegroundColor);
+ color: pvar(--mainForegroundColor);
margin-top: 10px;
margin-bottom: 5px;
width: inherit;
height: inherit;
opacity: 0;
- background-color: rgba(0, 0, 0, 0.7);
+ background-color: rgba(0, 0, 0, 0.3);
&, .icon {
transition: all $play-overlay-transition;
}
&.focus-visible {
- box-shadow: 0 0 0 2px var(--mainColor);
+ box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest);
+ outline: none;
}
img {
color: #fff;
}
-@mixin video-miniature-small-screen {
- text-align: center;
-
- ::ng-deep .video-miniature {
- padding-right: 0;
- height: auto;
- width: 100%;
- margin-bottom: 20px;
-
- .video-miniature-information {
- width: 100% !important;
- text-align: left;
-
- span {
- width: 100%;
- }
- }
-
- .video-thumbnail {
- margin: 0 -15px 10px -15px;
- width: 100vw;
- height: calc(100vw / #{$video-thumbnail-ratio});
- border-radius: 0;
-
- img {
- width: 100%;
- height: 100%;
- }
- }
- }
-}
-
@mixin miniature-rows {
- max-height: 540px; // 2 rows max
- overflow: hidden;
- padding-top: 10px;
-
&:first-child {
padding-top: 30px;
- }
- my-video-miniature {
- text-align: left;
+ .section-title {
+ border-top: none !important;
+ }
}
.section-title {
font-size: 24px;
font-weight: $font-semibold;
- margin-bottom: 30px;
+ padding-top: 15px;
+ margin-bottom: 15px;
display: flex;
justify-content: space-between;
+ &:not(h2) {
+ border-top: 1px solid $separator-border-color;
+ }
+
a {
&:hover, &:focus:not(.focus-visible), &:active {
text-decoration: none;
outline: none;
}
- color: var(--mainForegroundColor);
+ color: pvar(--mainForegroundColor);
}
}
}
.followers {
- color: $grey-foreground-color;
+ color: pvar(--greyForegroundColor);
font-weight: normal;
font-size: 14px;
margin-left: 10px;
}
}
+ .show-more {
+ position: relative;
+ top: -5px;
+ display: inline-block;
+ font-size: 16px;
+ text-transform: uppercase;
+ color: pvar(--greyForegroundColor);
+ margin-bottom: 10px;
+ font-weight: $font-semibold;
+ text-decoration: none;
+ }
+
@media screen and (max-width: $mobile-view) {
max-height: initial;
overflow: initial;
- @include video-miniature-small-screen;
-
.section-title {
font-size: 17px;
+ margin-left: 10px;
}
}
}
-@mixin adapt-margin-content-width {
- width: $video-miniature-width * 6;
- margin: auto !important;
+@mixin fluid-videos-miniature-layout {
+ margin-left: $not-expanded-horizontal-margins !important;
+ margin-right: $not-expanded-horizontal-margins !important;
- @media screen and (max-width: 1800px) {
- width: $video-miniature-width * 5;
- }
+ @media screen and (max-width: $mobile-view) {
+ width: auto;
+ margin: 0 !important;
- @media screen and (max-width: 1800px - $video-miniature-width) {
- width: $video-miniature-width * 4;
- }
+ .videos {
+ text-align: center;
+
+ ::ng-deep .video-miniature {
+ padding-right: 0;
+ height: auto;
+ width: 100%;
+ margin-bottom: 25px;
+
+ .video-miniature-information {
+ width: 100% !important;
+ text-align: left;
+
+ span {
+ width: 100%;
+ }
+ }
- @media screen and (max-width: 1800px - (2* $video-miniature-width)) {
- width: $video-miniature-width * 3;
+ .video-thumbnail {
+ border-radius: 0;
+ }
+ }
+ }
}
- @media screen and (max-width: 1800px - (3* $video-miniature-width)) {
- width: $video-miniature-width * 2;
+ @media screen and (min-width: #{breakpoint(fhd)}) {
+ margin-left: 6vw !important;
+ margin-right: 6vw !important;
}
- @media screen and (max-width: 500px) {
- width: auto;
- margin: 0 !important;
+ @media screen and (min-width: $mobile-view) {
.videos {
- @include video-miniature-small-screen;
+ --miniature-min-width: #{$video-thumbnail-width - 15px};
+ --miniature-max-width: #{$video-thumbnail-width};
+
+ display: grid;
+ column-gap: 5px;
+ grid-template-columns: repeat(
+ auto-fill,
+ minmax(
+ var(--miniature-min-width),
+ 1fr
+ )
+ );
+
+ @media screen and (min-width: #{breakpoint(fhd)}) {
+ column-gap: 1%;
+ --miniature-min-width: #{$video-thumbnail-width};
+ }
+
+ .video-wrapper {
+ margin: 0 auto;
+ width: 100%;
+
+ my-video-miniature {
+ display: block;
+ min-width: var(--miniature-min-width);
+ max-width: var(--miniature-max-width);
+ }
+ }
}
}
}