mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 00:32:21 +00:00
The left rail holds Data Layers, Utilities, Authoring and Visual; the right rail holds Context, CCTV and Street Level. A button in each panel header moves that side's panels to the screen edge, with the rail as a row above them, and scrolling at a screen edge steps through a rail's panels. An open right panel starts just under the HUD readouts, and Context and CCTV take the column's full height. The right rail stays level with the left column's top whichever left panel is open, in both layouts. Co-authored-by: Sameh Khamis <[email protected]>
34 lines
1.3 KiB
CSS
34 lines
1.3 KiB
CSS
/* ── Shell spacing on wide screens ─────────────────────────────────────
|
|
With the map credits in the bottom-left corner pill, the tactical HUD's
|
|
corner readouts no longer need to stand clear of them, so they close the
|
|
empty bands: the top readouts sit just under the title block and the
|
|
bottom readouts just above the credits and the key chip. The side panels
|
|
lay themselves out around the HUD, so they gain the space. The first-run
|
|
card spans the same band. */
|
|
@media (min-width: 1200px) {
|
|
#intel-hud[data-variant='tactical'] .hud-top-left,
|
|
#intel-hud[data-variant='tactical'] .hud-top-right {
|
|
top: 102px;
|
|
}
|
|
|
|
#intel-hud[data-variant='tactical'] .hud-bottom-left,
|
|
#intel-hud[data-variant='tactical'] .hud-bottom-right {
|
|
bottom: 4.2rem;
|
|
}
|
|
|
|
#first-run-launcher {
|
|
top: 102px;
|
|
max-height: calc(100vh - 102px - 4.2rem);
|
|
max-height: calc(100dvh - 102px - 4.2rem);
|
|
}
|
|
}
|
|
|
|
/* The active style already shows top right ("ACTIVE STYLE · NORMAL"), so the
|
|
HUD's own style line is a duplicate wherever that indicator is shown. Phones
|
|
hide the indicator (responsive.css), so they keep the HUD line. */
|
|
@media (min-width: 721px) {
|
|
body:not(.mobile-shell) #intel-hud #hud-mode {
|
|
display: none;
|
|
}
|
|
}
|