Keep only what cockpit Display lacks in the Visual panel

In cockpit, the Visual panel hides the HUD, detection, parameters and
3D-model groups, which the cockpit's Display panel already offers, and
the celestial ring toggle. It keeps Look, Map source, Scope, Bloom and
Sharpen.

Co-authored-by: Sameh Khamis <[email protected]>
This commit is contained in:
Manjunath PaparajuandSameh Khamis authored and Sameh Khamis committed 2026-11-14 15:51:13 -08:00
1 parent fd1f516192
commit 5b3be915c8
1 file changed
+16
+16
View File
@@ -159,6 +159,22 @@ body.cockpit-mode
border-radius: 14px; border-radius: 14px;
} }
/* In cockpit, Visual keeps only what the cockpit's own Display panel does
not already offer: the HUD, detection, parameters and 3D-model groups live
there (its portal moves them while it shows; hidden here otherwise, so they
never appear twice), and the celestial ring has no place in first person. */
body.cockpit-mode
#pp-toggles
:is(
.pp-toggle-group:has(#hud-toggle),
.pp-toggle-group:has(#detection-toggle),
.pp-toggle-group:has(#models3d-toggle),
.pp-toggle-group:has(#celestial-toggle),
#param-slider-panel
) {
display: none !important;
}
/* Authoring or Utilities may still be open underneath; its hidden icon must /* Authoring or Utilities may still be open underneath; its hidden icon must
not split the rail into islands. */ not split the rail into islands. */
body.cockpit-mode body.cockpit-mode