Speakr is a personal, self-hosted web application designed for transcribing audio recordings
Python
Sidebar polish v2 — three fixes the user pointed out: (1) consistent dividers: removed the .is-active / :hover adjacency rules that hid the hairline around active/hovered rows; the rhythm is now uniform 1px between every consecutive pair of rows regardless of state (the earlier 'continuous selection' trick read as broken design); (2) time-window section headers (TODAY / THIS WEEK / LAST MONTH / OLDER) get a real structural divider — new .recording-group-header rule applies a subtle bg-tertiary fill, single-pixel top + bottom rules, and tighter padding so the section boundary reads as a deliberate band, not a tiny floating caption; the header bleeds to the section's full width via negative horizontal margins; (3) tighter horizontal padding on rows (px-3 → px-2) reclaims ~8px of horizontal space on both sides for title content
Murtaza Nasir5fb8272722b0
diff --git a/static/css/styles.css b/static/css/styles.cssindex 411a2506..a81e8dee 100644--- a/static/css/styles.css+++ b/static/css/styles.css@@ -4369,6 +4369,24 @@ select:disabled {/* ---- Sidebar recording rows ------------------------------------------ */+/* Section header (TODAY / THIS WEEK / LAST MONTH / OLDER) sits above+ each group with a subtle tinted background + thin top + bottom rule+ so the time-window boundary reads as a real structural divider+ instead of a tiny caption that floats over the list. */+.recording-group-header {+ font-size: var(--fs-label);+ font-weight: 600;+ text-transform: uppercase;+ letter-spacing: var(--tracking-wide);+ color: var(--text-muted);+ background: var(--bg-tertiary);+ border-top: 1px solid var(--border-primary);+ border-bottom: 1px solid var(--border-primary);+ padding: 6px var(--sp-2);+ margin: 0 calc(-1 * var(--sp-2)) 0 calc(-1 * var(--sp-2));+ line-height: var(--lh-tight);+}+/* Each section group wraps its rows so we can draw subtle hairlinesbetween siblings without dealing with first/last-child quirks on theloop's v-for. */@@ -4377,22 +4395,14 @@ select:disabled {flex-direction: column;}-/* Subtle separator between consecutive rows. Uses a 1px inset shadow on- the inner edge so the line never extends past the row's padded area- and never doubles up with the row's own border. */+/* Uniform 1px hairline between every consecutive pair of rows. Active+ and hovered rows do NOT hide the adjacent hairlines — keeping the+ rhythm uniform prevents the "some-rows-have-lines-some-don't"+ appearance that read as an inconsistent design. */.recording-group > .recording-row + .recording-row {border-top: 1px solid var(--border-primary);}-/* The hairline disappears once a row enters the active or hover state- so the selection feels continuous and uninterrupted. */-.recording-group > .recording-row.is-active,-.recording-group > .recording-row:hover,-.recording-group > .recording-row.is-active + .recording-row,-.recording-group > .recording-row:hover + .recording-row {- border-top-color: transparent;-}-.recording-row {border-radius: var(--radius-sm);position: relative;diff --git a/templates/components/sidebar.html b/templates/components/sidebar.htmlindex 02b03ea8..d604b9ab 100644--- a/templates/components/sidebar.html+++ b/templates/components/sidebar.html@@ -345,12 +345,15 @@</div></div>- <!-- Section group. Header gets the same left padding as- the rows so titles don't appear indented vs the- section label — the hierarchy reads through type- weight / case / colour, not through indentation. -->- <div v-for="group in groupedRecordings" :key="group.title" class="mb-5">- <h3 class="t-label px-3 mb-1.5">+ <!-- Section group. Section header gets a subtle tinted+ background so the time-window boundaries+ (TODAY / THIS WEEK / etc.) read as structural+ dividers, not just small captions. Rows use+ tighter horizontal padding (px-2) so titles get+ more room to breathe; the section header matches+ so labels align with row content. -->+ <div v-for="group in groupedRecordings" :key="group.title" class="mb-3">+ <h3 class="recording-group-header">${group.title}</h3><div class="recording-group">@@ -358,7 +361,7 @@:key="recording.id"@click="selectionMode ? toggleSelection(recording.id) : selectRecording(recording)":class="[- 'recording-row relative px-3 py-2.5 cursor-pointer transition-colors',+ 'recording-row relative px-2 py-2.5 cursor-pointer transition-colors',selectionMode && isSelected(recording.id)? 'bg-[var(--bg-accent)] is-active': selectedRecording?.id === recording.id && !selectionMode