Aurora SpotiRip desktop and web app
- 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
This commit is contained in:
@@ -0,0 +1,166 @@
|
||||
@layer base {
|
||||
.content,
|
||||
.subContent {
|
||||
min-width: 12rem;
|
||||
overflow: hidden;
|
||||
background-color: var(--popup);
|
||||
color: var(--popup-foreground);
|
||||
border-radius: var(--radius);
|
||||
border: 1px solid var(--border);
|
||||
box-shadow: var(--shadow-md);
|
||||
padding: var(--spacing-2);
|
||||
z-index: var(--z-overlay);
|
||||
}
|
||||
|
||||
.content {
|
||||
animation: scaleIn var(--animation-duration-normal)
|
||||
cubic-bezier(0.16, 1, 0.3, 1);
|
||||
}
|
||||
|
||||
.subContent {
|
||||
animation: fadeIn var(--animation-duration-normal)
|
||||
cubic-bezier(0.16, 1, 0.3, 1);
|
||||
}
|
||||
|
||||
.item,
|
||||
.checkboxItem,
|
||||
.radioItem,
|
||||
.subTrigger {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
border-radius: var(--radius-sm);
|
||||
font-size: 0.9375rem;
|
||||
padding: var(--spacing-2) var(--spacing-3);
|
||||
color: var(--popup-foreground);
|
||||
outline: none;
|
||||
transition:
|
||||
background-color var(--animation-duration-fast),
|
||||
color var(--animation-duration-fast),
|
||||
box-shadow var(--animation-duration-fast);
|
||||
}
|
||||
|
||||
.item:hover,
|
||||
.checkboxItem:hover,
|
||||
.radioItem:hover,
|
||||
.subTrigger:hover {
|
||||
background-color: color-mix(in srgb, var(--primary) 8%, transparent);
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
.item:focus-visible,
|
||||
.checkboxItem:focus-visible,
|
||||
.radioItem:focus-visible,
|
||||
.subTrigger:focus-visible {
|
||||
background-color: var(--primary);
|
||||
color: var(--primary-foreground);
|
||||
box-shadow:
|
||||
0 0 0 1px var(--primary),
|
||||
var(--shadow-focus);
|
||||
}
|
||||
|
||||
.item[data-disabled],
|
||||
.checkboxItem[data-disabled],
|
||||
.radioItem[data-disabled],
|
||||
.subTrigger[data-disabled] {
|
||||
pointer-events: none;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.item[data-highlighted],
|
||||
.checkboxItem[data-highlighted],
|
||||
.radioItem[data-highlighted],
|
||||
.subTrigger[data-highlighted] {
|
||||
background-color: var(--primary);
|
||||
color: var(--primary-foreground);
|
||||
}
|
||||
|
||||
.checkboxItem,
|
||||
.radioItem {
|
||||
padding-left: var(--spacing-8);
|
||||
}
|
||||
|
||||
.checkboxItemIndicator,
|
||||
.radioItemIndicator {
|
||||
position: absolute;
|
||||
left: var(--spacing-3);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.checkboxItemIndicator {
|
||||
height: 1rem;
|
||||
width: 1rem;
|
||||
}
|
||||
|
||||
.checkIcon {
|
||||
height: 0.875rem;
|
||||
width: 0.875rem;
|
||||
}
|
||||
|
||||
.radioItemIndicator {
|
||||
height: 1rem;
|
||||
width: 1rem;
|
||||
}
|
||||
|
||||
.radioIndicatorCircle {
|
||||
width: 0.5rem;
|
||||
height: 0.5rem;
|
||||
border-radius: var(--radius-full);
|
||||
background-color: currentColor;
|
||||
}
|
||||
|
||||
.label {
|
||||
padding: var(--spacing-2) var(--spacing-3);
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
color: var(--muted-foreground);
|
||||
}
|
||||
|
||||
.separator {
|
||||
height: 1px;
|
||||
margin: var(--spacing-2) 0;
|
||||
background-color: var(--border);
|
||||
}
|
||||
|
||||
.shortcut {
|
||||
margin-left: auto;
|
||||
font-size: 0.75rem;
|
||||
letter-spacing: 0.025em;
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.chevronRightIcon {
|
||||
margin-left: auto;
|
||||
height: 1rem;
|
||||
width: 1rem;
|
||||
opacity: 0.75;
|
||||
}
|
||||
|
||||
.inset {
|
||||
padding-left: var(--spacing-8);
|
||||
}
|
||||
|
||||
@keyframes scaleIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: scale(0.97);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user