Add audio level meter functionality and update UI elements
This commit is contained in:
@@ -37,6 +37,9 @@ h1 em { color: var(--moss); font-weight: 500; }
|
||||
.record-copy { display: grid; gap: 4px; flex: 1; }
|
||||
.record-copy strong { font-size: 14px; font-weight: 600; }
|
||||
.record-copy span { color: var(--muted); font-size: 12px; }
|
||||
.audio-level { width: min(120px, 100%); height: 3px; overflow: hidden; background: #e4e3dc; }
|
||||
.audio-level[hidden] { display: none; }
|
||||
.audio-level span { display: block; width: 0; height: 100%; background: var(--moss); transition: width .08s linear; }
|
||||
#record-time { color: var(--muted); font: 12px var(--mono); font-variant-numeric: tabular-nums; }
|
||||
.record-meter { height: 2px; max-width: 590px; margin-inline: auto; background: #e4e3dc; }
|
||||
.record-meter span { display: block; height: 100%; width: 0; background: var(--coral); transition: width .25s linear; }
|
||||
|
||||
Reference in New Issue
Block a user