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;
|
2022-05-18 13:16:35 +02:00
|
|
|
background-color: #283263;
|
2022-05-20 15:07:32 +02:00
|
|
|
background-image: url('~ui/component/membershipSplash/astronaut_n_friends.png');
|
2022-05-18 13:16:35 +02:00
|
|
|
background-size: 100%;
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
box-shadow: 0 0 0 1px rgba(var(--color-primary-dynamic), 0.1) inset;
|
2022-03-07 13:11:28 +01:00
|
|
|
|
|
|
|
video {
|
|
|
|
width: 100% !important;
|
|
|
|
height: 100% !important;
|
2022-05-18 13:16:35 +02:00
|
|
|
border-radius: var(--border-radius) !important;
|
|
|
|
border: 1px solid rgba(var(--color-primary-dynamic), 0.1);
|
2022-03-07 13:11:28 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
$width: calc(var(--file-list-thumbnail-width) * 0.8);
|
|
|
|
width: $width;
|
|
|
|
}
|
|
|
|
|
|
|
|
@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;
|
|
|
|
}
|
|
|
|
|
2022-05-11 16:21:48 +02:00
|
|
|
div[style*='transform-origin: left bottom'],
|
|
|
|
div[style*='transform-origin: right bottom'] {
|
2022-03-07 13:11:28 +01:00
|
|
|
// [Floating ad]
|
2022-03-09 10:53:58 +01:00
|
|
|
// Hide for now since can't get it to work in a consistent manner between:
|
|
|
|
// - EU and non-EU version
|
|
|
|
// - issues in Firefox
|
2022-05-11 16:21:48 +02:00
|
|
|
// - floater not taking browser zoom levels into account (close button off screen).
|
|
|
|
// - many more...
|
2022-03-09 10:53:58 +01:00
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#aniBox {
|
|
|
|
transition: unset !important;
|
2022-03-07 13:11:28 +01:00
|
|
|
}
|
2021-07-23 04:56:32 +02:00
|
|
|
|
2022-03-10 13:07:35 +01:00
|
|
|
#aniBox[style*='height: 1px'] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2022-03-07 13:11:28 +01:00
|
|
|
#aniBox,
|
|
|
|
#av-container {
|
2022-03-09 10:53:58 +01:00
|
|
|
width: 100% !important;
|
2022-03-07 13:11:28 +01:00
|
|
|
height: unset !important;
|
|
|
|
aspect-ratio: 16 / 9 !important;
|
2022-03-08 16:20:16 +01:00
|
|
|
border-radius: var(--border-radius);
|
2022-03-07 13:11:28 +01:00
|
|
|
}
|
2022-03-09 10:53:58 +01:00
|
|
|
|
|
|
|
.avp-p-wrapper > div {
|
|
|
|
border-radius: var(--border-radius) !important; // Needed for EU only
|
|
|
|
}
|
2022-05-11 10:26:27 +02:00
|
|
|
|
|
|
|
#av-container #av-inner #gui #close-btn {
|
|
|
|
// The current version started displaying the close button on video ads.
|
|
|
|
// It closes the video but leaves the container behind. Since there will
|
|
|
|
// be changes in the near future which the end result won't have this
|
|
|
|
// issue, just hide it for now.
|
|
|
|
display: none !important;
|
|
|
|
}
|
2020-03-26 22:47:07 +01:00
|
|
|
}
|
2022-05-18 13:16:35 +02:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.ad__container {
|
|
|
|
box-shadow: 0 0 0 1px rgba(var(--color-primary-dynamic), 1) inset;
|
|
|
|
}
|
|
|
|
video {
|
|
|
|
border: 1px solid rgba(var(--color-primary-dynamic), 1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.claim-list {
|
|
|
|
.ads__claim-item--tile {
|
|
|
|
background-color: var(--color-ads-background);
|
|
|
|
margin-left: unset;
|
|
|
|
margin-bottom: var(--spacing-xxs);
|
|
|
|
width: 100%;
|
|
|
|
padding: var(--spacing-m);
|
|
|
|
flex: 1;
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
|
|
.ad__container {
|
|
|
|
width: calc(var(--file-list-thumbnail-width) * 1.2);
|
|
|
|
// margin-left: var(--spacing-s);
|
|
|
|
margin-right: var(--spacing-s);
|
|
|
|
}
|
|
|
|
}
|
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;
|
2022-03-08 16:20:16 +01:00
|
|
|
|
|
|
|
padding: 0;
|
|
|
|
background-color: unset;
|
|
|
|
border-bottom: unset;
|
2022-03-07 13:11:28 +01:00
|
|
|
|
|
|
|
.ads__claim-text {
|
2022-05-18 13:16:35 +02:00
|
|
|
margin: var(--spacing-xs) 0 0 0;
|
2022-03-07 13:11:28 +01:00
|
|
|
display: flex;
|
2020-03-30 14:57:15 +02:00
|
|
|
flex-direction: column;
|
2022-03-07 13:11:28 +01:00
|
|
|
justify-content: center;
|
2022-05-18 13:16:35 +02:00
|
|
|
|
|
|
|
.ads__title {
|
|
|
|
color: var(--color-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
.ads__subtitle {
|
|
|
|
margin-top: var(--spacing-s);
|
|
|
|
color: rgba(var(--color-text-base), 0.6);
|
|
|
|
font-weight: var(--font-weight-bold);
|
|
|
|
line-height: 1rem;
|
|
|
|
font-size: var(--font-xsmall);
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
color: var(--color-text);
|
|
|
|
width: 2.1rem;
|
|
|
|
height: 2.1rem;
|
|
|
|
float: left;
|
|
|
|
margin-right: var(--spacing-s);
|
|
|
|
}
|
|
|
|
}
|
2022-03-07 13:11:28 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.ad__container {
|
2022-03-09 10:53:58 +01:00
|
|
|
width: 100%;
|
2022-03-07 13:11:28 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.ads__claim-text {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2022-05-18 13:16:35 +02:00
|
|
|
|
|
|
|
#close-btn {
|
|
|
|
left: unset !important;
|
|
|
|
right: 0 !important;
|
|
|
|
border: none !important;
|
|
|
|
border-radius: 0 var(--border-radius) 0 var(--border-radius) !important;
|
|
|
|
background-color: var(--color-primary) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.visible {
|
|
|
|
display: none !important;
|
|
|
|
position: absolute !important;
|
|
|
|
top: 0px !important;
|
|
|
|
z-index: 99 !important;
|
|
|
|
width: 3rem !important;
|
|
|
|
height: 3rem !important;
|
|
|
|
background-color: var(--color-primary) !important;
|
|
|
|
border-radius: 0 var(--border-radius) 0 var(--border-radius) !important;
|
|
|
|
background-size: 60% !important;
|
|
|
|
}
|
2022-03-07 13:11:28 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.ads__claim-item--recommended {
|
2022-05-18 13:16:35 +02:00
|
|
|
// padding: var(--spacing-s);
|
|
|
|
padding: 0;
|
|
|
|
margin-top: var(--spacing-m);
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
border-bottom: unset;
|
|
|
|
|
|
|
|
.ad__container {
|
|
|
|
// width:100%;
|
|
|
|
width: var(--file-list-thumbnail-width);
|
|
|
|
}
|
|
|
|
|
|
|
|
.ads__claim-text {
|
|
|
|
margin: 0;
|
|
|
|
padding-left: var(--spacing-s);
|
|
|
|
|
|
|
|
.ads__title {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
display: none;
|
|
|
|
}
|
2022-03-07 13:11:28 +01:00
|
|
|
|
|
|
|
@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;
|
2022-03-09 10:53:58 +01:00
|
|
|
color: var(--color-text-subtitle);
|
2020-03-26 22:47:07 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
2022-03-18 01:58:06 +01:00
|
|
|
|
|
|
|
// ****************************************************************************
|
|
|
|
// Outbrain
|
|
|
|
// ****************************************************************************
|
|
|
|
|
2022-05-18 13:16:35 +02:00
|
|
|
.OUTBRAIN {
|
|
|
|
border-radius: var(--border-radius) 0 0 0 !important;
|
|
|
|
height: unset !important;
|
|
|
|
|
|
|
|
.ob-widget .ob-unit.ob-rec-text {
|
|
|
|
font-size: 12px !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.closeButton {
|
|
|
|
background-color: var(--color-primary) !important;
|
|
|
|
color: var(--color-primary-contrast) !important;
|
|
|
|
border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
|
|
|
|
top: -27px !important;
|
|
|
|
width: 2rem !important;
|
|
|
|
padding-top: 3px;
|
|
|
|
// padding-bottom:4px !important;
|
|
|
|
height: 27px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ob-widget-footer {
|
|
|
|
position: absolute !important;
|
|
|
|
right: 32px;
|
|
|
|
top: -27px;
|
|
|
|
|
|
|
|
background: black;
|
|
|
|
border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
|
|
|
|
padding-left: 4px;
|
|
|
|
padding-right: 6px;
|
|
|
|
padding-top: 3px;
|
|
|
|
padding-bottom: 0px;
|
|
|
|
|
|
|
|
.ob_what_resp {
|
|
|
|
padding: unset !important;
|
|
|
|
}
|
2022-05-18 16:26:10 +02:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
display: none !important;
|
|
|
|
}
|
2022-05-18 13:16:35 +02:00
|
|
|
}
|
|
|
|
|
2022-03-18 01:58:06 +01:00
|
|
|
.ob-widget-items-container {
|
|
|
|
padding-left: var(--spacing-xs);
|
|
|
|
padding-right: var(--spacing-xs);
|
2022-05-18 13:16:35 +02:00
|
|
|
border-radius: var(--border-radius) 0 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// ****************************************************************************
|
|
|
|
// Neko Patch
|
|
|
|
// ****************************************************************************
|
|
|
|
|
|
|
|
.ad__container {
|
|
|
|
div {
|
|
|
|
max-width: unset !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#av-container #av-inner #gui::before {
|
|
|
|
background: unset !important;
|
|
|
|
#timeline #timeline-progress {
|
|
|
|
background: var(--color-primary) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#av-container #av-inner #gui #timeline #timeline-progress {
|
|
|
|
background: var(--color-primary) !important;
|
2022-03-18 01:58:06 +01:00
|
|
|
}
|