Dashboard levels: link groups as a soft tile behind the meters
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
682e734257
commit
24674fb8c0
2 files changed
+7
-7
No files matched your search
+1
-1
@@ -55,7 +55,7 @@ function dashChannelNav(m, d, s) {
|
||||
h("button", { class: "small", "data-view-ok": "", "aria-label": t("Next channel"), onclick: () => go(1) }, "›"));
|
||||
}
|
||||
|
||||
// link groups in the level meters: the channel numbers of a group sit on one pill, the name below it
|
||||
// link groups in the level meters: a soft tile in the group colour behind the meters, the name at its top
|
||||
function dashGroups(d, kind) {
|
||||
const out = [];
|
||||
linkedGroups(d, kind).forEach(g => {
|
||||
|
||||
+6
-6
@@ -831,12 +831,12 @@ body.ddragging { user-select: none; -webkit-user-select: none; cursor: grabbing;
|
||||
.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: minmax(0, 1fr) 18px 0; gap: 0 4px; }
|
||||
.dmeters.hasnames .dms { grid-template-rows: minmax(0, 1fr) 18px 14px; }
|
||||
.dms > .dm { grid-row: 1; margin-bottom: 4px; }
|
||||
.dgrp { grid-row: 2; border-radius: 9px; background: color-mix(in srgb, var(--lc) 18%, transparent); }
|
||||
.dgrpname { grid-row: 3; align-self: end; 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: 2; position: relative; align-self: center; text-align: center; font-size: 11px; font-weight: 700; line-height: 18px; }
|
||||
.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) 13%, 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; }
|
||||
|
||||
Reference in new issue
Block a user