2018-12-19 06:44:53 +01:00
|
|
|
// M E D I A
|
2019-02-15 02:52:10 +01:00
|
|
|
// T H U M B
|
2018-12-19 06:44:53 +01:00
|
|
|
|
2019-02-15 02:52:10 +01:00
|
|
|
.media__thumb {
|
|
|
|
@include thumbnail;
|
2020-01-29 17:38:46 +01:00
|
|
|
position: relative;
|
2019-05-08 03:29:30 +02:00
|
|
|
border-radius: var(--card-radius);
|
2019-07-21 23:31:22 +02:00
|
|
|
object-fit: cover;
|
2019-12-09 18:25:13 +01:00
|
|
|
background-color: var(--color-placeholder-background);
|
|
|
|
background-position: center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: cover;
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// M E D I A
|
2019-02-15 02:52:10 +01:00
|
|
|
// T I T L E
|
2018-12-19 06:44:53 +01:00
|
|
|
|
2019-02-15 02:52:10 +01:00
|
|
|
.media__title {
|
2019-11-22 22:13:00 +01:00
|
|
|
margin-bottom: var(--spacing-medium);
|
|
|
|
}
|
|
|
|
|
|
|
|
.media__title-text {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2019-11-07 20:39:22 +01:00
|
|
|
font-weight: var(--font-weight-bold);
|
2019-02-15 02:52:10 +01:00
|
|
|
white-space: normal;
|
2020-01-16 19:36:50 +01:00
|
|
|
font-size: var(--font-title);
|
2019-11-22 22:13:00 +01:00
|
|
|
display: inline;
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
|
2019-12-09 18:25:13 +01:00
|
|
|
.media__title-badge {
|
2019-11-22 22:13:00 +01:00
|
|
|
float: right;
|
|
|
|
margin-left: var(--spacing-small);
|
|
|
|
margin-top: 5px;
|
2019-01-08 21:55:55 +01:00
|
|
|
}
|
|
|
|
|
2019-03-28 17:53:13 +01:00
|
|
|
.media__uri {
|
2019-11-22 22:13:00 +01:00
|
|
|
position: absolute;
|
|
|
|
transform: translateY(-130%);
|
|
|
|
font-size: var(--font-xsmall);
|
|
|
|
color: var(--color-text-subtitle);
|
2019-12-18 06:27:08 +01:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
position: static;
|
|
|
|
transform: none;
|
|
|
|
}
|
2019-11-22 22:13:00 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.media__uri--inline {
|
|
|
|
@extend .media__uri;
|
|
|
|
position: relative;
|
|
|
|
transform: none;
|
2020-01-29 03:31:13 +01:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2019-03-28 17:53:13 +01:00
|
|
|
}
|
|
|
|
|
2020-02-11 20:04:51 +01:00
|
|
|
.media__uri--right {
|
|
|
|
@extend .media__uri;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
2019-07-21 23:31:22 +02:00
|
|
|
.media__uri--large {
|
|
|
|
margin-bottom: var(--spacing-medium);
|
|
|
|
}
|
|
|
|
|
2019-04-03 06:17:00 +02:00
|
|
|
.media__insufficient-credits {
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
2019-01-11 17:34:36 +01:00
|
|
|
// M E D I A
|
|
|
|
// S U B T I T L E
|
|
|
|
|
|
|
|
.media__subtitle {
|
2019-06-27 22:27:38 +02:00
|
|
|
align-self: flex-start;
|
2019-11-22 22:13:00 +01:00
|
|
|
color: var(--color-text-subtitle);
|
2020-01-08 20:20:30 +01:00
|
|
|
font-size: var(--font-small);
|
2019-02-18 18:24:56 +01:00
|
|
|
|
2019-11-22 22:13:00 +01:00
|
|
|
svg {
|
|
|
|
stroke: var(--color-text-subtitle);
|
2019-02-18 18:24:56 +01:00
|
|
|
}
|
2019-01-11 17:34:36 +01:00
|
|
|
}
|
|
|
|
|
2019-11-22 22:13:00 +01:00
|
|
|
.media__subtitle--between {
|
|
|
|
@extend .media__subtitle;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
2019-01-11 17:34:36 +01:00
|
|
|
.media__subtitle--large {
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
> button {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.media__subtitle__channel {
|
2019-11-07 20:39:22 +01:00
|
|
|
font-weight: var(--font-weight-bold);
|
2019-06-27 08:18:45 +02:00
|
|
|
margin: var(--spacing-small) 0;
|
2019-01-11 17:34:36 +01:00
|
|
|
}
|
|
|
|
|
2018-12-19 06:44:53 +01:00
|
|
|
.media__info-text {
|
2019-05-30 03:32:06 +02:00
|
|
|
word-break: break-word;
|
2018-12-19 06:44:53 +01:00
|
|
|
|
|
|
|
&:not(:last-of-type) {
|
2019-11-22 22:13:00 +01:00
|
|
|
margin-bottom: var(--spacing-medium);
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
2019-01-08 00:29:40 +01:00
|
|
|
|
2019-11-22 22:13:00 +01:00
|
|
|
&.media__info-text--constrained {
|
2019-05-30 18:57:58 +02:00
|
|
|
max-width: 50rem;
|
2019-05-30 03:32:06 +02:00
|
|
|
}
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
|
2019-11-22 22:13:00 +01:00
|
|
|
.media__actions {
|
|
|
|
@extend .section__actions;
|
|
|
|
display: flex;
|
2020-02-10 21:49:43 +01:00
|
|
|
flex-wrap: wrap;
|
2019-11-22 22:13:00 +01:00
|
|
|
justify-content: space-between;
|
|
|
|
margin-top: 0;
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
2020-01-06 19:32:35 +01:00
|
|
|
|
|
|
|
.media__document-thumbnail {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|