Names for link groups, shown as coloured brackets above the mixer strips
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
83548c9620
commit
4b33fc2665
7 files changed
+97
-14
No files matched your search
+24
-2
@@ -190,7 +190,28 @@ input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius:
|
||||
.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 { display: flex; gap: 6px; }
|
||||
/* 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; }
|
||||
@@ -209,7 +230,8 @@ button.mute.on { background: var(--mute); border-color: #f87171; color: #fff; bo
|
||||
.strip.muted { background: linear-gradient(#1f1517, var(--bg2)); }
|
||||
@media (min-width: 1200px) {
|
||||
.mgroup { flex-shrink: 1; flex-basis: 0; }
|
||||
.strip { flex: 1 1 92px; max-width: 128px; }
|
||||
.strips { grid-template-columns: repeat(var(--n), minmax(92px, 128px)); }
|
||||
.strip { width: auto; max-width: 128px; }
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------- channel view */
|
||||
|
||||
Reference in new issue
Block a user