2020-01-24 19:31:49 +01:00
|
|
|
.ads-wrapper {
|
|
|
|
@extend .navigation;
|
2020-01-24 19:56:21 +01:00
|
|
|
background-color: var(--color-ads-background);
|
|
|
|
padding-top: 0.5rem;
|
|
|
|
padding-right: 0.5rem;
|
2020-01-24 19:31:49 +01:00
|
|
|
|
|
|
|
p {
|
|
|
|
margin-left: 0.4rem; // The ads provider adds weird padding to their wrapper
|
|
|
|
font-size: var(--font-xsmall);
|
2020-01-24 19:56:21 +01:00
|
|
|
color: var(--color-ads-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
.button--link {
|
|
|
|
color: var(--color-ads-link);
|
2020-01-24 19:31:49 +01:00
|
|
|
}
|
|
|
|
}
|
2020-03-26 22:47:07 +01:00
|
|
|
|
|
|
|
// Inline Video Ads
|
2022-03-07 13:11:28 +01:00
|
|
|
// The default is coded for list-layout;
|
|
|
|
// --tile and other modifiers adjust accordingly.
|
2020-03-26 22:47:07 +01:00
|
|
|
.ads__claim-item {
|
|
|
|
border-bottom: 1px solid var(--color-border);
|
2022-02-11 19:50:55 +01:00
|
|
|
margin-top: var(--spacing-m);
|
2022-03-07 13:11:28 +01:00
|
|
|
margin-bottom: var(--spacing-m);
|
2020-06-01 19:03:19 +02:00
|
|
|
padding: var(--spacing-m);
|
2020-03-26 22:47:07 +01:00
|
|
|
background-color: var(--color-ads-background);
|
2022-02-11 19:50:55 +01:00
|
|
|
border-radius: var(--border-radius);
|
2022-03-07 13:11:28 +01:00
|
|
|
display: flex;
|
2020-10-20 23:52:44 +02:00
|
|
|
flex-direction: row;
|
2020-10-19 23:32:28 +02:00
|
|
|
width: 100%;
|
2020-03-26 22:47:07 +01:00
|
|
|
|
2022-03-07 07:56:56 +01:00
|
|
|
.ad__container {
|
2021-07-23 04:56:32 +02:00
|
|
|
aspect-ratio: 16 / 9;
|
2022-03-07 13:11:28 +01:00
|
|
|
$minWidth: calc(var(--file-list-thumbnail-width) * 0.8);
|
|
|
|
min-width: $minWidth;
|
|
|
|
|
|
|
|
video {
|
|
|
|
width: 100% !important;
|
|
|
|
height: 100% !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
$width: calc(var(--file-list-thumbnail-width) * 0.8);
|
|
|
|
width: $width;
|
|
|
|
|
|
|
|
#aniBox,
|
|
|
|
#av-container {
|
|
|
|
// Only needed on actual mobile. Their mobile script does something
|
|
|
|
// different that makes it 100%, so have to counter that here.
|
|
|
|
width: unset !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: $breakpoint-small) and (max-width: $breakpoint-large) {
|
|
|
|
$width: calc(var(--file-list-thumbnail-width) * 1.2);
|
|
|
|
width: $width;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: $breakpoint-large) {
|
|
|
|
$width: calc(var(--file-list-thumbnail-width) * 1.2);
|
|
|
|
width: $width;
|
|
|
|
}
|
|
|
|
|
|
|
|
//div[style*='position: fixed; transform: scale(1);'] {
|
|
|
|
// // This is the floating ad (when tile goes off screen).
|
|
|
|
// // The sidebar is covering it, so move to the right a bit:
|
|
|
|
// left: unset !important;
|
|
|
|
//
|
|
|
|
// // It's a bit jarring at times on a busy page, so add border:
|
|
|
|
// background-color: var(--color-ads-background);
|
|
|
|
// border-radius: var(--border-radius);
|
|
|
|
// padding: var(--spacing-s);
|
|
|
|
//}
|
|
|
|
|
|
|
|
div[style*='position: fixed; transform: scale(1);'] {
|
|
|
|
// [Floating ad]
|
|
|
|
// Hide it in entirely. Couldn't reconcile with the changes needed to make
|
|
|
|
// tile layout fit on browser-resize and also with their mobile script
|
|
|
|
// changes. Else, the block above can be used.
|
|
|
|
transform: none !important;
|
|
|
|
transform-origin: unset !important;
|
|
|
|
position: unset !important;
|
|
|
|
|
|
|
|
div:first-child {
|
|
|
|
// [Floating ad close button]
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
2021-07-23 04:56:32 +02:00
|
|
|
|
2022-03-07 13:11:28 +01:00
|
|
|
#aniBox,
|
|
|
|
#av-container {
|
|
|
|
// Handle the scenario of ads not resizing when switching from small to
|
|
|
|
// medium/large layout:
|
|
|
|
height: unset !important;
|
|
|
|
aspect-ratio: 16 / 9 !important;
|
|
|
|
}
|
2020-03-26 22:47:07 +01:00
|
|
|
}
|
2022-03-07 13:11:28 +01:00
|
|
|
}
|
2020-03-26 22:47:07 +01:00
|
|
|
|
2022-03-07 13:11:28 +01:00
|
|
|
.ads__claim-item--tile {
|
|
|
|
@extend .card;
|
|
|
|
@extend .claim-preview--tile;
|
|
|
|
flex-direction: column;
|
|
|
|
padding: var(--spacing-s);
|
|
|
|
|
|
|
|
.ads__claim-text {
|
|
|
|
margin: var(--spacing-s) 0 0 0;
|
|
|
|
display: flex;
|
2020-03-30 14:57:15 +02:00
|
|
|
flex-direction: column;
|
2022-03-07 13:11:28 +01:00
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ad__container {
|
|
|
|
width: 100% !important;
|
|
|
|
max-width: 100 !important;
|
|
|
|
min-width: unset !important;
|
|
|
|
box-sizing: border-box !important;
|
|
|
|
|
|
|
|
div:not(#sound):not(.off):not(#timeline) {
|
|
|
|
width: 100% !important;
|
|
|
|
max-width: unset !important;
|
|
|
|
min-width: unset !important;
|
|
|
|
box-sizing: border-box !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
video {
|
|
|
|
width: 100% !important;
|
|
|
|
height: 100% !important;
|
|
|
|
}
|
2020-03-30 14:57:15 +02:00
|
|
|
|
2022-03-07 13:11:28 +01:00
|
|
|
#timeline,
|
|
|
|
#buttons {
|
|
|
|
width: calc(100% - (var(--spacing-s) * 2)) !important;
|
2020-03-30 14:57:15 +02:00
|
|
|
}
|
2020-03-26 22:47:07 +01:00
|
|
|
}
|
2022-03-07 13:11:28 +01:00
|
|
|
|
|
|
|
p {
|
|
|
|
width: calc(100% - (var(--spacing-m) * 3)) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ads__claim-text {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ads__claim-item--recommended {
|
|
|
|
padding: var(--spacing-s);
|
|
|
|
|
|
|
|
@media (min-width: $breakpoint-medium) {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2020-03-26 22:47:07 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.ads__claim-text {
|
2022-03-07 13:11:28 +01:00
|
|
|
overflow: hidden;
|
|
|
|
max-width: 50%;
|
|
|
|
margin: var(--spacing-m) 0 var(--spacing-m) var(--spacing-s);
|
2020-03-26 22:47:07 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ads__claim-text--small {
|
|
|
|
font-size: var(--font-small);
|
2022-03-07 13:11:28 +01:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
font-size: var(--font-xsmall);
|
|
|
|
}
|
2020-03-26 22:47:07 +01:00
|
|
|
}
|
2021-04-12 18:43:47 +02:00
|
|
|
|
|
|
|
// Pre-roll ads
|
|
|
|
.ads__video-nudge,
|
|
|
|
.ads__video-notify {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ads__video-nudge {
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
background-color: var(--color-primary);
|
|
|
|
color: var(--color-white);
|
|
|
|
font-weight: bold;
|
|
|
|
padding: var(--spacing-xs);
|
|
|
|
}
|
|
|
|
|
|
|
|
.ads__video-notify {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
background-color: black;
|
|
|
|
border-bottom-left-radius: var(--border-radius);
|
|
|
|
color: var(--color-white);
|
|
|
|
font-size: var(--font-small);
|
|
|
|
padding: var(--spacing-xs);
|
|
|
|
}
|
|
|
|
|
|
|
|
.ads__video-link.button--secondary {
|
|
|
|
font-size: var(--font-small);
|
|
|
|
padding: var(--spacing-xs);
|
|
|
|
height: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ads__video-close {
|
|
|
|
margin-left: var(--spacing-s);
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
stroke: var(--color-white);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
stroke: var(--color-black);
|
|
|
|
background-color: var(--color-white);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-07-08 03:37:34 +02:00
|
|
|
|
|
|
|
.exp-ui__logo {
|
|
|
|
display: none;
|
|
|
|
}
|