2018-12-19 00:44:53 -05:00
|
|
|
// M E D I A
|
2019-02-14 21:52:10 -04:00
|
|
|
// T H U M B
|
2018-12-19 00:44:53 -05:00
|
|
|
|
2019-02-14 21:52:10 -04:00
|
|
|
.media__thumb {
|
|
|
|
@include thumbnail;
|
2020-01-29 11:38:46 -05:00
|
|
|
position: relative;
|
2019-05-07 21:29:30 -04:00
|
|
|
border-radius: var(--card-radius);
|
2019-07-21 17:31:22 -04:00
|
|
|
object-fit: cover;
|
2019-12-09 12:25:13 -05:00
|
|
|
background-color: var(--color-placeholder-background);
|
|
|
|
background-position: center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: cover;
|
2018-12-19 00:44:53 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// M E D I A
|
2019-02-14 21:52:10 -04:00
|
|
|
// T I T L E
|
2018-12-19 00:44:53 -05:00
|
|
|
|
2019-03-28 12:53:13 -04:00
|
|
|
.media__uri {
|
2019-11-22 16:13:00 -05:00
|
|
|
position: absolute;
|
|
|
|
transform: translateY(-130%);
|
|
|
|
font-size: var(--font-xsmall);
|
|
|
|
color: var(--color-text-subtitle);
|
2019-12-18 00:27:08 -05:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
position: static;
|
|
|
|
transform: none;
|
2020-04-01 16:42:56 -04:00
|
|
|
margin-bottom: var(--spacing-xsmall);
|
2019-12-18 00:27:08 -05:00
|
|
|
}
|
2020-02-12 14:10:35 -05:00
|
|
|
|
|
|
|
// This is terrible and should not be removed
|
|
|
|
.icon {
|
|
|
|
margin-right: var(--spacing-xsmall) / 2;
|
|
|
|
margin-bottom: -0.08rem;
|
|
|
|
}
|
2019-11-22 16:13:00 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.media__uri--inline {
|
|
|
|
@extend .media__uri;
|
|
|
|
position: relative;
|
|
|
|
transform: none;
|
2020-01-28 20:31:13 -06:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2019-03-28 12:53:13 -04:00
|
|
|
}
|
|
|
|
|
2020-02-11 14:04:51 -05:00
|
|
|
.media__uri--right {
|
|
|
|
@extend .media__uri;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
2019-01-11 11:34:36 -05:00
|
|
|
// M E D I A
|
|
|
|
// S U B T I T L E
|
|
|
|
|
|
|
|
.media__subtitle {
|
2019-06-27 16:27:38 -04:00
|
|
|
align-self: flex-start;
|
2019-11-22 16:13:00 -05:00
|
|
|
color: var(--color-text-subtitle);
|
2020-01-08 14:20:30 -05:00
|
|
|
font-size: var(--font-small);
|
2019-02-18 12:24:56 -05:00
|
|
|
|
2019-11-22 16:13:00 -05:00
|
|
|
svg {
|
|
|
|
stroke: var(--color-text-subtitle);
|
2019-02-18 12:24:56 -05:00
|
|
|
}
|
2019-01-11 11:34:36 -05:00
|
|
|
}
|
|
|
|
|
2019-11-22 16:13:00 -05:00
|
|
|
.media__subtitle--between {
|
|
|
|
@extend .media__subtitle;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2020-04-01 14:43:50 -04:00
|
|
|
align-items: center;
|
|
|
|
margin-bottom: var(--spacing-small);
|
2019-01-11 11:34:36 -05:00
|
|
|
}
|
|
|
|
|
2018-12-19 00:44:53 -05:00
|
|
|
.media__info-text {
|
2019-05-29 19:32:06 -06:00
|
|
|
word-break: break-word;
|
2018-12-19 00:44:53 -05:00
|
|
|
|
|
|
|
&:not(:last-of-type) {
|
2019-11-22 16:13:00 -05:00
|
|
|
margin-bottom: var(--spacing-medium);
|
2018-12-19 00:44:53 -05:00
|
|
|
}
|
2019-01-07 18:29:40 -05:00
|
|
|
|
2019-11-22 16:13:00 -05:00
|
|
|
&.media__info-text--constrained {
|
2019-05-30 10:57:58 -06:00
|
|
|
max-width: 50rem;
|
2019-05-29 19:32:06 -06:00
|
|
|
}
|
2018-12-19 00:44:53 -05:00
|
|
|
}
|
|
|
|
|
2019-11-22 16:13:00 -05:00
|
|
|
.media__actions {
|
|
|
|
display: flex;
|
2020-02-10 15:49:43 -05:00
|
|
|
flex-wrap: wrap;
|
2019-11-22 16:13:00 -05:00
|
|
|
justify-content: space-between;
|
|
|
|
margin-top: 0;
|
2020-01-06 13:32:35 -05:00
|
|
|
|
2020-04-01 14:43:50 -04:00
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
justify-content: flex-start;
|
|
|
|
padding-top: var(--spacing-small);
|
|
|
|
|
|
|
|
> * {
|
|
|
|
margin-right: var(--spacing-small);
|
|
|
|
margin-bottom: var(--spacing-small);
|
|
|
|
}
|
|
|
|
}
|
2020-01-06 13:32:35 -05:00
|
|
|
}
|