mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 12:30:12 +02:00
87 lines
1.4 KiB
CSS
87 lines
1.4 KiB
CSS
.image-wrapper {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: var(--theme-spacing-md) var(--theme-spacing-md) var(--theme-spacing-md) 0;
|
|
}
|
|
|
|
.metadata-stack {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--theme-spacing-xs);
|
|
justify-content: center;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
@keyframes fadein {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.image {
|
|
position: relative;
|
|
width: 60px;
|
|
height: 60px;
|
|
cursor: pointer;
|
|
animation: fadein 0.2s ease-in-out;
|
|
|
|
button {
|
|
display: none;
|
|
}
|
|
|
|
&:hover button {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.playerbar-image {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: var(--theme-image-fit);
|
|
}
|
|
|
|
.radio-image {
|
|
background: var(--theme-colors-surface);
|
|
border-radius: var(--theme-radius-md);
|
|
}
|
|
|
|
.line-item {
|
|
display: inline-block;
|
|
width: 100%;
|
|
max-width: 20vw;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.line-item.secondary {
|
|
color: var(--theme-colors-foreground-muted);
|
|
|
|
a {
|
|
color: var(--theme-colors-foreground-muted);
|
|
}
|
|
}
|
|
|
|
.left-controls-container {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100%;
|
|
padding-left: 1rem;
|
|
|
|
@media (width < 640px) {
|
|
.image-wrapper {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|