fix(p15): remediate four green-minor review findings
Tokenize scrim navy RGB triple (--deepdrft-scrim-rgb); LAVA row now flex-start so knobs group left; WAVE row keeps space-between for right-pinned width knob; remove inert margin-left:auto/wvc-row-right; correct stale seven->ten count in OnControlStateChanged comment.
This commit is contained in:
@@ -422,8 +422,9 @@ h2, h3, h4, h5, h6,
|
||||
--mud-palette-text-primary: var(--deepdrft-white); /* knob value label — light */
|
||||
}
|
||||
|
||||
/* ── Row layout (§3). Each row is a horizontal band; row 1 + row 3 space-between so the right-pinned
|
||||
control (color / width) hugs the right edge and never reflows when an inner control hides. ── */
|
||||
/* ── Row layout (§3). Each row is a horizontal band. Row 1 (MODE) and row 3 (WAVE) use
|
||||
space-between so the right-pinned control (color / width) hugs the far edge. Row 2 (LAVA) uses
|
||||
flex-start so its label + four knobs group left rather than spreading edge-to-edge. ── */
|
||||
.waveform-visualizer-control-panel .wvc-row {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
@@ -431,9 +432,20 @@ h2, h3, h4, h5, h6,
|
||||
gap: 0.85rem 1rem;
|
||||
}
|
||||
|
||||
.waveform-visualizer-control-panel .wvc-row-mode,
|
||||
/* Row 1 (MODE): two direct flex children — the left toggle group and the color knob tooltip wrapper.
|
||||
space-between pins the color knob to the far right and keeps it there when collisions hides. */
|
||||
.waveform-visualizer-control-panel .wvc-row-mode {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
/* Row 2 (LAVA): label + four knobs group left — no right-pinned control. */
|
||||
.waveform-visualizer-control-panel .wvc-row-section {
|
||||
/* space-between pushes the right-pinned control to the far edge; the left group holds the rest. */
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
/* Row 3 (WAVE): label + scroll-slider + width-knob tooltip wrappers are direct flex children.
|
||||
space-between pins the width knob to the far right while the label + slider sit left. */
|
||||
.waveform-visualizer-control-panel .wvc-row-wave {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
@@ -446,11 +458,6 @@ h2, h3, h4, h5, h6,
|
||||
gap: 0.85rem 1rem;
|
||||
}
|
||||
|
||||
/* The right-pinned control (color in row 1, width in row 3) — sits as the space-between right sibling. */
|
||||
.waveform-visualizer-control-panel .wvc-row-right {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
/* ── Section label "LAVA:" / "WAVE:" (§3, §5). NowPlayingCard .np-label TYPOGRAPHY (mono, uppercase,
|
||||
tracked), recoloured LIGHT — labels are static, so light by the colour principle (§5, §10.3). ── */
|
||||
.waveform-visualizer-control-panel .wvc-section-label {
|
||||
@@ -506,7 +513,7 @@ h2, h3, h4, h5, h6,
|
||||
attribute). The doubled .mud-overlay-scrim.mud-overlay-dark selector (0,2,0) outranks MudBlazor's own
|
||||
.mud-overlay-dark (0,1,0), so the tint wins regardless of stylesheet load order. ── */
|
||||
.waveform-visualizer-control-overlay .mud-overlay-scrim.mud-overlay-dark {
|
||||
background-color: rgba(13, 27, 42, var(--deepdrft-modal-scrim-alpha));
|
||||
background-color: rgba(var(--deepdrft-scrim-rgb), var(--deepdrft-modal-scrim-alpha));
|
||||
}
|
||||
|
||||
.waveform-visualizer-control-overlay .mud-overlay-content {
|
||||
|
||||
Reference in New Issue
Block a user