- Spotify playlist, library, album and artist browsing with in-app playback - Song, playlist and album downloads via spotdl with YouTube and Bandcamp fallbacks - Electron desktop app (castLabs Widevine) with a permanent sidebar layout - Linux and Windows packaging scripts
44 lines
996 B
CSS
44 lines
996 B
CSS
@layer base {
|
|
.avatar {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
border-radius: var(--radius-full);
|
|
width: 2.5rem;
|
|
height: 2.5rem;
|
|
flex-shrink: 0;
|
|
background-color: var(--muted);
|
|
border: 2px solid var(--card);
|
|
transition: transform var(--animation-duration-normal) ease,
|
|
box-shadow var(--animation-duration-normal) ease;
|
|
}
|
|
|
|
.avatar:hover {
|
|
transform: scale(1.05);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.avatarImage {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
border-radius: inherit;
|
|
}
|
|
|
|
.avatarFallback {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: var(--primary);
|
|
color: var(--primary-foreground);
|
|
font-family: var(--font-family-base);
|
|
font-weight: 500;
|
|
font-size: 0.875rem;
|
|
line-height: 1;
|
|
text-transform: uppercase;
|
|
}
|
|
} |