949 lines
70 KiB
CSS
949 lines
70 KiB
CSS
:root {
|
|
--bg: #0b0c0f;
|
|
--bg2: #101216;
|
|
--panel: #15181d;
|
|
--panel2: #1c2027;
|
|
--panel3: #232831;
|
|
--line: #2a303a;
|
|
--line2: #3a4250;
|
|
--text: #e8edf3;
|
|
--dim: #8a95a3;
|
|
--dim2: #5d6773;
|
|
--accent: #38bdf8;
|
|
--accent2: #0284c7;
|
|
--ok: #22c55e;
|
|
--warn: #f59e0b;
|
|
--bad: #ef4444;
|
|
--mute: #dc2626;
|
|
--led-g: #2bff6b;
|
|
--led-o: #ffa31a;
|
|
--led-r: #ff3030;
|
|
--radius: 12px;
|
|
--hdr: 56px;
|
|
--bnav: 0px;
|
|
--sb: 70px;
|
|
color-scheme: dark;
|
|
}
|
|
* { box-sizing: border-box; }
|
|
html, body { margin: 0; background: var(--bg); color: var(--text); }
|
|
body {
|
|
font: 15px/1.35 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
|
-webkit-tap-highlight-color: transparent;
|
|
overscroll-behavior-y: contain;
|
|
min-height: 100dvh;
|
|
}
|
|
[hidden] { display: none !important; }
|
|
button, input, select { font: inherit; color: inherit; }
|
|
button {
|
|
background: var(--panel2); border: 1px solid var(--line); border-radius: 9px;
|
|
padding: 8px 12px; min-height: 40px; cursor: pointer; touch-action: manipulation;
|
|
display: inline-flex; align-items: center; justify-content: center; gap: 6px;
|
|
transition: background .12s, border-color .12s, color .12s;
|
|
}
|
|
button:hover { border-color: var(--line2); }
|
|
button:active { filter: brightness(1.25); }
|
|
button:focus-visible, select:focus-visible, input:focus-visible, .fader:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
button.on { background: var(--accent2); border-color: var(--accent); color: #fff; }
|
|
button:disabled { opacity: .45; cursor: default; }
|
|
button.danger { color: #fca5a5; }
|
|
button.danger-on { background: #991b1b; border-color: #ef4444; color: #fff; }
|
|
button.small { min-height: 32px; padding: 4px 10px; font-size: 13px; text-transform: none; letter-spacing: 0; }
|
|
button.icon { background: none; border-color: transparent; padding: 8px; min-width: 44px; }
|
|
button.icon:hover { background: var(--panel2); }
|
|
button svg, .icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
|
|
select, input[type=text], input[type=number], input[type=password] {
|
|
background: var(--panel2); border: 1px solid var(--line); border-radius: 9px;
|
|
padding: 8px 10px; min-height: 40px; width: 100%; min-width: 0;
|
|
}
|
|
select { cursor: pointer; }
|
|
input.bad { border-color: var(--bad); }
|
|
label.inline { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dim); }
|
|
|
|
/* ------------------------------------------------------------- header */
|
|
#top {
|
|
position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 8px;
|
|
padding: calc(6px + env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) 6px max(8px, env(safe-area-inset-left));
|
|
background: rgba(11, 12, 15, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
.brand { display: flex; flex: none; }
|
|
#devtabs { display: flex; gap: 6px; flex: 0 1 auto; min-width: 0; position: relative; }
|
|
#devtabs::-webkit-scrollbar { display: none; }
|
|
.devtab { white-space: nowrap; flex: none; max-width: 220px; background: var(--panel); }
|
|
.devtab .dn { overflow: hidden; text-overflow: ellipsis; }
|
|
.devtab small { font-size: 11px; color: var(--dim); background: var(--panel3); border-radius: 5px; padding: 1px 5px; }
|
|
.devtab.active { background: var(--panel3); border-color: var(--accent); }
|
|
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dim2); flex: none; }
|
|
.dot.online { background: var(--ok); box-shadow: 0 0 6px var(--ok); }
|
|
.dot.connecting, .dot.loading { background: var(--warn); animation: blink 1s infinite; }
|
|
.dot.error { background: var(--bad); }
|
|
@keyframes blink { 50% { opacity: .3; } }
|
|
|
|
#viewtabs { display: flex; gap: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 11px; padding: 3px; flex: none;
|
|
margin-left: auto; } /* logo + DSP choice on the left, menu and buttons on the right */
|
|
#viewtabs button { border: 0; background: none; min-height: 36px; padding: 6px 14px; color: var(--dim); border-radius: 8px; }
|
|
#viewtabs button svg { width: 18px; height: 18px; }
|
|
#viewtabs button svg .f { fill: currentColor; stroke: none; }
|
|
#viewtabs button.active { background: var(--panel3); color: var(--accent); }
|
|
body[data-view=settings] #viewtabs button.active { background: none; color: var(--dim); }
|
|
|
|
#statusbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px max(10px, env(safe-area-inset-right)) 6px max(10px, env(safe-area-inset-left)); }
|
|
#statusbar:empty { display: none; }
|
|
#statusbar .preset { flex: 1 1 180px; min-width: 0; }
|
|
#statusbar .preset b { display: block; font-size: 18px; letter-spacing: .01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
#statusbar .preset small { color: var(--dim); font-size: 12px; }
|
|
#statusbar .presetrow { flex: 0 1 380px; display: flex; gap: 8px; min-width: 0; }
|
|
#statusbar .presetrow select { flex: 1; min-width: 0; }
|
|
#statusbar .presetrow button { flex: none; }
|
|
|
|
#main { padding: 4px max(10px, env(safe-area-inset-right)) calc(24px + var(--bnav)) max(10px, env(safe-area-inset-left)); max-width: 1500px; margin: 0 auto; }
|
|
|
|
/* phones: view switcher becomes a bottom navigation bar */
|
|
@media (max-width: 759px) {
|
|
:root { --bnav: calc(62px + env(safe-area-inset-bottom)); }
|
|
.brand img, .brand svg { width: 24px; height: 24px; }
|
|
#btn-muteall { margin-left: auto; } /* the menu moved to the bottom bar: buttons stay on the right */
|
|
/* backdrop-filter would make the header the containing block of the fixed bottom bar */
|
|
#top { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
|
|
#viewtabs {
|
|
position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; border-radius: 0; border: 0; border-top: 1px solid var(--line);
|
|
padding: 4px 6px env(safe-area-inset-bottom); background: rgba(16, 18, 22, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
|
|
}
|
|
#viewtabs { overflow-x: auto; scrollbar-width: none; }
|
|
#viewtabs::-webkit-scrollbar { display: none; }
|
|
#viewtabs button { flex: 1 0 60px; flex-direction: column; gap: 2px; font-size: 11px; min-height: 54px; padding: 4px; }
|
|
#viewtabs button svg { width: 22px; height: 22px; }
|
|
#toast { bottom: calc(var(--bnav) + 12px) !important; }
|
|
}
|
|
|
|
/* ------------------------------------------------------------- generic blocks */
|
|
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; min-width: 0; }
|
|
.card h3 { margin: 0 0 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim);
|
|
display: flex; align-items: center; gap: 8px; min-height: 22px; }
|
|
.grow { flex: 1; }
|
|
html { scrollbar-gutter: stable; }
|
|
.cards { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: stretch; margin-bottom: 10px; }
|
|
.cards .wide { grid-column: 1 / -1; }
|
|
h2.section { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); margin: 14px 2px 8px; }
|
|
.empty { color: var(--dim); text-align: center; padding: 60px 16px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
|
|
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .9s linear infinite; }
|
|
.spinner.off { display: none; }
|
|
@keyframes spin { to { transform: rotate(360deg); } }
|
|
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
|
|
.row > * { flex: 1 1 auto; }
|
|
.row > button { flex: 0 0 auto; }
|
|
.grow2 { flex: 1 1 160px !important; }
|
|
.info { font-size: 12px; color: var(--dim); margin: 8px 2px 0; }
|
|
.info.off { margin: 4px 0 6px; }
|
|
.hint { text-align: center; }
|
|
.err { color: #fca5a5; font-size: 13px; }
|
|
|
|
/* ------------------------------------------------------------- parameter rows */
|
|
.param { margin: 10px 0 4px; }
|
|
.param .lbl { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--dim); margin-bottom: 2px; }
|
|
.valbox { display: flex; align-items: center; gap: 4px; }
|
|
.valbox .val { min-width: 104px; min-height: 32px; padding: 3px 8px; background: var(--bg2); border-color: var(--line);
|
|
font-variant-numeric: tabular-nums; font-size: 14px; color: var(--text); }
|
|
.valbox .step { width: 34px; min-width: 34px; min-height: 32px; padding: 0; font-size: 18px; line-height: 1; color: var(--dim); background: var(--panel2); }
|
|
.valbox .step:hover { color: var(--text); }
|
|
.param.atzero .val { color: var(--ok); border-color: #1f5f36; }
|
|
.rangewrap { position: relative; }
|
|
.rangewrap .zmark { position: absolute; top: 6px; bottom: 6px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--line2);
|
|
left: calc(13px + (100% - 26px) * var(--f)); pointer-events: none; }
|
|
.param.atzero .zmark { background: var(--ok); }
|
|
input[type=range] { position: relative; width: 100%; height: 36px; background: transparent; -webkit-appearance: none; appearance: none; margin: 0; cursor: pointer; touch-action: pan-y; }
|
|
input[type=range]::-webkit-slider-runnable-track { height: 6px; background: var(--line); border-radius: 3px; }
|
|
input[type=range]::-moz-range-track { height: 6px; background: var(--line); border-radius: 3px; }
|
|
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%;
|
|
background: radial-gradient(circle at 50% 40%, #e2e8f0, #94a3b8); border: 2px solid #0b0c0f; box-shadow: 0 1px 4px #000c; }
|
|
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #e2e8f0, #94a3b8); border: 2px solid #0b0c0f; }
|
|
.param.atzero input[type=range]::-webkit-slider-thumb { box-shadow: 0 0 0 3px #22c55e55, 0 1px 4px #000c; }
|
|
|
|
/* ------------------------------------------------------------- LED meters (segment bars) */
|
|
.led { display: flex; gap: 2px; flex: none; }
|
|
.led > i { flex: 1; border-radius: 1.5px; background: var(--c); opacity: .13; }
|
|
.led > i.g { --c: var(--led-g); }
|
|
.led > i.o { --c: var(--led-o); }
|
|
.led > i.r { --c: var(--led-r); }
|
|
.led.v { flex-direction: column-reverse; width: 12px; height: 100%; padding: 12px 0; }
|
|
.led.h { flex-direction: row; height: 10px; width: 120px; }
|
|
.muted .led > i { filter: saturate(.25); }
|
|
|
|
/* ------------------------------------------------------------- fader */
|
|
/* only the cap grabs: a swipe anywhere else on the fader scrolls the page / the mixer sideways */
|
|
.fader { --tx: 50%; position: relative; touch-action: pan-x pan-y; user-select: none; -webkit-user-select: none; border-radius: 8px; }
|
|
.fader .track { position: absolute; left: var(--tx); top: 12px; bottom: 12px; width: 6px; margin-left: -3px; background: #07080a;
|
|
border-radius: 3px; box-shadow: inset 0 0 0 1px var(--line); }
|
|
.fader .tick { position: absolute; left: calc(var(--tx) - 14px); width: 28px; height: 1px; background: var(--line2);
|
|
top: calc(12px + (100% - 24px) * (1 - var(--f))); }
|
|
.fader .tick.z { background: var(--dim); height: 2px; margin-top: -0.5px; }
|
|
.fader .tick span { position: absolute; right: calc(100% + 3px); top: -6px; font-size: 9px; line-height: 12px; color: var(--dim2); font-variant-numeric: tabular-nums; white-space: nowrap; }
|
|
.fader .tick.z span { color: var(--dim); font-weight: 600; }
|
|
.fader .cap { position: absolute; left: calc(var(--tx) - 16px); width: 32px; height: 40px; margin-top: -20px; border-radius: 5px;
|
|
top: calc(12px + (100% - 24px) * (1 - var(--f)));
|
|
background: linear-gradient(#3b4250, #262b34 45%, #1b1f26 55%, #2c323c); border: 1px solid #4a5260;
|
|
box-shadow: 0 3px 8px #000c, inset 0 1px 0 #ffffff1a; }
|
|
.fader .cap { touch-action: none; cursor: ns-resize; z-index: 1; }
|
|
.fader .cap::before { content: ""; position: absolute; inset: -10px -8px; } /* larger grip area for fingers */
|
|
.fader .cap::after { content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 2px; margin-top: -1px; background: #e8edf3; border-radius: 1px; }
|
|
.fader.atzero .cap::after { background: var(--ok); box-shadow: 0 0 6px var(--ok); }
|
|
.fader.grab .cap { border-color: var(--accent); }
|
|
|
|
/* ------------------------------------------------------------- mixer */
|
|
.mixer { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; }
|
|
.mgroup { flex: 0 0 auto; display: flex; flex-direction: column; gap: 6px; }
|
|
.mgroup h4 { margin: 0 2px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); font-weight: 600; }
|
|
/* strips sit in row 2 of a grid; row 1 holds the brackets of link groups (spanning their strips) */
|
|
.strips { display: grid; grid-template-columns: repeat(var(--n), 92px); grid-template-rows: 0 auto; gap: 0 6px; }
|
|
.mixer.hasbands .strips { grid-template-rows: 30px auto; }
|
|
.strips > .strip { grid-row: 2; }
|
|
.lkband { --lc: var(--warn); grid-row: 1; position: relative; align-self: end; height: 13px; margin: 0 14px 5px;
|
|
border: 2px solid var(--lc); border-bottom: 0; border-radius: 14px 14px 0 0;
|
|
filter: drop-shadow(0 0 5px color-mix(in srgb, var(--lc) 55%, transparent)); }
|
|
.lkband::before, .lkband::after { content: ""; position: absolute; bottom: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--lc); }
|
|
.lkband::before { left: -4px; } .lkband::after { right: -4px; }
|
|
.lkband.single { margin: 0 16px 5px; }
|
|
.lkband.single .lkname { max-width: calc(100% + 30px); padding: 1px 7px; }
|
|
.lkname { position: absolute; left: 50%; top: -1px; transform: translate(-50%, -50%); max-width: calc(100% - 20px);
|
|
display: flex; align-items: center; gap: 5px; padding: 1px 9px; border-radius: 999px; white-space: nowrap;
|
|
background: var(--bg); border: 1px solid color-mix(in srgb, var(--lc) 60%, transparent); color: var(--lc);
|
|
font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
|
|
.lkname b { overflow: hidden; text-overflow: ellipsis; font-weight: inherit; }
|
|
.lkname svg { flex: none; width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
|
|
.lkname.anon { padding: 2px 6px; }
|
|
.lkgroup { display: flex; flex-direction: column; gap: 6px; padding-right: 8px; }
|
|
.lkgroup > .row { flex-wrap: nowrap; }
|
|
.lkgroup .lkmembers { min-width: 0; font-weight: 600; }
|
|
.lkgroup .lkname-in { width: 100%; height: 34px; padding: 4px 10px; font-size: 13px; }
|
|
.strip { --cc: var(--warn); flex: none; width: 92px; background: linear-gradient(var(--panel), var(--bg2)); border: 1px solid var(--line);
|
|
border-radius: var(--radius); padding: 0 6px 8px; display: flex; flex-direction: column; align-items: stretch; gap: 8px;
|
|
scroll-snap-align: start; position: relative; overflow: hidden; }
|
|
.strip::before { content: ""; height: 3px; margin: 0 -6px; background: var(--cc); opacity: .9; }
|
|
.strip-head { flex-direction: column; gap: 0; background: none; border: 0; padding: 2px 0; min-height: 38px; border-radius: 6px; }
|
|
.strip-head:hover { background: var(--panel2); }
|
|
.strip-head .kind { font-size: 11px; color: var(--dim); letter-spacing: .04em; }
|
|
.strip-head .nm { font-weight: 650; font-size: 13px; max-width: 78px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.faderbox { display: flex; justify-content: center; gap: 4px;
|
|
height: clamp(170px, calc(100dvh - var(--hdr) - var(--sb) - var(--bnav) - 196px), 560px); }
|
|
.strip .fader { --tx: 36px; width: 56px; height: 100%; }
|
|
.strip .db { min-height: 32px; padding: 2px; font-variant-numeric: tabular-nums; font-size: 13px; background: var(--bg2); }
|
|
.strip .db.z { color: var(--ok); }
|
|
.strip button.mute { min-height: 38px; font-weight: 700; font-size: 12px; letter-spacing: .06em; }
|
|
button.mute.on { background: var(--mute); border-color: #f87171; color: #fff; box-shadow: 0 0 10px #dc262655; }
|
|
.strip.muted { background: linear-gradient(#1f1517, var(--bg2)); }
|
|
@media (min-width: 1200px) {
|
|
.mgroup { flex: 0 1 auto !important; }
|
|
.strips { grid-template-columns: repeat(var(--n), minmax(92px, 128px)); }
|
|
.strip { width: auto; max-width: 128px; }
|
|
}
|
|
|
|
/* ------------------------------------------------------------- channel view */
|
|
.chbar { position: sticky; top: var(--hdr); z-index: 10; display: flex; align-items: center; gap: 6px; margin: 0 -10px 10px; padding: 8px 10px;
|
|
background: rgba(11, 12, 15, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
|
|
.chbar .nav { flex: none; background: var(--panel2); border-color: var(--line); min-width: 44px; }
|
|
.chselwrap { --cc: var(--warn); flex: 1 1 auto; min-width: 0; position: relative; max-width: 420px; }
|
|
.chselwrap::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px; border-radius: 2px; background: var(--cc); pointer-events: none; }
|
|
.chsel { font-weight: 650; font-size: 16px; padding-left: 14px; min-height: 44px; background: var(--panel2); }
|
|
.chbar .led.h { width: clamp(60px, 18vw, 200px); }
|
|
.chbar .mute { flex: none; min-width: 70px; font-weight: 700; font-size: 12px; letter-spacing: .06em; }
|
|
@media (max-width: 480px) { .chbar .led.h { display: none; } }
|
|
|
|
.sub { font-size: 13px; color: var(--text); font-weight: 600; flex: 0 0 80px !important; }
|
|
.xo + .xo { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
|
|
canvas.curve { width: 100%; height: clamp(200px, 32vw, 320px); display: block; background: #08090b; border: 1px solid var(--line); border-radius: 10px; touch-action: none; cursor: crosshair; }
|
|
.bands { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0 4px; scrollbar-width: thin; }
|
|
.band { flex: 1 0 58px; flex-direction: column; gap: 0; padding: 5px 4px; min-height: 52px; line-height: 1.15; }
|
|
.band b { font-size: 14px; }
|
|
.band small { font-size: 10.5px; color: var(--dim); font-variant-numeric: tabular-nums; }
|
|
.band.active:not(.on) { border-color: #3b6d8a; }
|
|
.band.on { background: #3a2a0d; border-color: var(--warn); color: #fff; }
|
|
.band.on small { color: #fcd9a0; }
|
|
.band.bypassed { opacity: .45; }
|
|
.band.bypassed b { text-decoration: line-through; }
|
|
.bandhead { margin-top: 8px; }
|
|
.bandhead label { flex: 1 1 200px; }
|
|
.pgrid { display: grid; gap: 0 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
|
|
|
|
.geq { display: flex; gap: 2px; overflow-x: auto; padding-bottom: 6px; }
|
|
.gb { flex: 1 0 30px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10px; color: var(--dim); }
|
|
.gb .fader { width: 30px; height: 190px; }
|
|
.gb .fader .tick { left: 3px; width: 24px; }
|
|
.gb .fader .cap { left: 1px; width: 28px; height: 24px; margin-top: -12px; }
|
|
.gb .gv { font-variant-numeric: tabular-nums; }
|
|
.gb .gv.nz { color: var(--warn); }
|
|
.gb .gf { white-space: nowrap; }
|
|
|
|
.mixrow { display: grid; grid-template-columns: minmax(110px, 0.6fr) 1fr; gap: 4px 12px; align-items: center; padding: 4px 0; }
|
|
.mixrow + .mixrow { border-top: 1px solid var(--line); }
|
|
.mixrow .param { margin: 4px 0; }
|
|
.mixrow .param .lbl > span:first-child { display: none; }
|
|
.mixrow .param .lbl { justify-content: flex-end; }
|
|
.mixrow.off .param { opacity: .45; }
|
|
.src { --cc: var(--accent); justify-content: flex-start; text-align: left; min-height: 44px; }
|
|
.src .sw { width: 30px; height: 18px; border-radius: 9px; background: var(--line); position: relative; flex: none; transition: background .15s; }
|
|
.src .sw::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--dim); transition: transform .15s, background .15s; }
|
|
.src.on { background: var(--panel2); border-color: var(--cc); color: var(--text); }
|
|
.src.on .sw { background: var(--cc); }
|
|
.src.on .sw::after { transform: translateX(12px); background: #fff; }
|
|
@media (max-width: 420px) { .mixrow { grid-template-columns: 1fr; } }
|
|
|
|
/* ------------------------------------------------------------- routing matrix */
|
|
.routing { overflow-x: auto; }
|
|
.xmatrix { display: grid; grid-template-columns: minmax(104px, 1.1fr) repeat(var(--n), minmax(58px, 1fr)); gap: 0; min-width: min-content; }
|
|
.xcorner { display: flex; flex-direction: column; justify-content: flex-end; padding: 0 8px 8px 2px; font-size: 11px; color: var(--dim2); }
|
|
.xin { --cc: var(--accent); display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px 10px; border-top: 3px solid var(--cc);
|
|
background: linear-gradient(color-mix(in srgb, var(--cc) 10%, transparent), transparent); border-radius: 6px 6px 0 0; margin: 0 3px; min-width: 0; }
|
|
.xin b { font-size: 14px; }
|
|
.xin small { font-size: 11px; color: var(--dim); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.xin .led.h { width: 80%; height: 6px; margin-top: 4px; }
|
|
.xout { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; justify-items: start; align-items: center; gap: 0 6px;
|
|
text-align: left; border-radius: 9px 0 0 9px; border: 0; border-top: 1px solid var(--line); background: none; padding: 8px; min-height: 64px; }
|
|
.xout:hover { background: var(--panel2); }
|
|
.xout.open { background: var(--panel3); }
|
|
.xo-t { display: flex; flex-direction: column; min-width: 0; }
|
|
.xo-t b { font-size: 14px; }
|
|
.xo-t small { font-size: 11px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
|
|
.xo-s { grid-column: 1; font-size: 11px; color: var(--accent); }
|
|
.chev { grid-column: 2; grid-row: 1 / 3; color: var(--dim); font-size: 16px; }
|
|
.xp { --cc: var(--accent); position: relative; border: 0; border-top: 1px solid var(--line); border-radius: 0; min-height: 64px; padding: 0; background:
|
|
linear-gradient(var(--line), var(--line)) center / 2px 100% no-repeat,
|
|
linear-gradient(var(--line), var(--line)) center / 100% 2px no-repeat; flex-direction: column; gap: 3px; }
|
|
.xp:hover { background-color: var(--panel2); }
|
|
.xp .node { width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line2); transition: transform .12s, background .12s; }
|
|
.xp:hover .node { border-color: var(--dim); }
|
|
.xp.on { border-color: var(--line); color: var(--text); --lc: color-mix(in srgb, var(--cc) 60%, transparent); background:
|
|
linear-gradient(var(--lc), var(--lc)) center / 2px 100% no-repeat,
|
|
linear-gradient(var(--lc), var(--lc)) center / 100% 2px no-repeat; }
|
|
.xp.on .node { background: var(--cc); border-color: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--cc) 30%, transparent), 0 0 14px var(--cc); transform: scale(1.08); }
|
|
.xp small { position: absolute; bottom: 3px; left: 0; right: 0; font-size: 10px; color: var(--text); background: none; font-variant-numeric: tabular-nums; }
|
|
.xpanel { grid-column: 1 / -1; background: var(--panel3); border-radius: 0 0 10px 10px; padding: 6px 12px 10px; margin-bottom: 6px; }
|
|
.xpanel-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; padding: 4px 0; }
|
|
|
|
/* ------------------------------------------------------------- settings */
|
|
.devform { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
|
|
.devform label { font-size: 12px; color: var(--dim); display: flex; flex-direction: column; gap: 4px; }
|
|
.devform label.full, .devform .err { grid-column: 1 / -1; }
|
|
.devform label.chk { flex-direction: row; align-items: center; gap: 8px; color: var(--text); font-size: 14px; }
|
|
.devform label.chk input { width: 20px; height: 20px; }
|
|
.devform .actions { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
|
|
.devform .actions button { flex: 1 1 auto; }
|
|
|
|
/* ------------------------------------------------------------- dialogs */
|
|
#modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
|
|
.backdrop { position: absolute; inset: 0; background: #000a; animation: fade .15s; }
|
|
.dialog { position: relative; width: min(420px, 100%); background: var(--panel); border: 1px solid var(--line2); border-radius: 16px;
|
|
padding: 18px; box-shadow: 0 20px 60px #000c; animation: pop .15s ease-out; }
|
|
.dialog h2 { margin: 0 0 12px; font-size: 17px; }
|
|
.dlg-text { margin: 0 0 4px; color: var(--dim); }
|
|
.dlg-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 16px; }
|
|
.dlg-actions button { min-width: 110px; }
|
|
.dialog .row input { flex: 1 1 140px; font-size: 18px; font-variant-numeric: tabular-nums; }
|
|
.dialog .chip { flex: none; }
|
|
.form { display: flex; flex-direction: column; gap: 10px; }
|
|
.form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--dim); }
|
|
@keyframes fade { from { opacity: 0; } }
|
|
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(6px); } }
|
|
@media (max-width: 520px) {
|
|
#modal { align-items: flex-end; padding: 0; }
|
|
.dialog { width: 100%; border-radius: 18px 18px 0 0; padding-bottom: calc(18px + env(safe-area-inset-bottom)); animation: slideup .18s ease-out; }
|
|
.dlg-actions button { flex: 1; }
|
|
}
|
|
@keyframes slideup { from { transform: translateY(40px); opacity: 0; } }
|
|
|
|
#toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translateX(-50%);
|
|
background: #1f2937; border: 1px solid var(--line2); padding: 10px 16px; border-radius: 10px; z-index: 120; max-width: 90vw; box-shadow: 0 8px 24px #000a; }
|
|
|
|
/* ------------------------------------------------------------- login */
|
|
#login { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; overflow-y: auto;
|
|
background: radial-gradient(ellipse at 50% 0%, #13253a 0%, var(--bg) 60%); padding: 20px; }
|
|
.loginbox { display: flex; flex-direction: column; align-items: center; width: min(320px, 100%); }
|
|
.loginbox .logo svg { width: 56px; height: 56px; }
|
|
.loginbox h1 { margin: 12px 0 2px; font-size: 22px; letter-spacing: .02em; }
|
|
.loginbox p { margin: 0 0 22px; color: var(--dim); }
|
|
.pindots { display: flex; gap: 18px; margin-bottom: 10px; }
|
|
.pindots i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line2); transition: background .1s, border-color .1s, transform .1s; }
|
|
.pindots i.on { background: var(--accent); border-color: var(--accent); transform: scale(1.1); box-shadow: 0 0 10px #38bdf888; }
|
|
.pindots.shake { animation: shake .4s; }
|
|
.pindots.shake i { border-color: var(--bad); }
|
|
@keyframes shake { 20%, 60% { transform: translateX(-10px); } 40%, 80% { transform: translateX(10px); } }
|
|
.pinmsg { min-height: 20px; font-size: 13px; color: #fca5a5; margin-bottom: 14px; text-align: center; }
|
|
.pinpad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: 100%; max-width: 280px; }
|
|
.pinpad.locked { opacity: .35; pointer-events: none; }
|
|
.pk { aspect-ratio: 1; border-radius: 50%; font-size: 26px; font-weight: 500; background: var(--panel); border: 1px solid var(--line); min-height: 0; }
|
|
.pk:active { background: var(--accent2); border-color: var(--accent); filter: none; }
|
|
.pk.del { font-size: 22px; background: none; border-color: transparent; color: var(--dim); }
|
|
@media (max-height: 560px) { .pk { aspect-ratio: auto; height: 52px; border-radius: 14px; } .pinpad { gap: 8px; } .loginbox p { margin-bottom: 10px; } }
|
|
|
|
/* ------------------------------------------------------------- limiter calculator */
|
|
.limcard h3 .led.h { width: clamp(50px, 14vw, 110px); height: 8px; }
|
|
.lres { --c: var(--ok); border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: 10px; padding: 10px 12px; margin-bottom: 12px;
|
|
background: linear-gradient(90deg, color-mix(in srgb, var(--c) 10%, transparent), transparent 70%); }
|
|
.lres.warn { --c: var(--warn); }
|
|
.lres.bad { --c: var(--bad); }
|
|
.lres.none { --c: var(--line2); background: none; }
|
|
.lw { font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
|
|
.lw small { font-size: 14px; font-weight: 500; color: var(--dim); }
|
|
.lsub { font-size: 13px; color: var(--dim); margin-top: 2px; }
|
|
.lbar { position: relative; height: 8px; border-radius: 4px; background: var(--panel3); margin: 10px 0 4px; }
|
|
.lres.none .lbar, .lres.none .lw, .lres.none .lnotes { display: none; }
|
|
.lres.none { padding: 7px 10px; }
|
|
.lres.none .lsub { margin: 0; }
|
|
.lbar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 100%); border-radius: 4px; background: var(--c); transition: width .15s; }
|
|
.lbar b, .lbar::after { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--text); left: calc(var(--a) * 100% - 1px); }
|
|
.lbar::after { content: ""; display: none; background: var(--warn); left: calc(var(--s) * 100% - 1px); }
|
|
.lbar.hasspk::after { display: block; }
|
|
.lnotes { display: grid; gap: 2px; margin-top: 6px; font-size: 12.5px; }
|
|
.lnotes .ok { color: #86efac; } .lnotes .warn { color: #fcd34d; } .lnotes .bad { color: #fca5a5; }
|
|
.lnotes div::before { content: "● "; font-size: 9px; vertical-align: 2px; }
|
|
.limgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
|
|
.limgrid label { font-size: 12px; color: var(--dim); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
|
|
.limgrid label.full { grid-column: 1 / -1; }
|
|
.target { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; }
|
|
.target .row input { flex: 1 1 80px; min-width: 0; }
|
|
.target .sub { flex: 0 0 auto !important; }
|
|
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
|
|
button.chip { min-height: 30px; padding: 3px 10px; font-size: 12.5px; text-transform: none; letter-spacing: 0; border-radius: 15px; }
|
|
details.more { margin-top: 8px; }
|
|
details.more summary { cursor: pointer; font-size: 13px; color: var(--dim); padding: 6px 0; user-select: none; }
|
|
.amp .ampspec { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
|
|
.amp .actions { display: flex; justify-content: flex-end; margin-top: 8px; }
|
|
.addcard { min-height: 90px; border-style: dashed; color: var(--dim); background: none; font-size: 14px; }
|
|
.addcard:hover { color: var(--accent); border-color: var(--accent); }
|
|
input.short { flex: 0 0 72px !important; width: 72px; text-align: right; }
|
|
.seg { display: flex; gap: 0; }
|
|
.seg button { flex: 1; border-radius: 0; text-transform: none; letter-spacing: 0; }
|
|
.seg button:first-child { border-radius: 8px 0 0 8px; }
|
|
.seg button:last-child { border-radius: 0 8px 8px 0; margin-left: -1px; }
|
|
.ampform { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
|
.ampform .full { grid-column: 1 / -1; }
|
|
.ampform input { min-width: 0; width: 100%; }
|
|
.ampform .sub { margin-top: 4px; }
|
|
.ampform .full > label { font-size: 12px; color: var(--dim); display: flex; flex-direction: column; gap: 4px; }
|
|
.ampform label[hidden] { display: none; }
|
|
.chips.presets { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); margin: 6px 0 10px; }
|
|
button.chip.preset { flex-direction: column; align-items: flex-start; gap: 0; border-radius: 9px; padding: 5px 9px; min-height: 42px; text-align: left; }
|
|
button.chip.preset b { font-size: 13px; }
|
|
button.chip.preset small { font-size: 10.5px; color: var(--dim); font-weight: 400; }
|
|
button.chip.preset.on small { color: #e0f2fe; }
|
|
details.more summary .tag { margin-left: 8px; font-size: 11px; padding: 1px 7px; border-radius: 9px; background: var(--panel3); color: var(--accent); }
|
|
|
|
/* ------------------------------------------------------------- desktop app: remote access */
|
|
.remote-urls { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
|
|
.remote-urls code { font: 600 15px ui-monospace, Consolas, monospace; color: var(--accent); background: var(--panel2);
|
|
border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; user-select: all; }
|
|
|
|
/* ------------------------------------------------------------- device form: network / USB */
|
|
.devform .full { grid-column: 1 / -1; }
|
|
.devform [hidden] { display: none !important; }
|
|
.devform .sub { margin-top: 2px; color: var(--dim); font-weight: 500; font-size: 12px; }
|
|
.devform .row { flex-wrap: nowrap; }
|
|
.devform .row select { flex: 1 1 auto; min-width: 0; }
|
|
|
|
/* channel links */
|
|
.lnk { --lc: var(--warn); display: inline-flex; vertical-align: -2px; margin-left: 4px; color: var(--lc); }
|
|
.lnk svg, .linknote svg, .lkgroup svg, .lkmark svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
|
|
.linknote { --lc: var(--warn); color: var(--lc); margin: -4px 0 10px; }
|
|
.linknote svg { vertical-align: -2px; }
|
|
.lkgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
|
|
.lkch { --lc: var(--line); position: relative; flex-direction: column; gap: 0; min-height: 58px; border-top: 3px solid var(--lc); }
|
|
.lkch small { color: var(--dim); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.lkch .lkmark { position: absolute; top: 4px; right: 5px; color: var(--lc); }
|
|
.lkch.sel { background: var(--accent2); border-color: var(--accent); color: #fff; }
|
|
.lkch.sel small { color: #dbeafe; }
|
|
.lkactions { margin-top: 10px; }
|
|
.lkgroups { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
|
|
.lkgroup { --lc: var(--warn); border-left: 3px solid var(--lc); padding: 4px 0 4px 10px; background: var(--panel2); border-radius: 6px; }
|
|
.lkgroup svg { flex: none; color: var(--lc); }
|
|
|
|
/* lock (desktop app) */
|
|
#btn-lock { display: inline-flex; align-items: center; gap: 6px; }
|
|
#btn-lock[hidden] { display: none; }
|
|
#btn-lock.on { background: #3a2a0d; border-color: var(--warn); color: #fcd9a0; padding: 8px 12px; }
|
|
#btn-lock span { font-size: 13px; font-weight: 600; }
|
|
body.locked #main :is(button, input, select, .fader, canvas):not(.chsel, .nav, .strip-head, .xout, .band, [data-view-ok]),
|
|
body.locked #statusbar :is(button, select):not([data-view-ok]) { cursor: not-allowed; }
|
|
|
|
/* limiter LED (outputs): orange bar under the channel name, lit while the DSP reports the limiter active */
|
|
.limled { flex: none; display: block; width: 34px; height: 4px; margin-top: 3px; border-radius: 1px;
|
|
background: color-mix(in srgb, var(--led-o) 16%, transparent); transition: background .08s, box-shadow .08s; }
|
|
.limled.ph { visibility: hidden; }
|
|
.limled.dot { width: 9px; height: 9px; margin: 0 8px 0 4px; border-radius: 50%; }
|
|
.limcard h3 > .grow { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.limcard h3 .led.h { width: 96px; }
|
|
.limled.txt { width: auto; height: auto; margin: 1px 0 0; background: none; font-size: 9px; line-height: 11px; font-weight: 800; letter-spacing: .08em;
|
|
color: color-mix(in srgb, var(--led-o) 22%, transparent); transition: color .08s; }
|
|
.limled.txt.on { background: none; box-shadow: none; color: var(--led-o); text-shadow: 0 0 5px color-mix(in srgb, var(--led-o) 55%, transparent); }
|
|
.limled.on { background: var(--led-o); box-shadow: 0 0 6px var(--led-o), 0 0 2px var(--led-o); }
|
|
.limled.h { width: auto; height: auto; margin: 0; padding: 2px 6px; font-size: 10px; font-weight: 700; letter-spacing: .06em;
|
|
color: color-mix(in srgb, var(--led-o) 45%, transparent); }
|
|
.limled.h.on { color: #1a1000; }
|
|
|
|
/* ---- demo mode */
|
|
.demo-badge { font-size: 10px; font-weight: 700; letter-spacing: .08em; color: #1a1000 !important;
|
|
background: var(--warn) !important; border-radius: 5px; padding: 1px 6px; }
|
|
.devtab.demo { border-color: var(--warn); }
|
|
.devtab.paused, .card.paused { opacity: .45; }
|
|
.devtab.paused { cursor: not-allowed; }
|
|
.card.demo-on { border-color: var(--warn); }
|
|
|
|
/* ---- device lock (hardware) */
|
|
input.code { width: 7.5em; text-align: center; font-family: ui-monospace, Menlo, Consolas, monospace;
|
|
font-size: 20px; letter-spacing: .3em; text-transform: uppercase; }
|
|
.dialog input.code { display: block; margin: 8px auto 4px; }
|
|
.lockbox .row { align-items: center; gap: 8px; margin: 6px 0; }
|
|
.lockbox .sub { margin-top: 10px; }
|
|
.dot.locked { background: var(--warn); }
|
|
.dialog label.chk { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; }
|
|
.dialog label.chk input { width: 20px; height: 20px; }
|
|
.dialog .err { text-align: center; }
|
|
.lockbox input.code { flex: none; width: 7.5em; }
|
|
|
|
/* ---- audio test */
|
|
.test-badge { font-size: 10px; font-weight: 700; letter-spacing: .08em; color: #fff !important;
|
|
background: var(--bad) !important; border-radius: 5px; padding: 1px 6px; }
|
|
.testbanner { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; font-weight: 600;
|
|
background: color-mix(in srgb, var(--bad) 18%, transparent); border: 1px solid var(--bad); }
|
|
.cards.testcards { grid-template-columns: minmax(0, 1fr); }
|
|
.srcgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
|
|
.srcgrid .src { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px; text-align: left;
|
|
text-transform: none; letter-spacing: 0; min-height: 58px; }
|
|
.srcgrid .src small { color: var(--dim); font-weight: 400; }
|
|
.srcgrid .src.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, var(--panel)); }
|
|
.srcgrid .src.noise.on { border-color: var(--bad); background: color-mix(in srgb, var(--bad) 16%, var(--panel)); }
|
|
.sinefreq { margin-top: 12px; align-items: center; gap: 10px; }
|
|
.sinefreq.dim { opacity: .5; }
|
|
.testfader.off .tf { opacity: .35; pointer-events: none; }
|
|
.testbody { display: flex; gap: 18px; align-items: flex-start; min-width: 0; }
|
|
.tf { display: flex; flex-direction: column; align-items: center; gap: 8px; }
|
|
.tf .fader { height: 300px; }
|
|
.testval { white-space: nowrap; width: 6.5em; text-align: center; font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums; }
|
|
.tf { flex: none; width: 6.5em; }
|
|
.tmeters { flex: 1; display: flex; gap: 6px; overflow-x: auto; min-width: 0; padding-bottom: 4px; }
|
|
.tmeter { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1 0 auto; max-width: 120px; }
|
|
.tmeter .led { height: 300px; }
|
|
.testfader h3 .info { margin-left: 8px; text-transform: none; letter-spacing: 0; font-weight: 400; }
|
|
.tmeter small { font-size: 11px; color: var(--dim); }
|
|
button.wide { width: 100%; margin-top: 14px; }
|
|
.tmeter button.mute { padding: 6px 8px; font-size: 11px; min-width: 52px; }
|
|
.tmeter.muted .led { opacity: .35; }
|
|
|
|
/* ---- curve: phase view, overlays, master bypass */
|
|
.seg.small button { padding: 5px 10px; font-size: 12px; min-height: 0; }
|
|
.card h3 .seg.small { margin-right: 8px; }
|
|
button.bypass.on { background: #991b1b; border-color: var(--bad); color: #fff; }
|
|
.card.eq-off .bands { opacity: .45; }
|
|
.chips.overlay { margin-top: 8px; align-items: center; gap: 6px; flex-wrap: wrap; }
|
|
.chips.overlay .sub { margin-right: 4px; }
|
|
button.chip.ov { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; font-size: 12px; text-transform: none; letter-spacing: 0; }
|
|
button.chip.ov i { width: 10px; height: 10px; border-radius: 3px; border: 2px solid var(--oc); }
|
|
button.chip.ov.on { border-color: var(--oc); background: color-mix(in srgb, var(--oc) 18%, var(--panel)); }
|
|
button.chip.ov.on i { background: var(--oc); }
|
|
.geq { position: relative; }
|
|
.geq.bypassed > * { opacity: .35; }
|
|
.geq.bypassed::after { content: "BYPASS"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
|
|
font: 700 34px system-ui; color: #ef444499; pointer-events: none; }
|
|
body.testlock #viewtabs button:disabled, body.testlock #btn-settings:disabled, body.testlock .devtab:disabled { opacity: .35; cursor: not-allowed; }
|
|
.testbanner small { display: block; font-weight: 400; margin-top: 2px; color: var(--dim); }
|
|
.pol { display: inline-block; margin-left: 4px; font-size: 13px; font-weight: 700; line-height: 14px; color: #e879f9; vertical-align: -1px; }
|
|
|
|
/* ---- global mute */
|
|
#btn-muteall svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
|
|
#btn-muteall.on { background: #991b1b; border-color: var(--bad); color: #fff; animation: mutepulse 1.6s ease-in-out infinite; }
|
|
@keyframes mutepulse { 50% { box-shadow: 0 0 14px #ef4444aa; } }
|
|
|
|
/* ---- copy dialog */
|
|
.copydlg .sub { margin: 12px 0 6px; }
|
|
.copygroups { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 6px 14px; }
|
|
.copygroups label.chk { display: flex; align-items: center; gap: 8px; font-size: 14px; }
|
|
.copygroups label.chk input { width: 18px; height: 18px; }
|
|
.copydev .chips { margin-top: 0; }
|
|
button.chip.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 20%, var(--panel)); color: var(--text); }
|
|
|
|
/* ---- SoundField */
|
|
.sflayout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
|
|
@media (min-width: 1100px) { .sflayout { grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1fr); align-items: start; } }
|
|
.sfmain { padding-bottom: 10px; }
|
|
.sfbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 10px; }
|
|
.sfbar h3 { margin: 0 auto 0 0; }
|
|
.sfadd { display: flex; flex-wrap: wrap; gap: 6px; }
|
|
.sfmode { display: flex; gap: 6px; align-items: center; }
|
|
.sfmode select.short { width: auto; padding: 4px 8px; min-height: 0; font-size: 12px; }
|
|
.sfcanvas { display: block; width: 100%; height: 480px; touch-action: none; border-radius: 8px; outline: none; cursor: crosshair; }
|
|
.sffoot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-top: 8px; min-height: 18px; font-size: 12px; color: var(--dim); }
|
|
.sflegend { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
|
|
.sflegend .sw { display: inline-flex; align-items: center; gap: 5px; }
|
|
.sflegend .sw i { width: 12px; height: 12px; border-radius: 3px; opacity: .85; }
|
|
.sflegend .stat { color: var(--text); }
|
|
.sfreadout { font-variant-numeric: tabular-nums; }
|
|
.sfside { display: grid; gap: 14px; }
|
|
.sfgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; }
|
|
.sfgrid label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--dim); }
|
|
.sfgrid label.full { grid-column: 1 / -1; }
|
|
.sfgrid input, .sfgrid select { width: 100%; min-width: 0; }
|
|
.sfedit .dotc, .sftable .dotc { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--rc); margin-right: 8px; flex: none; }
|
|
.sfedit h3 { display: flex; align-items: center; }
|
|
.sfedit .sub { margin: 12px 0 4px; }
|
|
.sfouts { margin-top: 6px; }
|
|
.sfouts small { color: var(--dim); }
|
|
.sfouts .chips { margin-top: 4px; }
|
|
.sfsug .sfitem { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 8px; margin-top: 8px; font-size: 13px;
|
|
background: var(--panel2); border-left: 3px solid var(--accent); }
|
|
.sfsug .sfitem.warn { border-left-color: var(--warn); }
|
|
.sfsug .sfitem.ok { border-left-color: var(--ok); }
|
|
.sfsug .sfitem.info { border-left-color: var(--dim); }
|
|
.sfsug .sfitem button { flex: none; }
|
|
.sftable { width: 100%; border-collapse: collapse; font-size: 13px; }
|
|
.sftable th { text-align: left; font-weight: 600; color: var(--dim); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; padding: 4px 6px; }
|
|
.sftable td { padding: 6px; border-top: 1px solid var(--line); vertical-align: middle; }
|
|
.sftable td small { display: block; color: var(--dim); font-size: 11px; margin-left: 18px; }
|
|
.sftable td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
|
|
.sfdelays .info label.inline { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; }
|
|
.sfdelays .info input.short { width: 70px; }
|
|
|
|
/* ---- channel colours */
|
|
.strip.tinted .nm { color: color-mix(in srgb, var(--cc) 55%, #fff); }
|
|
.colorbox .colgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; margin-top: 6px; }
|
|
.colorbox .sub { margin: 4px 0; }
|
|
button.colrow { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 6px; padding: 6px 10px; min-height: 0;
|
|
text-transform: none; letter-spacing: 0; font-weight: 500; text-align: left; }
|
|
button.colrow small { display: block; color: var(--dim); font-size: 11px; font-weight: 400; }
|
|
.swatch { width: 18px; height: 18px; border-radius: 5px; flex: none; border: 1px solid #ffffff33; }
|
|
.swatch.none { background: repeating-linear-gradient(45deg, #ffffff22 0 3px, transparent 3px 6px); }
|
|
.coldlg .swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
|
|
button.swatch.big { width: 100%; height: 38px; padding: 0; min-height: 0; border-radius: 8px; border: 2px solid transparent; }
|
|
button.swatch.big.on { border-color: #fff; box-shadow: 0 0 0 2px #0b0c0f inset; }
|
|
button.swatch.big:disabled { opacity: .25; cursor: not-allowed;
|
|
background-image: linear-gradient(135deg, transparent 46%, #0b0c0f 46%, #0b0c0f 54%, transparent 54%) !important; }
|
|
.coldlg .custom { margin-top: 12px; align-items: center; }
|
|
.coldlg input[type=color] { width: 56px; height: 34px; padding: 2px; border-radius: 8px; background: var(--panel2); border: 1px solid var(--line); }
|
|
.coldlg .custom input[type=color] { flex: none; width: 56px; }
|
|
.sfstand { align-items: flex-end; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
|
|
.sfstand label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--dim); }
|
|
|
|
/* ---- DSP drop-down */
|
|
.devpick { max-width: 320px; gap: 8px; }
|
|
.devpick .chev { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin: -4px -4px -4px 2px;
|
|
border-radius: 6px; background: var(--panel3); color: var(--text); }
|
|
.devpick .chev svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
|
|
transition: transform .15s; }
|
|
.devpick .chev.open svg { transform: rotate(180deg); }
|
|
.devpick:hover .chev { background: var(--accent); color: #06121c; }
|
|
.devpick .minidots { display: inline-flex; gap: 3px; margin-left: 2px; padding-left: 8px; border-left: 1px solid var(--line); }
|
|
.devpick .minidots .dot { width: 6px; height: 6px; box-shadow: none; animation: none; }
|
|
.devmenu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; min-width: 280px; max-width: min(420px, 92vw);
|
|
max-height: 60vh; overflow-y: auto; padding: 6px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
|
|
box-shadow: 0 12px 40px #000a; display: flex; flex-direction: column; gap: 4px; }
|
|
button.devitem { display: flex; align-items: center; gap: 8px; width: 100%; justify-content: flex-start; text-transform: none; letter-spacing: 0;
|
|
font-weight: 500; background: transparent; border-color: transparent; padding: 9px 10px; }
|
|
button.devitem:hover:not(:disabled) { background: var(--panel2); }
|
|
button.devitem.on { background: var(--panel3); border-color: var(--accent); }
|
|
button.devitem .dn { flex: 1; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
button.devitem .where { font-size: 11px; color: var(--dim); }
|
|
button.devitem small { font-size: 11px; color: var(--dim); background: var(--panel3); border-radius: 5px; padding: 1px 5px; }
|
|
button.devitem.paused, button.devitem:disabled { opacity: .45; cursor: not-allowed; }
|
|
|
|
/* ---- custom logo */
|
|
.brand img { width: 26px; height: 26px; object-fit: contain; border-radius: 6px; display: block; }
|
|
.logorow { align-items: flex-start; gap: 14px; }
|
|
.logoprev { width: 72px; height: 72px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 12px;
|
|
background: repeating-conic-gradient(#ffffff10 0 25%, transparent 0 50%) 0 0 / 14px 14px, var(--panel2); border: 1px solid var(--line); }
|
|
.logoprev img, .logoprev svg { width: 56px; height: 56px; object-fit: contain; }
|
|
|
|
/* ---- menu as a sidebar when the top bar is too narrow (tablets, small windows) */
|
|
:root { --side: 92px; }
|
|
@media (min-width: 760px) {
|
|
body.navside #viewtabs { position: fixed; top: var(--hdr); left: 0; bottom: 0; width: var(--side); z-index: 15; margin: 0;
|
|
flex-direction: column; gap: 4px; padding: 8px 6px max(8px, env(safe-area-inset-bottom)); overflow-y: auto;
|
|
border: 0; border-right: 1px solid var(--line); border-radius: 0; background: var(--panel); }
|
|
body.navside #viewtabs button { flex-direction: column; gap: 4px; width: 100%; min-height: 60px; padding: 8px 4px; font-size: 11px;
|
|
line-height: 1.15; text-align: center; white-space: normal; }
|
|
body.navside #viewtabs button svg { width: 22px; height: 22px; }
|
|
body.navside #statusbar, body.navside #main { margin-left: var(--side); }
|
|
body.navside #main { max-width: none; }
|
|
body.navside #btn-muteall { margin-left: auto; }
|
|
/* backdrop-filter would make the header the containing block of the fixed sidebar */
|
|
body.navside #top { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
|
|
}
|
|
/* phones: all menu items fit in the bottom bar, long labels are shortened */
|
|
@media (max-width: 759px) {
|
|
#viewtabs button { min-width: 0; font-size: 10px; letter-spacing: 0; }
|
|
#viewtabs button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
#viewtabs button:has(.short) > span:not(.short) { display: none; } /* long labels: short form in the bottom bar */
|
|
#viewtabs button span.short { display: inline; }
|
|
}
|
|
#viewtabs button .short { display: none; }
|
|
.logorow + .actions { margin-top: 12px; }
|
|
|
|
/* ---- settings page */
|
|
.setwrap { max-width: 1180px; margin: 0 auto; }
|
|
.setnav { position: sticky; top: var(--hdr); z-index: 9; display: flex; gap: 6px; flex-wrap: wrap; padding: 10px 0; margin-bottom: 4px;
|
|
background: linear-gradient(var(--bg) 75%, transparent); }
|
|
.setnav .chip { min-height: 32px; }
|
|
.setsec { margin: 6px 0 30px; scroll-margin-top: calc(var(--hdr) + 58px); }
|
|
.setsec > header { margin: 0 2px 12px; }
|
|
.setsec > header h2 { margin: 0; font-size: 17px; font-weight: 650; letter-spacing: .01em; }
|
|
.setsec > header p { margin: 4px 0 0; color: var(--dim); font-size: 13px; max-width: 760px; }
|
|
.setgrid { display: grid; gap: 12px; align-items: stretch; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
|
|
.setgrid.wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
|
|
.setgrid > .card { display: flex; flex-direction: column; margin: 0; }
|
|
.setgrid > .card > h3 { margin-bottom: 8px; }
|
|
.setgrid > .card > p.info { margin: 0 0 12px; }
|
|
.setgrid > .card > :last-child { margin-top: auto; } /* buttons and switches line up at the bottom of each row */
|
|
.setgrid > .card > .actions { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 14px; }
|
|
.setgrid > .card > .actions button { flex: 1 1 auto; }
|
|
.setgrid > .card .devform { align-content: start; }
|
|
.setgrid .seg { width: 100%; }
|
|
.setgrid .seg button { min-height: 40px; }
|
|
.setgrid > .card .row { gap: 8px; }
|
|
.setgrid > .card > .row > button { flex: 1 1 auto; }
|
|
button.devadd { min-height: 180px; border: 2px dashed var(--line); background: transparent; flex-direction: column; justify-content: center;
|
|
align-items: center; gap: 6px; text-transform: none; letter-spacing: 0; color: var(--dim); }
|
|
button.devadd:hover { border-color: var(--accent); color: var(--text); background: var(--panel); }
|
|
button.devadd .plus { font-size: 34px; line-height: 1; color: var(--accent); }
|
|
button.devadd b { font-size: 15px; color: var(--text); }
|
|
.setgrid > button.devadd > :last-child { margin-top: 0; }
|
|
/* narrow top bar: the DSP button shrinks (name gets shortened) instead of covering the buttons */
|
|
.devpick { min-width: 0; max-width: min(320px, 100%); }
|
|
.devpick .dn { min-width: 0; }
|
|
@media (max-width: 480px) { .devpick .minidots, .devpick small { display: none; } }
|
|
|
|
/* ---- link tab: channels already in a link */
|
|
.lkch.taken { cursor: not-allowed; opacity: .55; }
|
|
.lkch.taken:hover { background: inherit; }
|
|
/* ---- device ID, network search */
|
|
.idrow { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 13px; color: var(--text); }
|
|
.idrow input.short { width: 80px; }
|
|
button.devadd .plus svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
|
|
.scanres { display: flex; flex-direction: column; gap: 6px; min-width: min(460px, 80vw); max-height: 55vh; overflow-y: auto; }
|
|
.scanres .empty.small { padding: 24px 8px; }
|
|
.scanrow { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; background: var(--panel2); }
|
|
.scanrow small { display: block; color: var(--dim); font-size: 12px; }
|
|
|
|
/* ---- software max level: a striped "locked" zone in the track above the limit, behind the knob */
|
|
:root { --limgrey: repeating-linear-gradient(-45deg, #8a95a366 0 3px, #8a95a314 3px 6px); --limstripe: repeating-linear-gradient(-45deg, #ef444466 0 3px, #ef444414 3px 6px); }
|
|
/* --p = limit, --q = knob: between them (knob above the limit, set on the DSP) the stripes turn grey, above the knob red */
|
|
input[type=range].haslim { --p: calc(13px + var(--lim) * (100% - 26px)); --q: calc(13px + var(--val, var(--lim)) * (100% - 26px)); }
|
|
input[type=range].haslim::-webkit-slider-runnable-track {
|
|
background: linear-gradient(90deg, var(--line) 0 var(--p), #f87171 var(--p) calc(var(--p) + 2px), transparent calc(var(--p) + 2px)),
|
|
var(--limgrey) var(--p) 0 / calc(var(--q) - var(--p)) 100% no-repeat,
|
|
linear-gradient(var(--line), var(--line)) var(--p) 0 / calc(var(--q) - var(--p)) 100% no-repeat,
|
|
var(--limstripe) var(--line); }
|
|
input[type=range].haslim::-moz-range-track {
|
|
background: linear-gradient(90deg, var(--line) 0 var(--p), #f87171 var(--p) calc(var(--p) + 2px), transparent calc(var(--p) + 2px)),
|
|
var(--limgrey) var(--p) 0 / calc(var(--q) - var(--p)) 100% no-repeat,
|
|
linear-gradient(var(--line), var(--line)) var(--p) 0 / calc(var(--q) - var(--p)) 100% no-repeat,
|
|
var(--limstripe) var(--line); }
|
|
.fader .limzone { position: absolute; left: var(--tx); width: 10px; margin-left: -5px; top: 12px; border-radius: 5px 5px 2px 2px;
|
|
height: calc((1 - var(--f)) * (100% - 24px)); background: var(--limstripe); pointer-events: none; z-index: 0; }
|
|
.fader .limzone::after { content: ""; position: absolute; left: -6px; right: -6px; bottom: -1px; height: 2px; border-radius: 1px;
|
|
background: #f87171; box-shadow: 0 0 6px #ef444488; }
|
|
.limnote { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; }
|
|
.limnote svg, .overlim svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }
|
|
.overlim { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; padding: 9px 10px; border-radius: 8px; font-size: 13px;
|
|
color: #fecaca; background: #ef44441f; border: 1px solid #ef444466; }
|
|
.overlim[hidden] { display: none; }
|
|
.mlrow { display: grid; grid-template-columns: 110px minmax(0, 1fr) 84px; align-items: center; gap: 10px; margin-top: 8px; }
|
|
.mllabel { font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
|
|
.mlval { font-size: 12px; color: var(--dim); text-align: right; font-variant-numeric: tabular-nums; }
|
|
.mlval.on { color: var(--bad); font-weight: 600; }
|
|
.mlwarn { grid-column: 2 / -1; color: var(--warn); font-size: 11px; margin-top: -4px; }
|
|
.fader .limbelow { position: absolute; left: var(--tx); width: 10px; margin-left: -5px; pointer-events: none; z-index: 0;
|
|
bottom: calc(12px + var(--f) * (100% - 24px)); height: calc(max(0, var(--v, 0) - var(--f)) * (100% - 24px));
|
|
background: var(--limgrey), #0b0d10; border-radius: 2px; }
|
|
/* ---- editing a link group */
|
|
.lkediting .lkgrid { outline: 1px dashed var(--accent); outline-offset: 6px; border-radius: 10px; }
|
|
.lkgroup.editing { background: color-mix(in srgb, var(--lc) 14%, var(--panel2)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lc) 45%, transparent); }
|
|
.lkgroup.dim { opacity: .5; }
|
|
.lkactions button + button { margin-left: 6px; }
|
|
/* ---- note on beta models in the add-device form */
|
|
.betanote { margin: 0; padding: 8px 10px; border-radius: 8px; color: var(--text); background: #f59e0b1f; border: 1px solid #f59e0b66; }
|
|
.betanote[hidden] { display: none; }
|
|
/* ---- FIR tab */
|
|
#viewtabs button[hidden] { display: none; }
|
|
.firuse { font-size: 12px; font-weight: 600; color: var(--dim); text-transform: none; letter-spacing: 0; }
|
|
.firuse.over { color: #f87171; }
|
|
.firmeter { height: 6px; margin: 2px 0 12px; border-radius: 3px; background: var(--line); overflow: hidden; }
|
|
.firmeter span { display: block; height: 100%; background: var(--accent); }
|
|
.firchs { display: flex; flex-wrap: wrap; gap: 6px; }
|
|
.firsep { width: 1px; margin: 0 4px; background: var(--line); }
|
|
.firch { flex-direction: column; gap: 0; min-width: 66px; min-height: 48px; padding: 4px 8px; }
|
|
.firch small { color: var(--dim); font-size: 11px; font-weight: 400; }
|
|
.firch.used small { color: var(--accent); }
|
|
.firch.on { background: var(--accent2); border-color: var(--accent); color: #fff; }
|
|
.firch.on small { color: #dbeafe; }
|
|
.firform { margin-bottom: 8px; }
|
|
canvas.fircurve { display: block; width: 100%; height: 240px; background: var(--bg2); border-radius: 8px; }
|
|
/* ---- dashboard */
|
|
.dhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px 0 10px; }
|
|
.dhead h2 { margin: 0; font-size: 20px; white-space: nowrap; }
|
|
.dash { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 30px; grid-auto-flow: dense; gap: 10px; align-items: stretch; }
|
|
.dmod { min-width: 0; display: flex; flex-direction: column; }
|
|
.dmod[hidden] { display: none; }
|
|
.dmod { position: relative; grid-column: span var(--w); grid-row: span var(--h); }
|
|
.dbody { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: auto; scrollbar-width: thin; }
|
|
@media (max-width: 1100px) { .dmod { grid-column: span var(--wt); } }
|
|
/* phones: one column, as high as the content */
|
|
@media (max-width: 759px) {
|
|
.dash { grid-auto-rows: auto; }
|
|
.dmod { grid-column: span 12; grid-row: auto; }
|
|
.dhelp, .dgrab { display: none; }
|
|
.dm .led { flex: none !important; height: 130px !important; }
|
|
canvas.dcurve { flex: none !important; height: 170px !important; }
|
|
}
|
|
.dmod > h3 svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
|
|
.dtitle { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
|
|
.ddev { flex: none; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--dim); font-size: 11px; font-weight: 400; text-transform: none; letter-spacing: 0; }
|
|
.dctl { display: flex; gap: 3px; flex: none; }
|
|
.dctl button { min-height: 26px; min-width: 26px; padding: 0 6px; text-transform: none; letter-spacing: 0; }
|
|
.dash.editing .dmod > h3 { cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
|
|
.dgrab { position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 6px;
|
|
font-size: 12px; line-height: 1; color: var(--text); background: var(--panel3); border: 1px solid var(--line2); touch-action: none; user-select: none; -webkit-user-select: none; }
|
|
.dgrab:hover { background: var(--accent2); border-color: var(--accent); color: #fff; }
|
|
.de { right: -7px; top: 50%; margin-top: -10px; cursor: ew-resize; }
|
|
.ds { bottom: -7px; left: 50%; margin-left: -10px; cursor: ns-resize; }
|
|
.dse { right: -7px; bottom: -7px; cursor: nwse-resize; }
|
|
body.dresizing { user-select: none; -webkit-user-select: none; }
|
|
.dresizing .dmod { transition: none; }
|
|
.dash.editing .dmod { border-style: dashed; border-color: var(--line2, #3a4250); }
|
|
.dempty { margin: auto; text-align: center; padding: 16px 4px; }
|
|
.dblank { padding: 40px 12px; text-align: center; color: var(--dim); }
|
|
.dpalette { margin-bottom: 10px; }
|
|
.dpalette h3 { margin-bottom: 8px; }
|
|
.dhelp { margin: 0; text-transform: none; letter-spacing: 0; font-weight: 400; }
|
|
.dchips { display: flex; flex-wrap: wrap; gap: 6px; }
|
|
.dchip { gap: 6px; min-height: 34px; padding: 4px 11px; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
|
|
.dchip svg { width: 15px; height: 15px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
|
|
.dph { min-height: 110px; border: 2px dashed var(--accent); border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 8%, transparent); }
|
|
.dghost { position: fixed; left: 0; top: 0; z-index: 90; margin: 0; pointer-events: none; opacity: .85; max-height: 240px; overflow: hidden; box-shadow: 0 12px 30px #000a; }
|
|
body.ddragging { user-select: none; -webkit-user-select: none; cursor: grabbing; }
|
|
.dlist { display: flex; flex-direction: column; gap: 4px; }
|
|
.dlist hr { width: 100%; margin: 4px 0; border: 0; border-top: 1px solid var(--line); }
|
|
.drow { display: flex; align-items: center; gap: 8px; min-height: 26px; font-size: 13px; min-width: 0; }
|
|
.dlink { width: 100%; justify-content: flex-start; min-height: 42px; padding: 5px 9px; text-align: left; font-weight: 400; background: var(--panel2); }
|
|
.dname { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
|
|
.dname b, .dname small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.dname small { color: var(--dim); font-size: 11px; }
|
|
.dtag { flex: none; padding: 1px 6px; border-radius: 5px; font-size: 10px; font-weight: 700; letter-spacing: .05em; }
|
|
.dtag.mute { color: #fff; background: var(--mute); }
|
|
.dlab { flex: none; min-width: 3.1em; color: var(--dim); font-size: 12px; }
|
|
.dsub { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--dim); font-size: 12px; }
|
|
.dval { flex: none; min-width: 4.6em; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; font-size: 12px; }
|
|
.dbar { --cc: var(--accent); flex: 1; position: relative; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; min-width: 30px; }
|
|
.dbar i { position: absolute; inset: 0 auto 0 0; background: var(--cc); opacity: .85; }
|
|
.dbar u { position: absolute; left: 70%; top: 0; bottom: 0; width: 1px; background: #ffffff66; }
|
|
.dgain.muted .dbar i { background: var(--dim); opacity: .4; }
|
|
.dgain.muted .dval { color: #f87171; font-size: 10px; }
|
|
.drow.zero { opacity: .5; }
|
|
.dmeters { flex: 1; min-height: 0; display: flex; gap: 14px; }
|
|
.dmgroup { flex: 1 1 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
|
|
.dmgroup .sub { flex: none !important; margin: 0; }
|
|
.dms { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); grid-template-rows: 5px minmax(0, 1fr) 18px 3px; gap: 0 4px; }
|
|
.dmeters.hasnames .dms { grid-template-rows: 15px minmax(0, 1fr) 18px 3px; }
|
|
.dms > .dm { grid-row: 2; position: relative; margin-bottom: 3px; }
|
|
.dgrp { grid-row: 1 / -1; border-radius: 8px; background: color-mix(in srgb, var(--lc) 6%, transparent); }
|
|
.dgrpname { grid-row: 1; position: relative; align-self: center; padding: 0 4px; min-width: 0; color: var(--lc); font-size: 10px; line-height: 12px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.dmlab { grid-row: 3; position: relative; align-self: center; text-align: center; font-size: 11px; font-weight: 700; line-height: 18px; }
|
|
.dm { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; min-height: 0; }
|
|
.dm .led { flex: 1 1 0; height: auto; min-height: 0; padding: 0; }
|
|
.dm.muted .led { opacity: .35; }
|
|
.led > .limled.seg { flex: 1; width: auto; height: auto; min-height: 0; margin: 0; display: flex; align-items: center; justify-content: center; overflow: hidden;
|
|
border-radius: 1.5px; font-size: 6px; line-height: 1; font-weight: 800; letter-spacing: 0; color: color-mix(in srgb, var(--led-o) 30%, transparent);
|
|
background: color-mix(in srgb, var(--led-o) 8%, transparent); }
|
|
.led > .limled.seg.on { color: var(--led-o); background: color-mix(in srgb, var(--led-o) 20%, transparent); box-shadow: none; }
|
|
.dnav { flex: none; display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
|
|
.dnav button { min-height: 28px; min-width: 32px; padding: 0 8px; font-size: 16px; line-height: 1; }
|
|
.dnavname { flex: 1; min-width: 0; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--dim); }
|
|
.dnavname b { color: var(--text); }
|
|
canvas.dcurve { display: block; width: 100%; flex: 1 1 0; min-height: 70px; background: var(--bg2); border-radius: 8px; }
|
|
.dlegend { display: flex; flex-wrap: wrap; gap: 3px 10px; margin-top: 5px; font-size: 11px; color: var(--dim); }
|
|
.dlegend span { display: inline-flex; align-items: center; gap: 4px; }
|
|
.dlegend i { width: 10px; height: 3px; border-radius: 2px; }
|
|
.doverlays { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; margin-top: 6px; }
|
|
.doverlays label { display: flex; align-items: center; gap: 6px; font-size: 13px; }
|
|
.doverlays i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
|
|
.dbands { flex: none; display: flex; gap: 3px; margin-top: 6px; overflow-x: auto; }
|
|
.dband { flex: 1 0 34px; flex-direction: column; gap: 0; min-height: 34px; padding: 2px; font-weight: 400; background: var(--panel2); }
|
|
.dband b { font-size: 12px; }
|
|
.dband small { color: var(--dim); font-size: 10px; }
|
|
.dband.act b { color: var(--accent); }
|
|
.dband.off { opacity: .45; }
|
|
.dband.on { border-color: var(--warn); background: color-mix(in srgb, var(--warn) 14%, var(--panel2)); }
|
|
.dbandinfo { margin: 6px 2px 0; min-height: 1.3em; }
|
|
.dkvs { display: flex; flex-direction: column; }
|
|
.dkv { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
|
|
.dkv:last-child { border-bottom: 0; }
|
|
.dkv span { color: var(--dim); flex: none; }
|
|
.dkv b { font-weight: 600; text-align: right; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.dkv.bad b { color: #f87171; }
|
|
.dmatrix { display: grid; grid-template-columns: minmax(3.4em, auto) repeat(var(--n), minmax(16px, 1fr)); gap: 4px 3px; align-items: center; justify-items: center; font-size: 12px; }
|
|
.dmatrix span { justify-self: start; color: var(--dim); white-space: nowrap; }
|
|
.dmatrix b { font-size: 11px; }
|
|
.dmatrix i { width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
|
|
.dmatrix i.on { background: var(--c); box-shadow: 0 0 6px var(--c); }
|
|
.dnote { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.45; }
|
|
.dform textarea { width: 100%; resize: vertical; min-height: 110px; font: inherit; }
|
|
/* ---- read-only switch (phones, tablets) */
|
|
.guard { flex: none; gap: 6px; min-height: 34px; padding: 0 8px; font-size: 12px; font-weight: 600; color: var(--dim); background: var(--panel2); }
|
|
.guardtrack { position: relative; width: 28px; height: 16px; border-radius: 8px; background: var(--line2); transition: background .15s; }
|
|
.guardtrack i { position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: left .15s; }
|
|
.guard.on { color: #fff; border-color: var(--accent); }
|
|
.guard.on .guardtrack { background: var(--accent); }
|
|
.guard.on .guardtrack i { left: 14px; }
|
|
body.locked #main input[type=range] { pointer-events: none; }
|
|
.nodsp { gap: 10px; }
|
|
.nodsp svg { width: 44px; height: 44px; fill: none; stroke: var(--dim); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
|
|
.nodsp b { color: var(--text); font-size: 18px; }
|
|
.nodsp p { max-width: 420px; margin: 0 0 6px; line-height: 1.45; }
|
|
/* ---- start animation, VK-Audio */
|
|
#splash { display: none; }
|
|
#splash.show { position: fixed; inset: 0; z-index: 300; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
|
|
background: var(--bg); pointer-events: none; animation: splashout .3s ease-in 1.15s forwards; }
|
|
#splash svg { margin-bottom: 8px; fill: none; stroke: #38bdf8; stroke-width: 3; stroke-linecap: round; overflow: visible; }
|
|
#splash path { transform-box: fill-box; transform-origin: bottom; animation: splashbar .75s cubic-bezier(.3, 1.5, .5, 1) backwards; }
|
|
#splash path:nth-child(2) { animation-delay: .08s; } #splash path:nth-child(3) { animation-delay: .16s; } #splash path:nth-child(4) { animation-delay: .24s; }
|
|
#splash b { font-size: 20px; font-weight: 650; color: var(--text); animation: splashtext .4s ease-out .35s backwards; }
|
|
#splash small { font-size: 12px; letter-spacing: .14em; color: var(--dim); animation: splashtext .4s ease-out .5s backwards; }
|
|
@keyframes splashbar { from { transform: scaleY(0); } }
|
|
@keyframes splashtext { from { opacity: 0; transform: translateY(5px); } }
|
|
@keyframes splashout { to { opacity: 0; } }
|
|
@media (prefers-reduced-motion: reduce) { #splash.show { display: none; } }
|
|
.vkfoot { margin: 14px 0 4px; text-align: center; font-size: 10px; letter-spacing: .14em; color: var(--dim); opacity: .45; }
|
|
/* ---- note at the end of the settings */
|
|
.disclaimer { display: flex; align-items: flex-start; gap: 10px; max-width: 720px; margin: 22px auto 0; padding: 10px 14px; border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent);
|
|
border-radius: 10px; background: color-mix(in srgb, var(--warn) 5%, transparent); }
|
|
.disclaimer svg { flex: none; width: 16px; height: 16px; margin-top: 1px; fill: none; stroke: var(--warn); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
|
|
.disclaimer p { margin: 0; font-size: 12px; line-height: 1.5; color: var(--dim); }
|
|
.disclaimer b { color: var(--text); font-weight: 600; }
|
|
/* ---- Sound Lab */
|
|
.labstate { flex-wrap: nowrap; gap: 6px; align-items: center; min-width: 0; }
|
|
.labstate .info { margin: 0 4px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
canvas.labcurve { display: block; width: 100%; height: 240px; background: var(--bg2); border-radius: 8px; }
|
|
.lablegend { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 400; color: var(--dim); text-transform: none; letter-spacing: 0; }
|
|
.lablegend i { display: inline-block; width: 12px; height: 3px; border-radius: 2px; margin-left: 8px; }
|
|
.labcards .card > .row { margin-top: 8px; flex-wrap: wrap; }
|
|
.labcards .card > .row select { flex: 1; min-width: 150px; }
|
|
.labprop { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
|
|
.labprop .sub { flex: none !important; }
|
|
.rewtable { border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
|
|
.rewtable th { color: var(--dim); font-weight: 500; text-align: left; }
|
|
.rewtable th, .rewtable td { padding: 2px 14px 2px 0; }
|
|
.rewtable tr.off td { opacity: .45; }
|
|
.rewwarn { margin: 0; padding: 6px 9px; border-radius: 7px; font-size: 12px; color: var(--warn); background: color-mix(in srgb, var(--warn) 9%, transparent); }
|
|
/* ---- handbook */
|
|
.docbtn { flex: none; width: 28px; min-width: 28px; height: 28px; min-height: 28px; padding: 0; margin-left: 4px; color: var(--dim); }
|
|
.docbtn:hover { color: var(--accent); }
|
|
.docbtn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
|
|
.docbody { width: min(600px, 82vw); max-height: 62vh; overflow-y: auto; padding-right: 6px; font-size: 13px; line-height: 1.5; }
|
|
.docbody section + section { margin-top: 16px; }
|
|
.docbody h4 { margin: 0 0 5px; font-size: 14px; color: var(--text); }
|
|
.docbody p { margin: 5px 0 0; color: var(--dim); }
|
|
.docbody ol { margin: 0; padding-left: 20px; }
|
|
.docbody li { margin: 3px 0; }
|
|
/* ---- locked with "only show dashboard" */
|
|
body.dashonly #viewtabs, body.dashonly #devtabs, body.dashonly #btn-settings, body.dashonly #statusbar { display: none; }
|
|
body.dashonly #main { margin-left: 0; }
|
|
body.dashonly #btn-muteall { margin-left: auto; }
|
|
body.dashonly .dlink { cursor: default; }
|
|
.limled.gainlim { margin: 0 2px 0 auto; font-size: 10px; }
|
|
.limled.barlim { margin: 0 2px; font-size: 10px; }
|