diff --git a/DeepDrftPublic.Client/Controls/WaveformVisualizerControls.razor b/DeepDrftPublic.Client/Controls/WaveformVisualizerControls.razor index e8ada3f..46e782d 100644 --- a/DeepDrftPublic.Client/Controls/WaveformVisualizerControls.razor +++ b/DeepDrftPublic.Client/Controls/WaveformVisualizerControls.razor @@ -35,26 +35,15 @@ @if (Visible) { @* ── Row 1 — MODE (always visible). Toggles + collisions group left; color pinned right. ── *@ -
-
- - -
- -
-
- + +
+ aria-pressed="@ControlState.WaveformEnabled"/>
@@ -68,12 +57,12 @@ ValueChanged="@OnCollisionStrengthChanged" Min="0" Max="1" Step="0.001" Size="64" - Color="Color.Primary" /> - + Color="Color.Primary"/> +
} -
+ @* *@ @* Color applies to the whole field regardless of which subsystems are on, so it is pinned far-right of row 1 and never reflows when collisions hides (§3). *@ @@ -83,92 +72,107 @@ ValueChanged="@OnGradientRotationSpeedChanged" Min="0" Max="1" Step="0.001" Size="64" - Color="Color.Primary" /> - + Color="Color.Primary"/> + - - @* ── Row 2 — LAVA section (only when lava on). ── *@ - @if (ControlState.LavaEnabled) - { -
- + +
+ +
+
- -
- - -
-
+ - -
- - -
-
- - -
- - -
-
- - -
- - -
-
-
- } - - @* ── Row 3 — WAVE section (only when waveform on). Both controls are RadialKnobs (scroll reverted + @* ── Row 2 — WAVE section (only when waveform on). Both controls are RadialKnobs (scroll reverted from MudSlider per Phase 15 polish); width pinned far-right via wvc-row-wave space-between. ── *@ @if (ControlState.WaveformEnabled) {
- -
- - -
-
+ + +
+ + +
+
- -
- - -
-
+ +
+ + +
+
+
+
+ } + + @* ── Row 3 — LAVA section (only when lava on). ── *@ + @if (ControlState.LavaEnabled) + { +
+ + + + +
+ + +
+
+ + +
+ + +
+
+ + +
+ + +
+
+ + +
+ + +
+
+
} } diff --git a/DeepDrftPublic/wwwroot/styles/deepdrft-styles.css b/DeepDrftPublic/wwwroot/styles/deepdrft-styles.css index b6248b4..773afd3 100644 --- a/DeepDrftPublic/wwwroot/styles/deepdrft-styles.css +++ b/DeepDrftPublic/wwwroot/styles/deepdrft-styles.css @@ -500,8 +500,8 @@ h2, h3, h4, h5, h6, inline mount) when the icon also carries mix-visualizer-control-icon. Lamp toggles are MudIconButton not MudIcon so they are unaffected — they stay green (interactive, Color.Primary). (defect #3) */ .waveform-visualizer-control-panel .waveform-visualizer-control-icon { - color: var(--deepdrft-white) !important; opacity: 0.85; + translate: 0 -1rem; } /* ── The modal overlay (Phase 15 §4). MudOverlay is already a full-viewport flex scrim that centers its