mirror of
https://github.com/denizsafak/abogen.git
synced 2026-07-18 21:50:28 +02:00
feat: Enhance voice mixer functionality with language filtering and improved directory management
This commit is contained in:
@@ -33,6 +33,9 @@ body {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.brand {
|
||||
@@ -397,8 +400,8 @@ progress.progress::-moz-progress-bar {
|
||||
|
||||
.voice-mixer__layout {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(240px, 280px) 1fr;
|
||||
gap: 2rem;
|
||||
grid-template-columns: minmax(260px, 300px) 1fr;
|
||||
gap: 2.25rem;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
@@ -511,8 +514,8 @@ progress.progress::-moz-progress-bar {
|
||||
|
||||
.voice-editor__canvas {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(260px, 1fr) minmax(320px, 1fr);
|
||||
gap: 1.5rem;
|
||||
grid-template-columns: minmax(280px, 340px) minmax(320px, 1fr);
|
||||
gap: 2rem;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
@@ -526,20 +529,67 @@ progress.progress::-moz-progress-bar {
|
||||
.voice-available__header,
|
||||
.voice-mix__header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-items: flex-end;
|
||||
justify-content: space-between;
|
||||
gap: 0.75rem;
|
||||
gap: 1rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.voice-available__title {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.25rem;
|
||||
}
|
||||
|
||||
.voice-filter {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.35rem;
|
||||
min-width: 180px;
|
||||
}
|
||||
|
||||
.voice-filter label {
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.04em;
|
||||
text-transform: uppercase;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.voice-filter select {
|
||||
border-radius: 12px;
|
||||
border: 1px solid rgba(148, 163, 184, 0.2);
|
||||
background: rgba(15, 23, 42, 0.55);
|
||||
padding: 0.55rem 0.75rem;
|
||||
color: var(--text);
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.voice-filter select:focus {
|
||||
outline: none;
|
||||
border-color: var(--accent);
|
||||
box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
|
||||
}
|
||||
|
||||
.voice-available__list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
||||
gap: 0.75rem;
|
||||
gap: 0.85rem;
|
||||
max-height: 55vh;
|
||||
overflow-y: auto;
|
||||
padding-right: 0.5rem;
|
||||
}
|
||||
|
||||
.voice-available__empty {
|
||||
margin: 0;
|
||||
padding: 1.25rem 1rem;
|
||||
text-align: center;
|
||||
border: 1px dashed rgba(148, 163, 184, 0.25);
|
||||
border-radius: 16px;
|
||||
color: var(--muted);
|
||||
background: rgba(15, 23, 42, 0.3);
|
||||
}
|
||||
|
||||
.voice-available__card {
|
||||
border: 1px solid rgba(148, 163, 184, 0.18);
|
||||
border-radius: 18px;
|
||||
@@ -609,8 +659,8 @@ progress.progress::-moz-progress-bar {
|
||||
.voice-mix__dropzone {
|
||||
border: 2px dashed rgba(148, 163, 184, 0.25);
|
||||
border-radius: 20px;
|
||||
padding: 1.25rem;
|
||||
min-height: 260px;
|
||||
padding: 1.5rem;
|
||||
min-height: 320px;
|
||||
background: rgba(15, 23, 42, 0.25);
|
||||
transition: border 0.2s ease, background 0.2s ease;
|
||||
display: flex;
|
||||
@@ -640,7 +690,7 @@ progress.progress::-moz-progress-bar {
|
||||
border: 1px solid rgba(148, 163, 184, 0.2);
|
||||
border-radius: 18px;
|
||||
background: rgba(15, 23, 42, 0.4);
|
||||
padding: 1rem 1.1rem;
|
||||
padding: 1.1rem 1.2rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.9rem;
|
||||
@@ -803,4 +853,17 @@ progress.progress::-moz-progress-bar {
|
||||
max-height: none;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.voice-available__header,
|
||||
.voice-mix__header {
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.voice-filter {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.voice-mix__dropzone {
|
||||
min-height: 220px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user