Merge upstream main into feat/iss-3d-model

Translation files: kept both sides' new keys.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Itallo BrandãoandClaude Opus 5.5 committed 2026-11-15 22:41:59 -03:00
commit 349b3a04ec
407 files changed
+23411 -2582

No files matched your search

+693
View File
@@ -0,0 +1,693 @@
/* ── Cockpit side windows in the app's panel look ───────────────────────
Contact (left), the briefing carousel (right) and the Display / Radio
controls get the same smoked glass, 16px corners and card rows as the
main panels. They keep cockpit.css's slight 3D slant toward the centre,
and stand the same height. The text glow goes; the state colours on the
top edge (uncertain, lost) stay. */
.cockpit-context-window,
.cockpit-signal-window {
border: 1px solid rgba(255, 255, 255, 0.08);
border-top-color: rgba(255, 255, 255, 0.14);
border-radius: 16px;
background: rgba(12, 12, 20, 0.72);
box-shadow:
0 8px 32px rgba(0, 0, 0, 0.42),
inset 0 1px 0 rgba(255, 255, 255, 0.04);
backdrop-filter: blur(24px) saturate(1.4);
-webkit-backdrop-filter: blur(24px) saturate(1.4);
text-shadow: none;
scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}
/* Open, both windows share one compact size; their lists scroll. */
.cockpit-context-window:not([data-collapsed='true']),
.cockpit-signal-window:not([data-collapsed='true']) {
width: min(280px, 23vw);
height: min(27vh, 260px);
}
/* Contact's header: the buttons share the kicker's row, so the subject runs
the full width on at most two lines instead of wrapping beside them. */
.cockpit-context-window:not([data-collapsed='true'])
.cockpit-context-header
> div {
display: contents;
}
.cockpit-context-window:not([data-collapsed='true']) .cockpit-context-kicker {
grid-column: 1;
grid-row: 1;
}
.cockpit-context-window:not([data-collapsed='true']) .cockpit-context-actions {
grid-column: 2;
grid-row: 1;
}
.cockpit-context-window:not([data-collapsed='true']) #cockpit-context-subject {
display: -webkit-box;
grid-column: 1 / -1;
grid-row: 2;
overflow: hidden;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
line-clamp: 2;
}
/* Their foot sits just above the bottom HUD readouts (MGRS / GSD), which
stand at clamp(84px, 11vh, 118px) and are about 38px tall. */
.cockpit-context-window,
.cockpit-signal-window {
bottom: calc(clamp(84px, 11vh, 118px) + 54px);
}
.cockpit-context-window[data-state='uncertain'] {
border-top-color: rgba(116, 219, 255, 0.72);
}
.cockpit-context-window[data-state='lost'] {
border-top-color: rgba(213, 168, 99, 0.72);
}
.cockpit-context-window[data-collapsed='true'],
.cockpit-signal-window[data-collapsed='true'] {
border-radius: 12px;
background: rgba(12, 12, 20, 0.66);
}
/* Headers: a quiet hairline like the panel headers. */
.cockpit-card-header {
border-bottom-color: rgba(255, 255, 255, 0.08);
}
.cockpit-card-actions button {
border-color: rgba(255, 255, 255, 0.1);
border-radius: 6px;
background: rgba(255, 255, 255, 0.04);
color: rgba(224, 236, 242, 0.82);
}
.cockpit-card-actions button:hover,
.cockpit-card-actions button:focus-visible {
border-color: rgba(0, 212, 255, 0.45);
background: rgba(0, 212, 255, 0.1);
color: #fff;
}
/* Rows and tiles inside: the card style used in Context and Visual. */
.cockpit-context-cohorts > div,
.cockpit-signal-list li,
.cockpit-news-list li,
.cockpit-local-grid > div {
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: 10px;
background: rgba(255, 255, 255, 0.035);
}
/* The weather tiles stand apart as cards, with no lit grid behind them,
and are short enough to fit the shorter window. */
.cockpit-local-grid {
gap: 5px;
background: none;
}
.cockpit-local-grid > div {
min-height: 0;
gap: 2px;
padding: 6px 9px;
}
.cockpit-route-card {
border-bottom-color: rgba(255, 255, 255, 0.08);
}
/* Display / Radio: the closed launchers and the open panels match too. */
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
.cockpit-utility-control.is-expanded {
border-color: rgba(255, 255, 255, 0.08);
border-radius: 16px;
background: rgba(12, 12, 20, 0.72);
box-shadow:
0 8px 32px rgba(0, 0, 0, 0.42),
inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
/* ── Cockpit uses the main page's rails ───────────────────────────────
The left rail shows Data Layers only (Authoring has no place in first
person, Utilities has nothing to do there, and the cockpit's own Display
panel stands in for Visual), one panel opens beside it, and the collapsed
header strips the cockpit used instead are hidden. */
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
#left-panel-stack
> .gev-panel-rail--left {
display: block;
}
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
#left-panel-stack
> .gev-panel-rail--left
:is(
[data-rail-item='scene-panel'],
[data-rail-item='utilities-panel'],
[data-rail-item='pp-toggles']
),
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
#left-panel-stack
> .gev-panel-rail--left
.ui-tooltip:has(
> :is(
[data-rail-item='scene-panel'],
[data-rail-item='utilities-panel'],
[data-rail-item='pp-toggles']
)
) {
display: none;
}
/* With some icons hidden, the runs between them break up: with a panel
open, each icon left is its own island. */
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
#left-panel-stack
> .gev-panel-rail--left
.ui-rail--collapsible:not(.ui-rail--expanded):has(.ui-rail__item--on)
> .ui-tooltip::before {
inset: -4px -5px;
border-width: 1px;
border-radius: 14px;
}
/* Authoring, Utilities or Visual may still be open underneath; its hidden icon must
not split the rail into islands. */
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
#left-panel-stack
> .gev-panel-rail--left
.ui-rail:has(
:is(
[data-rail-item='scene-panel'],
[data-rail-item='utilities-panel'],
[data-rail-item='pp-toggles']
)[aria-pressed='true']
)
> .ui-tooltip::before,
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
#left-panel-stack
> .gev-panel-rail--left
.ui-rail:has(
:is(
[data-rail-item='scene-panel'],
[data-rail-item='utilities-panel'],
[data-rail-item='pp-toggles']
)[aria-pressed='true']
)::before {
/* Nor may the sliding highlight stay where the hidden icon was. */
display: none;
}
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
#left-panel-stack
> .gev-panel-rail--left
.ui-rail:has(
:is(
[data-rail-item='scene-panel'],
[data-rail-item='utilities-panel'],
[data-rail-item='pp-toggles']
)[aria-pressed='true']
) {
background: rgba(16, 20, 28, 0.82) !important;
border-color: rgba(255, 255, 255, 0.14) !important;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45) !important;
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
}
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
#left-panel-stack
> [data-panel-id].collapsed,
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
#left-panel-stack
> :is(
[data-panel-id='scene-panel'],
[data-panel-id='utilities-panel'],
[data-panel-id='pp-toggles']
) {
display: none;
}
/* Both rails start at one height, just under the top HUD text, so their top
edges line up; the cockpit layout pass places Display and Radio at the
same height (COCKPIT_UTILITY_MIN_TOP_PX / _RATIO in cockpitPresentation.js). */
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
#left-panel-stack {
top: max(206px, 22vh) !important;
}
/* Bottom HUD readouts: scale from their foot, and drop the three-line right
block (GSD / ALT / AIS) by one scaled line so both start level, as on the
main page. */
body.cockpit-mode #intel-hud .hud-bottom-left {
transform-origin: left bottom;
}
body.cockpit-mode #intel-hud .hud-bottom-right {
bottom: calc(clamp(84px, 11vh, 118px) - 20px);
transform-origin: right bottom;
}
/* ── Live signals rows ──────────────────────────────────────────────────
Callsign on the left, time small at the top right, the detail under it.
The status colour is a slim inset bar (cyan for the aircraft you ride,
white for nearby, amber for military / warnings), not a bent border. */
.cockpit-signal-list {
gap: 4px;
}
.cockpit-signal-list li {
position: relative;
display: block;
padding: 5px 10px 5px 12px;
border: 1px solid rgba(255, 255, 255, 0.06);
box-shadow: inset 2px 0 0 rgba(244, 251, 255, 0.22);
}
.cockpit-signal-list li:is(.track, .current) {
border-color: rgba(0, 212, 255, 0.22);
background: rgba(0, 212, 255, 0.06);
box-shadow: inset 2px 0 0 var(--cockpit-accent, #00d4ff);
}
.cockpit-signal-list li:is(.nearby) {
border-color: rgba(255, 255, 255, 0.06);
box-shadow: inset 2px 0 0 rgba(244, 251, 255, 0.55);
}
.cockpit-signal-list li:is(.military, .warning) {
border-color: rgba(255, 255, 255, 0.06);
box-shadow: inset 2px 0 0 #d5a863;
}
.cockpit-signal-list li.actionable:is(:hover, :focus-within) {
border-color: rgba(0, 212, 255, 0.3);
background: rgba(0, 212, 255, 0.08);
}
.cockpit-signal-list time {
position: absolute;
top: 6px;
inset-inline-end: 28px;
color: rgba(224, 236, 242, 0.4);
font: 7px/1 var(--font-mono);
letter-spacing: 0.06em;
font-variant-numeric: tabular-nums;
}
.cockpit-signal-list li > div {
gap: 1px;
}
.cockpit-signal-target {
grid-template-columns: minmax(0, 1fr) 14px;
gap: 8px;
font-size: 10.5px;
letter-spacing: 0.1em;
}
.cockpit-signal-target-rule {
display: none;
}
.cockpit-signal-target-chevron {
justify-self: end;
color: rgba(224, 236, 242, 0.5) !important;
}
.cockpit-signal-list
li.actionable:is(:hover, :focus-within)
.cockpit-signal-target-chevron {
color: #fff !important;
}
.cockpit-signal-list span:not([class]) {
color: rgba(224, 236, 242, 0.62);
font-size: 8px;
letter-spacing: 0.08em;
}
/* Keep a long callsign clear of the time at the row's end. */
.cockpit-signal-list .cockpit-signal-target-label {
margin-inline-end: 50px;
}
/* ── Briefing content fits the narrower window ────────────────────────── */
.cockpit-signal-window {
grid-template-columns: minmax(0, 1fr);
}
.cockpit-signal-window > *,
.cockpit-brief-stage,
.cockpit-brief-stage > section,
.cockpit-signal-list,
.cockpit-signal-list li {
min-width: 0;
max-width: 100%;
box-sizing: border-box;
}
/* Route: a quiet heading, endpoints that truncate. */
.cockpit-route-card {
padding-inline: 4px;
}
.cockpit-route-heading {
display: flex;
justify-content: space-between;
gap: 8px;
min-width: 0;
}
#cockpit-route-status {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.cockpit-route-airport strong {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* Header: the title on one line, the controls on the row under it. */
.cockpit-signal-window:not([data-collapsed='true']) .cockpit-signal-header {
grid-template-columns: minmax(0, 1fr);
gap: 6px;
padding-inline: 4px;
}
.cockpit-signal-window:not([data-collapsed='true']) .cockpit-brief-heading {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 2px 8px;
}
.cockpit-signal-window:not([data-collapsed='true']) .cockpit-signal-kicker {
white-space: nowrap;
}
.cockpit-signal-window:not([data-collapsed='true']) .cockpit-brief-actions {
justify-content: flex-start;
}
.cockpit-signal-window:not([data-collapsed='true']) #cockpit-signal-toggle {
margin-inline-start: auto;
}
/* ── Open Display / Radio panels: the main panels' header and size ───── */
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
.cockpit-utility-control.is-expanded {
min-width: 295px;
box-sizing: border-box;
}
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
.cockpit-utility-control.is-expanded
.cockpit-utility-launcher {
display: flex;
align-items: center;
gap: 8px;
padding: 4px 4px 10px 8px;
color: rgba(224, 236, 242, 0.78);
font: 9px/1 var(--font-mono);
letter-spacing: 0.22em;
}
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
.cockpit-utility-control.is-expanded
.cockpit-utility-divider {
flex: 0 1 22px;
height: 1px;
margin-right: auto;
background: rgba(255, 255, 255, 0.18);
box-shadow: none;
}
/* The launcher's own toggle steps aside: the rail and "−" open and close
the panel instead. */
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
.cockpit-utility-control.is-expanded
.cockpit-utility-glyph {
display: none;
}
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
.cockpit-utility-collapse {
display: grid;
flex: none;
place-items: center;
width: 22px;
height: 22px;
padding: 0;
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 6px;
background: rgba(255, 255, 255, 0.03);
color: rgba(206, 232, 239, 0.75);
font: 13px/1 var(--font-mono);
cursor: pointer;
}
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
.cockpit-utility-collapse:hover,
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
.cockpit-utility-collapse:focus-visible {
border-color: rgba(0, 212, 255, 0.45);
color: #fff;
outline: none;
}
/* ── Right rail as on the left: an icon column that stays, labels beside it
while nothing is open, and the open panel to its left. The launchers'
own strips give way to it. ─────────────────────────────────────────── */
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
.cockpit-utility-controls {
display: grid;
grid-template-columns: auto auto;
align-items: start;
justify-content: end;
column-gap: 6px;
}
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
.cockpit-utility-control:not(.is-expanded) {
display: none;
}
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
.cockpit-utility-control.is-expanded {
grid-column: 1;
grid-row: 1;
margin-top: 0 !important;
}
/* Cyber and the phone keep the launchers' own toggles, so the rail and "−"
are for the desktop look only. */
.cockpit-utility-rail,
.cockpit-utility-collapse {
display: none;
}
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
.cockpit-utility-rail {
grid-column: 2;
grid-row: 1;
display: flex;
gap: 4px;
align-items: stretch;
pointer-events: auto;
}
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
:is(.cockpit-utility-rail__labels, .cockpit-utility-rail__icons) {
display: flex;
flex-direction: column;
gap: 12px;
padding: 4px;
border: 1px solid rgba(255, 255, 255, 0.14);
border-radius: 14px;
background: rgba(16, 20, 28, 0.82);
box-shadow:
0 6px 20px rgba(0, 0, 0, 0.45),
inset 0 1px 0 rgba(255, 255, 255, 0.05);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
}
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
.cockpit-utility-rail__labels {
box-sizing: border-box;
width: 170px;
padding-inline: 14px;
}
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
.cockpit-utility-rail__labels
> span {
display: flex;
align-items: center;
height: 32px;
color: rgba(225, 236, 242, 0.82);
font:
500 9.28px/1 Inter,
-apple-system,
system-ui,
sans-serif;
letter-spacing: 2.08px;
}
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
.cockpit-utility-rail.is-open
.cockpit-utility-rail__labels {
display: none;
}
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
.cockpit-utility-rail__item {
display: grid;
place-items: center;
width: 32px;
height: 32px;
padding: 0;
border: 1px solid transparent;
border-radius: 10px;
background: transparent;
color: var(--text-secondary, rgba(206, 232, 239, 0.75));
cursor: pointer;
transition:
color var(--transition-fast, 120ms),
background var(--transition-fast, 120ms),
border-color var(--transition-fast, 120ms);
}
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
.cockpit-utility-rail__item
.material-symbols-outlined {
font-size: 18px;
}
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
.cockpit-utility-rail__item:hover {
background: rgba(255, 255, 255, 0.05);
color: var(--text-primary, #fff);
}
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
.cockpit-utility-rail__item.is-on,
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
.cockpit-utility-rail__item.is-on:hover {
border-color: rgba(0, 212, 255, 0.15);
background: rgba(0, 212, 255, 0.15);
color: #00d4ff;
}
/* With a panel open, each icon is its own island, as on the main rails. */
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
.cockpit-utility-rail.is-open
.cockpit-utility-rail__icons {
border-color: transparent;
background: none;
box-shadow: none;
backdrop-filter: none;
-webkit-backdrop-filter: none;
}
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
.cockpit-utility-rail.is-open
.cockpit-utility-rail__item {
position: relative;
}
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
.cockpit-utility-rail.is-open
.cockpit-utility-rail__item::before {
position: absolute;
inset: -5px;
z-index: -1;
border: 1px solid rgba(255, 255, 255, 0.14);
border-radius: 14px;
background: rgba(16, 20, 28, 0.82);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
content: '';
pointer-events: none;
}
/* Hovering an icon lights its label too, as on the left. */
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
.cockpit-utility-rail:has(.cockpit-utility-rail__item:nth-child(1):hover)
.cockpit-utility-rail__labels
> span:nth-child(1),
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
.cockpit-utility-rail:has(.cockpit-utility-rail__item:nth-child(2):hover)
.cockpit-utility-rail__labels
> span:nth-child(2) {
color: var(--text-primary, #fff);
}
/* Mirror the left rail's 52px inset, clear of the HUD's vertical readouts. */
:root:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
.cockpit-utility-controls {
right: 52px;
}
/* Like the cockpit's other windows (rtl.css), the rail keeps its physical
side in a right-to-left language: icons at the screen edge, the open panel
inside them. Only the text reads right to left. */
html[dir='rtl']:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
.cockpit-utility-controls {
direction: ltr;
}
html[dir='rtl']:not([data-ui-theme='cyber'])
body.cockpit-mode:not(.mobile-shell)
:is(.cockpit-utility-control.is-expanded, .cockpit-utility-rail__labels) {
direction: rtl;
}
+315
View File
@@ -0,0 +1,315 @@
/* An application provider's first-person view
(src/cockpitSubjectProviders.js): a window view with the provider's board,
sources, banner, darkening veil and progress line. Every rule is scoped to
the generic view, so the built-in views keep their own looks. */
#cockpit-hud[data-generic] {
--cockpit-subject-panel: rgba(0, 7, 12, 0.66);
--cockpit-subject-live: var(--cockpit-accent);
--cockpit-subject-estimate: #c9b6ff;
--cockpit-subject-warning: #ffb800;
--cockpit-subject-alert: var(--cockpit-emergency);
--cockpit-subject-progress-band: 46px;
}
#cockpit-hud[data-generic] [data-tone='muted'] {
opacity: 0.62;
}
#cockpit-hud[data-generic] [data-tone='live'] {
color: var(--cockpit-subject-live);
}
#cockpit-hud[data-generic] [data-tone='estimate'] {
color: var(--cockpit-subject-estimate);
}
#cockpit-hud[data-generic] [data-tone='warning'] {
color: var(--cockpit-subject-warning);
}
#cockpit-hud[data-generic] [data-tone='alert'] {
color: var(--cockpit-subject-alert);
}
/* The veil darkens the picture under the HUD; its streaks are lights
passing the window. */
#cockpit-hud[data-generic] .cockpit-veil {
position: absolute;
inset: 0;
background: #000;
pointer-events: none;
transition: opacity 0.25s linear;
}
#cockpit-hud[data-generic] .cockpit-veil.streaks::before {
content: '';
position: absolute;
inset: 34% -40% 46%;
background: repeating-linear-gradient(
90deg,
transparent 0 22%,
rgba(255, 214, 150, 0.16) 23%,
rgba(255, 236, 200, 0.42) 24%,
rgba(255, 214, 150, 0.16) 25%,
transparent 26% 48%
);
filter: blur(3px);
animation: cockpit-veil-streaks 1.4s linear infinite;
}
@keyframes cockpit-veil-streaks {
from {
transform: translateX(0);
}
to {
transform: translateX(-26%);
}
}
@media (prefers-reduced-motion: reduce) {
#cockpit-hud[data-generic] .cockpit-veil.streaks::before {
animation: none;
}
#cockpit-hud[data-generic] .cockpit-veil {
transition: none;
}
}
/* The banner: top centre, below the top line. */
#cockpit-hud[data-generic] .cockpit-banner {
position: absolute;
top: clamp(92px, 13vh, 128px);
left: 50%;
display: flex;
flex-direction: column;
align-items: center;
gap: 2px;
max-width: min(560px, 80vw);
padding: 6px 14px;
border: 1px solid color-mix(in srgb, var(--cockpit-accent) 56%, transparent);
border-radius: 2px;
background: var(--cockpit-subject-panel);
text-align: center;
transform: translateX(-50%);
}
#cockpit-hud[data-generic] .cockpit-banner strong {
font-size: 15px;
letter-spacing: 0.14em;
}
#cockpit-hud[data-generic] .cockpit-banner small {
font-size: 11px;
letter-spacing: 0.08em;
}
/* The board: cards on the left, below the page's left rail and the Intel
HUD's top corner (both stay on in first person), the sources under them. */
#cockpit-hud[data-generic] {
--cockpit-subject-board-top: max(23rem, 41vh);
}
#cockpit-hud[data-generic] .cockpit-board {
position: absolute;
top: var(--cockpit-subject-board-top);
left: clamp(22px, 4vw, 58px);
display: flex;
flex-direction: column;
gap: 8px;
width: min(320px, 30vw);
min-width: 220px;
max-height: calc(100vh - var(--cockpit-subject-board-top) - 11rem);
overflow: hidden;
}
#cockpit-hud[data-generic] .cockpit-board-card {
display: flex;
flex-direction: column;
gap: 2px;
padding: 6px 10px;
border-left: 2px solid
color-mix(in srgb, var(--cockpit-accent) 72%, transparent);
background: var(--cockpit-subject-panel);
}
#cockpit-hud[data-generic] .cockpit-board-card small {
font-size: 10px;
letter-spacing: 0.16em;
opacity: 0.78;
}
#cockpit-hud[data-generic] .cockpit-board-card strong {
font-size: 17px;
letter-spacing: 0.04em;
overflow-wrap: anywhere;
}
#cockpit-hud[data-generic] .cockpit-board-card span {
font-size: 12px;
letter-spacing: 0.06em;
}
#cockpit-hud[data-generic] .cockpit-sources {
display: flex;
flex-direction: column;
gap: 3px;
margin: 0;
padding: 6px 10px;
background: rgba(0, 7, 12, 0.5);
font-size: 10px;
letter-spacing: 0.06em;
}
#cockpit-hud[data-generic] .cockpit-sources div {
display: flex;
gap: 6px;
}
#cockpit-hud[data-generic] .cockpit-sources dt {
flex: none;
min-width: 64px;
opacity: 0.7;
letter-spacing: 0.14em;
}
#cockpit-hud[data-generic] .cockpit-sources dd {
margin: 0;
overflow-wrap: anywhere;
}
/* The speed's tag (live or estimated) sits where a label would. */
#cockpit-hud[data-generic] .cockpit-speed-tag {
font-weight: 700;
}
/* With no speed readout the heading still holds the middle of the row. */
#cockpit-hud[data-generic] .cockpit-heading-value {
grid-column: 2;
}
#cockpit-hud[data-generic] .cockpit-aircraft-meta[data-tone='warning'],
#cockpit-hud[data-generic] .cockpit-aircraft-meta[data-tone='alert'] {
font-weight: 700;
}
/* Look-around: the readout and LOOK AHEAD centred under the style switcher,
in the sky over the forward view; the bottom corners hold the position
readouts. Styled as on a bridge. */
#cockpit-hud[data-generic] .cockpit-look {
position: absolute;
top: calc(clamp(22px, 4vh, 42px) + 70px);
left: 50%;
transform: translateX(-50%);
display: flex;
align-items: center;
gap: 8px;
}
#cockpit-hud[data-generic] .cockpit-look[hidden] {
display: none;
}
#cockpit-hud[data-generic] .cockpit-look-readout {
padding: 2px 6px;
border: 1px solid color-mix(in srgb, var(--cockpit-accent) 46%, transparent);
border-radius: 2px;
background: rgba(0, 7, 12, 0.62);
color: var(--cockpit-accent);
font-family: var(--font-mono);
font-size: 11px;
letter-spacing: 0.12em;
white-space: nowrap;
}
#cockpit-hud[data-generic] .cockpit-look-ahead {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 3px 8px;
border: 1px solid color-mix(in srgb, var(--cockpit-accent) 64%, transparent);
border-radius: 2px;
background: rgba(0, 7, 12, 0.78);
color: #f4fbff;
font: inherit;
font-size: 10px;
letter-spacing: 0.14em;
cursor: pointer;
pointer-events: auto;
}
#cockpit-hud[data-generic] .cockpit-look-ahead:hover {
border-color: var(--cockpit-accent);
}
#cockpit-hud[data-generic] .cockpit-look-ahead:focus-visible {
outline: 2px solid var(--cockpit-accent);
outline-offset: 2px;
}
/* The progress line takes a band along the bottom edge; the readouts that
sit there move up above it. */
#cockpit-hud[data-generic][data-progress]
:is(.cockpit-help, .cockpit-position-readout) {
bottom: calc(
clamp(22px, 4vh, 42px) + var(--cockpit-subject-progress-band) - 14px
);
}
#cockpit-hud[data-generic][data-progress] .cockpit-compass {
bottom: calc(clamp(44px, 7vh, 72px) + var(--cockpit-subject-progress-band));
}
#cockpit-hud[data-generic] .cockpit-progress {
position: absolute;
right: clamp(22px, 4vw, 58px);
bottom: 6px;
left: clamp(22px, 4vw, 58px);
height: var(--cockpit-subject-progress-band);
}
#cockpit-hud[data-generic] .cockpit-progress-line {
position: absolute;
right: 0;
bottom: 8px;
left: 0;
height: 2px;
background: color-mix(in srgb, var(--cockpit-accent) 78%, transparent);
}
#cockpit-hud[data-generic] .cockpit-progress-travelled {
position: absolute;
inset: 0 auto 0 0;
background: rgba(0, 7, 12, 0.72);
}
#cockpit-hud[data-generic] .cockpit-progress-tick {
position: absolute;
bottom: 5px;
width: 2px;
height: 8px;
margin-left: -1px;
background: currentColor;
}
#cockpit-hud[data-generic] .cockpit-progress-tick.labelled {
height: 12px;
}
#cockpit-hud[data-generic] .cockpit-progress-tick.merged {
width: 4px;
margin-left: -2px;
}
#cockpit-hud[data-generic] .cockpit-progress-tick.travelled {
opacity: 0.45;
}
#cockpit-hud[data-generic] .cockpit-progress-label {
position: absolute;
bottom: 20px;
display: flex;
flex-direction: column;
overflow: hidden;
font-size: 10px;
letter-spacing: 0.06em;
line-height: 1.2;
white-space: nowrap;
}
#cockpit-hud[data-generic] .cockpit-progress-label[data-align='center'] {
align-items: center;
text-align: center;
}
#cockpit-hud[data-generic] .cockpit-progress-label[data-align='end'] {
align-items: flex-end;
text-align: end;
}
#cockpit-hud[data-generic] .cockpit-progress-label small {
opacity: 0.82;
}
#cockpit-hud[data-generic] .cockpit-progress-marker {
position: absolute;
bottom: 4px;
width: 10px;
height: 10px;
margin-left: -5px;
border-radius: 50%;
background: var(--cockpit-accent);
box-shadow: 0 0 10px var(--cockpit-accent);
}
#cockpit-hud[data-generic] .cockpit-progress-marker.dwell {
background: transparent;
border: 2px solid var(--cockpit-accent);
}
#cockpit-hud[data-generic] .cockpit-progress-tag {
position: absolute;
right: 0;
bottom: -2px;
font-size: 9px;
letter-spacing: 0.14em;
opacity: 0.7;
}
+4 -1
View File
@@ -599,7 +599,10 @@ html:not([lang='en']):not(:lang(zh)):not(:lang(ja))
#pp-toggles.collapsed .pp-toggle-group,
#pp-toggles.collapsed #clean-view-toggle,
#pp-toggles.collapsed #param-slider-panel {
#pp-toggles.collapsed #param-slider-panel,
#pp-toggles.collapsed .visual-presets,
#pp-toggles.collapsed .pp-section-heading,
#pp-toggles.collapsed .pp-reset-btn {
display: none;
}
+206
View File
@@ -0,0 +1,206 @@
/* ── Data Layers search and filter ── */
.layer-finder__btn {
display: grid;
flex: none;
place-items: center;
width: 22px;
height: 22px;
padding: 0;
color: rgba(206, 232, 239, 0.65);
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 6px;
cursor: pointer;
}
.layer-finder__btn .material-symbols-outlined {
font-size: 14px;
}
.layer-finder__btn:hover,
.layer-finder__btn:focus-visible {
color: #fff;
border-color: rgba(255, 255, 255, 0.24);
}
.layer-finder__btn.active {
color: #36dcff;
background: rgba(54, 220, 255, 0.12);
border-color: rgba(54, 220, 255, 0.45);
}
.layer-finder__filter {
position: relative;
display: inline-flex;
}
.layer-finder__menu {
position: absolute;
top: calc(100% + 6px);
right: 0;
z-index: 20;
display: grid;
min-width: 140px;
padding: 4px;
background: rgba(16, 20, 28, 0.96);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 10px;
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}
.layer-finder__menu button {
display: flex;
align-items: center;
gap: 0.45rem;
padding: 0.4rem 0.55rem;
color: rgba(225, 236, 242, 0.85);
font-size: 0.72rem;
text-align: start;
background: none;
border: 0;
border-radius: 7px;
cursor: pointer;
}
.layer-finder__menu button .material-symbols-outlined {
font-size: 14px;
color: rgba(199, 214, 222, 0.6);
}
.layer-finder__menu button:hover {
background: rgba(255, 255, 255, 0.06);
}
.layer-finder__menu button.active,
.layer-finder__menu button.active .material-symbols-outlined {
color: #7af0ff;
}
.layer-finder__bar {
display: flex;
flex: none;
align-items: center;
gap: 0.4rem;
margin: 0.2rem 0 0.5rem;
}
.layer-finder__field {
display: flex;
flex: 1 1 auto;
align-items: center;
gap: 0.35rem;
padding: 0 0.55rem;
height: 30px;
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(54, 220, 255, 0.3);
border-radius: 8px;
}
.layer-finder__field .material-symbols-outlined {
color: rgba(199, 214, 222, 0.6);
font-size: 15px;
}
.layer-finder__field input {
flex: 1 1 auto;
min-width: 0;
color: rgba(236, 244, 248, 0.95);
font-size: 0.75rem;
background: none;
border: 0;
outline: none;
}
/* Focus shows on the field's frame, as a soft ring, in place of the hard
keyboard outline round the bare input. */
.layer-finder__field input:focus,
.layer-finder__field input:focus-visible {
outline: none !important;
box-shadow: none;
}
.layer-finder__field:focus-within {
border-color: rgba(54, 220, 255, 0.7);
box-shadow: 0 0 0 3px rgba(54, 220, 255, 0.1);
}
.layer-finder__chip {
display: inline-flex;
flex: none;
align-items: center;
gap: 0.25rem;
height: 26px;
padding: 0 0.5rem;
color: #7af0ff;
font-family: var(--font-mono);
font-size: 0.56rem;
letter-spacing: 0.1rem;
text-transform: uppercase;
background: rgba(54, 220, 255, 0.12);
border: 1px solid rgba(54, 220, 255, 0.45);
border-radius: 999px;
cursor: pointer;
}
.layer-finder__chip .material-symbols-outlined {
font-size: 12px;
}
/* Rows and group headings the search or filter leaves out. */
#data-toggles .is-filtered {
display: none !important;
}
.layer-finder__empty {
flex-basis: 100%;
margin: 0;
padding: 0.6rem 0.5rem;
color: rgba(199, 214, 222, 0.5);
font-size: 0.72rem;
text-align: center;
}
.layer-finder__menu {
max-height: 60vh;
box-sizing: border-box;
overflow-y: auto;
min-width: 170px;
}
.layer-finder__menu-head {
padding: 0.45rem 0.55rem 0.2rem;
color: rgba(199, 214, 222, 0.5);
font-family: var(--font-mono);
font-size: 0.52rem;
letter-spacing: 0.14rem;
text-transform: uppercase;
}
/* Each group of options lays out as part of the menu's grid. */
.layer-finder__menu > span {
display: contents;
}
.layer-finder__menu > span + span > .layer-finder__menu-head {
margin-top: 0.2rem;
border-top: 1px solid rgba(255, 255, 255, 0.08);
}
/* Several chips can show at once. */
.layer-finder__bar {
flex-wrap: wrap;
}
/* Chips sized like the rows' ON/OFF switches: small and square. */
.layer-finder__chip {
height: 20px;
gap: 0.2rem;
padding: 0 6px 0 8px;
font-size: 9px;
letter-spacing: 0.08rem;
border-radius: 4px;
}
.layer-finder__chip .material-symbols-outlined {
font-size: 11px;
}
+107
View File
@@ -0,0 +1,107 @@
/* ── Data Layers group index: ticks along the panel's right edge ─────── */
#data-panel {
position: relative;
}
.layer-section-index {
position: absolute;
top: 64px;
inset-inline-end: 2px;
bottom: 24px;
z-index: 2;
display: flex;
flex-direction: column;
justify-content: center;
gap: 6px;
width: 10px;
}
#data-panel.collapsed .layer-section-index {
display: none;
}
.layer-section-index__tick {
position: relative;
width: 10px;
height: 16px;
padding: 0;
background: none;
border: 0;
cursor: pointer;
}
.layer-section-index__tick::before {
content: '';
position: absolute;
top: 2px;
bottom: 2px;
left: 4px;
width: 2px;
border-radius: 2px;
background: rgba(199, 214, 222, 0.32);
transition:
background 140ms ease,
box-shadow 140ms ease,
transform 140ms ease;
}
.layer-section-index__tick:hover::before,
.layer-section-index__tick:focus-visible::before {
background: rgba(236, 244, 248, 0.85);
transform: scaleX(1.5);
}
.layer-section-index__tick.is-current::before {
background: #36dcff;
box-shadow: 0 0 6px rgba(54, 220, 255, 0.6);
}
.layer-section-index__tick:focus-visible {
outline: none;
}
/* The group's name, drawn on the page just outside the panel's edge while a
tick is pointed at or focused, so it covers none of the rows. */
.layer-section-index__label {
position: fixed;
z-index: 30;
padding: 0.25rem 0.5rem;
color: rgba(236, 244, 248, 0.92);
font-family: var(--font-mono);
font-size: 0.56rem;
letter-spacing: 0.12rem;
text-transform: uppercase;
white-space: nowrap;
background: rgba(12, 12, 20, 0.88);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 6px;
transform: translateY(-50%);
pointer-events: none;
animation: layer-section-index-label 120ms ease both;
}
/* Drawn before the tick when there is no room after it. */
.layer-section-index__label--before {
transform: translate(-100%, -50%);
}
@keyframes layer-section-index-label {
from {
opacity: 0;
translate: -4px 0;
}
to {
opacity: 1;
translate: 0 0;
}
}
@media (prefers-reduced-motion: reduce) {
.layer-section-index__label {
animation: none;
}
}
body.mobile-shell .layer-section-index {
display: none;
}
+37
View File
@@ -0,0 +1,37 @@
/* Visual in the left column: it takes clicks (the column itself lets them
through to the globe) and stays inside the column, scrolling as a whole. */
#left-panel-stack > #pp-toggles {
position: relative;
inset: auto;
flex: 0 1 var(--left-panel-allocated-height, auto);
min-height: 0;
max-height: var(--left-panel-allocated-height, 100%);
overflow-y: auto;
pointer-events: auto;
}
#left-panel-stack > #pp-toggles.collapsed {
display: none;
}
/* ── Expanded panel width ───────────────────────────────────────────────
Data Layers opens 15px wider than it used to (280 → 295px), and that is
the narrowest any side panel opens to; wider ones (Context, CCTV,
Authoring) keep their own width. */
:root {
--side-panel-min-expanded-width: 295px;
}
#data-panel,
#utilities-panel {
--panel-expanded-width: var(--side-panel-min-expanded-width);
}
#left-panel-stack > #pp-toggles:not(.collapsed) {
--pp-expanded-width: var(--side-panel-min-expanded-width);
width: var(--side-panel-min-expanded-width);
}
:is(#left-panel-stack, #right-context-rail) > [data-panel-id]:not(.collapsed) {
min-width: var(--side-panel-min-expanded-width);
}
+4 -2
View File
@@ -129,7 +129,9 @@ body.mobile-shell #right-context-rail {
body.mobile-shell[data-mobile-sheet='layers'] #left-panel-stack,
body.mobile-shell[data-mobile-sheet='cameras'] #right-context-rail,
body.mobile-shell[data-mobile-sheet='context'] #right-context-rail,
body.mobile-shell[data-mobile-sheet='more'] #right-context-rail {
/* Visual opens from the left rail on wider screens, so it lives in the left
stack and the More sheet is that stack showing Visual alone. */
body.mobile-shell[data-mobile-sheet='more'] #left-panel-stack {
position: fixed;
top: auto;
right: 0;
@@ -189,7 +191,7 @@ body.mobile-shell[data-mobile-sheet='context']
body.mobile-shell[data-mobile-sheet='context']
#right-context-rail
> #recent-imagery-panel:not([hidden]),
body.mobile-shell[data-mobile-sheet='more'] #right-context-rail > #pp-toggles {
body.mobile-shell[data-mobile-sheet='more'] #left-panel-stack > #pp-toggles {
position: relative;
inset: auto;
display: block;
+3 -1
View File
@@ -310,8 +310,10 @@
bottom: 12vh;
}
/* Minimal keeps its coordinates in the corner block, where the other layouts
have them; the full-width strip would only repeat the same position. */
#intel-hud[data-variant='minimal'] .hud-bottom-bar {
display: flex;
display: none;
bottom: calc(12vh + 4rem);
}
+100
View File
@@ -0,0 +1,100 @@
/* ── Panels over the rail ───────────────────────────────────────────────
Each panel header's edge switch (UiPanelEdge) slides that side's open
panels over their rail to the screen edge; the rail stays underneath. */
.ui-panel-edge {
display: grid;
flex: none;
place-items: center;
width: 22px;
height: 22px;
padding: 0;
color: rgba(206, 232, 239, 0.6);
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 6px;
cursor: pointer;
}
.ui-panel-edge .material-symbols-outlined {
font-size: 14px;
}
.ui-panel-edge:hover,
.ui-panel-edge:focus-visible {
color: var(--text-primary, #e8eaed);
border-color: rgba(255, 255, 255, 0.24);
}
.ui-panel-edge[aria-pressed='true'] {
color: #36dcff;
background: rgba(54, 220, 255, 0.12);
border-color: rgba(54, 220, 255, 0.45);
}
/* Collapsed panels hide the switch; it only means something once open. */
.panel-collapsible.collapsed .ui-panel-edge {
display: none;
}
/* Right: open panels move right by the rail's width and sit over it. */
body.panels-edge-right:not(.mobile-shell):not(.cockpit-mode)
#right-context-rail
> :not(.gev-panel-rail) {
z-index: 2;
transform: translateX(var(--panel-rail-clearance, 48px));
}
/* Left: the same, moving left. */
body.panels-edge-left:not(.mobile-shell):not(.cockpit-mode)
#left-panel-stack
> :not(.gev-panel-rail) {
z-index: 2;
transform: translateX(calc(-1 * var(--panel-rail-clearance, 48px)));
}
body.mobile-shell .ui-panel-edge,
body.cockpit-mode .ui-panel-edge {
display: none;
}
/* ── Edge mode with a panel open: the rail's icons move to a row along the
top of the panel, and the panel steps down to make room. ── */
:root {
--edge-rail-row: 50px;
}
body.panels-edge-left:not(.mobile-shell):not(.cockpit-mode)
.gev-panel-rail--left:has(.ui-rail--collapsible:not(.ui-rail--expanded)),
body.panels-edge-right:not(.mobile-shell):not(.cockpit-mode)
.gev-panel-rail--right:has(.ui-rail--collapsible:not(.ui-rail--expanded)) {
top: 0 !important;
z-index: 3;
}
body.panels-edge-left:not(.mobile-shell):not(.cockpit-mode)
.gev-panel-rail--left
.ui-rail--collapsible:not(.ui-rail--expanded),
body.panels-edge-right:not(.mobile-shell):not(.cockpit-mode)
.gev-panel-rail--right
.ui-rail--collapsible:not(.ui-rail--expanded) {
flex-direction: row;
width: max-content;
gap: 4px;
}
body.panels-edge-left:not(.mobile-shell):not(.cockpit-mode)
#left-panel-stack
> :not(.gev-panel-rail):not(.collapsed) {
transform: translate(
calc(-1 * var(--panel-rail-clearance, 48px)),
var(--edge-rail-row)
);
max-height: calc(100% - var(--edge-rail-row)) !important;
}
body.panels-edge-right:not(.mobile-shell):not(.cockpit-mode)
#right-context-rail
> :not(.gev-panel-rail):not(.collapsed) {
transform: translate(var(--panel-rail-clearance, 48px), var(--edge-rail-row));
max-height: calc(100% - var(--edge-rail-row)) !important;
}
+103
View File
@@ -0,0 +1,103 @@
/* ── Side rails: sliding highlight and edge scrolling ──────────────────
The open item's highlight is drawn once per rail, under the icons, and
slides from item to item when the panel changes. With the pointer in a
screen edge's strip, the rail's border lights up a little to say the wheel
now steps through its panels; the panel that opens slides in from the
direction of travel. */
.ui-rail {
position: relative;
transition:
border-color 240ms ease,
border-radius var(--transition-fast);
}
.ui-rail.ui-rail--edge-hot {
border-color: rgba(48, 194, 224, 0.4);
}
/* The highlight itself, matching an open item's own look. */
.ui-rail::before {
position: absolute;
top: 0;
left: 0;
z-index: 0;
width: var(--rail-glide-w, 32px);
height: var(--rail-glide-h, 32px);
background: var(--accent-dim);
border: 1px solid var(--accent-dim);
border-radius: var(--btn-radius);
box-sizing: border-box;
content: '';
opacity: 0;
pointer-events: none;
transform: translate(var(--rail-glide-x, 0), var(--rail-glide-y, 0));
/* Only the position slides. The size follows at once: it changes only
when the rail changes shape (its labelled pills folding to icons as a
panel opens), and a size easing there reads as a stretch. */
transition:
transform 380ms cubic-bezier(0.22, 1, 0.36, 1),
border-radius var(--transition-fast),
opacity 200ms ease;
}
.ui-rail--expanded::before {
border-radius: 16px;
}
.ui-rail.ui-rail--glide::before {
opacity: 1;
}
.ui-rail.ui-rail--glide-jump::before {
transition: opacity 200ms ease;
}
/* While the shared highlight shows, the items stay clear and sit above it;
the open item keeps its accent colour, which eases in as it arrives. */
.ui-rail--glide .ui-rail__item {
z-index: 1;
transition:
color 300ms ease,
background var(--transition-fast),
border-color var(--transition-fast),
border-radius var(--transition-fast);
}
.ui-rail--glide .ui-rail__item--on,
.ui-rail--glide .ui-rail__item--on:hover:not(:disabled) {
background: transparent;
border-color: transparent;
}
.rail-switch-down {
animation: rail-switch-down 340ms cubic-bezier(0.22, 1, 0.36, 1);
}
.rail-switch-up {
animation: rail-switch-up 340ms cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes rail-switch-down {
from {
opacity: 0;
translate: 0 16px;
}
}
@keyframes rail-switch-up {
from {
opacity: 0;
translate: 0 -16px;
}
}
@media (prefers-reduced-motion: reduce) {
.ui-rail::before {
transition: opacity 200ms ease;
}
.rail-switch-down,
.rail-switch-up {
animation: none;
}
}
+282
View File
@@ -0,0 +1,282 @@
/* The left rail's icons keep their places whether or not a panel is open;
only the highlight moves to the open one. */
/* With nothing open, the icons and their names split into two glass panels
side by side: the plain icon rail, and a name panel beside it with one row
per icon. A name is part of its button, so clicking it opens that panel. */
.gev-panel-rail--left .ui-rail--expanded {
position: relative;
border-radius: calc(var(--btn-radius) + 4px);
}
.gev-panel-rail--left .ui-rail--expanded .ui-rail__item {
width: 32px;
border-radius: var(--btn-radius);
}
.gev-panel-rail--left .ui-rail--expanded::after {
content: '';
position: absolute;
top: -1px;
bottom: -1px;
left: calc(100% + 6px);
width: 170px;
border: 1px solid var(--glass-border);
border-radius: calc(var(--btn-radius) + 4px);
background: var(--glass-bg);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
pointer-events: none;
}
.gev-panel-rail--left .ui-rail--expanded .ui-rail__label {
position: absolute;
z-index: 1;
top: 0;
bottom: 0;
/* Past the rail's padding and border, the 6px gap, and the name panel's
border and inner padding. */
left: calc(100% + 24px);
display: flex;
align-items: center;
max-width: 150px;
margin: 0;
}
.gev-panel-rail--left .ui-rail--expanded .ui-rail__item:hover .ui-rail__label {
color: var(--text-primary);
}
/* The column rises to sit just under the HUD readout instead of leaving a
gap above it, with or without a panel open, so opening one doesn't move
the rail down. */
#left-panel-stack {
top: calc(
var(--left-stack-safe-top, var(--left-stack-top)) +
var(--panel-rail-lift, 0px)
);
}
/* The right rail splits the same way with nothing open, mirrored: the icon
rail stays on the screen edge and the name panel sits to its left. */
.gev-panel-rail--right .ui-rail--expanded {
position: relative;
border-radius: calc(var(--btn-radius) + 4px);
}
.gev-panel-rail--right .ui-rail--expanded .ui-rail__item {
width: 32px;
border-radius: var(--btn-radius);
}
.gev-panel-rail--right .ui-rail--expanded::after {
content: '';
position: absolute;
top: -1px;
bottom: -1px;
right: calc(100% + 6px);
width: 170px;
border: 1px solid var(--glass-border);
border-radius: calc(var(--btn-radius) + 4px);
background: var(--glass-bg);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
pointer-events: none;
}
.gev-panel-rail--right .ui-rail--expanded .ui-rail__label {
position: absolute;
z-index: 1;
top: 0;
bottom: 0;
/* From the button's left edge back past the rail's padding and border,
the 6px gap and the 170px name panel, to the panel's inner padding. */
left: -168px;
display: flex;
align-items: center;
max-width: 150px;
margin: 0;
}
.gev-panel-rail--right .ui-rail--expanded .ui-rail__item:hover .ui-rail__label {
color: var(--text-primary);
}
/* In clean view the screen-edge gutters stay empty: the HUD's vertical edge
readouts (ONA / COLL on the left, BAND / BITS / LVL on the right) are not
shown. Cyber lays its HUD out differently and keeps them. */
:root:not([data-ui-theme='cyber']) body.ui-clean-view #intel-hud .hud-edge {
display: none !important;
}
/* The bottom-right readout (GSD / ALT / AIS) has one more line than the
bottom-left one (MGRS / coordinates); it drops by that line so the two
corners start level. */
#intel-hud[data-variant='tactical'] .hud-bottom-right {
bottom: calc(2vh + 6.5rem - 26px);
}
@media (min-width: 1200px) {
#intel-hud[data-variant='tactical'] .hud-bottom-right {
bottom: calc(4.2rem - 26px);
}
}
/* ── Contrast: rails and name panels read clearly over dark space as well
as bright imagery. ── */
:is(.gev-panel-rail--left, .gev-panel-rail--right) .ui-rail {
background: rgba(16, 20, 28, 0.82) !important;
border-color: rgba(255, 255, 255, 0.14) !important;
box-shadow:
0 6px 20px rgba(0, 0, 0, 0.45),
inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
:is(.gev-panel-rail--left, .gev-panel-rail--right) .ui-rail--expanded::after {
background: rgba(16, 20, 28, 0.82) !important;
border-color: rgba(255, 255, 255, 0.14) !important;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}
:is(.gev-panel-rail--left, .gev-panel-rail--right) .ui-rail__item {
color: rgba(225, 236, 242, 0.88);
}
:is(.gev-panel-rail--left, .gev-panel-rail--right) .ui-rail__label {
color: rgba(225, 236, 242, 0.82) !important;
}
:is(.gev-panel-rail--left, .gev-panel-rail--right) .ui-rail__item:hover {
color: #fff;
}
/* The open item takes the accent colour; its highlight is the rail's shared
one, which slides to it. The button carries no fill of its own: as a rail
folds its labelled pills to icons, a fill on the shrinking button would
read as the highlight stretching. */
:is(.gev-panel-rail--left, .gev-panel-rail--right)
.ui-rail__item.ui-rail__item--on {
color: #00d4ff !important;
}
:is(.gev-panel-rail--left, .gev-panel-rail--right)
.ui-rail:not(.ui-rail--glide)
.ui-rail__item.ui-rail__item--on {
background: none;
border-color: transparent;
}
:is(.gev-panel-rail--left, .gev-panel-rail--right) .ui-rail::before {
background: rgba(0, 212, 255, 0.15);
border-color: rgba(0, 212, 255, 0.28);
}
/* ── The open icon is its own island ──
With a panel open, the rail's glass is drawn in pieces behind its icons:
one piece for the open icon, and one for each run of icons above and below
it. The icons keep their places, open or not; the spacing between them is
what leaves room for the break. */
:is(.gev-panel-rail--left, .gev-panel-rail--right) .ui-rail {
gap: 12px;
}
:is(
body:not(.panels-edge-left) .gev-panel-rail--left,
body:not(.panels-edge-right) .gev-panel-rail--right
)
.ui-rail--collapsible:not(.ui-rail--expanded):has(.ui-rail__item--on) {
background: none !important;
border-color: transparent !important;
box-shadow: none !important;
backdrop-filter: none;
-webkit-backdrop-filter: none;
}
:is(
body:not(.panels-edge-left) .gev-panel-rail--left,
body:not(.panels-edge-right) .gev-panel-rail--right
)
.ui-rail--collapsible:not(.ui-rail--expanded):has(.ui-rail__item--on)
> .ui-tooltip::before {
position: absolute;
inset: -6px -5px;
z-index: -1;
background: rgba(16, 20, 28, 0.82);
border: solid rgba(255, 255, 255, 0.14);
border-width: 0 1px;
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
content: '';
pointer-events: none;
}
/* The ends of the rail. */
:is(
body:not(.panels-edge-left) .gev-panel-rail--left,
body:not(.panels-edge-right) .gev-panel-rail--right
)
.ui-rail--collapsible:not(.ui-rail--expanded):has(.ui-rail__item--on)
> .ui-tooltip:first-child::before {
top: -5px;
border-top-width: 1px;
border-top-left-radius: 14px;
border-top-right-radius: 14px;
}
:is(
body:not(.panels-edge-left) .gev-panel-rail--left,
body:not(.panels-edge-right) .gev-panel-rail--right
)
.ui-rail--collapsible:not(.ui-rail--expanded):has(.ui-rail__item--on)
> .ui-tooltip:last-child::before {
bottom: -5px;
border-bottom-width: 1px;
border-bottom-left-radius: 14px;
border-bottom-right-radius: 14px;
}
/* The runs stop short of the open icon. */
:is(
body:not(.panels-edge-left) .gev-panel-rail--left,
body:not(.panels-edge-right) .gev-panel-rail--right
)
.ui-rail--collapsible:not(.ui-rail--expanded):has(.ui-rail__item--on)
> .ui-tooltip:has(+ .ui-tooltip > .ui-rail__item--on)::before {
bottom: -1px;
border-bottom-width: 1px;
border-bottom-left-radius: 14px;
border-bottom-right-radius: 14px;
}
:is(
body:not(.panels-edge-left) .gev-panel-rail--left,
body:not(.panels-edge-right) .gev-panel-rail--right
)
.ui-rail--collapsible:not(.ui-rail--expanded):has(.ui-rail__item--on)
> .ui-tooltip:has(> .ui-rail__item--on)
+ .ui-tooltip::before {
top: -1px;
border-top-width: 1px;
border-top-left-radius: 14px;
border-top-right-radius: 14px;
}
/* The open icon's own piece. */
:is(
body:not(.panels-edge-left) .gev-panel-rail--left,
body:not(.panels-edge-right) .gev-panel-rail--right
)
.ui-rail--collapsible:not(.ui-rail--expanded):has(.ui-rail__item--on)
> .ui-tooltip:has(> .ui-rail__item--on)::before {
inset: -4px -5px;
border-width: 1px;
border-radius: 14px;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}
/* The side rails fold their labels away at once when a panel opens, and back
when it closes: easing the labels' width made every button visibly
stretch and shrink. Only their fade eases. */
:is(.gev-panel-rail--left, .gev-panel-rail--right) .ui-rail__label {
transition: opacity var(--transition-fast);
}
+44
View File
@@ -242,3 +242,47 @@ html[dir='rtl'] select.gev-field--compact {
html[dir='rtl'] .rail-card-scale {
direction: ltr;
}
/* ── Side rails, mirrored ──────────────────────────────────────────────
The left stack sits on the right edge, so the left rail's name panel
opens to its left and the right rail's to its right, each toward the
middle of the screen, as they do in left-to-right. */
html[dir='rtl'] .gev-panel-rail--left .ui-rail--expanded::after {
right: calc(100% + 6px);
left: auto;
}
html[dir='rtl'] .gev-panel-rail--left .ui-rail--expanded .ui-rail__label {
right: calc(100% + 24px);
left: auto;
}
html[dir='rtl'] .gev-panel-rail--right .ui-rail--expanded::after {
right: auto;
left: calc(100% + 6px);
}
html[dir='rtl'] .gev-panel-rail--right .ui-rail--expanded .ui-rail__label {
right: auto;
left: calc(100% + 24px);
}
/* Panels moved to the screen edge slide over their rail toward that edge. */
html[dir='rtl']
body.panels-edge-left:not(.mobile-shell):not(.cockpit-mode)
#left-panel-stack
> :not(.gev-panel-rail) {
transform: translateX(var(--panel-rail-clearance, 48px));
}
html[dir='rtl']
body.panels-edge-left:not(.mobile-shell):not(.cockpit-mode)
#left-panel-stack
> :not(.gev-panel-rail):not(.collapsed) {
transform: translate(var(--panel-rail-clearance, 48px), var(--edge-rail-row));
}
html[dir='rtl']
body.panels-edge-right:not(.mobile-shell):not(.cockpit-mode)
#right-context-rail
> :not(.gev-panel-rail) {
transform: translate(
calc(-1 * var(--panel-rail-clearance, 48px)),
var(--edge-rail-row)
);
}
+26
View File
@@ -0,0 +1,26 @@
/* With Scope off the map fills the whole screen. The HUD keeps its black
plates (overlays.css); the glass chrome lifts off the map with a soft
drop shadow. */
:root[data-scope-mask='off'] {
--scope-off-panel-shadow:
0 10px 30px rgba(0, 0, 0, 0.55), 0 2px 8px rgba(0, 0, 0, 0.45);
}
/* Glass surfaces (rails, the rails' name panels, open panels and
the dock) get a lift so their edges hold against bright imagery. */
:root[data-scope-mask='off'] .ui-rail,
:root[data-scope-mask='off'] .gev-panel-rail .ui-rail--expanded::after,
:root[data-scope-mask='off']
:is(.data-panel-inner, .utilities-panel-inner, .ui-panel__inner),
:root[data-scope-mask='off'] #left-panel-stack > #pp-toggles,
:root[data-scope-mask='off']
#right-context-rail
> [data-panel-id]:not(.collapsed),
:root[data-scope-mask='off'] #command-dock > * {
box-shadow: var(--scope-off-panel-shadow);
}
:root[data-scope-mask='off'] .ui-rail__label,
:root[data-scope-mask='off'] .ui-rail__item .ui-icon {
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
+349
View File
@@ -0,0 +1,349 @@
/* ── Visual panel: sections and one card style for every control ───────
Look · Map source · Overlay (HUD, detection, 3D, Scope, Clean UI) ·
Effects (Celestial, Bloom, Sharpen) · Reset. Each control is a card: a
header row with its icon, name and an on/off pill, and its settings
underneath. */
/* ── Presets and map source at the top of the panel ─────────────────── */
.visual-presets {
display: grid;
gap: 8px;
padding: 2px 0 12px;
margin-bottom: 10px;
border-bottom: 1px solid var(--glass-border);
}
.visual-presets__heading {
margin: 4px 0 0;
color: var(--text-secondary);
font: 600 10px/1.2 var(--font-mono);
letter-spacing: 0.14em;
text-transform: uppercase;
}
.visual-presets__heading--row {
display: flex;
justify-content: space-between;
gap: 8px;
}
.visual-presets__status {
color: var(--accent);
}
.visual-presets__status.warn {
color: #ff9f43;
}
.visual-presets__grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 6px;
}
.visual-presets__style {
position: relative;
display: grid;
justify-items: center;
gap: 4px;
padding: 9px 4px 7px;
color: var(--text-secondary);
background: rgba(255, 255, 255, 0.03);
border: 1px solid var(--glass-border);
border-radius: var(--btn-radius);
cursor: pointer;
}
.visual-presets__style:hover {
color: var(--text-primary);
background: rgba(255, 255, 255, 0.06);
}
.visual-presets__style.active {
color: var(--accent);
background: var(--accent-dim);
border-color: var(--accent-dim);
}
.visual-presets__icon {
font-size: 15px;
line-height: 1;
}
.visual-presets__label {
font: 500 11px/1 var(--font-sans);
}
.visual-presets__key {
position: absolute;
top: 4px;
inset-inline-end: 5px;
color: var(--text-secondary);
font: 9px/1 var(--font-mono);
opacity: 0.6;
}
.visual-presets__chips {
display: flex;
flex-wrap: wrap;
gap: 5px;
}
.visual-presets__chip {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 5px 9px;
color: var(--text-secondary);
font: 500 11px/1.2 var(--font-sans);
background: rgba(255, 255, 255, 0.03);
border: 1px solid var(--glass-border);
border-radius: 999px;
cursor: pointer;
}
.visual-presets__chip small {
font-size: 9px;
opacity: 0.6;
}
.visual-presets__chip:hover {
color: var(--text-primary);
background: rgba(255, 255, 255, 0.06);
}
.visual-presets__chip.active {
color: var(--accent);
background: var(--accent-dim);
border-color: var(--accent-dim);
}
.visual-presets__chip.unavailable {
opacity: 0.45;
cursor: default;
}
/* The phone's More sheet shows the dock's Visual Presets tray right above
Visual, so the panel leaves out its own copy there. */
body.mobile-shell #pp-toggles .visual-presets {
display: none;
}
/* The body is display: contents, so its children are the panel's own flex
items: keep them full width and unshrunk. */
#pp-toggles .pp-panel-body > * {
flex: none !important;
align-self: stretch !important;
box-sizing: border-box;
}
#pp-toggles .pp-panel-body > .pp-toggle-group,
#pp-toggles .pp-panel-body > .pp-toggle-btn {
margin-bottom: 0.4rem !important;
}
#pp-toggles .pp-section-heading,
#pp-toggles .visual-presets__heading {
margin: 0.7rem 2px 0.35rem;
text-align: start;
color: rgba(199, 214, 222, 0.55);
font-family: var(--font-mono);
font-size: 0.56rem;
font-weight: 500;
letter-spacing: 0.14rem;
text-transform: uppercase;
}
#pp-toggles .visual-presets__heading:first-child {
margin-top: 0.2rem;
}
/* The card skin below is the default look; the Cyber HUD keeps its own red
skin for these controls (cyber.css), so the skin stands aside there. */
:root:not([data-ui-theme='cyber']) #pp-toggles .pp-toggle-group {
width: 100%;
overflow: hidden;
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.07);
border-radius: 10px;
}
/* The header row of a card, and the lone Clean UI button. */
:root:not([data-ui-theme='cyber'])
#pp-toggles
.pp-toggle-group
> .pp-toggle-btn,
:root:not([data-ui-theme='cyber']) #pp-toggles .pp-panel-body > .pp-toggle-btn {
position: relative;
box-sizing: border-box;
width: 100%;
min-height: 38px;
padding: 0 12px;
gap: 10px;
background: transparent !important;
border: 0 !important;
border-radius: 0 !important;
box-shadow: none !important;
backdrop-filter: none;
-webkit-backdrop-filter: none;
}
:root:not([data-ui-theme='cyber']) #pp-toggles .pp-panel-body > .pp-toggle-btn {
background: rgba(255, 255, 255, 0.03) !important;
border: 1px solid rgba(255, 255, 255, 0.07) !important;
border-radius: 10px !important;
}
:root:not([data-ui-theme='cyber']) #pp-toggles .pp-toggle-btn .pp-icon {
width: 18px;
font-size: 15px;
text-align: center;
color: rgba(199, 214, 222, 0.75);
}
:root:not([data-ui-theme='cyber']) #pp-toggles .pp-toggle-btn .pp-label {
color: rgba(236, 244, 248, 0.9);
font-family: var(--font-mono);
font-size: 0.62rem;
letter-spacing: 0.12rem;
text-transform: uppercase;
}
/* An on/off pill at the right of every button header (Scope keeps its
checkbox, which already says it). */
:root:not([data-ui-theme='cyber'])
#pp-toggles
.pp-toggle-group
> button.pp-toggle-btn::after,
:root:not([data-ui-theme='cyber'])
#pp-toggles
.pp-panel-body
> button.pp-toggle-btn::after {
/* The state is the button's own (aria-pressed); the pill only shows it. */
content: var(--pp-pill-off, 'OFF') / '';
margin-inline-start: auto;
padding: 2px 8px;
color: rgba(199, 214, 222, 0.5);
font-family: var(--font-mono);
font-size: 0.5rem;
letter-spacing: 0.12rem;
border: 1px solid rgba(255, 255, 255, 0.14);
border-radius: 999px;
}
:root:not([data-ui-theme='cyber'])
#pp-toggles
.pp-toggle-group
> button.pp-toggle-btn.active::after,
:root:not([data-ui-theme='cyber'])
#pp-toggles
.pp-toggle-group
> button.pp-toggle-btn[aria-pressed='true']::after,
:root:not([data-ui-theme='cyber'])
#pp-toggles
.pp-panel-body
> button.pp-toggle-btn.active::after {
content: var(--pp-pill-on, 'ON') / '';
color: #7af0ff;
border-color: rgba(54, 220, 255, 0.5);
background: rgba(54, 220, 255, 0.1);
}
:root:not([data-ui-theme='cyber']) #pp-toggles .pp-toggle-btn.active .pp-icon,
:root:not([data-ui-theme='cyber'])
#pp-toggles
.pp-toggle-btn[aria-pressed='true']
.pp-icon,
:root:not([data-ui-theme='cyber']) #pp-toggles .pp-toggle-btn.active .pp-label,
:root:not([data-ui-theme='cyber'])
#pp-toggles
.pp-toggle-btn[aria-pressed='true']
.pp-label {
color: #7af0ff;
}
:root:not([data-ui-theme='cyber'])
#pp-toggles
.pp-toggle-group
> .pp-toggle-btn:hover,
:root:not([data-ui-theme='cyber'])
#pp-toggles
.pp-panel-body
> .pp-toggle-btn:hover {
background: rgba(255, 255, 255, 0.04) !important;
}
:root:not([data-ui-theme='cyber'])
#pp-toggles
.pp-scope-toggle
input[type='checkbox'] {
margin-inline-start: auto;
}
/* Settings inside a card: separated by hairlines, no boxes of their own. */
:root:not([data-ui-theme='cyber'])
#pp-toggles
.pp-toggle-group
.pp-slider-row.visible,
:root:not([data-ui-theme='cyber'])
#pp-toggles
.pp-toggle-group
.pp-slider-row:not([class*='cyber-sonar']):is(
.visible,
#scope-slider-row,
#scope-opacity-row
) {
margin: 0;
padding: 7px 12px;
background: transparent;
border: 0;
border-top: 1px solid rgba(255, 255, 255, 0.05);
border-radius: 0;
}
/* The Dense button lights green elsewhere; in a card it uses the shared pill. */
:root:not([data-ui-theme='cyber'])
#pp-toggles
.pp-toggle-group
> .pp-toggle-btn.panoptic,
:root:not([data-ui-theme='cyber'])
#pp-toggles
.pp-toggle-group
> .pp-toggle-btn.active {
color: inherit;
}
/* Reset to default, at the foot of the Visual panel. */
#pp-toggles .pp-reset-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 0.4rem;
margin: 0.6rem 0 0.2rem !important;
padding: 0.55rem;
color: rgba(225, 236, 242, 0.85);
font-family: var(--font-mono);
font-size: 0.6rem;
letter-spacing: 0.12rem;
text-transform: uppercase;
background: transparent;
border: 1px dashed rgba(255, 255, 255, 0.18);
border-radius: 10px;
cursor: pointer;
}
#pp-toggles .pp-reset-btn .material-symbols-outlined {
font-size: 15px;
}
#pp-toggles .pp-reset-btn:hover,
#pp-toggles .pp-reset-btn:focus-visible {
color: #fff;
border-color: rgba(54, 220, 255, 0.5);
background: rgba(54, 220, 255, 0.06);
}
/* Clean UI is an action, not a setting, so it has no on/off pill. */
#pp-toggles #clean-view-toggle::after {
content: none;
}
+4 -46
View File
@@ -56,8 +56,7 @@
}
/* Card typography follows the layer rows and app tokens. */
.weather-readout,
.rail-card,
.rail-timeline {
.rail-card {
min-width: 0;
color: var(--text-dim);
font: 9px/1.45 var(--font-mono);
@@ -128,7 +127,7 @@
text-align: right;
}
.rail-card-line,
.rail-timeline-readout {
.weather-frame-time {
font-family: var(--font-mono);
font-size: 9px;
letter-spacing: 0.5px;
@@ -188,54 +187,13 @@ html:not([lang='en']) .weather-card [data-line-id='status'] {
letter-spacing: 0.5px;
}
.rail-card [hidden],
.weather-timeline-block[hidden],
.weather-frame-time[hidden],
.weather-observed-group[hidden] {
display: none !important;
}
.rail-timeline {
.weather-frame-time {
padding: 5px;
border-bottom: 1px solid var(--weather-card-border);
}
.rail-timeline-track {
display: grid;
grid-template-columns: auto minmax(0, 1fr) auto;
align-items: center;
gap: 3px 8px;
margin-top: 6px;
}
.rail-timeline-track input {
min-width: 0;
width: 100%;
margin: 0;
}
.rail-timeline-endpoints {
display: flex;
grid-column: 2;
justify-content: space-between;
flex-wrap: wrap;
gap: 3px 8px;
font: 8px/1.45 var(--font-mono);
font-variant-numeric: tabular-nums;
}
.rail-timeline-endpoints span {
white-space: nowrap;
}
.rail-timeline-endpoints span:last-child {
margin-left: auto;
}
.rail-timeline-controls .data-toggle-chip {
flex: 0 0 auto;
}
.rail-timeline-controls {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 6px;
margin-top: 6px;
}
.rail-timeline-readout {
flex: 1 1 auto;
min-width: 0;
overflow-wrap: anywhere;
font-variant-numeric: tabular-nums;
color: var(--text-secondary);
+26 -1
View File
@@ -135,7 +135,7 @@ body.cockpit-mode #world-timeline {
}
}
/* The track: ticks for each launch or frame, the elapsed fill, and a native
/* The track: ticks for each launch or strong earthquake, the elapsed fill, and a native
range input on top for dragging and the keyboard. */
#world-timeline .world-timeline-track {
position: relative;
@@ -194,6 +194,31 @@ body.cockpit-mode #world-timeline {
pointer-events: none;
}
/* A tick's label, shown over the time's bubble while the pointer is on the
tick (or the handle rests on its mark). It slides across itself as the
bubble does, so it stays within the track, and is never wider than the
track: a long label ends in an ellipsis. */
#world-timeline .world-timeline-mark-label {
position: absolute;
box-sizing: border-box;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
bottom: calc(100% + 30px);
left: calc(100% * var(--at));
z-index: 1;
padding: 2px 8px;
border: 1px solid rgba(0, 212, 255, 0.4);
border-radius: 6px;
background: var(--glass-bg);
color: var(--text-primary);
font-size: 11px;
line-height: 1.4;
white-space: pre;
transform: translateX(calc(var(--at) * -100%));
pointer-events: none;
}
/* Zoomed, the track drags along. */
#world-timeline .world-timeline-track.is-zoomed {
cursor: grab;