2022-04-15 14:24:30 +00:00
|
|
|
@mixin vertical-center() {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin artist-album-wrapper() {
|
2022-10-18 14:07:41 +00:00
|
|
|
display: grid !important;
|
2022-07-07 21:24:02 +00:00
|
|
|
gap: 16px;
|
2022-04-15 14:24:30 +00:00
|
|
|
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
|
|
|
|
|
|
|
&.as-list {
|
2022-07-07 21:24:02 +00:00
|
|
|
gap: 0.7em 1em;;
|
2022-04-15 14:24:30 +00:00
|
|
|
align-content: start;
|
|
|
|
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
|
|
|
|
|
2022-06-10 10:47:46 +00:00
|
|
|
@media only screen and (max-width: 667px) {
|
2022-04-15 14:24:30 +00:00
|
|
|
display: block;
|
|
|
|
|
|
|
|
> * + * {
|
|
|
|
margin-top: .7rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin artist-album-info-wrapper() {
|
|
|
|
.loading {
|
|
|
|
@include vertical-center();
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.info-wrapper {
|
|
|
|
color: var(--color-text-secondary);
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
background: var(--color-bg-primary);
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
z-index: 2;
|
|
|
|
|
|
|
|
.inner {
|
|
|
|
overflow: auto;
|
|
|
|
height: 100%;
|
|
|
|
padding: 24px 24px 48px;
|
|
|
|
|
|
|
|
@media only screen and (max-width: 768px) {
|
|
|
|
padding: 16px;
|
|
|
|
}
|
|
|
|
}
|
2022-07-08 14:53:04 +00:00
|
|
|
|
|
|
|
.close-modal {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.close-modal {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2022-04-15 14:24:30 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin artist-album-info() {
|
2022-10-18 14:07:41 +00:00
|
|
|
color: var(--color-text-secondary);
|
|
|
|
|
2022-04-15 14:24:30 +00:00
|
|
|
h1 {
|
2022-06-10 10:47:46 +00:00
|
|
|
@include vertical-center();
|
|
|
|
|
2022-04-15 14:24:30 +00:00
|
|
|
font-weight: var(--font-weight-thin);
|
|
|
|
line-height: 2.8rem;
|
2022-10-18 14:07:41 +00:00
|
|
|
margin-bottom: 16px;
|
2022-04-15 14:24:30 +00:00
|
|
|
|
|
|
|
&.name {
|
|
|
|
font-size: 2rem;
|
2022-07-08 14:53:04 +00:00
|
|
|
margin-bottom: 2rem;
|
2022-04-15 14:24:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
flex: 1;
|
|
|
|
margin-right: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var(--color-highlight);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-10-18 14:07:41 +00:00
|
|
|
.bio, .wiki {
|
2022-07-08 14:53:04 +00:00
|
|
|
margin: 16px 0;
|
2022-04-15 14:24:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.more {
|
|
|
|
margin-top: .75rem;
|
|
|
|
border-radius: .23rem;
|
|
|
|
background: var(--color-blue);
|
|
|
|
color: var(--color-text-primary);
|
|
|
|
padding: .3rem .6rem;
|
|
|
|
display: inline-block;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: .8rem;
|
|
|
|
}
|
|
|
|
|
2022-07-04 17:48:13 +00:00
|
|
|
.cover, .cool-guys-posing {
|
2022-04-15 14:24:30 +00:00
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
2022-07-04 17:48:13 +00:00
|
|
|
display: block;
|
|
|
|
border-radius: 8px;
|
|
|
|
overflow: hidden;
|
2022-04-15 14:24:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
margin-top: 24px;
|
|
|
|
font-size: .9rem;
|
|
|
|
text-align: right;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: var(--color-text-primary);
|
|
|
|
font-weight: var(--font-weight-normal);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var(--color-text-secondary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.full {
|
|
|
|
.cover {
|
|
|
|
width: 300px;
|
|
|
|
max-width: 100%;
|
|
|
|
float: left;
|
|
|
|
margin: 0 16px 16px 0;
|
|
|
|
}
|
|
|
|
|
2022-10-18 14:07:41 +00:00
|
|
|
.bio, .wiki {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2022-04-15 14:24:30 +00:00
|
|
|
h1.name {
|
|
|
|
font-size: 2.4rem;
|
|
|
|
|
|
|
|
a.shuffle {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin inset-when-pressed() {
|
|
|
|
&:active {
|
2022-07-26 09:51:19 +00:00
|
|
|
box-shadow: inset 0px 10px 10px -10px rgba(0, 0, 0, .6);
|
2022-04-15 14:24:30 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin context-menu() {
|
|
|
|
padding: .4rem 0;
|
2022-11-13 15:18:24 +00:00
|
|
|
width: max-content;
|
2022-04-15 14:24:30 +00:00
|
|
|
min-width: 144px;
|
2022-11-12 21:38:31 +00:00
|
|
|
background-color: var(--color-bg-context-menu);
|
2022-04-15 14:24:30 +00:00
|
|
|
position: fixed;
|
|
|
|
border-radius: 4px;
|
|
|
|
z-index: 1001;
|
2022-11-13 15:18:24 +00:00
|
|
|
filter: drop-shadow(0 5px 15px rgba(0, 0, 0, .5));
|
2022-04-15 14:24:30 +00:00
|
|
|
|
2022-11-13 15:18:24 +00:00
|
|
|
:deep(.arrow) {
|
|
|
|
background-color: var(--color-bg-context-menu);
|
|
|
|
position: absolute;
|
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
|
|
|
transform: rotate(45deg);
|
2022-04-15 14:24:30 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin themed-background() {
|
|
|
|
background-color: var(--color-bg-primary);
|
|
|
|
background-image: var(--bg-image);
|
|
|
|
background-attachment: var(--bg-attachment);
|
|
|
|
background-size: var(--bg-size);
|
|
|
|
background-position: var(--bg-position);
|
|
|
|
}
|