refactor: replace hardcoded rgba white with theme-aware alpha variables

Add --alpha-* CSS variables (4-95%) to app.css that adapt to theme:
- Dark themes: white-based rgba
- Light themes: black-based rgba (auto-inverts for proper contrast)

Mass-replaced 100+ instances of rgba(255,255,255,...) across 23 files
with var(--alpha-*) for consistent theming support.

This fixes borders, overlays, and UI elements being invisible or
having poor contrast in light themes.
This commit is contained in:
vicrodh committed 2026-01-24 11:35:54 -06:00
1 parent 19be201564
commit 848322681d
23 files changed
+166 -121

No files matched your search

+45
View File
@@ -19,6 +19,29 @@
--border-subtle: #2a2a2a;
--border-strong: #3a3a3a;
/* Alpha/Opacity - for overlays, borders, backgrounds needing transparency */
/* Dark themes use white-based, light themes use black-based */
--alpha-4: rgba(255, 255, 255, 0.04);
--alpha-5: rgba(255, 255, 255, 0.05);
--alpha-6: rgba(255, 255, 255, 0.06);
--alpha-8: rgba(255, 255, 255, 0.08);
--alpha-10: rgba(255, 255, 255, 0.1);
--alpha-15: rgba(255, 255, 255, 0.15);
--alpha-18: rgba(255, 255, 255, 0.18);
--alpha-20: rgba(255, 255, 255, 0.2);
--alpha-25: rgba(255, 255, 255, 0.25);
--alpha-30: rgba(255, 255, 255, 0.3);
--alpha-35: rgba(255, 255, 255, 0.35);
--alpha-40: rgba(255, 255, 255, 0.4);
--alpha-45: rgba(255, 255, 255, 0.45);
--alpha-50: rgba(255, 255, 255, 0.5);
--alpha-60: rgba(255, 255, 255, 0.6);
--alpha-70: rgba(255, 255, 255, 0.7);
--alpha-80: rgba(255, 255, 255, 0.8);
--alpha-85: rgba(255, 255, 255, 0.85);
--alpha-90: rgba(255, 255, 255, 0.9);
--alpha-95: rgba(255, 255, 255, 0.95);
/* Layout */
--sidebar-width: 240px;
--now-playing-height: 80px;
@@ -51,6 +74,28 @@
--border-subtle: #e0e0e0;
--border-strong: #cccccc;
/* Alpha overrides for light theme - use black-based */
--alpha-4: rgba(0, 0, 0, 0.04);
--alpha-5: rgba(0, 0, 0, 0.05);
--alpha-6: rgba(0, 0, 0, 0.06);
--alpha-8: rgba(0, 0, 0, 0.08);
--alpha-10: rgba(0, 0, 0, 0.1);
--alpha-15: rgba(0, 0, 0, 0.15);
--alpha-18: rgba(0, 0, 0, 0.18);
--alpha-20: rgba(0, 0, 0, 0.2);
--alpha-25: rgba(0, 0, 0, 0.25);
--alpha-30: rgba(0, 0, 0, 0.3);
--alpha-35: rgba(0, 0, 0, 0.35);
--alpha-40: rgba(0, 0, 0, 0.4);
--alpha-45: rgba(0, 0, 0, 0.45);
--alpha-50: rgba(0, 0, 0, 0.5);
--alpha-60: rgba(0, 0, 0, 0.6);
--alpha-70: rgba(0, 0, 0, 0.7);
--alpha-80: rgba(0, 0, 0, 0.8);
--alpha-85: rgba(0, 0, 0, 0.85);
--alpha-90: rgba(0, 0, 0, 0.9);
--alpha-95: rgba(0, 0, 0, 0.95);
}
/* OLED Theme */
+6 -6
View File
@@ -282,9 +282,9 @@
font-family: 'LINE Seed JP', var(--font-sans);
font-size: 10px;
font-weight: 100;
color: rgba(255, 255, 255, 0.85);
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.15);
color: var(--alpha-85);
background: var(--alpha-10);
border: 1px solid var(--alpha-15);
border-radius: 4px;
padding: 4px 6px;
min-width: 72px;
@@ -344,7 +344,7 @@
width: 38px;
height: 38px;
border-radius: 50%;
border: 1px solid rgba(255, 255, 255, 0.85);
border: 1px solid var(--alpha-85);
background: transparent;
color: white;
display: flex;
@@ -359,7 +359,7 @@
}
.overlay-btn.is-active {
background-color: rgba(255, 255, 255, 0.2);
background-color: var(--alpha-20);
}
.overlay-btn.disabled,
@@ -389,7 +389,7 @@
width: 30px;
height: 30px;
border-radius: 50%;
border: 1px solid rgba(255, 255, 255, 0.85);
border: 1px solid var(--alpha-85);
background: transparent;
color: white;
display: flex;
+1 -1
View File
@@ -385,7 +385,7 @@
}
.menu-trigger:hover {
background-color: rgba(255, 255, 255, 0.1);
background-color: var(--alpha-10);
}
.menu {
+13 -13
View File
@@ -323,8 +323,8 @@
text-transform: uppercase;
letter-spacing: 0.3px;
background: transparent;
color: rgba(255, 255, 255, 0.15);
border: 1px solid rgba(255, 255, 255, 0.06);
color: var(--alpha-15);
border: 1px solid var(--alpha-6);
transition: all 200ms ease;
cursor: help;
}
@@ -344,8 +344,8 @@
.badge.off {
background: transparent;
color: rgba(255, 255, 255, 0.15);
border-color: rgba(255, 255, 255, 0.06);
color: var(--alpha-15);
border-color: var(--alpha-6);
}
/* HW Badge (ALSA Direct) - Blue like audio equipment LED */
@@ -364,7 +364,7 @@
bottom: calc(100% + 8px);
right: 0;
background: rgba(24, 24, 28, 0.98);
border: 1px solid rgba(255, 255, 255, 0.1);
border: 1px solid var(--alpha-10);
border-radius: 6px;
padding: 8px 12px;
min-width: 120px;
@@ -390,7 +390,7 @@
font-size: 9px;
text-transform: uppercase;
letter-spacing: 0.5px;
color: rgba(255, 255, 255, 0.4);
color: var(--alpha-40);
margin-bottom: 4px;
}
@@ -425,7 +425,7 @@
.tooltip-raw {
font-size: 9px;
color: rgba(255, 255, 255, 0.3);
color: var(--alpha-30);
font-family: var(--font-mono, monospace);
margin-top: 4px;
white-space: nowrap;
@@ -439,18 +439,18 @@
gap: 6px;
margin-top: 8px;
padding-top: 8px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
border-top: 1px solid var(--alpha-10);
}
.volume-label {
font-size: 10px;
color: rgba(255, 255, 255, 0.4);
color: var(--alpha-40);
}
.volume-value {
font-size: 11px;
font-weight: 500;
color: rgba(255, 255, 255, 0.8);
color: var(--alpha-80);
}
.tooltip-section {
@@ -471,7 +471,7 @@
.setting-icon {
font-size: 8px;
color: rgba(255, 255, 255, 0.3);
color: var(--alpha-30);
line-height: 1.4;
}
@@ -488,7 +488,7 @@
}
.setting-text {
color: rgba(255, 255, 255, 0.7);
color: var(--alpha-70);
line-height: 1.4;
}
@@ -498,7 +498,7 @@
.setting-detail {
font-size: 10px;
color: rgba(255, 255, 255, 0.5);
color: var(--alpha-50);
font-family: var(--font-mono, monospace);
}
</style>
+3 -3
View File
@@ -311,7 +311,7 @@
.close-btn:hover {
color: var(--text-primary);
background-color: rgba(255, 255, 255, 0.1);
background-color: var(--alpha-10);
}
.protocol-tabs {
@@ -349,7 +349,7 @@
}
.protocol-tab .count {
background-color: rgba(255, 255, 255, 0.2);
background-color: var(--alpha-20);
padding: 2px 6px;
border-radius: 10px;
font-size: 11px;
@@ -411,7 +411,7 @@
}
.device:hover {
background-color: rgba(255, 255, 255, 0.05);
background-color: var(--alpha-5);
border-color: var(--accent-primary);
}
+22 -22
View File
@@ -453,9 +453,9 @@
justify-content: center;
background: rgba(0, 0, 0, 0.3);
backdrop-filter: blur(8px);
border: 1px solid rgba(255, 255, 255, 0.1);
border: 1px solid var(--alpha-10);
border-radius: 50%;
color: rgba(255, 255, 255, 0.7);
color: var(--alpha-70);
cursor: pointer;
transition: all 150ms ease;
}
@@ -549,21 +549,21 @@
}
.artist-album-row .separator {
color: rgba(255, 255, 255, 0.5);
color: var(--alpha-50);
margin: 0 2px;
}
.artist {
font-size: 16px;
font-weight: 400;
color: rgba(255, 255, 255, 0.7);
color: var(--alpha-70);
margin: 0;
}
.album {
font-size: 16px;
font-weight: 400;
color: rgba(255, 255, 255, 0.5);
color: var(--alpha-50);
margin: 0;
}
@@ -585,7 +585,7 @@
display: flex;
justify-content: space-between;
font-size: 12px;
color: rgba(255, 255, 255, 0.5);
color: var(--alpha-50);
font-family: var(--font-mono);
font-variant-numeric: tabular-nums;
margin-bottom: 8px;
@@ -593,7 +593,7 @@
.progress-bar {
height: 4px;
background-color: rgba(255, 255, 255, 0.2);
background-color: var(--alpha-20);
border-radius: 2px;
position: relative;
cursor: pointer;
@@ -634,7 +634,7 @@
.control-btn {
background: none;
border: none;
color: rgba(255, 255, 255, 0.6);
color: var(--alpha-60);
cursor: pointer;
transition: all 150ms ease;
position: relative;
@@ -644,7 +644,7 @@
.control-btn:hover {
color: white;
background: rgba(255, 255, 255, 0.1);
background: var(--alpha-10);
}
.control-btn.primary {
@@ -666,7 +666,7 @@
.control-btn.play-pause {
width: 64px;
height: 64px;
background: rgba(255, 255, 255, 0.15);
background: var(--alpha-15);
backdrop-filter: blur(4px);
display: flex;
align-items: center;
@@ -674,7 +674,7 @@
}
.control-btn.play-pause:hover {
background: rgba(255, 255, 255, 0.25);
background: var(--alpha-25);
transform: scale(1.05);
}
@@ -692,7 +692,7 @@
.volume-bar {
height: 4px;
background-color: rgba(255, 255, 255, 0.2);
background-color: var(--alpha-20);
border-radius: 2px;
position: relative;
cursor: pointer;
@@ -727,7 +727,7 @@
padding: 4px 8px;
border-radius: 6px;
background: rgba(0, 0, 0, 0.6);
color: rgba(255, 255, 255, 0.9);
color: var(--alpha-90);
font-size: 12px;
font-weight: 600;
opacity: 0;
@@ -757,14 +757,14 @@
background: none;
border: none;
border-radius: 50%;
color: rgba(255, 255, 255, 0.6);
color: var(--alpha-60);
cursor: pointer;
transition: all 150ms ease;
}
.action-btn:hover {
color: white;
background: rgba(255, 255, 255, 0.1);
background: var(--alpha-10);
}
.action-btn.active {
@@ -816,10 +816,10 @@
}
.lyrics-container :global(.lyrics-lines) {
--text-primary: rgba(255, 255, 255, 0.9);
--text-secondary: rgba(255, 255, 255, 0.45);
--text-muted: rgba(255, 255, 255, 0.2);
--bg-tertiary: rgba(255, 255, 255, 0.08);
--text-primary: var(--alpha-90);
--text-secondary: var(--alpha-45);
--text-muted: var(--alpha-20);
--bg-tertiary: var(--alpha-8);
padding: 0;
height: 100%;
max-height: 100%; /* Constrain to parent height */
@@ -832,7 +832,7 @@
align-items: center;
justify-content: center;
height: 100%;
color: rgba(255, 255, 255, 0.4);
color: var(--alpha-40);
font-size: 15px;
gap: 12px;
}
@@ -848,8 +848,8 @@
.spinner {
width: 24px;
height: 24px;
border: 2px solid rgba(255, 255, 255, 0.2);
border-top-color: rgba(255, 255, 255, 0.8);
border: 2px solid var(--alpha-20);
border-top-color: var(--alpha-80);
border-radius: 50%;
animation: spin 0.8s linear infinite;
}
+20 -20
View File
@@ -349,9 +349,9 @@
justify-content: center;
background: rgba(0, 0, 0, 0.3);
backdrop-filter: blur(8px);
border: 1px solid rgba(255, 255, 255, 0.1);
border: 1px solid var(--alpha-10);
border-radius: 50%;
color: rgba(255, 255, 255, 0.7);
color: var(--alpha-70);
cursor: pointer;
opacity: 0;
transition: all 200ms ease;
@@ -399,7 +399,7 @@
overflow: hidden;
box-shadow:
0 32px 80px rgba(0, 0, 0, 0.6),
0 0 0 1px rgba(255, 255, 255, 0.05);
0 0 0 1px var(--alpha-5);
}
.artwork-image {
@@ -438,10 +438,10 @@
}
.lyrics-container :global(.lyrics-lines) {
--text-primary: rgba(255, 255, 255, 0.95);
--text-secondary: rgba(255, 255, 255, 0.5);
--text-muted: rgba(255, 255, 255, 0.25);
--bg-tertiary: rgba(255, 255, 255, 0.08);
--text-primary: var(--alpha-95);
--text-secondary: var(--alpha-50);
--text-muted: var(--alpha-25);
--bg-tertiary: var(--alpha-8);
padding: 0;
height: 100%;
}
@@ -453,19 +453,19 @@
justify-content: center;
gap: 12px;
height: 100%;
color: rgba(255, 255, 255, 0.5);
color: var(--alpha-50);
font-size: 14px;
}
.error-text {
color: rgba(255, 255, 255, 0.4);
color: var(--alpha-40);
}
.spinner {
width: 24px;
height: 24px;
border: 2px solid rgba(255, 255, 255, 0.2);
border-top-color: rgba(255, 255, 255, 0.8);
border: 2px solid var(--alpha-20);
border-top-color: var(--alpha-80);
border-radius: 50%;
animation: spin 0.8s linear infinite;
}
@@ -553,7 +553,7 @@
.track-artist {
font-size: 12px;
color: rgba(255, 255, 255, 0.6);
color: var(--alpha-60);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
@@ -584,7 +584,7 @@
background: none;
border: none;
border-radius: 50%;
color: rgba(255, 255, 255, 0.85);
color: var(--alpha-85);
cursor: pointer;
transition: all 150ms ease;
}
@@ -596,19 +596,19 @@
.control-btn:not(:disabled):hover {
color: white;
background: rgba(255, 255, 255, 0.1);
background: var(--alpha-10);
}
.play-btn {
width: 52px;
height: 52px;
background: rgba(255, 255, 255, 0.15);
background: var(--alpha-15);
backdrop-filter: blur(4px);
color: white;
}
.play-btn:hover {
background: rgba(255, 255, 255, 0.25);
background: var(--alpha-25);
transform: scale(1.05);
}
@@ -628,7 +628,7 @@
font-size: 12px;
font-family: var(--font-mono);
font-variant-numeric: tabular-nums;
color: rgba(255, 255, 255, 0.6);
color: var(--alpha-60);
min-width: 40px;
}
@@ -639,7 +639,7 @@
.progress-bar {
flex: 1;
height: 4px;
background: rgba(255, 255, 255, 0.2);
background: var(--alpha-20);
border-radius: 2px;
position: relative;
cursor: pointer;
@@ -685,7 +685,7 @@
width: 140px;
height: 6px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.15);
background: var(--alpha-15);
cursor: pointer;
position: relative;
}
@@ -693,7 +693,7 @@
.volume-fill {
height: 100%;
border-radius: 999px;
background: rgba(255, 255, 255, 0.7);
background: var(--alpha-70);
}
.volume-thumb {
+2 -2
View File
@@ -106,7 +106,7 @@
height: 36px;
padding: 0 24px;
border-radius: 20px;
border: 1px solid rgba(255, 255, 255, 0.3);
border: 1px solid var(--alpha-30);
background: transparent;
display: flex;
align-items: center;
@@ -116,7 +116,7 @@
}
.more-btn:hover {
background-color: rgba(255, 255, 255, 0.1);
background-color: var(--alpha-10);
}
.more-btn span {
@@ -296,7 +296,7 @@
--glass-bg: rgba(25, 25, 30, 0.88);
--glass-blur: 20px;
--glass-radius: 0;
--glass-border: rgba(255, 255, 255, 0.06);
--glass-border: var(--alpha-6);
--glass-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4);
}
@@ -454,7 +454,7 @@
/* Tidal logo is black, invert it when active for visibility */
.provider[data-provider="tidal"] .provider-logo.active {
filter: brightness(0) invert(1) drop-shadow(0 6px 14px rgba(255, 255, 255, 0.5));
filter: brightness(0) invert(1) drop-shadow(0 6px 14px var(--alpha-50));
}
.progress-panel {
@@ -462,7 +462,7 @@
padding: 16px;
border-radius: 12px;
background: rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.08);
border: 1px solid var(--alpha-8);
}
.progress-header {
@@ -500,7 +500,7 @@
.summary {
margin-top: 12px;
padding-top: 12px;
border-top: 1px solid rgba(255, 255, 255, 0.08);
border-top: 1px solid var(--alpha-8);
}
.summary-title {
@@ -556,7 +556,7 @@
width: 14px;
height: 14px;
border-radius: 50%;
border: 2px solid rgba(255, 255, 255, 0.2);
border: 2px solid var(--alpha-20);
border-top-color: var(--accent-primary);
animation: spin 0.8s linear infinite;
}
+2 -2
View File
@@ -110,8 +110,8 @@
padding: 5px 10px;
min-width: 120px;
border-radius: 4px;
background: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.1);
background: var(--alpha-6);
border: 1px solid var(--alpha-10);
box-sizing: border-box;
cursor: help;
}
+2 -2
View File
@@ -552,12 +552,12 @@
}
.content::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.15);
background: var(--alpha-15);
border-radius: 2px;
}
.content:hover::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.25);
background: var(--alpha-25);
}
/* Sections */
+3 -3
View File
@@ -969,12 +969,12 @@
}
.playlists-scroll::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.1);
background: var(--alpha-10);
border-radius: 4px;
}
.playlists-scroll::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.2);
background: var(--alpha-20);
}
@@ -1002,7 +1002,7 @@
height: 20px;
padding: 0;
background: var(--bg-tertiary);
border: 1px solid rgba(255, 255, 255, 0.1);
border: 1px solid var(--alpha-10);
border-radius: 50%;
color: var(--text-muted);
cursor: pointer;
+1 -1
View File
@@ -88,7 +88,7 @@
.stack-icon-wrapper:hover {
opacity: 1;
background: rgba(255, 255, 255, 0.05);
background: var(--alpha-5);
color: var(--text-primary);
}
+1 -1
View File
@@ -154,7 +154,7 @@
.control-btn.minimize:hover,
.control-btn.maximize:hover {
background-color: rgba(255, 255, 255, 0.1);
background-color: var(--alpha-10);
}
.control-btn.close:hover {
+6 -6
View File
@@ -104,7 +104,7 @@
.glass-surface {
overflow: hidden;
border-radius: var(--glass-radius, 14px);
background: var(--glass-fallback, rgba(255, 255, 255, 0.06));
background: var(--glass-fallback, var(--alpha-6));
color: var(--glass-text, inherit);
box-shadow: var(--glass-shadow, 0 18px 40px rgba(0, 0, 0, 0.35));
isolation: isolate;
@@ -113,7 +113,7 @@
.glass-backdrop {
position: absolute;
inset: 0;
background: var(--glass-bg, rgba(255, 255, 255, 0.08));
background: var(--glass-bg, var(--alpha-8));
border-radius: inherit;
z-index: 0;
transition: filter 0.3s ease;
@@ -130,7 +130,7 @@
position: absolute;
inset: 0;
z-index: 1;
background: linear-gradient(140deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
background: linear-gradient(140deg, var(--alpha-18), rgba(255, 255, 255, 0));
opacity: 0.8;
pointer-events: none;
}
@@ -140,8 +140,8 @@
inset: 0;
z-index: 2;
border-radius: inherit;
border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.15));
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
border: 1px solid var(--glass-border, var(--alpha-15));
box-shadow: inset 0 0 0 1px var(--alpha-4);
pointer-events: none;
}
@@ -152,7 +152,7 @@
width: 160px;
height: 160px;
border-radius: 50%;
background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.15) 35%, transparent 70%);
background: radial-gradient(circle, var(--alpha-35) 0%, var(--alpha-15) 35%, transparent 70%);
transform: translate(-50%, -50%) scale(0);
animation: glassRipple var(--glass-ripple-duration, 800ms) cubic-bezier(0.34, 1.56, 0.64, 1);
z-index: 2;
@@ -1980,7 +1980,7 @@
gap: 10px;
padding: 10px 24px;
background: var(--bg-primary);
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
border-bottom: 1px solid var(--alpha-6);
box-shadow: 0 4px 8px -4px rgba(0, 0, 0, 0.5);
margin: 0 -8px 24px -24px;
width: calc(100% + 32px);
@@ -1630,7 +1630,7 @@
margin: 0 -8px 16px -24px;
width: calc(100% + 32px);
background: var(--bg-primary);
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
border-bottom: 1px solid var(--alpha-6);
box-shadow: 0 4px 8px -4px rgba(0, 0, 0, 0.5);
}
@@ -2145,9 +2145,9 @@
.album-row-quality .quality-badge {
font-size: 11px;
font-weight: 600;
color: rgba(255, 255, 255, 0.85);
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.15);
color: var(--alpha-85);
background: var(--alpha-10);
border: 1px solid var(--alpha-15);
border-radius: 6px;
padding: 3px 8px;
min-width: 72px;
@@ -3374,7 +3374,7 @@
margin: 0 -8px 16px -24px;
width: calc(100% + 32px);
background: var(--bg-primary);
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
border-bottom: 1px solid var(--alpha-6);
box-shadow: 0 4px 8px -4px rgba(0, 0, 0, 0.5);
}
@@ -3816,9 +3816,9 @@
.album-row-quality .quality-badge {
font-size: 11px;
font-weight: 600;
color: rgba(255, 255, 255, 0.85);
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.15);
color: var(--alpha-85);
background: var(--alpha-10);
border: 1px solid var(--alpha-15);
border-radius: 6px;
padding: 3px 8px;
min-width: 72px;
@@ -4034,7 +4034,7 @@
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.6);
border: 1px solid rgba(255, 255, 255, 0.15);
border: 1px solid var(--alpha-15);
border-radius: 6px;
color: var(--text-primary);
cursor: pointer;
+1 -1
View File
@@ -626,7 +626,7 @@
width: 18px;
height: 18px;
border-width: 2px;
border-color: rgba(255, 255, 255, 0.3);
border-color: var(--alpha-30);
border-top-color: white;
}
@@ -1366,8 +1366,8 @@
display: flex;
align-items: center;
justify-content: center;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.3);
background: var(--alpha-10);
border: 1px solid var(--alpha-30);
border-radius: 50%;
color: white;
cursor: pointer;
@@ -1375,8 +1375,8 @@
}
.artwork-btn:hover {
background: rgba(255, 255, 255, 0.2);
border-color: rgba(255, 255, 255, 0.5);
background: var(--alpha-20);
border-color: var(--alpha-50);
}
.artwork-btn.artwork-clear {
+7 -7
View File
@@ -2027,20 +2027,20 @@ flatpak override --user --filesystem=$HOME/music-nas com.blitzfc.qbz</pre>
}
.settings-view::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.15);
background: var(--alpha-15);
border-radius: 4px;
}
.settings-view:hover::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.25);
background: var(--alpha-25);
}
.settings-view::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.4);
background: var(--alpha-40);
}
.loading-text {
color: rgba(255, 255, 255, 0.6);
color: var(--alpha-60);
font-size: 14px;
font-style: italic;
}
@@ -2131,7 +2131,7 @@ flatpak override --user --filesystem=$HOME/music-nas com.blitzfc.qbz</pre>
margin: 0 -24px 24px -32px;
width: calc(100% + 56px);
background: var(--bg-primary);
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
border-bottom: 1px solid var(--alpha-6);
box-shadow: 0 4px 8px -4px rgba(0, 0, 0, 0.5);
}
@@ -2368,7 +2368,7 @@ flatpak override --user --filesystem=$HOME/music-nas com.blitzfc.qbz</pre>
}
.radio-option:hover {
background: rgba(255, 255, 255, 0.05);
background: var(--alpha-5);
}
.radio-option input[type="radio"] {
@@ -2632,7 +2632,7 @@ flatpak override --user --filesystem=$HOME/music-nas com.blitzfc.qbz</pre>
.network-check-spinner {
width: 48px;
height: 48px;
border: 4px solid rgba(255, 255, 255, 0.2);
border: 4px solid var(--alpha-20);
border-top-color: var(--accent-primary);
border-radius: 50%;
animation: spin 0.8s linear infinite;
+12 -12
View File
@@ -410,7 +410,7 @@
.artwork-placeholder {
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.06);
background: var(--alpha-6);
border-radius: 6px;
}
@@ -432,9 +432,9 @@
justify-content: center;
width: 24px;
height: 24px;
background: rgba(255, 255, 255, 0.06);
background: var(--alpha-6);
border: none;
color: rgba(255, 255, 255, 0.5);
color: var(--alpha-50);
cursor: pointer;
border-radius: 4px;
transition: all 0.15s ease;
@@ -470,7 +470,7 @@
align-items: center;
gap: 4px;
font-size: 12px;
color: rgba(255, 255, 255, 0.5);
color: var(--alpha-50);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
@@ -487,7 +487,7 @@
}
.album {
color: rgba(255, 255, 255, 0.4);
color: var(--alpha-40);
}
/* Seek Bar */
@@ -506,7 +506,7 @@
.progress-track {
width: 100%;
height: 4px;
background: rgba(255, 255, 255, 0.1);
background: var(--alpha-10);
border-radius: 2px;
overflow: hidden;
}
@@ -549,7 +549,7 @@
.volume-bar {
width: 90px;
height: 4px;
background: rgba(255, 255, 255, 0.18);
background: var(--alpha-18);
border-radius: 999px;
cursor: pointer;
position: relative;
@@ -558,7 +558,7 @@
.volume-fill {
height: 100%;
border-radius: 999px;
background: rgba(255, 255, 255, 0.8);
background: var(--alpha-80);
}
.volume-thumb {
@@ -604,14 +604,14 @@
height: 28px;
background: transparent;
border: none;
color: rgba(255, 255, 255, 0.7);
color: var(--alpha-70);
cursor: pointer;
border-radius: 50%;
transition: all 0.15s ease;
}
.ctrl-btn:hover {
background: rgba(255, 255, 255, 0.08);
background: var(--alpha-8);
color: #fff;
}
@@ -626,10 +626,10 @@
.ctrl-btn.play {
width: 32px;
height: 32px;
background: rgba(255, 255, 255, 0.1);
background: var(--alpha-10);
}
.ctrl-btn.play:hover {
background: rgba(255, 255, 255, 0.18);
background: var(--alpha-18);
}
</style>