2019-05-07 04:35:04 +02:00
|
|
|
$cover-z-index: 0;
|
|
|
|
$metadata-z-index: 1;
|
2019-01-14 19:40:06 +01:00
|
|
|
|
2019-05-13 08:05:38 +02:00
|
|
|
.channel-cover {
|
2019-05-07 04:35:04 +02:00
|
|
|
background-image: linear-gradient(to right, $lbry-indigo-4, $lbry-cyan-5 80%);
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-end;
|
|
|
|
box-sizing: content-box;
|
|
|
|
color: $lbry-white;
|
2019-06-11 20:10:58 +02:00
|
|
|
border-top-left-radius: var(--card-radius);
|
|
|
|
border-top-right-radius: var(--card-radius);
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
|
2019-05-13 08:05:38 +02:00
|
|
|
.channel-cover__custom {
|
2019-05-07 04:35:04 +02:00
|
|
|
z-index: $cover-z-index;
|
|
|
|
align-self: flex-start;
|
|
|
|
position: absolute;
|
|
|
|
object-fit: cover;
|
2019-07-08 20:58:33 +02:00
|
|
|
filter: brightness(40%);
|
2019-05-07 04:35:04 +02:00
|
|
|
}
|
|
|
|
|
2019-05-13 08:05:38 +02:00
|
|
|
.channel-cover,
|
|
|
|
.channel-cover__custom {
|
2019-05-07 04:35:04 +02:00
|
|
|
height: var(--cover-photo-height);
|
|
|
|
width: 100%;
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
|
2019-05-11 21:06:22 +02:00
|
|
|
.channel-thumbnail {
|
|
|
|
display: flex;
|
2019-06-27 08:18:45 +02:00
|
|
|
height: 5rem;
|
|
|
|
width: 6rem;
|
2019-05-07 04:35:04 +02:00
|
|
|
background-size: cover;
|
2019-06-11 20:10:58 +02:00
|
|
|
margin-right: var(--spacing-medium);
|
|
|
|
}
|
|
|
|
|
|
|
|
.channel__thumbnail--channel-page {
|
|
|
|
position: absolute;
|
|
|
|
height: var(--channel-thumbnail-width);
|
|
|
|
width: var(--channel-thumbnail-width);
|
2019-05-07 04:35:04 +02:00
|
|
|
box-shadow: 0px 8px 40px -3px $lbry-black;
|
2019-06-11 20:10:58 +02:00
|
|
|
left: var(--spacing-medium);
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
|
2019-05-11 21:06:22 +02:00
|
|
|
.channel-thumbnail__custom {
|
2019-05-07 04:35:04 +02:00
|
|
|
width: 100%;
|
|
|
|
object-fit: cover;
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
2019-05-07 04:35:04 +02:00
|
|
|
|
2019-05-11 21:06:22 +02:00
|
|
|
.channel-thumbnail__default {
|
|
|
|
width: 80%;
|
|
|
|
height: 80%;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
align-self: flex-end;
|
|
|
|
}
|
|
|
|
|
|
|
|
.channel-thumbnail,
|
|
|
|
.channel-thumbnail__custom {
|
2019-05-07 04:35:04 +02:00
|
|
|
border-radius: var(--card-radius);
|
|
|
|
}
|
|
|
|
|
2019-05-14 04:53:04 +02:00
|
|
|
.channel-thumbnail__default--0 {
|
2019-05-11 21:06:22 +02:00
|
|
|
background-color: $lbry-indigo-3;
|
|
|
|
}
|
2019-05-14 04:53:04 +02:00
|
|
|
.channel-thumbnail__default--1 {
|
2019-05-11 21:06:22 +02:00
|
|
|
background-color: $lbry-orange-2;
|
|
|
|
}
|
2019-05-14 04:53:04 +02:00
|
|
|
.channel-thumbnail__default--2 {
|
2019-05-11 21:06:22 +02:00
|
|
|
background-color: $lbry-blue-3;
|
|
|
|
}
|
2019-05-14 04:53:04 +02:00
|
|
|
.channel-thumbnail__default--3 {
|
2019-05-11 21:06:22 +02:00
|
|
|
background-color: $lbry-red-1;
|
|
|
|
}
|
|
|
|
|
2019-05-07 04:35:04 +02:00
|
|
|
.channel__primary-info {
|
|
|
|
// Ensure the profile pic/title sit ontop of the default cover background
|
|
|
|
z-index: $metadata-z-index;
|
|
|
|
// Jump over the thumbnail photo because it is absolutely positioned
|
|
|
|
// Then add normal page spacing, _then_ add the actual padding
|
2019-06-11 20:10:58 +02:00
|
|
|
padding-left: calc(var(--channel-thumbnail-width) + var(--spacing-large));
|
|
|
|
// padding-left: var(--spacing-large);
|
|
|
|
padding-bottom: var(--spacing-medium);
|
2019-05-07 04:35:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.channel__title {
|
|
|
|
font-size: 3rem;
|
|
|
|
font-weight: 800;
|
2019-06-11 20:10:58 +02:00
|
|
|
margin-right: var(--spacing-large);
|
2019-07-02 19:54:42 +02:00
|
|
|
|
|
|
|
// Quick hack to get this to work
|
|
|
|
// We should have a generic style for "header with button next to it"
|
|
|
|
.button {
|
|
|
|
margin-left: var(--spacing-medium);
|
|
|
|
}
|
2019-05-07 04:35:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.channel__url {
|
|
|
|
font-size: 1.2rem;
|
|
|
|
margin-top: -0.25rem;
|
2019-05-11 21:06:22 +02:00
|
|
|
color: rgba($lbry-white, 0.75);
|
2019-05-07 04:35:04 +02:00
|
|
|
}
|