[style](trx-frontend-http): fence the squelch off from the volume controls
CI / lint (push) Successful in 2m18s
CI / test (push) Successful in 8m18s
CI / frontend (push) Failing after 31s
CI / reuse (push) Successful in 3s

The squelch sat in the audio row on the same gap as everything else, so
it read as a continuation of the volume sliders.  It decides whether
there is audio at all, which is not the same kind of control as how loud
it is, and a hairline says so.

The rule belongs to the squelch block, so it leaves with it on a rig
that has none, and it stands down where the row stacks: there the line
break separates them already and a leading rule would just start a line.

Signed-off-by: Stan Grams <sjg@haxx.space>
This commit is contained in:
sjg
2026-08-04 07:36:53 +02:00
parent 2c56d82a81
commit 33aa7b807c
@@ -1856,6 +1856,17 @@ small { color: var(--text-muted); }
font-size: 0.82rem; font-size: 0.82rem;
white-space: nowrap; white-space: nowrap;
} }
/* Fenced off from the volume controls beside it: squelch decides whether there
is audio at all, which is not the same kind of control as how loud it is.
The rule belongs to the block, so it leaves with it on rigs without one. */
.sql-control::before {
content: "";
align-self: stretch;
width: 1px;
min-height: 1.5rem;
margin-inline: 0.5rem 0.6rem;
background: color-mix(in srgb, var(--border-light) 65%, transparent);
}
/* The name is the switch: one target instead of a label and a button that /* The name is the switch: one target instead of a label and a button that
said the same thing twice, with the dot carrying the state. */ said the same thing twice, with the dot carrying the state. */
.sql-toggle { .sql-toggle {
@@ -4556,6 +4567,9 @@ body[data-operator-layout="broadcast"] #cw-bar-overlay {
/* Wider volume sliders for touch */ /* Wider volume sliders for touch */
.vol-slider { width: 100%; flex: 1 1 auto; } .vol-slider { width: 100%; flex: 1 1 auto; }
/* The row stacks at this width, so the line break already separates the
squelch from the volumes and the rule would just start a line. */
.sql-control::before { display: none; }
.vol-label { .vol-label {
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;