2018-12-19 06:44:53 +01:00
|
|
|
// M E D I A
|
2019-02-15 02:52:10 +01:00
|
|
|
// C A R D
|
|
|
|
.media-card {
|
|
|
|
font-size: 1.2rem;
|
2018-12-19 06:44:53 +01:00
|
|
|
|
2019-02-15 02:52:10 +01:00
|
|
|
.media__title {
|
|
|
|
margin-bottom: var(--spacing-vertical-small);
|
|
|
|
}
|
2019-02-20 06:20:29 +01:00
|
|
|
|
|
|
|
.media__properties {
|
|
|
|
height: 1em;
|
|
|
|
}
|
2019-04-02 05:25:26 +02:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
box-shadow: 0 0 50px rgba($lbry-black, 0.08);
|
|
|
|
background-color: rgba($lbry-black, 0.04);
|
|
|
|
|
|
|
|
html[data-mode='dark'] & {
|
|
|
|
box-shadow: 0 0 50px rgba($lbry-white, 0.07);
|
|
|
|
background-color: rgba($lbry-white, 0.03);
|
|
|
|
}
|
|
|
|
}
|
2019-02-15 02:52:10 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// M E D I A
|
|
|
|
// T I L E
|
|
|
|
|
|
|
|
.media-tile {
|
2018-12-19 06:44:53 +01:00
|
|
|
display: flex;
|
|
|
|
font-size: 1.5rem;
|
2019-02-18 18:24:56 +01:00
|
|
|
position: relative;
|
2018-12-19 06:44:53 +01:00
|
|
|
|
2019-02-15 02:52:10 +01:00
|
|
|
&:not(:last-of-type) {
|
|
|
|
margin-bottom: var(--spacing-vertical-large);
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.media__thumb {
|
2019-04-19 18:19:55 +02:00
|
|
|
flex-shrink: 0;
|
2019-02-15 02:52:10 +01:00
|
|
|
width: 20rem;
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
|
2019-02-15 02:52:10 +01:00
|
|
|
.media__info {
|
|
|
|
margin-left: var(--spacing-vertical-medium);
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-15 02:52:10 +01:00
|
|
|
.media-tile--large {
|
|
|
|
font-size: 2rem;
|
2018-12-19 06:44:53 +01:00
|
|
|
|
2019-02-15 02:52:10 +01:00
|
|
|
.media__thumb {
|
2019-04-19 18:19:55 +02:00
|
|
|
width: 25rem;
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
|
2019-02-15 02:52:10 +01:00
|
|
|
.media__info {
|
|
|
|
margin-left: var(--spacing-vertical-large);
|
|
|
|
}
|
2018-12-19 06:44:53 +01:00
|
|
|
|
2019-02-15 02:52:10 +01:00
|
|
|
.media__subtext {
|
|
|
|
font-size: 0.7em;
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
2019-02-15 02:52:10 +01:00
|
|
|
}
|
2018-12-19 06:44:53 +01:00
|
|
|
|
2019-02-15 02:52:10 +01:00
|
|
|
.media-tile--small {
|
|
|
|
font-size: 1.2rem;
|
2018-12-19 06:44:53 +01:00
|
|
|
|
2019-02-15 02:52:10 +01:00
|
|
|
&:not(:last-of-type) {
|
|
|
|
margin-bottom: var(--spacing-vertical-medium);
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
|
2019-02-15 02:52:10 +01:00
|
|
|
.media__thumb {
|
2019-02-18 18:24:56 +01:00
|
|
|
width: 11em;
|
2019-02-15 02:52:10 +01:00
|
|
|
}
|
|
|
|
|
2018-12-19 06:44:53 +01:00
|
|
|
.media__title {
|
2019-02-15 02:52:10 +01:00
|
|
|
margin-bottom: var(--spacing-vertical-small);
|
|
|
|
}
|
|
|
|
|
2019-02-18 18:24:56 +01:00
|
|
|
.media__subtext:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2019-02-15 02:52:10 +01:00
|
|
|
.media__properties {
|
2019-02-18 18:24:56 +01:00
|
|
|
bottom: 0.5rem;
|
|
|
|
left: calc(-100% - -2rem);
|
2019-02-15 02:52:10 +01:00
|
|
|
position: absolute;
|
|
|
|
padding: 0 var(--spacing-vertical-small);
|
|
|
|
border-radius: 5px;
|
|
|
|
background-color: $lbry-white;
|
|
|
|
color: $lbry-black;
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-08 20:40:24 +01:00
|
|
|
// M E D I A
|
|
|
|
// P E N D I N G
|
|
|
|
|
|
|
|
.media--pending {
|
|
|
|
opacity: 0.5;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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;
|
2018-12-19 06:44:53 +01:00
|
|
|
|
2019-02-15 02:52:10 +01:00
|
|
|
&:not(.media__thumb--nsfw) {
|
|
|
|
background-color: $lbry-gray-2;
|
|
|
|
background-position: center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: cover;
|
2018-12-19 06:44:53 +01:00
|
|
|
|
2019-02-15 02:52:10 +01:00
|
|
|
html[data-mode='dark'] & {
|
|
|
|
background-color: rgba($lbry-white, 0.1);
|
|
|
|
}
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
2019-02-15 02:52:10 +01:00
|
|
|
}
|
2018-12-19 06:44:53 +01:00
|
|
|
|
2019-02-15 02:52:10 +01:00
|
|
|
.media__thumb--nsfw {
|
|
|
|
background-color: $lbry-grape-5;
|
|
|
|
background-image: linear-gradient(to bottom right, $lbry-teal-3, $lbry-grape-5 100%);
|
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 {
|
|
|
|
font-weight: 600;
|
|
|
|
white-space: normal;
|
|
|
|
font-size: 1em;
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
|
2019-02-15 02:52:10 +01:00
|
|
|
.media__title--large {
|
|
|
|
cursor: default;
|
|
|
|
display: inline;
|
|
|
|
font-size: 2rem;
|
|
|
|
line-height: 1.33;
|
2019-03-19 16:59:16 +01:00
|
|
|
margin-right: var(--spacing-vertical-small);
|
2019-01-08 21:55:55 +01:00
|
|
|
}
|
|
|
|
|
2019-03-28 17:53:13 +01:00
|
|
|
.media__uri {
|
2019-03-29 15:23:32 +01:00
|
|
|
font-size: 1.1rem;
|
2019-03-28 17:53:13 +01:00
|
|
|
padding-bottom: 5px;
|
|
|
|
opacity: 0.6;
|
2019-04-19 20:02:46 +02:00
|
|
|
user-select: all;
|
2019-03-28 17:53:13 +01:00
|
|
|
}
|
|
|
|
|
2019-04-03 06:17:00 +02:00
|
|
|
.media__insufficient-credits {
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
2018-12-19 06:44:53 +01:00
|
|
|
// M E D I A
|
|
|
|
// A C T I O N S
|
|
|
|
|
|
|
|
.media__actions {
|
|
|
|
display: flex;
|
2019-01-08 00:29:40 +01:00
|
|
|
flex-wrap: wrap;
|
2019-02-21 23:45:17 +01:00
|
|
|
margin-top: var(--spacing-vertical-small);
|
|
|
|
margin-bottom: var(--spacing-vertical-small);
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.media__actions--between {
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media__action-group {
|
|
|
|
> *:not(:last-child) {
|
2019-02-18 18:24:56 +01:00
|
|
|
margin-right: var(--spacing-vertical-medium);
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.media__action-group--large {
|
|
|
|
display: flex;
|
2019-05-01 07:16:12 +02:00
|
|
|
align-items: flex-end;
|
2019-02-21 23:45:17 +01:00
|
|
|
margin-top: var(--spacing-vertical-small);
|
|
|
|
margin-bottom: var(--spacing-vertical-small);
|
2018-12-19 06:44:53 +01:00
|
|
|
|
|
|
|
> * {
|
|
|
|
font-size: 1.15rem;
|
|
|
|
|
|
|
|
&:not(:last-child) {
|
|
|
|
margin-right: var(--spacing-vertical-large);
|
|
|
|
}
|
|
|
|
}
|
2019-02-21 23:45:17 +01:00
|
|
|
|
|
|
|
&:not(:last-child) {
|
|
|
|
margin-right: var(--spacing-vertical-large);
|
|
|
|
}
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// M E D I A
|
|
|
|
// C O N T E N T
|
|
|
|
|
|
|
|
.media__content--large {
|
|
|
|
padding-right: var(--spacing-vertical-large);
|
|
|
|
}
|
|
|
|
|
2019-01-11 17:34:36 +01:00
|
|
|
// M E D I A
|
|
|
|
// S U B T E X T
|
|
|
|
//
|
|
|
|
// Wrapper around low level media information (date, channel)
|
|
|
|
//
|
|
|
|
.media__subtext {
|
|
|
|
color: rgba($lbry-black, 0.8);
|
2019-02-15 02:52:10 +01:00
|
|
|
font-size: 0.9em;
|
|
|
|
|
|
|
|
&:not(:last-child) {
|
|
|
|
margin-bottom: var(--spacing-vertical-medium);
|
|
|
|
}
|
2019-01-11 17:34:36 +01:00
|
|
|
|
2019-02-13 17:27:20 +01:00
|
|
|
html[data-mode='dark'] & {
|
2019-01-11 17:34:36 +01:00
|
|
|
color: rgba($lbry-white, 0.7);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-15 02:52:10 +01:00
|
|
|
.media__subtext--large {
|
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
|
|
|
|
2019-01-11 17:34:36 +01:00
|
|
|
// M E D I A
|
|
|
|
// S U B T I T L E
|
|
|
|
|
|
|
|
.media__subtitle {
|
2019-02-15 02:52:10 +01:00
|
|
|
font-size: 0.8em;
|
2019-02-18 18:24:56 +01:00
|
|
|
color: rgba($lbry-black, 0.8);
|
|
|
|
|
|
|
|
[data-mode='dark'] & {
|
|
|
|
color: rgba($lbry-white, 0.8);
|
|
|
|
}
|
2019-01-11 17:34:36 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.media__subtitle--large {
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
> button {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.media__subtitle__channel {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
2018-12-19 06:44:53 +01:00
|
|
|
// M E D I A
|
|
|
|
// I N F O
|
|
|
|
|
|
|
|
.media__info {
|
|
|
|
word-wrap: break-word;
|
|
|
|
|
2019-02-13 17:27:20 +01:00
|
|
|
html[data-mode='dark'] & {
|
2018-12-19 06:44:53 +01:00
|
|
|
border-color: rgba($lbry-gray-5, 0.2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.media__info--large {
|
|
|
|
border-top: 1px solid $lbry-gray-1;
|
|
|
|
padding-top: var(--spacing-vertical-medium);
|
|
|
|
|
2019-02-13 17:27:20 +01:00
|
|
|
html[data-mode='dark'] & {
|
2018-12-19 06:44:53 +01:00
|
|
|
border-color: rgba($lbry-gray-5, 0.2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.media__info-text {
|
|
|
|
font-size: 1.15rem;
|
|
|
|
|
|
|
|
&:not(:last-of-type) {
|
|
|
|
margin-bottom: var(--spacing-vertical-large);
|
|
|
|
}
|
2019-01-08 00:29:40 +01:00
|
|
|
|
|
|
|
&.media__info-text--center {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.media__info-title {
|
|
|
|
font-size: 1.25rem;
|
|
|
|
font-weight: 500;
|
2019-01-08 00:29:40 +01:00
|
|
|
margin-bottom: var(--spacing-vertical-small);
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// M E D I A
|
|
|
|
// M E S S A G E
|
|
|
|
|
|
|
|
.media__message {
|
2019-01-11 17:34:36 +01:00
|
|
|
font-size: 1.1rem;
|
2018-12-19 06:44:53 +01:00
|
|
|
padding: var(--spacing-vertical-medium);
|
|
|
|
margin: var(--spacing-vertical-medium) var(--spacing-vertical-large);
|
2019-02-13 17:27:20 +01:00
|
|
|
white-space: normal;
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// M E D I A
|
|
|
|
// P R O P E R T I E S
|
|
|
|
|
|
|
|
.media__properties {
|
2019-02-15 02:52:10 +01:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
&:not(:empty) {
|
|
|
|
margin-top: var(--spacing-vertical-small);
|
|
|
|
}
|
2018-12-19 06:44:53 +01:00
|
|
|
|
|
|
|
> *:not(:last-child) {
|
|
|
|
margin-right: var(--spacing-vertical-small);
|
|
|
|
}
|
2019-02-15 02:52:10 +01:00
|
|
|
}
|
2018-12-19 06:44:53 +01:00
|
|
|
|
2019-02-15 02:52:10 +01:00
|
|
|
.media__properties--large {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
2018-12-19 06:44:53 +01:00
|
|
|
|
2019-02-15 02:52:10 +01:00
|
|
|
&:not(:empty) {
|
|
|
|
height: 2.55rem;
|
2019-03-19 16:59:16 +01:00
|
|
|
margin-top: 0px;
|
2018-12-19 06:44:53 +01:00
|
|
|
|
2019-02-15 02:52:10 +01:00
|
|
|
margin-bottom: var(--spacing-vertical-small);
|
|
|
|
padding-top: var(--spacing-vertical-small);
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.badge {
|
|
|
|
align-items: center;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
> *:not(:last-child) {
|
|
|
|
margin-right: var(--spacing-vertical-small);
|
|
|
|
}
|
|
|
|
}
|
2019-01-08 00:29:40 +01:00
|
|
|
}
|
|
|
|
|
2018-12-19 06:44:53 +01:00
|
|
|
// M E D I A
|
|
|
|
// T E X T
|
|
|
|
|
|
|
|
.media__text {
|
|
|
|
font-size: 2.5rem;
|
|
|
|
|
2019-02-13 17:27:20 +01:00
|
|
|
html[data-mode='dark'] & {
|
2018-12-19 06:44:53 +01:00
|
|
|
color: $lbry-white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// M E D I A
|
|
|
|
// G R O U P
|
|
|
|
|
|
|
|
.media-group--list {
|
|
|
|
.card__list {
|
|
|
|
padding-top: var(--spacing-vertical-large);
|
|
|
|
padding-bottom: var(--spacing-vertical-large);
|
|
|
|
|
|
|
|
// Depending on screen width, the amount of items in
|
|
|
|
// each row change and are auto-sized
|
|
|
|
|
|
|
|
@media (min-width: 2001px) {
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(calc(100% / 10), 1fr));
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 1801px) and (max-width: 2000px) {
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(calc(100% / 8), 1fr));
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 1551px) and (max-width: 1800px) {
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(calc(100% / 7), 1fr));
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 1051px) and (max-width: 1550px) {
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(calc(100% / 6), 1fr));
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 901px) and (max-width: 1050px) {
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(calc(100% / 5), 1fr));
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 751px) and (max-width: 900px) {
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(calc(100% / 4), 1fr));
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 750px) {
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(calc(100% / 3), 1fr));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-card {
|
|
|
|
display: inline-block;
|
|
|
|
margin-bottom: var(--spacing-vertical-large);
|
|
|
|
vertical-align: top;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media__thumb {
|
|
|
|
margin-bottom: var(--spacing-vertical-medium);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-group--list-recommended {
|
|
|
|
border-left: 1px solid $lbry-gray-1;
|
|
|
|
min-height: 50vh;
|
|
|
|
overflow: hidden;
|
|
|
|
width: 30rem;
|
2019-01-11 17:34:36 +01:00
|
|
|
padding-left: var(--spacing-vertical-large);
|
2018-12-19 06:44:53 +01:00
|
|
|
|
2019-02-13 17:27:20 +01:00
|
|
|
html[data-mode='dark'] & {
|
2018-12-19 06:44:53 +01:00
|
|
|
border-color: rgba($lbry-gray-5, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
> span {
|
|
|
|
border-bottom: 1px solid $lbry-gray-1;
|
|
|
|
display: block;
|
|
|
|
font-size: 1.25rem;
|
|
|
|
font-weight: 500;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin-bottom: var(--spacing-vertical-large);
|
|
|
|
padding-top: var(--spacing-vertical-small);
|
|
|
|
padding-bottom: var(--spacing-vertical-medium);
|
|
|
|
|
2019-02-13 17:27:20 +01:00
|
|
|
html[data-mode='dark'] & {
|
2018-12-19 06:44:53 +01:00
|
|
|
border-color: rgba($lbry-gray-5, 0.2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-group--row {
|
|
|
|
padding-top: var(--spacing-vertical-large);
|
|
|
|
white-space: nowrap;
|
|
|
|
width: 100%;
|
|
|
|
|
2019-02-13 17:27:20 +01:00
|
|
|
html[data-mode='dark'] & {
|
2018-12-19 06:44:53 +01:00
|
|
|
color: mix($lbry-white, $lbry-gray-3, 50%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-of-type {
|
|
|
|
background-image: linear-gradient(to bottom right, $lbry-black, $lbry-cyan-5 80%);
|
|
|
|
color: $lbry-white;
|
|
|
|
|
2019-02-13 17:27:20 +01:00
|
|
|
html[data-mode='dark'] & {
|
2018-12-19 06:44:53 +01:00
|
|
|
background-image: linear-gradient(
|
|
|
|
to bottom right,
|
|
|
|
transparent,
|
|
|
|
rgba(mix($lbry-blue-3, $lbry-black, 70%), 0.8) 100%
|
|
|
|
);
|
|
|
|
}
|
|
|
|
.media-group__header-title {
|
|
|
|
background-image: linear-gradient(to right, $lbry-white 80%, transparent 100%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.channel-info__actions {
|
|
|
|
color: $lbry-white;
|
|
|
|
}
|
2019-01-11 17:34:36 +01:00
|
|
|
|
2019-02-18 18:24:56 +01:00
|
|
|
.media__subtitle {
|
2019-01-11 17:34:36 +01:00
|
|
|
color: mix($lbry-cyan-5, $lbry-white, 20%);
|
|
|
|
}
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&:not(:first-of-type):not(:last-of-type) {
|
|
|
|
border-bottom: 1px solid rgba($lbry-gray-1, 0.7);
|
|
|
|
|
2019-02-13 17:27:20 +01:00
|
|
|
html[data-mode='dark'] & {
|
2018-12-19 06:44:53 +01:00
|
|
|
border-color: rgba($lbry-gray-5, 0.2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-group__header {
|
|
|
|
flex-direction: row;
|
|
|
|
padding-left: var(--spacing-vertical-large);
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-group__header-title {
|
2019-01-11 17:34:36 +01:00
|
|
|
// color: transparent; // TODO: Add this back for lbryweb, it helps with long titles but was causing issues. A better solution is needed. - Sean
|
2018-12-19 06:44:53 +01:00
|
|
|
// !exist unprefixed, needs SVG for LBRY web
|
|
|
|
-webkit-background-clip: text;
|
2019-01-11 17:34:36 +01:00
|
|
|
background-image: linear-gradient(to right, $lbry-white 80%, transparent 100%);
|
2018-12-19 06:44:53 +01:00
|
|
|
|
2019-02-13 17:27:20 +01:00
|
|
|
html[data-mode='dark'] & {
|
2018-12-19 06:44:53 +01:00
|
|
|
background-image: linear-gradient(
|
|
|
|
to right,
|
|
|
|
mix($lbry-white, $lbry-gray-3, 50%) 80%,
|
|
|
|
transparent 100%
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.media__thumb {
|
|
|
|
margin-bottom: var(--spacing-vertical-medium);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// M E D I A G R O U P
|
|
|
|
// H E A D E R
|
|
|
|
|
|
|
|
.media-group__header {
|
|
|
|
display: flex;
|
|
|
|
font-weight: 700;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-group__header-navigation {
|
|
|
|
display: flex;
|
2019-01-22 19:29:45 +01:00
|
|
|
padding-right: var(--spacing-vertical-large);
|
2018-12-19 06:44:53 +01:00
|
|
|
|
|
|
|
button:not(:last-of-type) {
|
2019-01-22 19:29:45 +01:00
|
|
|
margin-right: var(--spacing-vertical-medium);
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-group__header-title {
|
|
|
|
display: flex;
|
2019-05-01 07:16:12 +02:00
|
|
|
align-items: flex-end;
|
2018-12-19 06:44:53 +01:00
|
|
|
font-weight: 700;
|
2019-05-01 07:16:12 +02:00
|
|
|
font-size: 2rem;
|
|
|
|
padding-bottom: var(--spacing-vertical-small);
|
2018-12-19 06:44:53 +01:00
|
|
|
|
2019-05-01 07:16:12 +02:00
|
|
|
& > *:not(:first-child) {
|
|
|
|
font-weight: normal;
|
|
|
|
margin-left: var(--spacing-vertical-medium);
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// M E D I A
|
|
|
|
// S C R O L L H O U S E
|
|
|
|
|
|
|
|
.media-scrollhouse {
|
|
|
|
min-height: 200px;
|
2019-01-08 00:29:40 +01:00
|
|
|
padding-bottom: var(--spacing-vertical-large);
|
|
|
|
|
|
|
|
// Show the scroll bar on hover
|
|
|
|
// `overlay` doesn't take up any vertical space
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: hidden;
|
|
|
|
&:hover {
|
|
|
|
overflow-x: overlay;
|
|
|
|
}
|
2018-12-19 06:44:53 +01:00
|
|
|
|
|
|
|
// The media queries in this block ensure that a row of
|
|
|
|
// content and its' child elements look good at certain breakpoints
|
|
|
|
|
|
|
|
@media (min-width: 601px) {
|
|
|
|
padding-top: var(--spacing-vertical-small);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 600px) {
|
|
|
|
padding-top: var(--spacing-vertical-medium);
|
|
|
|
}
|
|
|
|
|
2019-01-11 17:34:36 +01:00
|
|
|
// Handles the margin on the right side of the last item
|
|
|
|
// Overflow: hidden makes doesn't care if the margin is off the screen, just the content
|
|
|
|
// Using padding shrinks the last item
|
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
display: inline-block;
|
|
|
|
width: var(--spacing-vertical-large);
|
|
|
|
height: 1px;
|
|
|
|
}
|
|
|
|
|
2018-12-19 06:44:53 +01:00
|
|
|
.media-card {
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
|
|
|
max-width: 250px;
|
|
|
|
min-width: 150px;
|
|
|
|
overflow-y: visible;
|
|
|
|
vertical-align: top;
|
|
|
|
|
|
|
|
@media (min-width: 601px) {
|
|
|
|
width: calc((100% / 6) - 2.25rem);
|
2019-01-08 00:29:40 +01:00
|
|
|
margin-left: var(--spacing-vertical-large);
|
2019-01-09 05:03:03 +01:00
|
|
|
}
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
2019-02-15 02:52:10 +01:00
|
|
|
}
|
2018-12-19 06:44:53 +01:00
|
|
|
|
2019-02-15 02:52:10 +01:00
|
|
|
.badge--alert {
|
|
|
|
background-color: $lbry-red-2;
|
|
|
|
color: $lbry-white;
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|