feat: start input section

This commit is contained in:
2026-08-12 22:19:09 +02:00
parent 00adc4df53
commit a28dd890dd
6 changed files with 395 additions and 183 deletions
@@ -69,6 +69,7 @@
display: flex;
align-items: stretch;
justify-content: center; /* ← add this */
gap: var(--space-4);
box-sizing: border-box;
@@ -219,7 +220,7 @@
.input-panel__cell-label {
flex: 0 0 auto;
font-family: var(--font-ui);
font-size: 2.5cqh;
font-size: 3.2cqh;
color: var(--text-muted);
white-space: nowrap;
}
@@ -271,72 +272,92 @@
border-radius: var(--radius-sm);
}
.gain-meter-panel {
container-type: size;
position: relative;
height: 100%;
aspect-ratio: 1 / 2;
flex: 0 0 auto;
.peq-band-list {
flex: 1 1 auto;
min-width: 0;
min-height: 0;
display: flex;
flex-direction: column;
align-items: center;
gap: 1.5cqh;
border: var(--border-width) solid var(--border-hairline);
border-radius: var(--radius-md);
box-sizing: border-box;
background: var(--bg-void);
padding: 1cqh;
overflow: hidden;
aspect-ratio: 2;
}
.gain-meter-panel__title {
.peq-band-list__row {
flex: 1 1 0;
min-height: 0;
min-width: 0;
display: grid;
grid-template-columns: 1fr 1.2fr 1fr 1fr 1.4fr 1.2fr;
align-items: stretch;
gap: 1cqh;
box-sizing: border-box;
}
.peq-band-list__row--header {
flex: 0 0 auto;
width: 100%;
text-align: center;
font-family: var(--font-ui);
font-size: 4cqh;
color: var(--text-primary);
text-align: center;
font-weight: var(--font-weight-semibold);
padding-top: 2cqh;
padding-bottom: 2cqh;
border-bottom: var(--border-width) solid var(--border-hairline);
padding-top: 1cqh;
padding-bottom: 1cqh;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
}
.gain-meter-panel__grid {
flex: 1 1 auto;
min-height: 0;
width: 100%;
padding: 2cqh;
box-sizing: border-box;
display: grid;
grid-template-columns: 1fr 1fr;
/* slider/meter row gets the bulk of the height, button row stays compact */
grid-template-rows: 1fr auto;
gap: 1.5cqh;
.peq-band-list__row--active {
background: var(--bg-panel);
border-radius: var(--radius-sm);
}
.gain-meter-panel__cell {
.peq-band-list__cell {
min-width: 0;
min-height: 0;
display: flex;
align-items: center;
justify-content: center;
}
.gain-meter-panel__cell--slider,
.gain-meter-panel__cell--meter {
height: 100%;
}
.gain-meter-panel__cell--btn {
flex: 0 0 auto;
}
.gain-meter-panel__cell--meter {
align-items: stretch;
justify-content: stretch;
justify-content: center;
text-align: center;
}
.peq-band-list__input,
.peq-band-list__select {
width: 100%;
height: 100%;
min-width: 0;
min-height: 0;
font-family: var(--font-ui);
font-size: 2.2cqh;
padding: 0.5cqh;
text-align: center;
background: var(--bg-panel);
color: var(--text-primary);
border: var(--border-width) solid var(--border-hairline);
border-radius: var(--radius-sm);
box-sizing: border-box;
}