Speakr is a personal, self-hosted web application designed for transcribing audio recordings
Python
Restyle the recording upload split-button menu as a proper popover: More Options header, icon badge with title and subtitle, larger radius, deeper shadow, and a pointer to the caret, instead of the plain tooltip-like box
Murtaza Nasirce075284e634
diff --git a/templates/components/recording-view.html b/templates/components/recording-view.htmlindex a9ecd134..99d7f84d 100644--- a/templates/components/recording-view.html+++ b/templates/components/recording-view.html@@ -433,13 +433,24 @@<div v-if="showUploadSplitMenu" @click="showUploadSplitMenu = false" class="fixed inset-0 z-40"></div><!-- Options menu (opens upward; the bar is pinned to the bottom) --><div v-if="showUploadSplitMenu"- class="absolute bottom-full right-0 mb-1 surface-raised z-50 overflow-hidden whitespace-nowrap rounded-md"- style="min-width: 260px;">+ class="absolute bottom-full right-0 mb-2 z-50 rounded-xl p-1.5"+ style="min-width: 300px; background-color: var(--bg-secondary); border: 1px solid var(--border-primary); box-shadow: var(--shadow-lg);">+ <div class="px-2.5 pt-1 pb-1.5">+ <span class="text-[10px] font-semibold uppercase tracking-wider text-[var(--text-muted)]" v-text="t('mergeRecordings.moreOptions')"></span>+ </div><button @click="showUploadSplitMenu = false; mergeRecordedWithExisting()"- class="w-full text-left px-3 py-2.5 text-sm hover:bg-[var(--bg-tertiary)] transition-colors flex items-center gap-2">- <i class="fas fa-object-group text-purple-500"></i>- <span v-text="t('mergeRecordings.mergeWithExisting')"></span>+ class="w-full text-left px-2.5 py-2.5 rounded-lg hover:bg-[var(--bg-tertiary)] transition-colors flex items-center gap-3 group">+ <span class="flex-shrink-0 w-9 h-9 rounded-lg flex items-center justify-center text-purple-400 bg-purple-500/15 group-hover:bg-purple-500/25 transition-colors">+ <i class="fas fa-object-group"></i>+ </span>+ <span class="flex flex-col min-w-0">+ <span class="text-sm font-medium text-[var(--text-primary)]" v-text="t('mergeRecordings.mergeWithExisting')"></span>+ <span class="text-xs text-[var(--text-muted)] mt-0.5" v-text="t('mergeRecordings.subtitle')"></span>+ </span></button>+ <!-- Pointer connecting the menu to the caret button below it -->+ <span class="absolute -bottom-1.5 right-4 w-3 h-3 rotate-45"+ style="background-color: var(--bg-secondary); border-right: 1px solid var(--border-primary); border-bottom: 1px solid var(--border-primary);"></span></div></div><!-- Incognito Upload Button -->