mirror of
https://github.com/jeffvli/feishin.git
synced 2026-07-13 22:20:13 +02:00
8fc30e6936
- additionally fix drop and drop interactions
69 lines
1.2 KiB
CSS
69 lines
1.2 KiB
CSS
.container {
|
|
display: flex;
|
|
gap: var(--theme-spacing-sm);
|
|
width: 100%;
|
|
height: 100%;
|
|
padding: 0 var(--theme-spacing-xs);
|
|
}
|
|
|
|
.image-container {
|
|
position: relative;
|
|
box-sizing: border-box;
|
|
flex-shrink: 0;
|
|
height: 100%;
|
|
aspect-ratio: 1;
|
|
padding-top: calc(var(--theme-spacing-xs) * 0.5);
|
|
overflow: hidden;
|
|
border-radius: var(--theme-radius-md);
|
|
|
|
&::before {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 5;
|
|
width: 100%;
|
|
height: 100%;
|
|
pointer-events: none;
|
|
content: '';
|
|
background-color: rgb(0 0 0);
|
|
opacity: 0;
|
|
transition: all 0.2s ease-in-out;
|
|
}
|
|
|
|
&:hover::before {
|
|
@mixin dark {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
@mixin light {
|
|
opacity: 0.5;
|
|
}
|
|
}
|
|
}
|
|
|
|
.info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.album-name {
|
|
font-size: var(--theme-font-size-sm);
|
|
}
|
|
|
|
.album-name a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
|
|
&:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
.artist-name {
|
|
font-size: var(--theme-font-size-xs);
|
|
opacity: 0.7;
|
|
}
|