From 96b0d12bfe7f4f455964c74e40ad961480d0c483 Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Thu, 29 Jan 2026 21:36:16 -0600 Subject: [PATCH] style(LocalLibrary): homogenize filter dropdown and artist alpha-index - Reduce filter panel text sizes from 13px to 12px for consistency - Update artist alpha-index to use same styling as albums/tracks tabs - Replace boxed buttons with clean text-only alpha letters --- .../components/views/LocalLibraryView.svelte | 62 +++++-------------- static/filter.svg | 4 ++ 2 files changed, 21 insertions(+), 45 deletions(-) create mode 100644 static/filter.svg diff --git a/src/lib/components/views/LocalLibraryView.svelte b/src/lib/components/views/LocalLibraryView.svelte index 0d48fc627..f4a47c95f 100644 --- a/src/lib/components/views/LocalLibraryView.svelte +++ b/src/lib/components/views/LocalLibraryView.svelte @@ -3258,16 +3258,18 @@
-
- {#each alphaIndexLetters as letter} - - {/each} +
+
+ {#each alphaIndexLetters as letter} + + {/each} +
@@ -4500,7 +4502,7 @@ } .filter-panel-header span { - font-size: 13px; + font-size: 12px; font-weight: 600; color: var(--text-primary); } @@ -4599,7 +4601,7 @@ } .filter-checkbox .label-text { - font-size: 13px; + font-size: 12px; color: var(--text-primary); } @@ -5803,40 +5805,10 @@ } /* Artist View - Two Column Layout */ - .artist-alpha-index-horizontal { - display: flex; - flex-wrap: wrap; - gap: 4px; - padding: 8px 0 16px; + .artist-alpha-index-row { + padding: 8px 0 12px; border-bottom: 1px solid var(--bg-tertiary); - margin-bottom: 16px; - } - - .alpha-letter-horizontal { - width: 28px; - height: 28px; - display: flex; - align-items: center; - justify-content: center; - font-size: 12px; - font-weight: 500; - color: var(--text-secondary); - background: var(--bg-secondary); - border: none; - border-radius: 4px; - cursor: pointer; - transition: all 150ms ease; - } - - .alpha-letter-horizontal:hover:not(.disabled) { - background: var(--accent-primary); - color: white; - } - - .alpha-letter-horizontal.disabled { - opacity: 0.3; - cursor: default; - pointer-events: none; + margin-bottom: 12px; } .artists-tab-container { diff --git a/static/filter.svg b/static/filter.svg new file mode 100644 index 000000000..167e7394f --- /dev/null +++ b/static/filter.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file