mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-23 11:42:21 +00:00
Merge remote-tracking branch 'origin/main' into fix/cockpit-utility-phone-row
# Conflicts: # src/ui/styles/cyber.css
This commit is contained in:
commit
0c828095ad
3290 files changed
+460721
-51931
No files matched your search
@@ -1,5 +1,10 @@
|
||||
/* Ordinary actions share one surface; feature classes own placement and width.
|
||||
* Legacy scene-btn hooks keep untouched toggles/Street Level controls stable. */
|
||||
* Legacy scene-btn hooks keep untouched toggles/Street Level controls stable.
|
||||
* The kit's UiButton wears it as variant="action" (.ui-button--action) and
|
||||
* variant="primary" (.ui-button--primary); its resting rules select one kit
|
||||
* class, so a feature class loaded later still wins. */
|
||||
.ui-button--action,
|
||||
.ui-button--primary,
|
||||
.gev-action-button,
|
||||
.scene-btn {
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
@@ -19,6 +24,12 @@
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* A pressed kit action looks as a hovered regular one does (a compact one
|
||||
too: its quieter hover below is for an unpressed button). */
|
||||
.ui-button--action:hover:not(:disabled),
|
||||
.ui-button--primary:hover:not(:disabled),
|
||||
.ui-button--action.ui-button--pressed:not(:disabled),
|
||||
.ui-button--primary.ui-button--pressed:not(:disabled),
|
||||
.gev-action-button:hover:not(:disabled),
|
||||
.scene-btn:hover:not(:disabled) {
|
||||
color: var(--accent);
|
||||
@@ -26,12 +37,17 @@
|
||||
background: rgba(0, 212, 255, 0.14);
|
||||
}
|
||||
|
||||
.ui-button--action:disabled,
|
||||
.ui-button--primary:disabled,
|
||||
.gev-action-button:disabled,
|
||||
.scene-btn:disabled {
|
||||
opacity: 0.45;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/* tone="danger". */
|
||||
.ui-button--action.ui-button--danger:hover:not(:disabled),
|
||||
.ui-button--action.ui-button--danger.ui-button--pressed:not(:disabled),
|
||||
.gev-action-button--danger:hover:not(:disabled),
|
||||
.scene-btn-danger:hover:not(:disabled) {
|
||||
color: #ff7272;
|
||||
@@ -39,7 +55,20 @@
|
||||
background: rgba(255, 88, 88, 0.15);
|
||||
}
|
||||
|
||||
/* Shot-row actions retain their smaller footprint and quieter hover treatment. */
|
||||
/* One primary action per group: Authoring's CAPTURE SHOT and PLAY. The panel
|
||||
id keeps those above the shared surface; scenes.css keeps their hover. The
|
||||
kit selector stays at one class's weight. */
|
||||
.ui-button--primary:where(:not(:disabled)),
|
||||
#scene-panel .scene-btn-primary:not(:disabled) {
|
||||
color: var(--accent);
|
||||
border-color: color-mix(in srgb, var(--accent) 55%, transparent);
|
||||
background: color-mix(in srgb, var(--accent) 10%, transparent);
|
||||
}
|
||||
|
||||
/* Shot-row actions retain their smaller footprint and quieter hover treatment
|
||||
(size="compact", on the action variant only: :where keeps the kit
|
||||
selector at one class's weight). */
|
||||
.ui-button--compact:where(.ui-button--action),
|
||||
.gev-action-button--compact {
|
||||
border-radius: 6px;
|
||||
font-size: 8px;
|
||||
@@ -47,12 +76,19 @@
|
||||
padding: 4px 6px;
|
||||
}
|
||||
|
||||
/* A pressed compact action keeps its pressed look under the pointer. */
|
||||
.ui-button--compact:where(.ui-button--action):hover:not(:disabled):not(
|
||||
.ui-button--pressed
|
||||
),
|
||||
.gev-action-button--compact:hover:not(:disabled) {
|
||||
color: var(--text-primary);
|
||||
border-color: var(--glass-border-hover);
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
.ui-button--compact.ui-button--danger:where(.ui-button--action):hover:not(
|
||||
:disabled
|
||||
),
|
||||
.gev-action-button--compact.gev-action-button--danger:hover:not(:disabled) {
|
||||
color: #ff7e7e;
|
||||
border-color: #ff7e7e;
|
||||
|
||||
+19
-15
@@ -366,15 +366,12 @@
|
||||
flex-basis: 1.25rem;
|
||||
}
|
||||
/* At this width main shows the wings' icons only (command-dock-trays.css);
|
||||
centre them in the slim wings. Cyber keeps its labels. */
|
||||
centre them in the slim wings. */
|
||||
@media (max-width: 900px) {
|
||||
:root:not([data-ui-theme='cyber'])
|
||||
#command-dock
|
||||
> :is(#location-bar, #control-panel)
|
||||
.dock-tray-toggle {
|
||||
:root #command-dock > :is(#location-bar, #control-panel) .dock-tray-toggle {
|
||||
justify-content: center;
|
||||
}
|
||||
:root:not([data-ui-theme='cyber'])
|
||||
:root
|
||||
#command-dock
|
||||
:is(#location-bar, #control-panel)
|
||||
:is(.location-toolbar-label, .panel-title) {
|
||||
@@ -382,7 +379,7 @@
|
||||
min-width: 0;
|
||||
justify-content: center;
|
||||
}
|
||||
:root:not([data-ui-theme='cyber']) #command-dock .dock-label-icon {
|
||||
:root #command-dock .dock-label-icon {
|
||||
width: 1.25rem;
|
||||
height: 1.25rem;
|
||||
flex-basis: 1.25rem;
|
||||
@@ -1448,16 +1445,15 @@ body[data-assistant-docked='true'] #right-context-rail {
|
||||
box-shadow: 0 0 0 1px currentColor;
|
||||
}
|
||||
|
||||
/* Assistant panels share the left panels' glass surface (layers.css). Cyber
|
||||
keeps its own surfaces. */
|
||||
:root:not([data-ui-theme='cyber']) #gev-voice-control {
|
||||
/* Assistant panels share the left panels' glass surface (layers.css). */
|
||||
:root #gev-voice-control {
|
||||
--assistant-glass: var(--glass-bg);
|
||||
--assistant-glass-border: var(--glass-border);
|
||||
--assistant-glass-shadow:
|
||||
0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03) inset,
|
||||
0 1px 0 rgba(255, 255, 255, 0.06) inset;
|
||||
}
|
||||
:root:not([data-ui-theme='cyber'])
|
||||
:root
|
||||
#command-dock
|
||||
#gev-voice-control
|
||||
:is(
|
||||
@@ -1472,14 +1468,14 @@ body[data-assistant-docked='true'] #right-context-rail {
|
||||
}
|
||||
/* The mini reply sits inside the chat panel, whose own blur makes it the
|
||||
backdrop root: a blur on the reply could not reach the map. */
|
||||
:root:not([data-ui-theme='cyber'])
|
||||
:root
|
||||
#command-dock
|
||||
#gev-voice-control
|
||||
:is(#gev-chat-panel, #gev-voice-panel, #gev-voice-panel[data-minimized]) {
|
||||
-webkit-backdrop-filter: blur(24px) saturate(1.4);
|
||||
backdrop-filter: blur(24px) saturate(1.4);
|
||||
}
|
||||
:root:not([data-ui-theme='cyber'])
|
||||
:root
|
||||
#command-dock
|
||||
#gev-voice-control
|
||||
#gev-chat-panel[data-minimized='true']:focus-within {
|
||||
@@ -1488,12 +1484,12 @@ body[data-assistant-docked='true'] #right-context-rail {
|
||||
|
||||
/* A backdrop-filter on the voice control would stop the panels inside it
|
||||
from blurring the map, so its own blur moves to a layer behind it. */
|
||||
:root:not([data-ui-theme='cyber']) #command-dock > #gev-voice-control {
|
||||
:root #command-dock > #gev-voice-control {
|
||||
isolation: isolate;
|
||||
-webkit-backdrop-filter: none;
|
||||
backdrop-filter: none;
|
||||
}
|
||||
:root:not([data-ui-theme='cyber']) #command-dock > #gev-voice-control::before {
|
||||
:root #command-dock > #gev-voice-control::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
@@ -1698,3 +1694,11 @@ body[data-assistant-docked='true'] #right-context-rail {
|
||||
--dock-side-compact: 3.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* From 1200px the dock sits 74px up (command-dock.css), 74px - 2vh higher
|
||||
than the bottom-edge dock this height budget was written for. */
|
||||
@media (min-width: 1200px) {
|
||||
#gev-chat-panel {
|
||||
max-height: min(34rem, calc(100dvh - 10rem - 74px + 2vh));
|
||||
}
|
||||
}
|
||||
@@ -361,18 +361,17 @@ html:not([lang='en']) .bhote-embedded-callout footer a {
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
/* A UiCloseButton (close-button.css). */
|
||||
.bhote-event-icon-btn {
|
||||
flex: 0 0 30px;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
padding: 0;
|
||||
border: 1px solid rgba(151, 211, 224, 0.26);
|
||||
border-radius: 4px;
|
||||
color: var(--text-primary);
|
||||
background: var(--accent-dim);
|
||||
font: inherit;
|
||||
font-size: 18px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bhote-event-status-row {
|
||||
|
||||
@@ -250,8 +250,11 @@ html:not([lang='en']) .cctv-controls .scene-btn {
|
||||
height: auto;
|
||||
object-fit: contain;
|
||||
display: block;
|
||||
/* No fade: a camera change hides the old frame at once (never its pixels
|
||||
under the new camera) and shows the new one as soon as it is decoded. A
|
||||
180 ms fade-in after every arriving frame made each camera click linger
|
||||
on black. */
|
||||
opacity: 0;
|
||||
transition: opacity 180ms ease;
|
||||
}
|
||||
|
||||
#cctv-video {
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
/* Core's checkboxes are a label wrapping the box and its words, laid out in
|
||||
* a centred flex row: the kit's UiCheckbox wears it as .ui-checkbox. The rule
|
||||
* selects one class and loads before the feature stylesheets, so a feature
|
||||
* rule still sets the row's gap, direction, size and colour. The box,
|
||||
* .ui-checkbox__input, keeps each skin's size, margin and accent colour. */
|
||||
.ui-checkbox {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
/* Read-only chips: a label that says what something is, never a control (a
|
||||
chip that presses is a button). The kit's UiChip (.ui-chip) and the news
|
||||
cards' chips wear it; feature classes loaded later restyle it. */
|
||||
.ui-chip,
|
||||
.news-chip {
|
||||
padding: 2px 7px;
|
||||
border: 1px solid var(--glass-border-hover);
|
||||
border-radius: 999px;
|
||||
color: var(--text-secondary);
|
||||
font: 8px var(--font-mono);
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
/* A selected chip takes the accent of the read-only badge (status-badge.css);
|
||||
news marks official and confirmed reports this way. */
|
||||
.ui-chip--selected,
|
||||
.news-chip--official,
|
||||
.news-chip--confirmed {
|
||||
border-color: rgba(0, 212, 255, 0.32);
|
||||
background: rgba(0, 212, 255, 0.09);
|
||||
color: #9defff;
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
/* Core's close, dismiss and clear buttons draw a bare glyph: no padding,
|
||||
* border or background of their own, and a pointer. The kit's
|
||||
* UiCloseButton wears it as .ui-close-button, and the guide's close (a
|
||||
* UiCloseButton too) shares the rule by its feature class. It selects one
|
||||
* class and loads before the feature stylesheets, so each feature rule still
|
||||
* sets its size, colour, hover and any surface (a border, a chip, a tinted
|
||||
* square). */
|
||||
.ui-close-button,
|
||||
.gev-guide-close {
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
@@ -0,0 +1,671 @@
|
||||
/* ── 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
|
||||
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
|
||||
body.cockpit-mode:not(.mobile-shell)
|
||||
#left-panel-stack
|
||||
> .gev-panel-rail--left {
|
||||
display: block;
|
||||
}
|
||||
|
||||
:root
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
body.cockpit-mode:not(.mobile-shell)
|
||||
#left-panel-stack
|
||||
> [data-panel-id].collapsed,
|
||||
:root
|
||||
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 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
|
||||
body.cockpit-mode:not(.mobile-shell)
|
||||
.cockpit-utility-control.is-expanded {
|
||||
min-width: 295px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
:root
|
||||
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
|
||||
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
|
||||
body.cockpit-mode:not(.mobile-shell)
|
||||
.cockpit-utility-control.is-expanded
|
||||
.cockpit-utility-glyph {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:root 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 body.cockpit-mode:not(.mobile-shell) .cockpit-utility-collapse:hover,
|
||||
:root
|
||||
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 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
|
||||
body.cockpit-mode:not(.mobile-shell)
|
||||
.cockpit-utility-control:not(.is-expanded) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:root
|
||||
body.cockpit-mode:not(.mobile-shell)
|
||||
.cockpit-utility-control.is-expanded {
|
||||
grid-column: 1;
|
||||
grid-row: 1;
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
/* The phone keeps the launchers' own toggles, so the rail and "−" are for
|
||||
the desktop look only. */
|
||||
.cockpit-utility-rail,
|
||||
.cockpit-utility-collapse {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:root 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
|
||||
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 body.cockpit-mode:not(.mobile-shell) .cockpit-utility-rail__labels {
|
||||
box-sizing: border-box;
|
||||
width: 170px;
|
||||
padding-inline: 14px;
|
||||
}
|
||||
|
||||
:root
|
||||
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
|
||||
body.cockpit-mode:not(.mobile-shell)
|
||||
.cockpit-utility-rail.is-open
|
||||
.cockpit-utility-rail__labels {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:root 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
|
||||
body.cockpit-mode:not(.mobile-shell)
|
||||
.cockpit-utility-rail__item
|
||||
.material-symbols-outlined {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
:root body.cockpit-mode:not(.mobile-shell) .cockpit-utility-rail__item:hover {
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
color: var(--text-primary, #fff);
|
||||
}
|
||||
|
||||
:root body.cockpit-mode:not(.mobile-shell) .cockpit-utility-rail__item.is-on,
|
||||
:root
|
||||
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
|
||||
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
|
||||
body.cockpit-mode:not(.mobile-shell)
|
||||
.cockpit-utility-rail.is-open
|
||||
.cockpit-utility-rail__item {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
:root
|
||||
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
|
||||
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
|
||||
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 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'] body.cockpit-mode:not(.mobile-shell) .cockpit-utility-controls {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
html[dir='rtl']
|
||||
body.cockpit-mode:not(.mobile-shell)
|
||||
:is(.cockpit-utility-control.is-expanded, .cockpit-utility-rail__labels) {
|
||||
direction: rtl;
|
||||
}
|
||||
@@ -33,6 +33,36 @@
|
||||
color: #00dcff;
|
||||
font-size: 18px;
|
||||
}
|
||||
/* The same entry under the selected vehicle's Intel HUD readout. The HUD
|
||||
lets clicks through, so the button takes them back. */
|
||||
#intel-hud #cockpit-entry-readout {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
margin-top: 6px;
|
||||
min-height: 30px;
|
||||
padding: 0 10px;
|
||||
border: 1px solid var(--hud-border);
|
||||
border-radius: 6px;
|
||||
background: rgba(2, 12, 18, 0.72);
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.14em;
|
||||
pointer-events: auto;
|
||||
cursor: pointer;
|
||||
}
|
||||
#intel-hud #cockpit-entry-readout[hidden] {
|
||||
display: none;
|
||||
}
|
||||
#intel-hud #cockpit-entry-readout:hover,
|
||||
#intel-hud #cockpit-entry-readout:focus-visible {
|
||||
border-color: var(--hud-color);
|
||||
outline: none;
|
||||
}
|
||||
#intel-hud #cockpit-entry-readout .material-symbols-outlined {
|
||||
font-family: 'Material Symbols Outlined';
|
||||
font-size: 16px;
|
||||
text-transform: none;
|
||||
}
|
||||
#cockpit-entry kbd {
|
||||
padding: 3px 5px;
|
||||
border: 1px solid rgba(220, 238, 255, 0.25);
|
||||
@@ -255,6 +285,10 @@ body.cockpit-mode:has(#left-panel-stack > .panel-collapsible:not(.collapsed))
|
||||
color: var(--cockpit-accent);
|
||||
opacity: 0.9;
|
||||
}
|
||||
/* A bridge has no altitude tape; course over ground replaces the readout. */
|
||||
#cockpit-altitude-rim[hidden] {
|
||||
display: none;
|
||||
}
|
||||
.cockpit-altitude-rim-label {
|
||||
position: absolute;
|
||||
top: 20%;
|
||||
@@ -872,7 +906,7 @@ html:not([lang='en']) .cockpit-roll-token.is-separator {
|
||||
position: fixed;
|
||||
z-index: 146;
|
||||
right: 36px;
|
||||
bottom: calc(2vh + 4.5rem);
|
||||
bottom: calc(2vh + 4.5rem + var(--world-timeline-lift, 0px));
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
}
|
||||
@@ -1790,7 +1824,13 @@ html:not([lang='en']) #cockpit-brief-auto {
|
||||
letter-spacing: 0.13em;
|
||||
text-align: center;
|
||||
}
|
||||
.cockpit-brief-status[data-state='unavailable'] {
|
||||
/* `display: grid` above would otherwise beat the UA [hidden] rule and keep a
|
||||
stale banner over a populated list. */
|
||||
.cockpit-brief-status[hidden] {
|
||||
display: none;
|
||||
}
|
||||
.cockpit-brief-status[data-state='unavailable'],
|
||||
.cockpit-brief-status[data-state='cached'] {
|
||||
color: #d5a863;
|
||||
}
|
||||
.cockpit-local-place {
|
||||
@@ -2051,7 +2091,7 @@ body.cockpit-mode #intel-hud .hud-right-edge {
|
||||
@media (max-width: 760px) {
|
||||
#view-switcher {
|
||||
right: 16px;
|
||||
bottom: 16px;
|
||||
bottom: calc(16px + var(--world-timeline-lift, 0px));
|
||||
}
|
||||
body.cockpit-mode #view-switcher {
|
||||
right: auto;
|
||||
|
||||
@@ -0,0 +1,404 @@
|
||||
/* Ship bridge
|
||||
A vessel's bridge reads as a wheelhouse window rather than an aircraft
|
||||
visor: straight mullions, a straight speed tape and heading tape, square
|
||||
panels, and a radar console in the bottom-right corner. Every rule is
|
||||
scoped to the bridge, so the aircraft cockpit keeps its keyhole. */
|
||||
#cockpit-hud[data-subject='vessel'] {
|
||||
--cockpit-radar-size: 240px;
|
||||
--cockpit-radar-label-height: 28px;
|
||||
--cockpit-radar-right: clamp(24px, 4vw, 58px);
|
||||
/* Above the position readout, which sits above the language picker. */
|
||||
--cockpit-radar-bottom: calc(max(clamp(22px, 4vh, 42px), 3.5rem) + 40px);
|
||||
/* From the viewport bottom to clear above the console (border + gap). */
|
||||
--cockpit-radar-clearance: calc(
|
||||
var(--cockpit-radar-bottom) + var(--cockpit-radar-size) +
|
||||
var(--cockpit-radar-label-height) + 14px
|
||||
);
|
||||
}
|
||||
|
||||
:root body.cockpit-bridge {
|
||||
--panel-radius: 2px;
|
||||
--btn-radius: 2px;
|
||||
}
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-bridge-frame {
|
||||
display: block;
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
pointer-events: none;
|
||||
color: color-mix(in srgb, var(--cockpit-accent) 32%, transparent);
|
||||
stroke-width: 1;
|
||||
}
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-bridge-frame path {
|
||||
vector-effect: non-scaling-stroke;
|
||||
}
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-reticle {
|
||||
width: 36px;
|
||||
height: 14px;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
color: transparent;
|
||||
background:
|
||||
linear-gradient(var(--cockpit-accent), var(--cockpit-accent)) 50% 0 / 1px
|
||||
100% no-repeat,
|
||||
linear-gradient(90deg, var(--cockpit-accent), var(--cockpit-accent)) 0 50% /
|
||||
100% 1px no-repeat;
|
||||
font-size: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-reticle::before,
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-reticle::after {
|
||||
display: none;
|
||||
}
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-horizon-guide {
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-horizon-guide span,
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-visor-status {
|
||||
transform: none;
|
||||
}
|
||||
|
||||
/* Speed over ground: a straight vertical tape beside the left pane post. */
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-speed-rim {
|
||||
top: 22vh;
|
||||
right: auto;
|
||||
left: calc(27vw + 14px);
|
||||
width: 150px;
|
||||
height: 46vh;
|
||||
}
|
||||
#cockpit-hud[data-subject='vessel']
|
||||
.cockpit-speed-rim
|
||||
.cockpit-altitude-rim-label {
|
||||
top: 0;
|
||||
right: auto;
|
||||
left: 0;
|
||||
}
|
||||
#cockpit-hud[data-subject='vessel']
|
||||
.cockpit-speed-rim
|
||||
:is(.cockpit-altitude-rim-rail, .cockpit-altitude-rim-scale) {
|
||||
inset: 18px 0 0;
|
||||
}
|
||||
#cockpit-hud[data-subject='vessel']
|
||||
.cockpit-speed-rim
|
||||
.cockpit-altitude-rim-rail {
|
||||
background: linear-gradient(90deg, rgba(0, 7, 12, 0.3), transparent 70%);
|
||||
}
|
||||
#cockpit-hud[data-subject='vessel']
|
||||
.cockpit-speed-rim
|
||||
.cockpit-altitude-rim-rail::before {
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 0;
|
||||
height: auto;
|
||||
border: 0;
|
||||
border-left: 2px solid
|
||||
color-mix(in srgb, var(--cockpit-accent) 72%, transparent);
|
||||
border-radius: 0;
|
||||
box-shadow: -3px 0 12px
|
||||
color-mix(in srgb, var(--cockpit-accent) 18%, transparent);
|
||||
}
|
||||
#cockpit-hud[data-subject='vessel']
|
||||
.cockpit-speed-rim
|
||||
.cockpit-altitude-rim-scale
|
||||
> span {
|
||||
left: 2px;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
#cockpit-hud[data-subject='vessel']
|
||||
.cockpit-speed-rim
|
||||
.cockpit-altitude-rim-pointer {
|
||||
z-index: 1;
|
||||
top: calc(50% + 9px);
|
||||
}
|
||||
#cockpit-hud[data-subject='vessel']
|
||||
.cockpit-speed-rim
|
||||
.cockpit-altitude-rim-pointer
|
||||
strong {
|
||||
min-width: 0;
|
||||
padding: 2px 5px;
|
||||
border: 1px solid var(--cockpit-accent);
|
||||
border-radius: 2px;
|
||||
background: rgba(0, 7, 12, 0.78);
|
||||
}
|
||||
|
||||
/* Heading: a straight horizontal tape under flat readouts. */
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-compass {
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
#cockpit-hud[data-subject='vessel'] :is(.cockpit-speed, .cockpit-altitude) {
|
||||
transform: none;
|
||||
}
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-compass-tape {
|
||||
height: 44px;
|
||||
margin-top: 0;
|
||||
overflow: hidden;
|
||||
/* The minor ticks below scroll by a fraction of the tape's width. */
|
||||
container-type: inline-size;
|
||||
transform-style: flat;
|
||||
-webkit-mask-image: linear-gradient(
|
||||
90deg,
|
||||
transparent,
|
||||
#000 12% 88%,
|
||||
transparent
|
||||
);
|
||||
mask-image: linear-gradient(90deg, transparent, #000 12% 88%, transparent);
|
||||
}
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-compass-tape::before {
|
||||
inset: 0 0 auto;
|
||||
height: 26px;
|
||||
border-top: 1px solid
|
||||
color-mix(in srgb, var(--cockpit-accent) 78%, transparent);
|
||||
border-bottom: 1px solid
|
||||
color-mix(in srgb, var(--cockpit-accent) 22%, transparent);
|
||||
border-radius: 0;
|
||||
/* Minor ticks every 10 degrees, centred on the 30-degree divisions. */
|
||||
background:
|
||||
linear-gradient(
|
||||
90deg,
|
||||
transparent calc(50% - 0.5px),
|
||||
color-mix(in srgb, var(--cockpit-accent) 46%, transparent)
|
||||
calc(50% - 0.5px) calc(50% + 0.5px),
|
||||
transparent calc(50% + 0.5px)
|
||||
)
|
||||
50% 0 / calc(14% / 3) 6px repeat-x,
|
||||
rgba(0, 7, 12, 0.34);
|
||||
/* Scrolled with the divisions (--tape-shift slots of 14% each). */
|
||||
background-position:
|
||||
calc(50% + var(--tape-shift, 0) * 14cqw) 0,
|
||||
0 0;
|
||||
}
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-compass-tape span {
|
||||
top: 0;
|
||||
left: calc(50% + (var(--slot) * 14%));
|
||||
font-size: 11px;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-compass-tape span::before {
|
||||
height: 10px;
|
||||
margin: 0 auto 5px;
|
||||
}
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-compass-tape span.active {
|
||||
font-size: 15px;
|
||||
}
|
||||
/* The tape follows the look; the bow (prograde: a ring and centre dot) and
|
||||
stern (retrograde: a ring and cross) marks sit under it at the ship's
|
||||
heading and its reciprocal. */
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-compass-marker {
|
||||
position: absolute;
|
||||
top: 30px;
|
||||
left: calc(50% + (var(--slot) * 14%));
|
||||
box-sizing: border-box;
|
||||
width: 11px;
|
||||
height: 11px;
|
||||
border: 1.5px solid var(--cockpit-accent);
|
||||
border-radius: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-compass-marker::before,
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-compass-retrograde::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
background: var(--cockpit-accent);
|
||||
}
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-compass-prograde::before {
|
||||
width: 3px;
|
||||
height: 3px;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-compass-retrograde::before,
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-compass-retrograde::after {
|
||||
width: 1.5px;
|
||||
height: 9px;
|
||||
transform: translate(-50%, -50%) rotate(45deg);
|
||||
}
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-compass-retrograde::after {
|
||||
transform: translate(-50%, -50%) rotate(-45deg);
|
||||
}
|
||||
|
||||
/* Square panels and buttons. */
|
||||
#cockpit-hud[data-subject='vessel']
|
||||
:is(
|
||||
.cockpit-vision-controls,
|
||||
.cockpit-vision-controls button,
|
||||
.cockpit-card-actions button,
|
||||
.cockpit-utility-glyph,
|
||||
.cockpit-radio-transport button,
|
||||
.cockpit-route-direction small,
|
||||
#cockpit-brief-auto
|
||||
) {
|
||||
border-radius: 2px;
|
||||
}
|
||||
body.cockpit-bridge #view-switcher button {
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
/* The briefing card sits flat and shorter, above the radar console. Its top
|
||||
leaves the utility strip room below the REC readout. */
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-signal-window {
|
||||
bottom: var(--cockpit-radar-clearance);
|
||||
max-height: max(
|
||||
44px,
|
||||
min(30vh, 280px, calc(100vh - var(--cockpit-radar-clearance) - 290px))
|
||||
);
|
||||
border-radius: 2px;
|
||||
transform: none;
|
||||
}
|
||||
/* The radar console: CockpitRadar fills it, label row included. */
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-radar-console {
|
||||
position: absolute;
|
||||
z-index: 4;
|
||||
right: var(--cockpit-radar-right);
|
||||
bottom: var(--cockpit-radar-bottom);
|
||||
display: grid;
|
||||
width: var(--cockpit-radar-size);
|
||||
height: calc(var(--cockpit-radar-size) + var(--cockpit-radar-label-height));
|
||||
overflow: hidden;
|
||||
border: 1px solid color-mix(in srgb, var(--cockpit-accent) 30%, transparent);
|
||||
border-top-color: color-mix(in srgb, var(--cockpit-accent) 64%, transparent);
|
||||
border-radius: 2px;
|
||||
background: rgba(0, 7, 12, 0.68);
|
||||
box-shadow:
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.04),
|
||||
0 0 28px rgba(0, 0, 0, 0.26);
|
||||
backdrop-filter: blur(12px);
|
||||
-webkit-backdrop-filter: blur(12px);
|
||||
pointer-events: auto;
|
||||
}
|
||||
#cockpit-hud[data-subject='vessel']
|
||||
.cockpit-radar-console:has(> .cockpit-radar[hidden]) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (min-width: 761px) {
|
||||
/* The heading tape narrows to stay clear of the console. */
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-compass {
|
||||
width: min(
|
||||
760px,
|
||||
72vw,
|
||||
calc(
|
||||
100vw - 2 *
|
||||
(var(--cockpit-radar-right) + var(--cockpit-radar-size) + 24px)
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
@media (min-width: 761px) and (min-height: 601px) {
|
||||
/* The console takes the intel HUD's bottom-right corner. */
|
||||
body.cockpit-bridge #intel-hud .hud-bottom-right {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@media (max-width: 1280px), (max-height: 820px) {
|
||||
#cockpit-hud[data-subject='vessel'] {
|
||||
--cockpit-radar-size: 192px;
|
||||
--cockpit-radar-label-height: 24px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 960px) {
|
||||
#cockpit-hud[data-subject='vessel'] {
|
||||
--cockpit-radar-size: 152px;
|
||||
--cockpit-radar-label-height: 22px;
|
||||
}
|
||||
}
|
||||
/* Too small for a console: the briefing card returns to its usual place. */
|
||||
@media (max-width: 760px), (max-height: 600px) {
|
||||
#cockpit-hud[data-subject='vessel'] {
|
||||
--cockpit-radar-clearance: var(--cockpit-bottom-rail-safe);
|
||||
}
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-radar-console {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* Look around: the readout and LOOK AHEAD control sit beside the radar
|
||||
console, out of the forward view, while the view is turned off the bow;
|
||||
the radar scope draws the matching look line. */
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-look {
|
||||
position: absolute;
|
||||
right: calc(var(--cockpit-radar-right) + var(--cockpit-radar-size) + 14px);
|
||||
bottom: var(--cockpit-radar-bottom);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-end;
|
||||
gap: 6px;
|
||||
opacity: 0.78;
|
||||
}
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-look:focus-within,
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-look:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
/* Without the console, the controls take its corner. */
|
||||
@media (max-width: 760px), (max-height: 600px) {
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-look {
|
||||
right: var(--cockpit-radar-right);
|
||||
}
|
||||
}
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-look[hidden] {
|
||||
display: none;
|
||||
}
|
||||
#cockpit-hud[data-subject='vessel'] .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-subject='vessel'] .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-subject='vessel'] .cockpit-look-ahead:hover {
|
||||
border-color: var(--cockpit-accent);
|
||||
}
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-look-ahead:focus-visible {
|
||||
outline: 2px solid var(--cockpit-accent);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
/* A narrow wedge from own ship with a line along its centre, eased with the
|
||||
camera's turn. Both point up (ahead) before rotation. */
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-radar-look {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
border-radius: 50%;
|
||||
background: conic-gradient(
|
||||
from -6deg,
|
||||
color-mix(in srgb, var(--cockpit-accent) 18%, transparent) 0deg 12deg,
|
||||
transparent 12deg
|
||||
);
|
||||
pointer-events: none;
|
||||
transition: transform 180ms ease-out;
|
||||
}
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-radar-look::before {
|
||||
position: absolute;
|
||||
bottom: 50%;
|
||||
left: 50%;
|
||||
width: 0;
|
||||
height: 50%;
|
||||
border-left: 1px dashed
|
||||
color-mix(in srgb, var(--cockpit-accent) 80%, transparent);
|
||||
content: '';
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
#cockpit-hud[data-subject='vessel'] .cockpit-radar-look {
|
||||
transition: none;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,548 @@
|
||||
/* Orbital view HUD (src/ui/views/panels/CockpitOrbital.vue). The section
|
||||
covers the picture it is placed over: the reticle sits on its centre, the
|
||||
readout top-left and the optics bottom-centre. Square-cornered like the
|
||||
bridge view. The Cockpit controller publishes the zoom step's blur as
|
||||
--cockpit-orbital-blur and its lock tick as a reticle class. */
|
||||
.cockpit-orbital {
|
||||
--orbital-line: color-mix(
|
||||
in srgb,
|
||||
var(--cockpit-accent, #00dcff) 42%,
|
||||
transparent
|
||||
);
|
||||
--orbital-faint: color-mix(
|
||||
in srgb,
|
||||
var(--cockpit-accent, #00dcff) 18%,
|
||||
transparent
|
||||
);
|
||||
--orbital-reticle-size: min(38vmin, 320px);
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
overflow: hidden;
|
||||
color: rgba(244, 251, 255, 0.86);
|
||||
font-family: var(--font-mono);
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.08em;
|
||||
pointer-events: none;
|
||||
}
|
||||
.cockpit-orbital[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Focus pull: blurs the picture beneath only while a step is in flight. */
|
||||
.cockpit-orbital-lens {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
}
|
||||
.cockpit-orbital-focusing .cockpit-orbital-lens {
|
||||
backdrop-filter: blur(var(--cockpit-orbital-blur, 0px));
|
||||
-webkit-backdrop-filter: blur(var(--cockpit-orbital-blur, 0px));
|
||||
}
|
||||
|
||||
.cockpit-orbital-reticle {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: var(--orbital-reticle-size);
|
||||
height: var(--orbital-reticle-size);
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
.cockpit-orbital-bracket {
|
||||
position: absolute;
|
||||
width: 18%;
|
||||
height: 18%;
|
||||
border: 0 solid var(--orbital-line);
|
||||
transition:
|
||||
border-color 160ms ease-out,
|
||||
transform 160ms ease-out;
|
||||
}
|
||||
.cockpit-orbital-bracket-tl {
|
||||
top: 0;
|
||||
left: 0;
|
||||
border-top-width: 1px;
|
||||
border-left-width: 1px;
|
||||
}
|
||||
.cockpit-orbital-bracket-tr {
|
||||
top: 0;
|
||||
right: 0;
|
||||
border-top-width: 1px;
|
||||
border-right-width: 1px;
|
||||
}
|
||||
.cockpit-orbital-bracket-bl {
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
border-bottom-width: 1px;
|
||||
border-left-width: 1px;
|
||||
}
|
||||
.cockpit-orbital-bracket-br {
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
border-right-width: 1px;
|
||||
border-bottom-width: 1px;
|
||||
}
|
||||
/* Nadir cross: a gapped plus, so the sub-satellite point stays visible. */
|
||||
.cockpit-orbital-cross {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
transform: translate(-50%, -50%);
|
||||
background:
|
||||
linear-gradient(var(--orbital-line), var(--orbital-line)) left center / 10px
|
||||
1px no-repeat,
|
||||
linear-gradient(var(--orbital-line), var(--orbital-line)) right center /
|
||||
10px 1px no-repeat,
|
||||
linear-gradient(var(--orbital-line), var(--orbital-line)) center top / 1px
|
||||
10px no-repeat,
|
||||
linear-gradient(var(--orbital-line), var(--orbital-line)) center bottom /
|
||||
1px 10px no-repeat;
|
||||
}
|
||||
/* North on the frame: the pointer spans the reticle and turns about its
|
||||
centre, carrying the tick (and, track-up, an N) round the rim. */
|
||||
.cockpit-orbital-north-pointer {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
}
|
||||
.cockpit-orbital-north-letter {
|
||||
position: absolute;
|
||||
top: -26px;
|
||||
left: 50%;
|
||||
color: var(--cockpit-accent, #00dcff);
|
||||
font-weight: 700;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
/* North sits at the top of a north-up frame. */
|
||||
.cockpit-orbital-north-tick {
|
||||
position: absolute;
|
||||
top: -10px;
|
||||
left: 50%;
|
||||
width: 1px;
|
||||
height: 7px;
|
||||
background: var(--cockpit-accent, #00dcff);
|
||||
}
|
||||
.cockpit-orbital-reticle-lock .cockpit-orbital-bracket {
|
||||
border-color: var(--cockpit-accent, #00dcff);
|
||||
animation: cockpit-orbital-lock 220ms ease-out;
|
||||
}
|
||||
.cockpit-orbital-reticle-lock .cockpit-orbital-cross {
|
||||
--orbital-line: var(--cockpit-accent, #00dcff);
|
||||
}
|
||||
@keyframes cockpit-orbital-lock {
|
||||
0% {
|
||||
transform: scale(1.12);
|
||||
opacity: 0.4;
|
||||
}
|
||||
60% {
|
||||
transform: scale(0.97);
|
||||
opacity: 1;
|
||||
}
|
||||
100% {
|
||||
transform: scale(1);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
/* Bottom-left, where the aircraft Contact card sits (hidden in orbit): clear
|
||||
of the Intel HUD's top-left classification block and above its MGRS and
|
||||
coordinate lines. */
|
||||
.cockpit-orbital-readout {
|
||||
position: absolute;
|
||||
bottom: clamp(150px, 19vh, 190px);
|
||||
left: clamp(16px, 4vw, 48px);
|
||||
max-width: min(320px, calc(100% - 32px));
|
||||
padding: 8px 10px;
|
||||
border: 1px solid var(--orbital-faint);
|
||||
border-radius: 2px;
|
||||
background: rgba(0, 9, 14, 0.62);
|
||||
}
|
||||
.cockpit-orbital-readout p,
|
||||
.cockpit-orbital-data,
|
||||
.cockpit-orbital-data dd {
|
||||
margin: 0;
|
||||
}
|
||||
.cockpit-orbital-kicker {
|
||||
color: var(--cockpit-accent, #00dcff);
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.14em;
|
||||
}
|
||||
.cockpit-orbital-name {
|
||||
margin-top: 4px;
|
||||
overflow: hidden;
|
||||
color: #f4fbff;
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.06em;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.cockpit-orbital-class {
|
||||
margin-top: 2px;
|
||||
color: rgba(244, 251, 255, 0.66);
|
||||
}
|
||||
|
||||
/* The name with its owner's flag (or text badge) in front. */
|
||||
.cockpit-orbital-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
min-width: 0;
|
||||
margin-top: 4px;
|
||||
}
|
||||
.cockpit-orbital-title .cockpit-orbital-name {
|
||||
min-width: 0;
|
||||
margin-top: 0;
|
||||
}
|
||||
.cockpit-orbital-flag {
|
||||
flex: none;
|
||||
box-sizing: content-box;
|
||||
width: 20px;
|
||||
height: 15px;
|
||||
border: 1px solid var(--orbital-faint);
|
||||
border-radius: 1px;
|
||||
background-repeat: no-repeat;
|
||||
/* Only the flag's own cell: the sheet's neighbours stay out from under
|
||||
the border. */
|
||||
background-clip: content-box;
|
||||
}
|
||||
.cockpit-orbital-owner-badge {
|
||||
flex: none;
|
||||
max-width: 96px;
|
||||
overflow: hidden;
|
||||
padding: 1px 4px;
|
||||
border: 1px solid var(--orbital-line);
|
||||
border-radius: 2px;
|
||||
color: var(--cockpit-accent, #00dcff);
|
||||
font-size: 9px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.1em;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.cockpit-orbital-operator {
|
||||
margin-top: 2px;
|
||||
overflow: hidden;
|
||||
color: #f4fbff;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* NORAD · COSPAR · epoch, and the element set on request. */
|
||||
.cockpit-orbital-ident {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
margin-top: 6px;
|
||||
color: rgba(244, 251, 255, 0.66);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
/* Wraps between its parts rather than truncating, so the epoch and the
|
||||
element set's age always show in full. */
|
||||
.cockpit-orbital-ident-text {
|
||||
min-width: 0;
|
||||
}
|
||||
.cockpit-orbital-ident-part {
|
||||
white-space: nowrap;
|
||||
}
|
||||
.cockpit-orbital-tle-toggle {
|
||||
flex: none;
|
||||
padding: 1px 6px;
|
||||
border: 1px solid var(--orbital-line);
|
||||
border-radius: 2px;
|
||||
background: rgba(0, 7, 12, 0.6);
|
||||
color: #f4fbff;
|
||||
font: inherit;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.12em;
|
||||
cursor: pointer;
|
||||
pointer-events: auto;
|
||||
}
|
||||
.cockpit-orbital-tle-toggle[aria-expanded='true'],
|
||||
.cockpit-orbital-tle-toggle:hover,
|
||||
.cockpit-orbital-tle-toggle:focus-visible {
|
||||
border-color: var(--cockpit-accent, #00dcff);
|
||||
color: #fff;
|
||||
outline: none;
|
||||
}
|
||||
/* 69 characters a line: small enough to fit the card, and selectable. */
|
||||
.cockpit-orbital-tle {
|
||||
margin: 6px 0 0;
|
||||
padding: 5px 6px;
|
||||
overflow-x: auto;
|
||||
border: 1px solid var(--orbital-faint);
|
||||
border-radius: 2px;
|
||||
background: rgba(0, 4, 8, 0.7);
|
||||
color: #f4fbff;
|
||||
font: 8px/1.5 var(--font-mono);
|
||||
letter-spacing: 0;
|
||||
white-space: pre;
|
||||
user-select: text;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
/* Under the vision selector (topline top + its ~38px height + a gap), on
|
||||
the centre line the reticle keeps clear below; the Intel HUD blocks and
|
||||
Display/Radio sit at the sides. */
|
||||
.cockpit-orbital-over {
|
||||
position: absolute;
|
||||
top: calc(clamp(18px, 3vh, 34px) + 50px);
|
||||
left: 50%;
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 8px;
|
||||
max-width: min(560px, calc(100% - 32px));
|
||||
margin: 0;
|
||||
padding: 4px 10px;
|
||||
border: 1px solid var(--orbital-faint);
|
||||
border-radius: 2px;
|
||||
background: rgba(0, 9, 14, 0.62);
|
||||
transform: translateX(-50%);
|
||||
white-space: nowrap;
|
||||
}
|
||||
.cockpit-orbital-over span {
|
||||
flex: none;
|
||||
color: var(--cockpit-accent, #00dcff);
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.14em;
|
||||
}
|
||||
.cockpit-orbital-over strong {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
color: #f4fbff;
|
||||
font-size: 12px;
|
||||
letter-spacing: 0.08em;
|
||||
text-overflow: ellipsis;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.cockpit-orbital-data {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
margin-top: 8px;
|
||||
}
|
||||
.cockpit-orbital-datum {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
}
|
||||
.cockpit-orbital-datum dt {
|
||||
color: rgba(244, 251, 255, 0.56);
|
||||
}
|
||||
.cockpit-orbital-datum dd {
|
||||
color: #f4fbff;
|
||||
font-variant-numeric: tabular-nums;
|
||||
text-align: end;
|
||||
}
|
||||
.cockpit-orbital-north {
|
||||
display: inline-block;
|
||||
margin-top: 8px;
|
||||
padding: 1px 5px;
|
||||
border: 1px solid var(--orbital-line);
|
||||
border-radius: 2px;
|
||||
color: var(--cockpit-accent, #00dcff);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
/* Above RESET / EXIT ORBIT: #view-switcher sits at clamp(128px, 15vh, 150px)
|
||||
less its -95px margin, and its buttons are about 30px tall. */
|
||||
.cockpit-orbital-optics {
|
||||
position: absolute;
|
||||
bottom: calc(clamp(128px, 15vh, 150px) - 95px + 44px);
|
||||
left: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 4px;
|
||||
border: 1px solid var(--orbital-faint);
|
||||
border-radius: 2px;
|
||||
background: rgba(0, 9, 14, 0.62);
|
||||
transform: translateX(-50%);
|
||||
white-space: nowrap;
|
||||
}
|
||||
/* With a sensor's swath and step the strip is longer: it may wrap on a
|
||||
narrow screen rather than run off it. */
|
||||
@media (max-width: 720px) {
|
||||
.cockpit-orbital-optics {
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
max-width: calc(100vw - 32px);
|
||||
}
|
||||
}
|
||||
.cockpit-orbital-zoom-button {
|
||||
width: 28px;
|
||||
height: 24px;
|
||||
padding: 0;
|
||||
border: 1px solid var(--orbital-line);
|
||||
border-radius: 2px;
|
||||
background: rgba(0, 7, 12, 0.6);
|
||||
color: #f4fbff;
|
||||
font: inherit;
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
line-height: 1;
|
||||
cursor: pointer;
|
||||
pointer-events: auto;
|
||||
}
|
||||
.cockpit-orbital-zoom-button:hover:not(:disabled),
|
||||
.cockpit-orbital-zoom-button:focus-visible {
|
||||
border-color: var(--cockpit-accent, #00dcff);
|
||||
color: #fff;
|
||||
outline: none;
|
||||
}
|
||||
.cockpit-orbital-zoom-button:disabled {
|
||||
opacity: 0.35;
|
||||
cursor: default;
|
||||
}
|
||||
.cockpit-orbital-zoom {
|
||||
min-width: 64px;
|
||||
color: var(--cockpit-accent, #00dcff);
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.12em;
|
||||
text-align: center;
|
||||
}
|
||||
.cockpit-orbital-swath {
|
||||
padding-inline: 4px 2px;
|
||||
border-inline-start: 1px solid var(--orbital-faint);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
@media (max-width: 560px) {
|
||||
.cockpit-orbital-readout {
|
||||
max-width: calc(100% - 32px);
|
||||
}
|
||||
.cockpit-orbital-name {
|
||||
font-size: 13px;
|
||||
}
|
||||
/* The phone shell lifts RESET / EXIT ORBIT (its row ends ~106px up) and
|
||||
sets the DISPLAY / RADIO row above it (to ~194px up). The optics wrap to
|
||||
two rows and sit above that row, where the zoom buttons can be tapped;
|
||||
the card sits above the optics. */
|
||||
.cockpit-orbital-optics {
|
||||
bottom: 200px;
|
||||
}
|
||||
.cockpit-orbital-readout {
|
||||
bottom: 284px;
|
||||
}
|
||||
}
|
||||
|
||||
/* A short window: the card stops below the left rail (DATA LAYERS,
|
||||
UTILITIES, which end ~340px down) and scrolls its own content, the TLE
|
||||
block included, instead of running into the rail. */
|
||||
@media (max-height: 760px) and (min-width: 561px) {
|
||||
.cockpit-orbital-readout {
|
||||
max-height: max(120px, calc(100vh - clamp(150px, 19vh, 190px) - 350px));
|
||||
overflow-y: auto;
|
||||
}
|
||||
}
|
||||
|
||||
/* An instant cut: no focus pull and no lock motion. */
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.cockpit-orbital-focusing .cockpit-orbital-lens {
|
||||
backdrop-filter: none;
|
||||
-webkit-backdrop-filter: none;
|
||||
}
|
||||
.cockpit-orbital-bracket {
|
||||
transition: none;
|
||||
}
|
||||
.cockpit-orbital-reticle-lock .cockpit-orbital-bracket {
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* Off-nadir look: the tilt readout and the way back, tucked under the
|
||||
readout card at the side of the picture. Shown only while tilted. */
|
||||
.cockpit-orbital-look {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
margin-top: 8px;
|
||||
padding-top: 8px;
|
||||
border-top: 1px solid var(--orbital-faint);
|
||||
}
|
||||
.cockpit-orbital-look-readout {
|
||||
color: var(--cockpit-accent, #00dcff);
|
||||
font-weight: 700;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.cockpit-orbital-nadir {
|
||||
padding: 3px 8px;
|
||||
border: 1px solid var(--orbital-line);
|
||||
border-radius: 2px;
|
||||
background: rgba(0, 7, 12, 0.6);
|
||||
color: #f4fbff;
|
||||
font: inherit;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.12em;
|
||||
cursor: pointer;
|
||||
pointer-events: auto;
|
||||
}
|
||||
.cockpit-orbital-nadir:hover,
|
||||
.cockpit-orbital-nadir:focus-visible {
|
||||
border-color: var(--cockpit-accent, #00dcff);
|
||||
color: #fff;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* The Cockpit HUD in orbit (#cockpit-hud[data-subject='satellite']): the
|
||||
orbital readout names the satellite, so the topline keeps only the
|
||||
vision selector, and panels and buttons stay square like the bridge. */
|
||||
#cockpit-hud[data-subject='satellite'] .cockpit-topline > div:first-child {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
:root body.cockpit-orbit {
|
||||
--panel-radius: 2px;
|
||||
--btn-radius: 2px;
|
||||
}
|
||||
#cockpit-hud[data-subject='satellite']
|
||||
:is(
|
||||
.cockpit-vision-controls,
|
||||
.cockpit-vision-controls button,
|
||||
.cockpit-card-actions button,
|
||||
.cockpit-utility-glyph,
|
||||
.cockpit-radio-transport button,
|
||||
#cockpit-brief-auto
|
||||
) {
|
||||
border-radius: 2px;
|
||||
}
|
||||
body.cockpit-orbit #view-switcher button {
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
/* The imaging sensor's narrowest swath, to scale across the view's width. The
|
||||
view is track-up, so the swath runs top to bottom along the ground track. */
|
||||
.cockpit-orbital-sensor-strip {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
min-width: 2px;
|
||||
border-inline: 1px dashed var(--orbital-line);
|
||||
background: color-mix(
|
||||
in srgb,
|
||||
var(--cockpit-accent, #00dcff) 6%,
|
||||
transparent
|
||||
);
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
.cockpit-orbital-sensor-swath {
|
||||
color: var(--cockpit-accent, #00dcff);
|
||||
}
|
||||
.cockpit-orbital-sensor-step {
|
||||
padding: 3px 8px;
|
||||
border: 1px solid var(--orbital-line);
|
||||
border-radius: 2px;
|
||||
background: rgba(0, 7, 12, 0.6);
|
||||
color: #f4fbff;
|
||||
font: inherit;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.12em;
|
||||
cursor: pointer;
|
||||
pointer-events: auto;
|
||||
}
|
||||
.cockpit-orbital-sensor-step:hover,
|
||||
.cockpit-orbital-sensor-step:focus-visible {
|
||||
border-color: var(--cockpit-accent, #00dcff);
|
||||
color: #fff;
|
||||
outline: none;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
/* The site a ground focus holds, named under the off-nadir readout
|
||||
(src/ui/views/panels/CockpitOrbital.vue). Empty, it takes no room. */
|
||||
.cockpit-orbital-focus:not(:empty) {
|
||||
margin-top: 4px;
|
||||
overflow: hidden;
|
||||
color: #f4fbff;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.1em;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
@@ -0,0 +1,193 @@
|
||||
/* Bridge radar internals (src/ui/views/panels/CockpitRadar.vue). The
|
||||
Cockpit view places and sizes the console; the radar fills it, with a
|
||||
square scope as large as the smaller side allows. */
|
||||
.cockpit-radar {
|
||||
--radar-line: color-mix(
|
||||
in srgb,
|
||||
var(--cockpit-accent, #00dcff) 34%,
|
||||
transparent
|
||||
);
|
||||
--radar-faint: color-mix(
|
||||
in srgb,
|
||||
var(--cockpit-accent, #00dcff) 16%,
|
||||
transparent
|
||||
);
|
||||
--radar-readout-height: 22px;
|
||||
container-type: size;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 4px;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
color: rgba(244, 251, 255, 0.82);
|
||||
font-family: var(--font-mono);
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.08em;
|
||||
}
|
||||
.cockpit-radar[hidden] {
|
||||
display: none;
|
||||
}
|
||||
.cockpit-radar-scope {
|
||||
position: relative;
|
||||
flex: none;
|
||||
width: min(100cqw, calc(100cqh - var(--radar-readout-height) - 4px));
|
||||
aspect-ratio: 1;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--radar-line);
|
||||
border-radius: 50%;
|
||||
background: radial-gradient(
|
||||
circle,
|
||||
rgba(0, 24, 32, 0.72) 0%,
|
||||
rgba(0, 9, 14, 0.82) 100%
|
||||
);
|
||||
box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
.cockpit-radar-ring,
|
||||
.cockpit-radar-sweep,
|
||||
.cockpit-radar-own,
|
||||
.cockpit-radar-contact {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
}
|
||||
.cockpit-radar-ring {
|
||||
border: 1px solid var(--radar-faint);
|
||||
border-radius: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
.cockpit-radar-tick {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
}
|
||||
.cockpit-radar-tick::before {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 50%;
|
||||
width: 1px;
|
||||
height: 5px;
|
||||
background: var(--radar-line);
|
||||
content: '';
|
||||
}
|
||||
.cockpit-radar-tick-major::before {
|
||||
height: 8px;
|
||||
background: color-mix(
|
||||
in srgb,
|
||||
var(--cockpit-accent, #00dcff) 62%,
|
||||
transparent
|
||||
);
|
||||
}
|
||||
.cockpit-radar-sweep {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: -50% 0 0 -50%;
|
||||
border-radius: 50%;
|
||||
/* The bright edge leads clockwise; the trail fades behind it. */
|
||||
background: conic-gradient(
|
||||
transparent 0deg 270deg,
|
||||
color-mix(in srgb, var(--cockpit-accent, #00dcff) 4%, transparent) 300deg,
|
||||
color-mix(in srgb, var(--cockpit-accent, #00dcff) 26%, transparent) 357deg,
|
||||
color-mix(in srgb, var(--cockpit-accent, #00dcff) 70%, transparent) 360deg
|
||||
);
|
||||
will-change: transform;
|
||||
}
|
||||
.cockpit-radar-heading-line {
|
||||
position: absolute;
|
||||
bottom: 50%;
|
||||
left: 50%;
|
||||
width: 1px;
|
||||
height: 50%;
|
||||
background: color-mix(
|
||||
in srgb,
|
||||
var(--cockpit-accent, #00dcff) 72%,
|
||||
transparent
|
||||
);
|
||||
}
|
||||
.cockpit-radar-own {
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
margin: -3.5px 0 0 -3.5px;
|
||||
border: 1px solid var(--cockpit-accent, #00dcff);
|
||||
border-radius: 1px;
|
||||
background: rgba(0, 9, 14, 0.9);
|
||||
}
|
||||
.cockpit-radar-contact {
|
||||
--radar-contact-color: #9fb3c8;
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
margin: -2.5px 0 0 -2.5px;
|
||||
border-radius: 50%;
|
||||
background: var(--radar-contact-color);
|
||||
box-shadow: 0 0 4px var(--radar-contact-color);
|
||||
will-change: opacity;
|
||||
}
|
||||
.cockpit-radar-contact-stale {
|
||||
border: 1px solid var(--radar-contact-color);
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
}
|
||||
/* A course vector starts at the mark's centre and points along the course. */
|
||||
.cockpit-radar-vector {
|
||||
position: absolute;
|
||||
bottom: 50%;
|
||||
left: 50%;
|
||||
width: 1px;
|
||||
height: 9px;
|
||||
margin-left: -0.5px;
|
||||
background: var(--radar-contact-color);
|
||||
transform-origin: 50% 100%;
|
||||
}
|
||||
.cockpit-radar-own-vector {
|
||||
height: 14px;
|
||||
background: #f4fbff;
|
||||
}
|
||||
.cockpit-radar-readout {
|
||||
display: flex;
|
||||
flex: none;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 6px;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
height: var(--radar-readout-height);
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.cockpit-radar-range {
|
||||
flex: none;
|
||||
min-width: 44px;
|
||||
height: 20px;
|
||||
padding: 0 6px;
|
||||
border: 1px solid var(--radar-line);
|
||||
border-radius: 2px;
|
||||
background: rgba(0, 7, 12, 0.6);
|
||||
color: #f4fbff;
|
||||
font: inherit;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.1em;
|
||||
cursor: pointer;
|
||||
pointer-events: auto;
|
||||
}
|
||||
.cockpit-radar-range:hover,
|
||||
.cockpit-radar-range:focus-visible {
|
||||
border-color: var(--cockpit-accent, #00dcff);
|
||||
color: #fff;
|
||||
outline: none;
|
||||
}
|
||||
.cockpit-radar-rings,
|
||||
.cockpit-radar-count {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.cockpit-radar-count {
|
||||
color: var(--cockpit-accent, #00dcff);
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.cockpit-radar-sweep {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
@@ -377,15 +377,19 @@
|
||||
|
||||
/* Compact dock clearance keeps the reference-like low profile. */
|
||||
body:not(.ui-clean-view):not(.recording-mode) #cesium-credits {
|
||||
bottom: calc(2vh + 4.7rem);
|
||||
bottom: calc(2vh + 4.7rem + var(--world-timeline-lift, 0px));
|
||||
}
|
||||
|
||||
body:not(.ui-clean-view):not(.recording-mode) #gev-credits {
|
||||
bottom: calc(2vh + 4.7rem + var(--world-timeline-lift, 0px));
|
||||
}
|
||||
|
||||
#intel-hud[data-variant='minimal'] .hud-bottom-left {
|
||||
bottom: calc(2vh + 5.4rem);
|
||||
bottom: calc(2vh + 5.4rem + var(--world-timeline-lift, 0px));
|
||||
}
|
||||
|
||||
#intel-hud[data-variant='minimal'] .hud-bottom-bar {
|
||||
bottom: calc(2vh + 8.9rem);
|
||||
bottom: calc(2vh + 8.9rem + var(--world-timeline-lift, 0px));
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
|
||||
@@ -448,37 +448,148 @@
|
||||
letter-spacing: 0.035rem;
|
||||
}
|
||||
|
||||
/* Keep the complete inline attribution row above the command dock. */
|
||||
/* From 1200px the attribution row sits on the bottom edge, on the Power Up
|
||||
baseline, below the raised command dock (command-dock.css). It stops 26rem
|
||||
short of the right edge, clear of the corner row (Power Up and the language
|
||||
picker), and wraps rather than running under it. Below 1200px the dock
|
||||
keeps to the bottom edge and the row sits above it. */
|
||||
body:not(.ui-clean-view):not(.recording-mode) #cesium-credits,
|
||||
body:not(.ui-clean-view):not(.recording-mode):has(
|
||||
#intel-hud[data-variant='minimal'].active
|
||||
)
|
||||
#cesium-credits {
|
||||
right: auto;
|
||||
bottom: calc(2vh + 5rem);
|
||||
bottom: 1rem;
|
||||
left: 1.5rem;
|
||||
width: auto !important;
|
||||
max-width: calc(100vw - 3rem);
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
body:not(.ui-clean-view):not(.recording-mode) #gev-credits,
|
||||
body:not(.ui-clean-view):not(.recording-mode):has(
|
||||
#intel-hud[data-variant='minimal'].active
|
||||
)
|
||||
#gev-credits {
|
||||
right: auto;
|
||||
bottom: 1rem;
|
||||
left: 1.5rem;
|
||||
width: max-content !important;
|
||||
max-width: calc(100vw - 1.5rem - 26rem);
|
||||
white-space: normal;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#intel-hud[data-variant='tactical'] .hud-bottom-left,
|
||||
#intel-hud[data-variant='tactical'] .hud-bottom-right {
|
||||
bottom: calc(2vh + 6.5rem);
|
||||
bottom: calc(2vh + 6.5rem + var(--world-timeline-lift, 0px));
|
||||
}
|
||||
|
||||
#intel-hud[data-variant='minimal'] .hud-bottom-left {
|
||||
bottom: calc(2vh + 5.4rem);
|
||||
bottom: calc(2vh + 5.4rem + var(--world-timeline-lift, 0px));
|
||||
}
|
||||
|
||||
:root[data-scope-mask='off']
|
||||
#intel-hud[data-variant='minimal']
|
||||
.hud-bottom-left {
|
||||
bottom: calc(2vh + 6.5rem);
|
||||
bottom: calc(2vh + 6.5rem + var(--world-timeline-lift, 0px));
|
||||
}
|
||||
|
||||
#intel-hud[data-variant='minimal'] .hud-bottom-bar {
|
||||
bottom: calc(2vh + 9rem);
|
||||
bottom: calc(2vh + 9rem + var(--world-timeline-lift, 0px));
|
||||
}
|
||||
|
||||
/* The coordinate readout shares the bottom-left corner with the attribution
|
||||
row below 1200px: it sits clear of the row's 28px logo line, with a 6px gap
|
||||
(from 1200px, rail-split.css). */
|
||||
#intel-hud:is([data-variant='tactical'], [data-variant='minimal'])
|
||||
.hud-bottom-left,
|
||||
:root[data-scope-mask='off']
|
||||
#intel-hud[data-variant='minimal']
|
||||
.hud-bottom-left {
|
||||
bottom: calc(2vh + 7.125rem + var(--world-timeline-lift, 0px));
|
||||
}
|
||||
|
||||
@media (max-width: 1199px) {
|
||||
body:not(.ui-clean-view):not(.recording-mode) #cesium-credits,
|
||||
body:not(.ui-clean-view):not(.recording-mode):has(
|
||||
#intel-hud[data-variant='minimal'].active
|
||||
)
|
||||
#cesium-credits,
|
||||
body:not(.ui-clean-view):not(.recording-mode) #gev-credits,
|
||||
body:not(.ui-clean-view):not(.recording-mode):has(
|
||||
#intel-hud[data-variant='minimal'].active
|
||||
)
|
||||
#gev-credits {
|
||||
bottom: calc(2vh + 5rem + var(--world-timeline-lift, 0px));
|
||||
width: auto !important;
|
||||
max-width: calc(100vw - 3rem);
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
/* Cesium draws the line in an absolutely placed box inside the empty
|
||||
#cesium-credits anchor, so the cap and the wrapping go on that box: from
|
||||
1200px, and in the Omnibar layout at every width, whose attribution row
|
||||
shares the bottom edge with the corner row (omnibar-dock.css). */
|
||||
body:not(.mobile-shell):not(.cockpit-mode):not(.scene-playback-mode):not(
|
||||
.ui-clean-view
|
||||
):not(.recording-mode):where(
|
||||
:has(#gev-omnibar):has(#command-dock > #gev-voice-control)
|
||||
)
|
||||
#cesium-credits
|
||||
.cesium-widget-credits {
|
||||
width: max-content;
|
||||
max-width: calc(100vw - 1.5rem - 26rem);
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
/* Right to left that layout puts the row at the bottom right at every
|
||||
width, so the box hangs from the anchor's right edge. */
|
||||
html[dir='rtl']
|
||||
body:not(.mobile-shell):not(.cockpit-mode):not(.scene-playback-mode):not(
|
||||
.ui-clean-view
|
||||
):not(.recording-mode):not(.context-docked):where(
|
||||
:has(#gev-omnibar):has(#command-dock > #gev-voice-control)
|
||||
)
|
||||
#cesium-credits
|
||||
.cesium-widget-credits {
|
||||
right: 0;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
@media (min-width: 1200px) {
|
||||
#cesium-credits .cesium-widget-credits {
|
||||
width: max-content;
|
||||
max-width: calc(100vw - 1.5rem - 26rem);
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
/* Right to left, the corner row sits at the bottom left
|
||||
(locale-picker.css), so the attribution row takes the bottom right.
|
||||
Expanded Context places it itself (context-dock.css). */
|
||||
/* The Minimal HUD's placement above names #intel-hud too: matched here,
|
||||
so right to left wins over it. */
|
||||
html[dir='rtl']
|
||||
body:not(.context-docked):not(.ui-clean-view):not(.recording-mode)
|
||||
:is(#cesium-credits, #gev-credits),
|
||||
html[dir='rtl']
|
||||
body:not(.context-docked):not(.ui-clean-view):not(.recording-mode):has(
|
||||
#intel-hud[data-variant='minimal'].active
|
||||
)
|
||||
:is(#cesium-credits, #gev-credits) {
|
||||
right: 1.5rem;
|
||||
left: auto;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
html[dir='rtl']
|
||||
body:not(.context-docked):not(.ui-clean-view):not(.recording-mode)
|
||||
#cesium-credits
|
||||
.cesium-widget-credits {
|
||||
right: 0;
|
||||
left: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
@@ -487,7 +598,17 @@ body:not(.ui-clean-view):not(.recording-mode):has(
|
||||
#intel-hud[data-variant='minimal'].active
|
||||
)
|
||||
#cesium-credits {
|
||||
bottom: calc(2vh + 5rem);
|
||||
bottom: calc(2vh + 5rem + var(--world-timeline-lift, 0px));
|
||||
left: 0.75rem;
|
||||
max-width: calc(100vw - 1.5rem);
|
||||
}
|
||||
|
||||
body:not(.ui-clean-view):not(.recording-mode) #gev-credits,
|
||||
body:not(.ui-clean-view):not(.recording-mode):has(
|
||||
#intel-hud[data-variant='minimal'].active
|
||||
)
|
||||
#gev-credits {
|
||||
bottom: calc(2vh + 5rem + var(--world-timeline-lift, 0px));
|
||||
left: 0.75rem;
|
||||
max-width: calc(100vw - 1.5rem);
|
||||
}
|
||||
@@ -499,13 +620,9 @@ body:not(.ui-clean-view):not(.recording-mode):has(
|
||||
/* The wings shrink to --dock-side-compact at this width, open or closed (an
|
||||
open tray pops out above the dock), which is too narrow for the text
|
||||
labels; they would spill over the voice control and take its taps. The
|
||||
wings show only their icon; the toggles keep their aria-label. Cyber sets
|
||||
a wider --dock-side-compact that fits its labels, so it keeps them. */
|
||||
:root:not([data-ui-theme='cyber'])
|
||||
#command-dock
|
||||
:is(#location-bar, #control-panel)
|
||||
.panel-title,
|
||||
:root:not([data-ui-theme='cyber'])
|
||||
wings show only their icon; the toggles keep their aria-label. */
|
||||
:root #command-dock :is(#location-bar, #control-panel) .panel-title,
|
||||
:root
|
||||
#command-dock
|
||||
:is(#location-bar, #control-panel)
|
||||
.location-toolbar-label {
|
||||
@@ -515,11 +632,8 @@ body:not(.ui-clean-view):not(.recording-mode):has(
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
:root:not([data-ui-theme='cyber'])
|
||||
#command-dock
|
||||
:is(#location-bar, #control-panel)
|
||||
.panel-title::after,
|
||||
:root:not([data-ui-theme='cyber'])
|
||||
:root #command-dock :is(#location-bar, #control-panel) .panel-title::after,
|
||||
:root
|
||||
#command-dock
|
||||
:is(#location-bar, #control-panel)
|
||||
.location-toolbar-label::after {
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
#command-dock {
|
||||
position: fixed;
|
||||
right: auto;
|
||||
bottom: 2vh;
|
||||
/* 74px up from 1200px, leaving the bottom row to the map credits and
|
||||
Power Up; above the world timeline while it shows (world-timeline.css). */
|
||||
bottom: calc(74px + var(--world-timeline-lift, 0px));
|
||||
left: 50%;
|
||||
z-index: 145;
|
||||
display: grid;
|
||||
@@ -216,7 +218,11 @@
|
||||
|
||||
/* Keep required map attribution clear of the full-width command surface. */
|
||||
body:not(.ui-clean-view):not(.recording-mode) #cesium-credits {
|
||||
bottom: calc(2vh + 7rem);
|
||||
bottom: calc(2vh + 7rem + var(--world-timeline-lift, 0px));
|
||||
}
|
||||
|
||||
body:not(.ui-clean-view):not(.recording-mode) #gev-credits {
|
||||
bottom: calc(2vh + 7rem + var(--world-timeline-lift, 0px));
|
||||
}
|
||||
|
||||
body:not(.ui-clean-view):not(.recording-mode):has(
|
||||
@@ -229,6 +235,16 @@ body:not(.ui-clean-view):not(.recording-mode):has(
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
body:not(.ui-clean-view):not(.recording-mode):has(
|
||||
#intel-hud[data-variant='minimal'].active
|
||||
)
|
||||
#gev-credits {
|
||||
right: 36px;
|
||||
left: auto;
|
||||
width: min(340px, calc(100vw - 72px)) !important;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
body.ui-clean-view #command-dock,
|
||||
body.recording-mode #command-dock {
|
||||
opacity: 0 !important;
|
||||
@@ -243,12 +259,27 @@ body.recording-mode #cesium-credits {
|
||||
left: 36px;
|
||||
}
|
||||
|
||||
body.ui-clean-view #gev-credits,
|
||||
body.recording-mode #gev-credits {
|
||||
right: auto;
|
||||
bottom: 36px;
|
||||
left: 36px;
|
||||
}
|
||||
|
||||
#intel-hud[data-variant='minimal'] .hud-bottom-left {
|
||||
bottom: calc(2vh + 7.5rem);
|
||||
bottom: calc(2vh + 7.5rem + var(--world-timeline-lift, 0px));
|
||||
}
|
||||
|
||||
#intel-hud[data-variant='minimal'] .hud-bottom-bar {
|
||||
bottom: calc(2vh + 11.5rem);
|
||||
bottom: calc(2vh + 11.5rem + var(--world-timeline-lift, 0px));
|
||||
}
|
||||
|
||||
/* Below 1200px the dock reaches the bottom corners, so it keeps to the
|
||||
bottom edge and the credits and coordinates sit above it. */
|
||||
@media (max-width: 1199px) {
|
||||
#command-dock {
|
||||
bottom: calc(2vh + var(--world-timeline-lift, 0px));
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 980px) {
|
||||
@@ -275,21 +306,25 @@ body.recording-mode #cesium-credits {
|
||||
}
|
||||
|
||||
body:not(.ui-clean-view):not(.recording-mode) #cesium-credits {
|
||||
bottom: calc(2vh + 9.5rem);
|
||||
bottom: calc(2vh + 9.5rem + var(--world-timeline-lift, 0px));
|
||||
}
|
||||
|
||||
body:not(.ui-clean-view):not(.recording-mode) #gev-credits {
|
||||
bottom: calc(2vh + 9.5rem + var(--world-timeline-lift, 0px));
|
||||
}
|
||||
|
||||
#intel-hud[data-variant='minimal'] .hud-bottom-left {
|
||||
bottom: calc(2vh + 12rem);
|
||||
bottom: calc(2vh + 12rem + var(--world-timeline-lift, 0px));
|
||||
}
|
||||
|
||||
#intel-hud[data-variant='minimal'] .hud-bottom-bar {
|
||||
bottom: calc(2vh + 16rem);
|
||||
bottom: calc(2vh + 16rem + var(--world-timeline-lift, 0px));
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
#command-dock {
|
||||
bottom: 8px;
|
||||
bottom: calc(8px + var(--world-timeline-lift, 0px));
|
||||
}
|
||||
|
||||
#command-dock .location-search-wrap {
|
||||
|
||||
@@ -0,0 +1,236 @@
|
||||
/* ── Context expanded ───────────────────────────────────────────────────
|
||||
Expanded, Context becomes a full-height column over the right edge of the
|
||||
screen. The globe and HUD stay where they are, under it. */
|
||||
:root {
|
||||
--context-dock-width: clamp(360px, 30vw, 460px);
|
||||
}
|
||||
|
||||
/* The column: edge to edge, top to bottom, no rail beside it. */
|
||||
body.context-docked #right-context-rail {
|
||||
z-index: 170;
|
||||
top: 0 !important;
|
||||
right: 0 !important;
|
||||
bottom: 0 !important;
|
||||
width: var(--context-dock-width) !important;
|
||||
max-height: none !important;
|
||||
height: 100vh !important;
|
||||
}
|
||||
|
||||
/* The map credits stay readable beside the column: their row ends short of
|
||||
it. creditAttribution.test.mjs pins this. */
|
||||
body.context-docked:not(.ui-clean-view):not(.recording-mode) #cesium-credits,
|
||||
body.context-docked:not(.ui-clean-view):not(.recording-mode) #gev-credits,
|
||||
body.context-docked:not(.ui-clean-view):not(.recording-mode):has(
|
||||
#intel-hud[data-variant='minimal'].active
|
||||
)
|
||||
#cesium-credits,
|
||||
body.context-docked:not(.ui-clean-view):not(.recording-mode):has(
|
||||
#intel-hud[data-variant='minimal'].active
|
||||
)
|
||||
#gev-credits {
|
||||
max-width: calc(100vw - 3rem - var(--context-dock-width));
|
||||
}
|
||||
|
||||
body.context-docked #right-context-rail > .gev-panel-rail {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body.context-docked
|
||||
#right-context-rail
|
||||
> :not(#global-context-panel):not(.gev-panel-rail) {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
body.context-docked #right-context-rail > #global-context-panel {
|
||||
flex: 1 1 auto !important;
|
||||
width: 100% !important;
|
||||
height: 100% !important;
|
||||
max-height: none !important;
|
||||
}
|
||||
|
||||
body.context-docked #global-context-panel .global-context-panel-inner {
|
||||
height: 100%;
|
||||
padding: 22px 24px 16px;
|
||||
background: rgba(10, 11, 16, 0.94);
|
||||
border: 0;
|
||||
border-left: 1px solid rgba(255, 255, 255, 0.08);
|
||||
border-radius: 0;
|
||||
box-shadow: -18px 0 40px rgba(0, 0, 0, 0.35);
|
||||
}
|
||||
|
||||
body.context-docked #global-context-panel .panel-glow {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* The expand button sits beside the collapse button in the header. */
|
||||
.context-dock-btn {
|
||||
display: grid;
|
||||
flex: none;
|
||||
place-items: center;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
margin-inline-end: 6px;
|
||||
padding: 0;
|
||||
color: var(--text-secondary);
|
||||
background: transparent;
|
||||
border: 1px solid var(--glass-border);
|
||||
border-radius: var(--btn-radius);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.context-dock-btn .material-symbols-outlined {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.context-dock-btn:hover,
|
||||
.context-dock-btn:focus-visible,
|
||||
.context-dock-btn[aria-pressed='true'] {
|
||||
color: var(--accent);
|
||||
border-color: var(--accent-dim);
|
||||
background: var(--accent-dim);
|
||||
}
|
||||
|
||||
/* Phones keep their sheets; the dock is a desktop layout. */
|
||||
body.mobile-shell .context-dock-btn {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Context's own search field, under the header: narrows what the panel shows.
|
||||
Sized and framed like the tab bar beneath it. */
|
||||
/* A UiSearchField (search-field.css). */
|
||||
.context-search {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 2;
|
||||
flex: none;
|
||||
box-sizing: border-box;
|
||||
gap: 8px;
|
||||
min-height: 34px;
|
||||
margin: 0 0 0.5rem;
|
||||
padding: 0 6px 0 10px;
|
||||
color: rgba(199, 214, 222, 0.65);
|
||||
background: rgba(16, 22, 28, 0.94);
|
||||
border: 1px solid rgba(54, 220, 255, 0.35);
|
||||
border-radius: 10px;
|
||||
backdrop-filter: blur(8px);
|
||||
}
|
||||
|
||||
.context-search:focus-within {
|
||||
color: #7af0ff;
|
||||
border-color: rgba(54, 220, 255, 0.7);
|
||||
box-shadow: 0 0 0 3px rgba(54, 220, 255, 0.1);
|
||||
}
|
||||
|
||||
.context-search .material-symbols-outlined {
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.context-search__input::placeholder {
|
||||
color: rgba(199, 214, 222, 0.45);
|
||||
}
|
||||
|
||||
.context-search__input {
|
||||
flex: 1;
|
||||
height: 100%;
|
||||
padding: 0;
|
||||
color: var(--text-primary, #e8eaed);
|
||||
font: inherit;
|
||||
font-size: 0.74rem;
|
||||
line-height: 32px;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.context-search__input::-webkit-search-cancel-button {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* A UiCloseButton (close-button.css). */
|
||||
.context-search__clear {
|
||||
display: grid;
|
||||
flex: none;
|
||||
place-items: center;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
color: rgba(199, 214, 222, 0.65);
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.context-search__clear:hover,
|
||||
.context-search__clear:focus-visible {
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.entity-card__no-match {
|
||||
margin: 0 0 0.7rem;
|
||||
color: rgba(199, 214, 222, 0.6);
|
||||
font-size: 0.66rem;
|
||||
}
|
||||
|
||||
.context-search__input:focus,
|
||||
.context-search__input:focus-visible {
|
||||
outline: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* While a search is typed, what cannot match steps aside so the matches lead:
|
||||
the weather, the view's own figures, the route and altitude graph, and the
|
||||
layer switches. The radius stays: it sets how far the search looks. */
|
||||
.context-searching
|
||||
:is(
|
||||
.spot-conditions__weather,
|
||||
.spot-conditions__loading,
|
||||
.spot-conditions__source,
|
||||
.view-context__facts,
|
||||
.view-context__live,
|
||||
.view-context__total,
|
||||
.view-context__actions,
|
||||
.view-context__towns:has(.view-context__chip--layer),
|
||||
.altitude-graph,
|
||||
.entity-card__route,
|
||||
.entity-card__route-stats,
|
||||
.entity-card__route-places,
|
||||
.entity-card__route-note,
|
||||
.entity-card__links
|
||||
) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* With the minimal HUD the credits sit at the bottom right, where the
|
||||
column is: they move out to its left. */
|
||||
body.context-docked:not(.ui-clean-view):not(.recording-mode):has(
|
||||
#intel-hud[data-variant='minimal'].active
|
||||
)
|
||||
:is(#cesium-credits, #gev-credits) {
|
||||
right: calc(36px + var(--context-dock-width));
|
||||
}
|
||||
|
||||
/* Right to left, the rail sits on the left edge (rtl.css), and so does the
|
||||
expanded column; the credits start past it. */
|
||||
html[dir='rtl']
|
||||
body.context-docked:not(.ui-clean-view):not(.recording-mode)
|
||||
:is(#cesium-credits, #gev-credits) {
|
||||
left: calc(36px + var(--context-dock-width));
|
||||
}
|
||||
|
||||
html[dir='rtl']
|
||||
body.context-docked:not(.ui-clean-view):not(.recording-mode):has(
|
||||
#intel-hud[data-variant='minimal'].active
|
||||
)
|
||||
:is(#cesium-credits, #gev-credits) {
|
||||
right: 36px;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
html[dir='rtl'] body.context-docked #right-context-rail {
|
||||
right: auto !important;
|
||||
left: 0 !important;
|
||||
}
|
||||
|
||||
html[dir='rtl']
|
||||
body.context-docked
|
||||
#global-context-panel
|
||||
.global-context-panel-inner {
|
||||
border-left: 0;
|
||||
border-right: 1px solid rgba(255, 255, 255, 0.08);
|
||||
box-shadow: 18px 0 40px rgba(0, 0, 0, 0.35);
|
||||
}
|
||||
@@ -0,0 +1,125 @@
|
||||
/* ── Context layer tabs ─────────────────────────────────────────────────
|
||||
Settings for the layers that are on, as tabs beside the card. */
|
||||
.context-tabs {
|
||||
display: flex;
|
||||
flex: none;
|
||||
min-height: 34px;
|
||||
box-sizing: border-box;
|
||||
gap: 4px;
|
||||
margin: 0 0 0.7rem;
|
||||
padding: 3px;
|
||||
overflow-x: auto;
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
border: 1px solid rgba(255, 255, 255, 0.07);
|
||||
border-radius: 10px;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
.context-tabs::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.context-tabs__tab {
|
||||
display: inline-flex;
|
||||
flex: none;
|
||||
min-height: 26px;
|
||||
align-items: center;
|
||||
gap: 0.3rem;
|
||||
max-width: 9.5rem;
|
||||
padding: 0.3rem 0.55rem;
|
||||
color: rgba(199, 214, 222, 0.65);
|
||||
font-family: var(--font-mono);
|
||||
font-size: 0.56rem;
|
||||
letter-spacing: 0.08rem;
|
||||
text-transform: uppercase;
|
||||
background: none;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 7px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.context-tabs__tab .material-symbols-outlined {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.context-tabs__label {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.context-tabs__tab:hover {
|
||||
color: #fff;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
.context-tabs__tab.active {
|
||||
color: #7af0ff;
|
||||
background: rgba(54, 220, 255, 0.12);
|
||||
border-color: rgba(54, 220, 255, 0.35);
|
||||
}
|
||||
|
||||
.context-tab-pane[hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Controls moved in from Visual show their rows openly here. */
|
||||
.context-tab-pane .pp-toggle-group {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Two even tabs: Inspector and Properties. */
|
||||
.context-tabs__tab {
|
||||
flex: 1 1 0;
|
||||
justify-content: center;
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
.context-props[hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.context-props__section + .context-props__section {
|
||||
margin-top: 0.9rem;
|
||||
}
|
||||
|
||||
.context-props__heading {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.4rem;
|
||||
margin: 0 0 0.45rem;
|
||||
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;
|
||||
}
|
||||
|
||||
.context-props__heading .material-symbols-outlined {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.context-props__layers {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.25rem 0.75rem;
|
||||
margin: -0.15rem 0 0.5rem;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.context-props__layers li {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.35rem;
|
||||
color: rgba(214, 228, 236, 0.8);
|
||||
font-size: 0.66rem;
|
||||
}
|
||||
|
||||
.context-props__layers i {
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
border-radius: 50%;
|
||||
box-shadow: 0 0 6px currentColor;
|
||||
}
|
||||
+53
-34
@@ -97,7 +97,7 @@
|
||||
|
||||
/* A hovered panel sets --rail-label-hover on itself (see below); its own
|
||||
header picks it up. Radio sits inside Context and keeps its own colour. */
|
||||
:root:not([data-ui-theme='cyber'])
|
||||
:root
|
||||
:is(#left-panel-stack, #right-context-rail)
|
||||
:is(
|
||||
.panel-header > .panel-title,
|
||||
@@ -112,9 +112,8 @@
|
||||
}
|
||||
|
||||
/* A title never pushes its toggle out of the card: one that does not fit
|
||||
ends in an ellipsis. Cyber draws a marker left of the title, which a clip
|
||||
would cut, and keeps its own header layout. */
|
||||
:root:not([data-ui-theme='cyber'])
|
||||
ends in an ellipsis. */
|
||||
:root
|
||||
:is(#left-panel-stack, #right-context-rail)
|
||||
:is(.panel-header > .panel-title, .pp-header-label) {
|
||||
min-width: 0;
|
||||
@@ -126,25 +125,25 @@
|
||||
so the header drops it and packs closer. English titles such as Recent
|
||||
Imagery then fit whole. Only the rail's own launchers: Radio, nested in
|
||||
Context, keeps its divider. */
|
||||
:root:not([data-ui-theme='cyber'])
|
||||
:root
|
||||
:is(#left-panel-stack, #right-context-rail)
|
||||
> .panel-collapsible.collapsed
|
||||
> [class$='-panel-inner']
|
||||
> .panel-header,
|
||||
:root:not([data-ui-theme='cyber'])
|
||||
:root
|
||||
:is(#left-panel-stack, #right-context-rail)
|
||||
> #pp-toggles.collapsed
|
||||
> .pp-header-row {
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
:root:not([data-ui-theme='cyber'])
|
||||
:root
|
||||
:is(#left-panel-stack, #right-context-rail)
|
||||
> .panel-collapsible.collapsed
|
||||
> [class$='-panel-inner']
|
||||
> .panel-header
|
||||
> .panel-divider,
|
||||
:root:not([data-ui-theme='cyber'])
|
||||
:root
|
||||
:is(#left-panel-stack, #right-context-rail)
|
||||
> #pp-toggles.collapsed
|
||||
> .pp-header-row
|
||||
@@ -152,13 +151,13 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
:root:not([data-ui-theme='cyber'])
|
||||
:root
|
||||
:is(#left-panel-stack, #right-context-rail)
|
||||
> .panel-collapsible.collapsed
|
||||
> [class$='-panel-inner']
|
||||
> .panel-header
|
||||
> .panel-collapse-btn,
|
||||
:root:not([data-ui-theme='cyber'])
|
||||
:root
|
||||
:is(#left-panel-stack, #right-context-rail)
|
||||
> #pp-toggles.collapsed
|
||||
> .pp-header-row
|
||||
@@ -187,6 +186,9 @@ html:not([lang='en']):not(:lang(zh)):not(:lang(ja))
|
||||
background: linear-gradient(to right, var(--glass-border), transparent);
|
||||
}
|
||||
|
||||
/* A panel's collapse toggle, and the kit's square glyph button
|
||||
(UiButton variant="icon"). */
|
||||
.ui-button--icon,
|
||||
.panel-collapse-btn {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
@@ -206,17 +208,25 @@ html:not([lang='en']):not(:lang(zh)):not(:lang(ja))
|
||||
color var(--transition-fast);
|
||||
}
|
||||
|
||||
/* A pressed kit icon button looks as a hovered one does. */
|
||||
.ui-button--icon:hover:not(:disabled),
|
||||
.ui-button--icon.ui-button--pressed:not(:disabled),
|
||||
.panel-collapse-btn:hover {
|
||||
border-color: var(--glass-border-hover);
|
||||
color: var(--text-primary);
|
||||
background: rgba(255, 255, 255, 0.07);
|
||||
}
|
||||
|
||||
.ui-button--icon:disabled {
|
||||
opacity: 0.45;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/* A side panel answers the pointer as the command dock's trays do: a
|
||||
brighter edge and an accent title and toggle. Touch screens have no hover,
|
||||
so a tap must not leave a panel lit. */
|
||||
@media (hover: hover) and (pointer: fine) {
|
||||
:root:not([data-ui-theme='cyber'])
|
||||
:root
|
||||
:is(#left-panel-stack, #right-context-rail)
|
||||
:where(
|
||||
.data-panel-inner,
|
||||
@@ -227,13 +237,14 @@ html:not([lang='en']):not(:lang(zh)):not(:lang(ja))
|
||||
.recent-imagery-panel-inner,
|
||||
.street-level-panel-inner,
|
||||
.global-context-panel-inner,
|
||||
.space-missions-panel-inner,
|
||||
#pp-toggles:not(.collapsed),
|
||||
#pp-toggles.collapsed > .pp-header-row
|
||||
) {
|
||||
transition: border-color var(--transition-fast);
|
||||
}
|
||||
|
||||
:root:not([data-ui-theme='cyber'])
|
||||
:root
|
||||
:is(#left-panel-stack, #right-context-rail)
|
||||
:where(
|
||||
.data-panel-inner,
|
||||
@@ -244,6 +255,7 @@ html:not([lang='en']):not(:lang(zh)):not(:lang(ja))
|
||||
.recent-imagery-panel-inner,
|
||||
.street-level-panel-inner,
|
||||
.global-context-panel-inner,
|
||||
.space-missions-panel-inner,
|
||||
#pp-toggles:not(.collapsed),
|
||||
#pp-toggles.collapsed > .pp-header-row
|
||||
):hover {
|
||||
@@ -560,14 +572,12 @@ html:not([lang='en']):not(:lang(zh)):not(:lang(ja))
|
||||
}
|
||||
|
||||
/* Display's title and toggle sit where the other panels' do: 14px of panel
|
||||
padding plus a 4px header inset. The cyber theme sets its own insets. */
|
||||
:root:not([data-ui-theme='cyber']) #pp-toggles.collapsed > .pp-header-row {
|
||||
padding plus a 4px header inset. */
|
||||
:root #pp-toggles.collapsed > .pp-header-row {
|
||||
padding: 8px 18px;
|
||||
}
|
||||
|
||||
:root:not([data-ui-theme='cyber'])
|
||||
#pp-toggles:not(.collapsed)
|
||||
> .pp-header-row {
|
||||
:root #pp-toggles:not(.collapsed) > .pp-header-row {
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
@@ -580,10 +590,7 @@ html:not([lang='en']):not(:lang(zh)):not(:lang(ja))
|
||||
}
|
||||
|
||||
/* In the default theme Display's toggle matches the other panels' 22px. */
|
||||
:root:not([data-ui-theme='cyber'])
|
||||
#pp-toggles
|
||||
> .pp-header-row
|
||||
.pp-collapse-btn {
|
||||
:root #pp-toggles > .pp-header-row .pp-collapse-btn {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
font-size: 13px;
|
||||
@@ -599,7 +606,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;
|
||||
}
|
||||
|
||||
@@ -743,14 +753,6 @@ html:not([lang='en']) .pp-slider-row > .pp-slider-mini-label {
|
||||
min-width: 200px;
|
||||
}
|
||||
|
||||
.cyber-sonar-control {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:root[data-ui-theme='cyber'] .cyber-sonar-control {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.cyber-sonar-toggle-row,
|
||||
.cyber-sonar-setting {
|
||||
min-width: 200px;
|
||||
@@ -761,10 +763,6 @@ html:not([lang='en']) .pp-slider-row > .pp-slider-mini-label {
|
||||
min-width: 48px;
|
||||
}
|
||||
|
||||
:root[data-cyber-sonar='off'] .cyber-sonar-setting {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Map Source tiles live with Visual Presets in the bottom command tray. */
|
||||
.map-source-section {
|
||||
display: grid;
|
||||
@@ -987,6 +985,26 @@ html:not([lang='en']) .pp-slider-row > .pp-slider-mini-label {
|
||||
.draw-mark-row.hidden-mark .draw-mark-swatch {
|
||||
opacity: 0.45;
|
||||
}
|
||||
/* What an application's row action said (a measurement, a confirmation), under
|
||||
the row; empty, it takes no room. */
|
||||
.draw-mark-note {
|
||||
order: 2;
|
||||
flex-basis: 100%;
|
||||
padding: 0 0 2px 16px;
|
||||
font-family: var(--font-mono);
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.4px;
|
||||
color: var(--text-dim);
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.draw-mark-note:empty {
|
||||
display: none;
|
||||
}
|
||||
/* Busy, but focusable: disabling the pressed button would drop focus. */
|
||||
.draw-mark-action[aria-disabled='true'] {
|
||||
opacity: 0.5;
|
||||
cursor: progress;
|
||||
}
|
||||
.draw-mark-colors {
|
||||
/* Right after its swatch for keyboard and screen readers, shown last. */
|
||||
order: 1;
|
||||
@@ -1170,6 +1188,7 @@ body.ui-clean-view #data-panel,
|
||||
body.ui-clean-view #cctv-panel,
|
||||
body.ui-clean-view #radio-panel,
|
||||
body.ui-clean-view #global-context-panel,
|
||||
body.ui-clean-view #space-missions-panel,
|
||||
body.ui-clean-view #utilities-panel,
|
||||
body.ui-clean-view #scene-panel {
|
||||
opacity: 0 !important;
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -13,3 +13,27 @@ body.ui-embed #world-overlay-actions,
|
||||
body.ui-embed #view-switcher {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Street-level photos: the rail that holds the panel is hidden here, so an
|
||||
open photo shows over the globe (streetLevelControls moves the viewer). */
|
||||
body.ui-embed .sl-viewer-wrap-embed {
|
||||
position: fixed;
|
||||
inset: 12px;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
/* Cockpit, recording and scene playback own the screen, as they hide the
|
||||
panel elsewhere: the lifted photo steps out of their way. */
|
||||
body.ui-embed.cockpit-mode .sl-viewer-wrap-embed,
|
||||
body.ui-embed.recording-mode .sl-viewer-wrap-embed,
|
||||
body.ui-embed.scene-playback-mode .sl-viewer-wrap-embed {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body.ui-embed .sl-viewer-wrap-embed .sl-viewer-stage,
|
||||
body.ui-embed .sl-viewer-wrap-embed .sl-viewer {
|
||||
flex: 1 1 auto;
|
||||
height: auto;
|
||||
min-height: 0;
|
||||
aspect-ratio: auto;
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
/* A one-line empty state: dim mono text where a list would be. The kit's
|
||||
UiEmpty (.ui-empty) and the news readout's empty and status lines wear it;
|
||||
feature classes loaded later restyle it. */
|
||||
.ui-empty,
|
||||
.news-readout__empty,
|
||||
.news-readout__status {
|
||||
color: var(--text-dim);
|
||||
font: 10px var(--font-mono);
|
||||
}
|
||||
|
||||
/* The next step (a missing key's), under what it holds back. */
|
||||
.ui-empty__hint {
|
||||
display: block;
|
||||
margin-top: 2px;
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
+1559
-97
File diff suppressed because it is too large.
Load diff
Vendored
+108
@@ -332,6 +332,97 @@ body.cockpit-mode #cockpit-cloud-effects.active {
|
||||
color: rgba(232, 234, 237, 0.7);
|
||||
}
|
||||
|
||||
/* The application's own attribution line (src/ui/creditsView.js), for a
|
||||
renderer without a credit display of its own: the same place and look. */
|
||||
#gev-credits {
|
||||
position: fixed;
|
||||
bottom: 36px;
|
||||
left: 36px;
|
||||
z-index: 90;
|
||||
max-width: 90vw;
|
||||
white-space: nowrap;
|
||||
pointer-events: auto;
|
||||
font-family: var(--font-mono);
|
||||
font-size: 10px;
|
||||
color: rgba(232, 234, 237, 0.55);
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
|
||||
}
|
||||
#gev-credits a,
|
||||
#gev-credits .gev-credits-expand {
|
||||
color: rgba(232, 234, 237, 0.7);
|
||||
}
|
||||
#gev-credits .gev-credit-logo {
|
||||
height: 14px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
#gev-credits .gev-credits-expand {
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: none;
|
||||
font: inherit;
|
||||
text-decoration: underline;
|
||||
cursor: pointer;
|
||||
}
|
||||
.gev-credits-panel {
|
||||
position: fixed;
|
||||
bottom: 60px;
|
||||
left: 36px;
|
||||
z-index: 200;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 470px;
|
||||
max-width: calc(100vw - 2rem);
|
||||
max-height: min(70dvh, 36rem);
|
||||
overflow: hidden;
|
||||
border: 1px solid rgba(232, 234, 237, 0.2);
|
||||
border-radius: 6px;
|
||||
background: rgba(16, 18, 22, 0.94);
|
||||
color: rgba(232, 234, 237, 0.85);
|
||||
font-family: var(--font-mono);
|
||||
font-size: 12px;
|
||||
}
|
||||
.gev-credits-panel[hidden] {
|
||||
display: none;
|
||||
}
|
||||
.gev-credits-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 10px 14px 4px 20px;
|
||||
}
|
||||
.gev-credits-close {
|
||||
border: 0;
|
||||
background: none;
|
||||
color: inherit;
|
||||
font-size: 18px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.gev-credits-list {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
margin: 0;
|
||||
padding: 4px 20px 14px 40px;
|
||||
overflow-y: auto;
|
||||
overscroll-behavior: contain;
|
||||
line-height: 1.35;
|
||||
}
|
||||
.gev-credits-list > li {
|
||||
padding-bottom: 5px;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.gev-credits-list a {
|
||||
color: rgba(232, 234, 237, 0.85);
|
||||
}
|
||||
@media (max-width: 575px) {
|
||||
.gev-credits-panel {
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
max-height: 100dvh;
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Cesium's stock attribution lightbox grows with every registered data source.
|
||||
Keep the title and close affordance fixed while the complete, unabridged
|
||||
credit list wraps and scrolls inside a compact panel. */
|
||||
@@ -541,6 +632,23 @@ body.cockpit-mode #cockpit-cloud-effects.active {
|
||||
filter: drop-shadow(0 0 12px rgba(0, 246, 255, 0.5));
|
||||
}
|
||||
|
||||
/* The logo is a button: back to live at the start view. */
|
||||
#title-bar button.title-logo {
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: none;
|
||||
color: inherit;
|
||||
font: inherit;
|
||||
cursor: pointer;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
#title-bar button.title-logo:focus-visible {
|
||||
outline: 2px solid var(--accent);
|
||||
outline-offset: 4px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
#title-bar .title-logo::before,
|
||||
#title-bar .title-logo::after {
|
||||
--radio-broadcast-opacity: 0.28;
|
||||
|
||||
@@ -0,0 +1,410 @@
|
||||
/* ── "Show me how" guide ───────────────────────────────────────────────
|
||||
A spotlight dims everything but the control to press and frames it with
|
||||
tactical corner brackets; a second frame marks a part of it (a layer's
|
||||
switch). A glass callout beside it, with an arrow to the target, says
|
||||
what to do and how far along the walk is. Clicks pass through to the
|
||||
app: the guide only points. */
|
||||
.gev-guide {
|
||||
--gev-guide-accent: #ff9f43;
|
||||
--gev-guide-accent-soft: rgba(255, 159, 67, 0.5);
|
||||
position: fixed;
|
||||
z-index: 400;
|
||||
inset: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* ── Spotlight ── */
|
||||
.gev-guide-ring {
|
||||
position: fixed;
|
||||
border: 1px solid rgba(255, 159, 67, 0.28);
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 0 0 200vmax rgba(3, 8, 14, 0.55);
|
||||
opacity: 0;
|
||||
transition:
|
||||
left 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
|
||||
top 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
|
||||
width 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
|
||||
height 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
|
||||
opacity 160ms ease;
|
||||
}
|
||||
|
||||
/* Corner brackets, drawn as eight short gradient strokes. */
|
||||
.gev-guide-ring::before {
|
||||
position: absolute;
|
||||
inset: -3px;
|
||||
background:
|
||||
linear-gradient(var(--gev-guide-accent) 0 0) top left / 12px 2px,
|
||||
linear-gradient(var(--gev-guide-accent) 0 0) top left / 2px 12px,
|
||||
linear-gradient(var(--gev-guide-accent) 0 0) top right / 12px 2px,
|
||||
linear-gradient(var(--gev-guide-accent) 0 0) top right / 2px 12px,
|
||||
linear-gradient(var(--gev-guide-accent) 0 0) bottom left / 12px 2px,
|
||||
linear-gradient(var(--gev-guide-accent) 0 0) bottom left / 2px 12px,
|
||||
linear-gradient(var(--gev-guide-accent) 0 0) bottom right / 12px 2px,
|
||||
linear-gradient(var(--gev-guide-accent) 0 0) bottom right / 2px 12px;
|
||||
background-repeat: no-repeat;
|
||||
content: '';
|
||||
filter: drop-shadow(0 0 4px rgba(255, 159, 67, 0.6));
|
||||
}
|
||||
|
||||
/* A soft ping that grows out of the frame: "press here". */
|
||||
.gev-guide-ring > i {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
border: 1px solid var(--gev-guide-accent-soft);
|
||||
border-radius: inherit;
|
||||
animation: gev-guide-ping 1.8s cubic-bezier(0.2, 0.7, 0.3, 1) infinite;
|
||||
}
|
||||
|
||||
/* A second frame inside the spotlight does not dim the screen again. */
|
||||
.gev-guide-ring--sub {
|
||||
border-color: rgba(255, 159, 67, 0.4);
|
||||
border-radius: 6px;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.gev-guide-ring--sub::before {
|
||||
inset: -2px;
|
||||
background-size:
|
||||
8px 2px,
|
||||
2px 8px,
|
||||
8px 2px,
|
||||
2px 8px,
|
||||
8px 2px,
|
||||
2px 8px,
|
||||
8px 2px,
|
||||
2px 8px;
|
||||
}
|
||||
|
||||
/* ── Callout ── */
|
||||
.gev-guide-callout {
|
||||
position: fixed;
|
||||
width: 280px;
|
||||
padding: 0.7rem 0.8rem 0.65rem;
|
||||
color: rgba(232, 238, 242, 0.95);
|
||||
background: rgba(40, 44, 52, 0.9);
|
||||
border: 1px solid rgba(255, 255, 255, 0.12);
|
||||
border-radius: 12px;
|
||||
box-shadow:
|
||||
0 16px 40px rgba(0, 0, 0, 0.55),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.06);
|
||||
backdrop-filter: blur(22px) saturate(1.3);
|
||||
-webkit-backdrop-filter: blur(22px) saturate(1.3);
|
||||
opacity: 0;
|
||||
transform: translateY(4px);
|
||||
transition:
|
||||
left 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
|
||||
top 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
|
||||
opacity 180ms ease,
|
||||
transform 180ms ease;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.gev-guide.visible .gev-guide-callout {
|
||||
opacity: 1;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
/* A leader line from the callout to the target's frame, ending in a dot. */
|
||||
.gev-guide-callout::before,
|
||||
.gev-guide-callout::after {
|
||||
position: absolute;
|
||||
top: var(--gev-guide-arrow-y, 50%);
|
||||
content: '';
|
||||
transition: top 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
|
||||
}
|
||||
|
||||
.gev-guide-callout::before {
|
||||
width: 18px;
|
||||
height: 1px;
|
||||
background: var(--gev-guide-accent);
|
||||
box-shadow: 0 0 6px rgba(255, 159, 67, 0.7);
|
||||
}
|
||||
|
||||
.gev-guide-callout::after {
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
margin-top: -2px;
|
||||
background: var(--gev-guide-accent);
|
||||
border-radius: 50%;
|
||||
box-shadow: 0 0 6px rgba(255, 159, 67, 0.9);
|
||||
}
|
||||
|
||||
.gev-guide-callout[data-side='right']::before {
|
||||
right: 100%;
|
||||
}
|
||||
|
||||
.gev-guide-callout[data-side='right']::after {
|
||||
right: calc(100% + 15px);
|
||||
}
|
||||
|
||||
.gev-guide-callout[data-side='left']::before {
|
||||
left: 100%;
|
||||
}
|
||||
|
||||
.gev-guide-callout[data-side='left']::after {
|
||||
left: calc(100% + 15px);
|
||||
}
|
||||
|
||||
.gev-guide-callout[data-side='none']::before,
|
||||
.gev-guide-callout[data-side='none']::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* The edge the line leaves from picks up the accent. */
|
||||
.gev-guide-callout[data-side='right'] {
|
||||
border-left-color: rgba(255, 159, 67, 0.55);
|
||||
}
|
||||
|
||||
.gev-guide-callout[data-side='left'] {
|
||||
border-right-color: rgba(255, 159, 67, 0.55);
|
||||
}
|
||||
|
||||
/* Header: what this walk is about, how far along, and a close. */
|
||||
.gev-guide-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.gev-guide-title,
|
||||
.gev-guide-count {
|
||||
margin: 0;
|
||||
font-family: var(--font-mono);
|
||||
font-size: 0.56rem;
|
||||
letter-spacing: 0.12rem;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.gev-guide-title {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
color: var(--gev-guide-accent);
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.gev-guide-count {
|
||||
color: rgba(214, 220, 226, 0.55);
|
||||
font-variant-numeric: tabular-nums;
|
||||
letter-spacing: 0.06rem;
|
||||
}
|
||||
|
||||
/* Shares close-button.css: no padding, border or background, a pointer. */
|
||||
.gev-guide-close {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin: -2px -4px 0 0;
|
||||
color: rgba(214, 220, 226, 0.55);
|
||||
font-size: 0.95rem;
|
||||
line-height: 1;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.gev-guide-close:hover,
|
||||
.gev-guide-close:focus-visible {
|
||||
color: #fff;
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
|
||||
/* Progress: one segment per step. */
|
||||
.gev-guide-progress {
|
||||
display: flex;
|
||||
gap: 3px;
|
||||
margin: 0.45rem 0 0.6rem;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.gev-guide-progress li {
|
||||
flex: 1;
|
||||
height: 2px;
|
||||
background: rgba(214, 220, 226, 0.16);
|
||||
border-radius: 2px;
|
||||
transition: background 220ms ease;
|
||||
}
|
||||
|
||||
.gev-guide-progress li.done {
|
||||
background: rgba(255, 159, 67, 0.55);
|
||||
}
|
||||
|
||||
.gev-guide-progress li.current {
|
||||
background: var(--gev-guide-accent);
|
||||
box-shadow: 0 0 6px rgba(255, 159, 67, 0.6);
|
||||
}
|
||||
|
||||
.gev-guide-callout.swap .gev-guide-body {
|
||||
animation: gev-guide-swap 260ms ease both;
|
||||
}
|
||||
|
||||
.gev-guide-text {
|
||||
margin: 0;
|
||||
font-size: 0.84rem;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
/* "Press the highlighted control", with a live dot. */
|
||||
.gev-guide-hint {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.45rem;
|
||||
margin: 0.4rem 0 0;
|
||||
color: rgba(214, 220, 226, 0.6);
|
||||
font-size: 0.68rem;
|
||||
}
|
||||
|
||||
.gev-guide-hint[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.gev-guide-hint-dot {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
flex: none;
|
||||
background: var(--gev-guide-accent);
|
||||
border-radius: 50%;
|
||||
animation: gev-guide-blink 1.4s ease-in-out infinite;
|
||||
}
|
||||
|
||||
/* Footer: the Esc hint on the left, the buttons on the right. */
|
||||
.gev-guide-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 0.4rem;
|
||||
margin-top: 0.7rem;
|
||||
padding-top: 0.55rem;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.07);
|
||||
}
|
||||
|
||||
.gev-guide-actions > span {
|
||||
display: flex;
|
||||
gap: 0.4rem;
|
||||
}
|
||||
|
||||
.gev-guide-keys {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.35rem;
|
||||
margin: 0;
|
||||
color: rgba(214, 220, 226, 0.45);
|
||||
font-size: 0.62rem;
|
||||
}
|
||||
|
||||
.gev-guide-keys[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* With the Esc hint gone, the offer's buttons sit on the right. */
|
||||
.gev-guide-actions > span:only-of-type {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.gev-guide-keys kbd {
|
||||
padding: 0.05rem 0.3rem;
|
||||
font-family: var(--font-mono);
|
||||
font-size: 0.54rem;
|
||||
border: 1px solid rgba(214, 220, 226, 0.22);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.gev-guide-actions button {
|
||||
padding: 0.28rem 0.6rem;
|
||||
color: #1a1206;
|
||||
font-family: var(--font-mono);
|
||||
font-size: 0.58rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.1rem;
|
||||
text-transform: uppercase;
|
||||
white-space: nowrap;
|
||||
background: var(--gev-guide-accent);
|
||||
border: 1px solid var(--gev-guide-accent);
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
transition:
|
||||
background 140ms ease,
|
||||
color 140ms ease,
|
||||
border-color 140ms ease;
|
||||
}
|
||||
|
||||
.gev-guide-actions button[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.gev-guide-actions button:hover,
|
||||
.gev-guide-actions button:focus-visible {
|
||||
background: #ffb36b;
|
||||
border-color: #ffb36b;
|
||||
}
|
||||
|
||||
/* Secondary buttons: skip a step that waits, or decline the offer. */
|
||||
.gev-guide-actions button.quiet,
|
||||
.gev-guide-actions .gev-guide-skip {
|
||||
color: rgba(214, 220, 226, 0.75);
|
||||
font-weight: 400;
|
||||
background: none;
|
||||
border-color: rgba(214, 220, 226, 0.2);
|
||||
}
|
||||
|
||||
.gev-guide-actions button.quiet:hover,
|
||||
.gev-guide-actions button.quiet:focus-visible,
|
||||
.gev-guide-actions .gev-guide-skip:hover,
|
||||
.gev-guide-actions .gev-guide-skip:focus-visible {
|
||||
color: #fff;
|
||||
background: rgba(255, 255, 255, 0.06);
|
||||
border-color: rgba(255, 159, 67, 0.6);
|
||||
}
|
||||
|
||||
@keyframes gev-guide-ping {
|
||||
0% {
|
||||
opacity: 0.9;
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 0;
|
||||
transform: scale(1.12);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes gev-guide-blink {
|
||||
50% {
|
||||
opacity: 0.3;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes gev-guide-swap {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(3px);
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.gev-guide-ring,
|
||||
.gev-guide-callout,
|
||||
.gev-guide-callout::before {
|
||||
transition: none;
|
||||
}
|
||||
|
||||
.gev-guide-ring > i,
|
||||
.gev-guide-hint-dot,
|
||||
.gev-guide-callout.swap .gev-guide-body {
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* The guide's live status: read by screen readers, not shown. */
|
||||
.gev-guide-status {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
clip-path: inset(50%);
|
||||
white-space: nowrap;
|
||||
border: 0;
|
||||
}
|
||||
@@ -0,0 +1,202 @@
|
||||
/* ── 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;
|
||||
}
|
||||
|
||||
/* A UiSearchField (search-field.css). */
|
||||
.layer-finder__field {
|
||||
flex: 1 1 auto;
|
||||
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;
|
||||
color: rgba(236, 244, 248, 0.95);
|
||||
font-size: 0.75rem;
|
||||
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;
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
+57
-21
@@ -318,21 +318,54 @@ body.recording-mode .gev-panel-rail {
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
#right-context-rail #context-missions-view:not([hidden]),
|
||||
#right-context-rail #space-mission-panel-host,
|
||||
#right-context-rail .space-mission-roster {
|
||||
/* Keep the mission cycler directly beneath its Data Layers entry. */
|
||||
[data-layer-id='rocket-launches'] .data-toggle-controls:not([hidden]) {
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(0, 1fr) auto;
|
||||
gap: 6px;
|
||||
padding: 5px;
|
||||
border: 1px solid var(--glass-border);
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
[data-layer-id='rocket-launches'] .data-toggle-controls-info {
|
||||
grid-column: 2;
|
||||
grid-row: 1;
|
||||
padding-top: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
[data-layer-id='rocket-launches'] [data-chip-id='next-mission'] {
|
||||
grid-column: 3;
|
||||
grid-row: 1;
|
||||
}
|
||||
|
||||
:root[dir='rtl']
|
||||
[data-layer-id='rocket-launches']
|
||||
.chip-icon
|
||||
.material-symbols-outlined {
|
||||
transform: scaleX(-1);
|
||||
}
|
||||
|
||||
#space-missions-panel {
|
||||
width: min(100%, 330px);
|
||||
min-height: 0;
|
||||
max-height: var(--right-panel-allocated-height, 100%);
|
||||
pointer-events: auto;
|
||||
}
|
||||
#right-context-rail.layout-focus #context-missions-view:not([hidden]),
|
||||
#right-context-rail.layout-focus #space-mission-panel-host,
|
||||
#right-context-rail.layout-focus .space-mission-roster {
|
||||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
flex-direction: column;
|
||||
|
||||
#space-missions-panel[hidden] {
|
||||
display: none;
|
||||
}
|
||||
#right-context-rail.layout-focus .space-mission-roster-list {
|
||||
flex: 1 1 auto;
|
||||
max-height: none;
|
||||
|
||||
.space-missions-panel-inner {
|
||||
max-height: inherit;
|
||||
overflow-y: auto;
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
|
||||
#space-missions-panel.collapsed #space-mission-panel-host {
|
||||
display: none;
|
||||
}
|
||||
/* Synchronous intrinsic measurement, independent of focus and allocation.
|
||||
This attribute is not observed by the rail's layout scheduler. */
|
||||
@@ -379,8 +412,6 @@ body.recording-mode .gev-panel-rail {
|
||||
margin-top: 8px;
|
||||
pointer-events: auto;
|
||||
}
|
||||
#space-mission-panel-host:has(#space-mission-panel:not([hidden]))
|
||||
> .context-mode-standby,
|
||||
#space-mission-panel-host:has(#space-mission-panel:not([hidden]))
|
||||
> .space-mission-roster {
|
||||
display: none;
|
||||
@@ -1003,7 +1034,8 @@ body.recording-mode .gev-panel-rail {
|
||||
#global-context-panel .panel-glow {
|
||||
display: none;
|
||||
}
|
||||
.global-context-panel-inner {
|
||||
.global-context-panel-inner,
|
||||
.space-missions-panel-inner {
|
||||
position: relative;
|
||||
display: flex;
|
||||
min-height: 0;
|
||||
@@ -1019,11 +1051,15 @@ body.recording-mode .gev-panel-rail {
|
||||
-webkit-backdrop-filter: blur(24px) saturate(1.4);
|
||||
}
|
||||
|
||||
/* Data Layers and Context share the 14px side padding of the other default
|
||||
theme panels, so every title and toggle sits 19px from its edge. Cyber
|
||||
keeps its own gutters. */
|
||||
:root:not([data-ui-theme='cyber'])
|
||||
:is(.data-panel-inner, .global-context-panel-inner) {
|
||||
/* Data Layers, Context and Space Missions share the 14px side padding of the
|
||||
other default theme panels, so every title and toggle sits 19px from its
|
||||
edge. */
|
||||
:root
|
||||
:is(
|
||||
.data-panel-inner,
|
||||
.global-context-panel-inner,
|
||||
.space-missions-panel-inner
|
||||
) {
|
||||
padding-right: 14px;
|
||||
padding-left: 14px;
|
||||
}
|
||||
@@ -1328,7 +1364,7 @@ body.recording-mode #right-context-rail > [data-panel-id] {
|
||||
}
|
||||
|
||||
/* Draw marks its on state with an accent edge, like an active DISPLAY
|
||||
button; Cyber swaps in its red edge (cyber.css). */
|
||||
button. */
|
||||
#utilities-panel
|
||||
.utilities-tools
|
||||
.pp-toggle-btn:is([aria-pressed='true'], .active) {
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
@@ -0,0 +1,343 @@
|
||||
/* Data Library: the Browse button under DATA LAYERS and its dialog.
|
||||
The dialog is a dialog[data-panel-surface] (docs/panel-surfaces.md): the
|
||||
shared skin draws the surface; this file owns geometry and the list. */
|
||||
|
||||
.data-library-footer {
|
||||
padding: 8px 10px 4px;
|
||||
border-top: 1px solid var(--glass-border);
|
||||
}
|
||||
|
||||
.data-library-browse {
|
||||
width: 100%;
|
||||
min-height: 30px;
|
||||
padding: 6px 10px;
|
||||
border: 1px dashed var(--glass-border-hover);
|
||||
border-radius: var(--btn-radius);
|
||||
background: transparent;
|
||||
color: var(--text-secondary);
|
||||
font: 600 10px/1.4 var(--font-mono);
|
||||
letter-spacing: 1.2px;
|
||||
cursor: pointer;
|
||||
transition:
|
||||
color var(--transition-fast),
|
||||
border-color var(--transition-fast),
|
||||
background var(--transition-fast);
|
||||
}
|
||||
|
||||
.data-library-browse:hover,
|
||||
.data-library-browse:focus-visible {
|
||||
color: var(--text-primary);
|
||||
border-color: var(--accent);
|
||||
background: var(--accent-dim);
|
||||
}
|
||||
|
||||
.data-library-browse:focus-visible {
|
||||
outline: 2px solid var(--text-primary);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.data-library-dialog {
|
||||
/* Frosted rather than opaque: a lighter surface than the rail panels
|
||||
(0.72) keeps the globe's colour visible, and the blur stops the HUD text
|
||||
behind the dialog from competing with the dialog's own. */
|
||||
--glass-bg: rgba(12, 12, 20, 0.55);
|
||||
width: min(560px, calc(100vw - 32px));
|
||||
max-height: min(720px, calc(100dvh - 48px));
|
||||
margin: auto;
|
||||
color: var(--text-primary);
|
||||
-webkit-backdrop-filter: blur(22px) saturate(1.3);
|
||||
backdrop-filter: blur(22px) saturate(1.3);
|
||||
/* The blur follows the surface's shape. The dialog has no outward popups
|
||||
for a clip to hide. */
|
||||
clip-path: var(--panel-surface-frame);
|
||||
}
|
||||
|
||||
.data-library-dialog::backdrop {
|
||||
background: rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
|
||||
.data-library-close {
|
||||
min-width: 30px;
|
||||
font-size: 16px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
/* At a glance: four stat tiles above the intro. Text tokens only. */
|
||||
.data-library-stats {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 6px;
|
||||
margin: 0 0 12px;
|
||||
}
|
||||
|
||||
.data-library-stat {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
min-width: 0;
|
||||
padding: 8px 10px;
|
||||
border: 1px solid var(--glass-border);
|
||||
border-radius: 8px;
|
||||
background: rgba(8, 10, 16, 0.38);
|
||||
}
|
||||
|
||||
.data-library-stat-label {
|
||||
color: var(--text-secondary);
|
||||
font: 600 9px/1.3 var(--font-mono);
|
||||
letter-spacing: 0.1em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.data-library-stat-value {
|
||||
margin: 0;
|
||||
color: var(--text-primary);
|
||||
font: 600 20px/1.15 var(--font-sans);
|
||||
}
|
||||
|
||||
.data-library-stat-detail {
|
||||
margin: 0;
|
||||
color: rgba(232, 234, 237, 0.68);
|
||||
font-size: 10px;
|
||||
line-height: 1.35;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.data-library-intro {
|
||||
margin: 0 0 10px;
|
||||
color: rgba(232, 234, 237, 0.72);
|
||||
}
|
||||
|
||||
.data-library-filters {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
|
||||
gap: 8px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.data-library-field {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 3px;
|
||||
min-width: 0;
|
||||
color: var(--text-secondary);
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.data-library-field .panel-surface-control {
|
||||
text-transform: none;
|
||||
letter-spacing: normal;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.data-library-check {
|
||||
grid-column: 1 / -1;
|
||||
gap: 6px;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.data-library-toolbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
margin: 4px 0 8px;
|
||||
}
|
||||
|
||||
.data-library-status {
|
||||
margin: 0;
|
||||
color: var(--text-secondary);
|
||||
font: 10px/1.4 var(--font-mono);
|
||||
}
|
||||
|
||||
.data-library-reset {
|
||||
min-height: 26px;
|
||||
padding: 3px 10px;
|
||||
font: 600 10px/1.4 var(--font-mono);
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
.data-library-reset.is-armed {
|
||||
border-color: var(--panel-surface-error);
|
||||
color: var(--panel-surface-error);
|
||||
}
|
||||
|
||||
.data-library-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.data-library-item {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
column-gap: 10px;
|
||||
row-gap: 4px;
|
||||
padding: 10px;
|
||||
border: 1px solid var(--glass-border);
|
||||
border-radius: 10px;
|
||||
background: rgba(8, 10, 16, 0.38);
|
||||
}
|
||||
|
||||
.data-library-item.is-on {
|
||||
border-color: var(--accent-glow);
|
||||
}
|
||||
|
||||
.data-library-item.is-unavailable .data-library-name,
|
||||
.data-library-item.is-unavailable .data-library-description {
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.data-library-item > :not(.data-library-actions) {
|
||||
grid-column: 1;
|
||||
}
|
||||
|
||||
.data-library-actions {
|
||||
grid-column: 2;
|
||||
grid-row: 1 / span 3;
|
||||
align-self: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.data-library-action {
|
||||
min-width: 82px;
|
||||
font: 600 10px/1.4 var(--font-mono);
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
.data-library-item-head {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: baseline;
|
||||
gap: 6px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.data-library-icon {
|
||||
width: 14px;
|
||||
color: var(--accent);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.data-library-name {
|
||||
font-weight: 600;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.data-library-badges {
|
||||
display: inline-flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.data-library-badge {
|
||||
padding: 0 5px;
|
||||
border: 1px solid var(--glass-border-hover);
|
||||
border-radius: 4px;
|
||||
color: var(--text-secondary);
|
||||
font: 600 9px/1.6 var(--font-mono);
|
||||
letter-spacing: 0.08em;
|
||||
}
|
||||
|
||||
.data-library-badge--good {
|
||||
border-color: var(--accent-glow);
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.data-library-badge--warn {
|
||||
border-color: rgba(255, 194, 61, 0.45);
|
||||
color: #ffc23d;
|
||||
}
|
||||
|
||||
.data-library-description,
|
||||
.data-library-meta,
|
||||
.data-library-reason {
|
||||
margin: 0;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.data-library-meta {
|
||||
color: rgba(232, 234, 237, 0.68);
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.data-library-meta a {
|
||||
color: inherit;
|
||||
text-decoration: underline;
|
||||
text-underline-offset: 2px;
|
||||
}
|
||||
|
||||
.data-library-meta a:hover,
|
||||
.data-library-meta a:focus-visible {
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
/* Imagery specs: label over value, wrapping into as many columns as fit. */
|
||||
.data-library-specs {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 4px 16px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.data-library-spec {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.data-library-spec dt {
|
||||
color: rgba(232, 234, 237, 0.56);
|
||||
font: 9px/1.4 var(--font-mono);
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.data-library-spec dd {
|
||||
margin: 0;
|
||||
color: var(--text-primary);
|
||||
font-size: 11px;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.data-library-reason {
|
||||
color: #ffc23d;
|
||||
font: 10px/1.5 var(--font-mono);
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.data-library-stats {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.data-library-filters {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.data-library-item {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.data-library-actions {
|
||||
grid-column: 1;
|
||||
grid-row: auto;
|
||||
flex-direction: row;
|
||||
justify-self: start;
|
||||
}
|
||||
}
|
||||
|
||||
body:is(.ui-clean-view, .recording-mode) .data-library-dialog {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Library rows list their legend one item per line, as Fire Perimeters'
|
||||
longer labels do, with the zoom and remove icons on their own line. */
|
||||
.data-toggle-row[data-library-entry] .data-toggle-legend-item {
|
||||
flex-basis: 100%;
|
||||
}
|
||||
@@ -36,7 +36,8 @@ body.mobile-shell #mobile-tab-bar {
|
||||
left: 0;
|
||||
z-index: 170;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(5, 1fr);
|
||||
grid-auto-flow: column;
|
||||
grid-auto-columns: minmax(0, 1fr);
|
||||
height: var(--mobile-tab-space);
|
||||
padding: 0 max(4px, env(safe-area-inset-right, 0px))
|
||||
var(--mobile-bottom-inset) max(4px, env(safe-area-inset-left, 0px));
|
||||
@@ -62,6 +63,14 @@ body.mobile-shell .mobile-tab {
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
|
||||
/* Long locales clip to one line instead of widening their column. */
|
||||
body.mobile-shell .mobile-tab-label {
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
body.mobile-shell .mobile-tab-icon {
|
||||
font-size: 24px;
|
||||
line-height: 1;
|
||||
@@ -129,7 +138,10 @@ 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 {
|
||||
body.mobile-shell[data-mobile-sheet='missions'] #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;
|
||||
@@ -156,9 +168,10 @@ body.mobile-shell[data-mobile-sheet='more'] #right-context-rail {
|
||||
|
||||
body.mobile-shell #left-panel-stack > *,
|
||||
body.mobile-shell #right-context-rail > *,
|
||||
/* Rail rules show expanded Weather and Recent Imagery by id; on phones they
|
||||
belong to the Context sheet only. */
|
||||
/* Rail rules show expanded Weather, News and Recent Imagery by id; on phones
|
||||
they belong to the Context sheet only. */
|
||||
body.mobile-shell #right-context-rail > #weather-panel,
|
||||
body.mobile-shell #right-context-rail > #news-panel,
|
||||
body.mobile-shell #right-context-rail > #recent-imagery-panel {
|
||||
display: none;
|
||||
}
|
||||
@@ -182,10 +195,16 @@ body.mobile-shell[data-mobile-sheet='context']
|
||||
body.mobile-shell[data-mobile-sheet='context']
|
||||
#right-context-rail
|
||||
> #weather-panel:not([hidden]),
|
||||
body.mobile-shell[data-mobile-sheet='context']
|
||||
#right-context-rail
|
||||
> #news-panel:not([hidden]),
|
||||
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='missions']
|
||||
#right-context-rail
|
||||
> #space-missions-panel:not([hidden]),
|
||||
body.mobile-shell[data-mobile-sheet='more'] #left-panel-stack > #pp-toggles {
|
||||
position: relative;
|
||||
inset: auto;
|
||||
display: block;
|
||||
@@ -195,12 +214,18 @@ body.mobile-shell[data-mobile-sheet='more'] #right-context-rail > #pp-toggles {
|
||||
transform: none;
|
||||
}
|
||||
|
||||
/* The sheet scrolls: News keeps its height instead of shrinking under the
|
||||
panel below it, as the rail makes it do on a desktop. */
|
||||
body.mobile-shell #right-context-rail > #news-panel:not(.collapsed) {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* ── Dock: voice floats above the tab bar; search and presets are sheets ─ */
|
||||
body.mobile-shell #command-dock {
|
||||
/* The dock's tray rules size voice by this basis; a column makes it a height. */
|
||||
--dock-voice-width: auto;
|
||||
top: auto;
|
||||
bottom: calc(var(--mobile-tab-space) + 10px);
|
||||
bottom: calc(var(--mobile-tab-space) + 10px + var(--world-timeline-lift, 0px));
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
@@ -380,7 +405,7 @@ body.mobile-shell #command-dock #gev-voice-control {
|
||||
body.mobile-shell:not(.recording-mode):not(.cockpit-mode):not(.ui-clean-view)
|
||||
#cesium-credits {
|
||||
right: auto;
|
||||
bottom: calc(var(--mobile-tab-space) + 106px) !important;
|
||||
bottom: calc(var(--mobile-tab-space) + 106px + var(--world-timeline-lift, 0px)) !important;
|
||||
left: 10px;
|
||||
/* With the base rule's nowrap the credits run off the right edge, and a
|
||||
max-width alone wrapped them into a narrow column: the line needs wrapping
|
||||
@@ -395,6 +420,18 @@ body.mobile-shell:not(.recording-mode):not(.cockpit-mode):not(.ui-clean-view)
|
||||
scale: 0.8;
|
||||
}
|
||||
|
||||
body.mobile-shell:not(.recording-mode):not(.cockpit-mode):not(.ui-clean-view)
|
||||
#gev-credits {
|
||||
right: auto;
|
||||
bottom: calc(var(--mobile-tab-space) + 106px + var(--world-timeline-lift, 0px)) !important;
|
||||
left: 10px;
|
||||
width: calc((100vw - 20px) / 0.8) !important;
|
||||
max-width: none !important;
|
||||
white-space: normal;
|
||||
transform-origin: left bottom;
|
||||
scale: 0.8;
|
||||
}
|
||||
|
||||
/* An open sheet lifts the required attribution above everything it covers. */
|
||||
body.mobile-shell[data-mobile-sheet]:not(.recording-mode):not(
|
||||
.cockpit-mode
|
||||
@@ -404,10 +441,18 @@ body.mobile-shell[data-mobile-sheet]:not(.recording-mode):not(
|
||||
z-index: 166;
|
||||
}
|
||||
|
||||
body.mobile-shell[data-mobile-sheet]:not(.recording-mode):not(
|
||||
.cockpit-mode
|
||||
):not(.ui-clean-view)
|
||||
#gev-credits {
|
||||
bottom: calc(var(--mobile-sheet-cover, 0px) + 6px) !important;
|
||||
z-index: 166;
|
||||
}
|
||||
|
||||
/* The view switcher clears the tab bar and the voice bar, opposite the credit. */
|
||||
body.mobile-shell:not(.cockpit-mode) #view-switcher {
|
||||
right: 12px;
|
||||
bottom: calc(var(--mobile-tab-space) + 106px);
|
||||
bottom: calc(var(--mobile-tab-space) + 106px + var(--world-timeline-lift, 0px));
|
||||
}
|
||||
|
||||
body.mobile-shell #corner-actions {
|
||||
|
||||
@@ -0,0 +1,405 @@
|
||||
/* News rail panel (#news-panel): the last 24 hours as a doom-scroll of event
|
||||
cards drawn with GEV's own tokens. Colour is
|
||||
severity only (the layer sets --news-color per card); never a side. The
|
||||
rail owns placement and height; only the body scrolls. */
|
||||
.news-panel-inner {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
min-height: 0;
|
||||
max-height: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 14px;
|
||||
border: 1px solid var(--glass-border);
|
||||
border-radius: var(--panel-radius);
|
||||
background: var(--glass-bg);
|
||||
backdrop-filter: blur(24px) saturate(1.4);
|
||||
-webkit-backdrop-filter: blur(24px) saturate(1.4);
|
||||
box-shadow:
|
||||
0 8px 32px rgba(0, 0, 0, 0.5),
|
||||
0 0 0 1px rgba(255, 255, 255, 0.03) inset,
|
||||
0 1px 0 rgba(255, 255, 255, 0.06) inset;
|
||||
}
|
||||
#news-panel .panel-glow {
|
||||
position: absolute;
|
||||
inset: -18px;
|
||||
background: radial-gradient(
|
||||
ellipse at center,
|
||||
rgba(0, 212, 255, 0.16) 0%,
|
||||
transparent 65%
|
||||
);
|
||||
filter: blur(16px);
|
||||
opacity: 0.25;
|
||||
pointer-events: none;
|
||||
}
|
||||
#news-panel .panel-header {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
#news-panel-count {
|
||||
color: var(--text-secondary);
|
||||
font: 9px var(--font-mono);
|
||||
}
|
||||
#news-panel-body {
|
||||
min-height: 0;
|
||||
max-height: calc(var(--right-stack-max-height, 50svh) - 64px);
|
||||
overflow-y: auto;
|
||||
overscroll-behavior: contain;
|
||||
}
|
||||
#news-panel.collapsed #news-panel-body,
|
||||
#news-panel[hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
#right-context-rail > #news-panel {
|
||||
position: relative;
|
||||
inset: auto;
|
||||
flex: 0 0 auto;
|
||||
width: 100%;
|
||||
max-height: 100%;
|
||||
pointer-events: auto;
|
||||
}
|
||||
#right-context-rail > #news-panel:not(.collapsed) {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-shrink: 1;
|
||||
min-height: 0;
|
||||
}
|
||||
#right-context-rail.layout-focus > #news-panel:not(.collapsed) {
|
||||
flex: 0 1 var(--right-panel-allocated-height);
|
||||
height: var(--right-panel-allocated-height);
|
||||
min-height: 0;
|
||||
max-height: var(--right-panel-allocated-height);
|
||||
}
|
||||
#right-context-rail.layout-focus
|
||||
> #news-panel:not(.collapsed)
|
||||
.news-panel-inner {
|
||||
height: 100%;
|
||||
}
|
||||
#right-context-rail[data-rail-measuring]
|
||||
> #news-panel:not(.collapsed)
|
||||
> .news-panel-inner {
|
||||
height: auto !important;
|
||||
}
|
||||
#right-context-rail #news-panel.collapsed {
|
||||
width: var(--right-display-collapsed-width);
|
||||
margin-inline-start: auto;
|
||||
}
|
||||
#right-context-rail #news-panel.collapsed .news-panel-inner {
|
||||
height: 50px;
|
||||
min-height: 50px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
@media (max-width: 720px) {
|
||||
#right-context-rail #news-panel.collapsed {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.news-readout {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
min-width: 0;
|
||||
color: var(--text-primary);
|
||||
font: 11px/1.4 var(--font-sans);
|
||||
}
|
||||
.news-readout__window,
|
||||
.news-readout__head {
|
||||
margin: 0;
|
||||
color: var(--text-secondary);
|
||||
font: 600 9px var(--font-mono);
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
/* What Local reads, in the primary colour so it reads before the list. */
|
||||
.news-readout__area {
|
||||
color: var(--text-primary);
|
||||
}
|
||||
.news-readout__sections,
|
||||
.news-readout__chips {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 4px;
|
||||
}
|
||||
/* One select per row: at the rail's width two side by side cut off
|
||||
"Significant and above" (and longer translations). */
|
||||
.news-readout__filters {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
gap: 6px;
|
||||
}
|
||||
.news-filter {
|
||||
min-width: 0;
|
||||
}
|
||||
/* The window choice sits where the window label does, as narrow as its text. */
|
||||
.news-readout__window-choice {
|
||||
align-self: flex-start;
|
||||
font-family: var(--font-mono);
|
||||
}
|
||||
.news-toggle {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
color: var(--text-secondary);
|
||||
font-size: 10px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.news-toggle input {
|
||||
accent-color: var(--accent);
|
||||
}
|
||||
.news-readout__section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
}
|
||||
.news-readout__list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
.news-readout__list.is-stale {
|
||||
opacity: 0.5;
|
||||
}
|
||||
.news-readout__footer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.news-card {
|
||||
border: 1px solid var(--glass-border);
|
||||
border-radius: 6px;
|
||||
background: rgba(255, 255, 255, 0.02);
|
||||
}
|
||||
.news-card:hover,
|
||||
.news-card.is-open {
|
||||
border-color: var(--glass-border-hover);
|
||||
background: rgba(0, 212, 255, 0.06);
|
||||
}
|
||||
.news-card.is-open {
|
||||
border-color: rgba(0, 212, 255, 0.45);
|
||||
}
|
||||
.news-card.is-unmapped .news-card__title {
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
.news-card__main {
|
||||
display: grid;
|
||||
grid-template-columns: 96px 1fr;
|
||||
column-gap: 8px;
|
||||
row-gap: 3px;
|
||||
width: 100%;
|
||||
padding: 6px;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
font: inherit;
|
||||
text-align: start;
|
||||
cursor: pointer;
|
||||
}
|
||||
.news-card__main > :not(.news-card__thumb) {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
.news-card__thumb ~ * {
|
||||
grid-column: 2 !important;
|
||||
}
|
||||
.news-card__thumb {
|
||||
position: relative;
|
||||
grid-row: 1 / span 5;
|
||||
width: 96px;
|
||||
height: 64px;
|
||||
overflow: hidden;
|
||||
border-radius: 4px;
|
||||
background: var(--bg-dark);
|
||||
}
|
||||
.news-card__thumb img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
/* A clip waits behind its picture; the open card plays it. */
|
||||
.news-card__play {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
color: var(--text-primary);
|
||||
font-size: 14px;
|
||||
text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
|
||||
pointer-events: none;
|
||||
}
|
||||
.news-card__clip {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-height: 220px;
|
||||
margin-bottom: 6px;
|
||||
border-radius: 4px;
|
||||
background: #000;
|
||||
}
|
||||
.news-card__credit {
|
||||
position: absolute;
|
||||
inset-inline-end: 0;
|
||||
bottom: 0;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
padding: 0 4px;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
color: var(--text-primary);
|
||||
font-size: 8px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.news-card__title {
|
||||
display: -webkit-box;
|
||||
overflow: hidden;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 3;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
line-height: 1.3;
|
||||
}
|
||||
.news-card__note,
|
||||
.news-card__sides {
|
||||
color: var(--text-secondary);
|
||||
font-size: 10px;
|
||||
}
|
||||
.news-card__meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
min-width: 0;
|
||||
color: var(--text-secondary);
|
||||
font: 10px var(--font-mono);
|
||||
}
|
||||
/* The globe's marker in small: a dark disc, rim and icon in the severity
|
||||
colour (sprites.js). */
|
||||
.news-card__marker {
|
||||
flex: none;
|
||||
display: inline-grid;
|
||||
place-items: center;
|
||||
box-sizing: border-box;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
border: 1.5px solid var(--news-color);
|
||||
border-radius: 50%;
|
||||
background: var(--bg-dark);
|
||||
}
|
||||
.news-card__marker svg {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
fill: none;
|
||||
stroke: var(--news-color);
|
||||
stroke-width: 1.8;
|
||||
stroke-linecap: round;
|
||||
stroke-linejoin: round;
|
||||
}
|
||||
.news-card__marker.solid svg {
|
||||
fill: var(--news-color);
|
||||
stroke: none;
|
||||
}
|
||||
/* The service a report came through: credited, and kept quiet. */
|
||||
.news-card__via {
|
||||
color: var(--text-dim);
|
||||
font: 9px var(--font-mono);
|
||||
}
|
||||
.news-card__severity {
|
||||
flex: none;
|
||||
color: var(--news-color);
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.news-card__chips {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 4px;
|
||||
}
|
||||
/* A report's chips wear the shared chip (chip.css), neutral unless attested;
|
||||
a claim is dashed. */
|
||||
.news-chip--claimed {
|
||||
border-style: dashed;
|
||||
}
|
||||
.news-card__open {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
padding: 0 8px 8px;
|
||||
}
|
||||
.news-card__original,
|
||||
.news-card__snippet {
|
||||
margin: 0;
|
||||
color: var(--text-primary);
|
||||
font-size: 11px;
|
||||
}
|
||||
.news-card__original {
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
.news-card__others {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 3px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
font-size: 10px;
|
||||
}
|
||||
.news-card__others a,
|
||||
.news-card__link {
|
||||
color: var(--accent);
|
||||
text-decoration: none;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.news-card__others a:hover,
|
||||
.news-card__link:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.news-card__side {
|
||||
margin-inline-end: 6px;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
.news-card__actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
font: 10px var(--font-mono);
|
||||
}
|
||||
.news-legend {
|
||||
color: var(--text-secondary);
|
||||
font-size: 10px;
|
||||
}
|
||||
.news-legend summary {
|
||||
cursor: pointer;
|
||||
}
|
||||
.news-legend p {
|
||||
margin: 4px 0;
|
||||
}
|
||||
.news-legend__severity {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 4px 10px;
|
||||
margin: 4px 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
.news-legend__severity li::before {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
margin-inline-end: 4px;
|
||||
border-radius: 50%;
|
||||
background: var(--news-color);
|
||||
}
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
.news-card,
|
||||
.news-readout__list {
|
||||
transition:
|
||||
background var(--transition-fast),
|
||||
border-color var(--transition-fast),
|
||||
opacity var(--transition-fast);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,413 @@
|
||||
/* Shared desktop command surface. Mobile and exclusive owners keep their layout. */
|
||||
body:not(.mobile-shell):not(.cockpit-mode):not(.scene-playback-mode):not(
|
||||
.ui-clean-view
|
||||
):not(.recording-mode):where(
|
||||
:has(#gev-omnibar):has(#command-dock > #gev-voice-control)
|
||||
) {
|
||||
--omnibar-dock-width: clamp(400px, 32vw, 460px);
|
||||
/* Clear of the attribution line under it, however many lines it wraps
|
||||
onto (--credit-line-height, src/ui/creditLineHeight.js). */
|
||||
--omnibar-credits-clear: calc(1rem + var(--credit-line-height, 28px) + 6px);
|
||||
/* The dock, and the World Timeline and narrow corners placed from it,
|
||||
rise over a line wrapped taller than its usual one or two lines. */
|
||||
--omnibar-dock-bottom: max(74px, calc(var(--omnibar-credits-clear) + 2px));
|
||||
--omnibar-coordinates-bottom: max(4.25rem, var(--omnibar-credits-clear));
|
||||
--world-timeline-lift: 0px;
|
||||
|
||||
#intel-hud:is([data-variant='tactical'], [data-variant='minimal'])
|
||||
:is(.hud-top-left, .hud-top-right) {
|
||||
top: clamp(92px, 10vh, 112px);
|
||||
}
|
||||
|
||||
#intel-hud:is([data-variant='tactical'], [data-variant='minimal'])
|
||||
.hud-top-left
|
||||
.hud-readout:has(> #hud-mode) {
|
||||
display: none;
|
||||
}
|
||||
#top-center-actions {
|
||||
top: clamp(86px, 9.55vh, 108px);
|
||||
}
|
||||
#left-panel-stack.layout-focus {
|
||||
bottom: var(--left-stack-safe-bottom, 4vh);
|
||||
}
|
||||
|
||||
#world-timeline {
|
||||
bottom: calc(var(--omnibar-dock-bottom) + 66px);
|
||||
width: var(--omnibar-dock-width);
|
||||
}
|
||||
|
||||
&:has(#gev-chat-panel:not([hidden]), #gev-voice-panel:not([hidden]))
|
||||
#world-timeline,
|
||||
&:has(#gev-omnibar.has-results):not(
|
||||
:has(#gev-voice-control[data-assistant-mode='voice'])
|
||||
)
|
||||
#world-timeline {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
#command-dock {
|
||||
--dock-voice-width: var(--omnibar-dock-width);
|
||||
top: auto;
|
||||
bottom: var(--omnibar-dock-bottom);
|
||||
z-index: 149;
|
||||
width: var(--omnibar-dock-width);
|
||||
max-width: none;
|
||||
height: 56px;
|
||||
min-height: 0;
|
||||
overflow: visible;
|
||||
align-items: center;
|
||||
padding: 0;
|
||||
}
|
||||
#command-dock > #gev-voice-control {
|
||||
box-sizing: border-box;
|
||||
flex: none;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
max-width: none;
|
||||
height: 56px;
|
||||
margin: 0;
|
||||
padding: 0 8px;
|
||||
gap: 0;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
border: 1px solid rgba(120, 220, 255, 0.16);
|
||||
border-radius: 18px;
|
||||
background: linear-gradient(
|
||||
180deg,
|
||||
rgba(16, 28, 36, 0.9),
|
||||
rgba(6, 14, 20, 0.94)
|
||||
);
|
||||
box-shadow:
|
||||
inset 0 1px 0 rgba(200, 245, 255, 0.07),
|
||||
0 12px 32px rgba(0, 0, 0, 0.45);
|
||||
backdrop-filter: none;
|
||||
}
|
||||
&:has(#gev-omnibar:focus-within) #command-dock > #gev-voice-control {
|
||||
border-color: rgba(54, 220, 255, 0.5);
|
||||
box-shadow:
|
||||
0 12px 32px rgba(0, 0, 0, 0.45),
|
||||
0 0 0 3px rgba(54, 220, 255, 0.1);
|
||||
}
|
||||
#command-dock > #gev-voice-control::before,
|
||||
#command-dock > #gev-voice-control::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 16px;
|
||||
bottom: 16px;
|
||||
width: 1px;
|
||||
height: auto;
|
||||
transform: none;
|
||||
background: rgba(120, 220, 255, 0.12);
|
||||
pointer-events: none;
|
||||
}
|
||||
#command-dock > #gev-voice-control::before {
|
||||
inset-inline-start: 54px;
|
||||
inset-inline-end: auto;
|
||||
}
|
||||
#command-dock > #gev-voice-control::after {
|
||||
inset-inline-start: auto;
|
||||
inset-inline-end: 54px;
|
||||
}
|
||||
#gev-voice-control > :is(#gev-voice-button, #gev-chat-button):focus-visible {
|
||||
outline: 2px solid #7bd3ef;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
#gev-voice-control > :is(#gev-voice-button, #gev-chat-button) {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
flex: none;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
min-width: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 1px solid rgba(120, 220, 255, 0.18);
|
||||
border-radius: 50%;
|
||||
background: rgba(5, 17, 24, 0.48);
|
||||
box-shadow:
|
||||
inset 0 2px 4px rgba(0, 0, 0, 0.58),
|
||||
inset 0 -1px 0 rgba(169, 226, 245, 0.12),
|
||||
0 1px 0 rgba(169, 226, 245, 0.1);
|
||||
transform: none;
|
||||
}
|
||||
#gev-voice-control
|
||||
> :is(#gev-voice-button, #gev-chat-button):is(
|
||||
:hover,
|
||||
[aria-pressed='true'],
|
||||
[aria-expanded='true']
|
||||
) {
|
||||
background: rgba(54, 220, 255, 0.14);
|
||||
border-color: rgba(54, 220, 255, 0.6);
|
||||
}
|
||||
#command-dock #gev-voice-control .gev-mic-orbit,
|
||||
#command-dock #gev-chat-button > svg {
|
||||
box-sizing: border-box;
|
||||
width: 19px;
|
||||
height: 19px;
|
||||
padding: 0;
|
||||
background: none;
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
#gev-voice-button .gev-mic-orbit img {
|
||||
width: 19px;
|
||||
height: 19px;
|
||||
filter: saturate(0.35) brightness(1.25);
|
||||
}
|
||||
#gev-voice-button .gev-mic-orbit::before,
|
||||
#gev-voice-button .gev-mic-orbit::after {
|
||||
display: none;
|
||||
}
|
||||
#gev-voice-control :is(.gev-mic-label, .gev-chat-label) {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
overflow: hidden;
|
||||
clip-path: inset(50%);
|
||||
white-space: nowrap;
|
||||
}
|
||||
/* Status remains readable while live; idle meter is decorative. */
|
||||
#command-dock
|
||||
#gev-voice-control:not([data-assistant-mode='voice'])
|
||||
> .gev-voice-visualizer,
|
||||
#command-dock
|
||||
#gev-voice-control:not([data-chat-busy='true'])
|
||||
> .gev-chat-thinking {
|
||||
display: none;
|
||||
}
|
||||
#command-dock #gev-voice-control[data-chat-busy='true'] > .gev-chat-thinking {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
left: 50%;
|
||||
height: 0;
|
||||
transform: translateX(-50%);
|
||||
pointer-events: none;
|
||||
z-index: 151;
|
||||
}
|
||||
#gev-voice-control > .gev-voice-readout {
|
||||
position: absolute;
|
||||
inset-inline: 0;
|
||||
top: auto;
|
||||
bottom: calc(100% + 8px);
|
||||
pointer-events: none;
|
||||
}
|
||||
#gev-voice-control[data-assistant-mode='idle'] > .gev-voice-readout {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
#gev-omnibar {
|
||||
top: auto;
|
||||
bottom: calc(var(--omnibar-dock-bottom) + 11px);
|
||||
left: 50%;
|
||||
width: calc(var(--omnibar-dock-width) - 120px);
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
#gev-omnibar .omnibar-field {
|
||||
height: 34px;
|
||||
padding-inline: 9px 6px;
|
||||
border: 1px solid rgba(151, 213, 231, 0.27);
|
||||
border-radius: 9px;
|
||||
background: rgba(172, 219, 239, 0.07);
|
||||
box-shadow: none;
|
||||
backdrop-filter: none;
|
||||
}
|
||||
#gev-omnibar-input {
|
||||
font-size: 0.86rem;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
#gev-omnibar-input::placeholder {
|
||||
color: #b6cbd4;
|
||||
}
|
||||
#gev-omnibar .omnibar-field:focus-within {
|
||||
border-color: rgba(95, 230, 255, 0.66);
|
||||
background: rgba(109, 206, 232, 0.1);
|
||||
}
|
||||
#gev-omnibar .omnibar-search-icon {
|
||||
color: #a9cfda;
|
||||
}
|
||||
#gev-omnibar :is(.omnibar-mic, .omnibar-edge) {
|
||||
display: none;
|
||||
}
|
||||
#gev-omnibar .omnibar-results {
|
||||
position: absolute;
|
||||
inset-inline: -60px;
|
||||
top: auto;
|
||||
bottom: calc(100% + 11px);
|
||||
max-height: min(
|
||||
360px,
|
||||
max(0px, calc(100dvh - var(--omnibar-dock-bottom) - 144px))
|
||||
);
|
||||
overflow: auto;
|
||||
border-radius: 18px 18px 0 0;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
background: rgba(50, 54, 62, 0.86);
|
||||
backdrop-filter: blur(26px) saturate(1.2);
|
||||
-webkit-backdrop-filter: blur(26px) saturate(1.2);
|
||||
box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
|
||||
}
|
||||
&:has(#gev-omnibar.has-results):not(
|
||||
:has(#gev-voice-control[data-assistant-mode='voice'])
|
||||
)
|
||||
#command-dock
|
||||
> #gev-voice-control {
|
||||
border-start-start-radius: 0;
|
||||
border-start-end-radius: 0;
|
||||
}
|
||||
#command-dock
|
||||
#gev-voice-control[data-assistant-mode='voice']
|
||||
> .gev-voice-visualizer {
|
||||
position: absolute;
|
||||
display: block;
|
||||
inset: auto 64px 10px;
|
||||
width: auto;
|
||||
height: 28px;
|
||||
opacity: 1;
|
||||
transform: none;
|
||||
pointer-events: none;
|
||||
}
|
||||
#gev-voice-control > .gev-voice-visualizer > span {
|
||||
display: none;
|
||||
}
|
||||
#gev-voice-control > .gev-voice-visualizer > .gev-voice-wave {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: visible;
|
||||
mask-image: linear-gradient(
|
||||
90deg,
|
||||
transparent,
|
||||
#000 16%,
|
||||
#000 84%,
|
||||
transparent
|
||||
);
|
||||
}
|
||||
.gev-voice-wave path {
|
||||
fill: none;
|
||||
stroke-linecap: round;
|
||||
stroke-linejoin: round;
|
||||
}
|
||||
.gev-voice-wave__main {
|
||||
stroke: #5fe6ff;
|
||||
stroke-width: 2;
|
||||
filter: drop-shadow(0 0 4px rgba(54, 220, 255, 0.55));
|
||||
}
|
||||
.gev-voice-wave__echo {
|
||||
stroke: #36dcff;
|
||||
stroke-width: 1.2;
|
||||
opacity: 0.35;
|
||||
}
|
||||
.gev-voice-wave__soft {
|
||||
stroke: #9ff1ff;
|
||||
stroke-width: 1;
|
||||
opacity: 0.6;
|
||||
}
|
||||
&:has(#gev-voice-control[data-assistant-mode='voice']) #gev-omnibar {
|
||||
.omnibar-field {
|
||||
background: transparent;
|
||||
}
|
||||
:is(input, .omnibar-kbd, .omnibar-search-icon) {
|
||||
visibility: hidden;
|
||||
}
|
||||
/* Suggestions give way to the waveform; an error stays in view. */
|
||||
.omnibar-results:not(.has-feedback),
|
||||
.omnibar-results .omnibar-list {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
#command-dock #gev-voice-control[data-assistant-mode='voice'] {
|
||||
animation: omnibar-listening 2.4s ease-in-out infinite;
|
||||
}
|
||||
}
|
||||
|
||||
/* Desktop uses Omnibar for search and the Visual rail for presets. */
|
||||
#command-dock > :is(#location-bar, #control-panel) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Align the plain credits with Power Up. The line wraps at every width
|
||||
rather than running under the corner row (Power Up and the language
|
||||
picker), whose side it stays clear of. */
|
||||
:is(#cesium-credits, #gev-credits),
|
||||
&:has(#intel-hud[data-variant='minimal'].active)
|
||||
:is(#cesium-credits, #gev-credits) {
|
||||
bottom: 1rem;
|
||||
}
|
||||
#gev-credits {
|
||||
width: max-content !important;
|
||||
max-width: calc(100vw - 1.5rem - 26rem);
|
||||
white-space: normal;
|
||||
}
|
||||
/* Right to left the corner row is at the bottom left, so the line takes
|
||||
the bottom right at every width. Expanded Context places it itself. */
|
||||
&:where(html[dir='rtl'] *):not(.context-docked) {
|
||||
:is(#cesium-credits, #gev-credits),
|
||||
&:has(#intel-hud[data-variant='minimal'].active)
|
||||
:is(#cesium-credits, #gev-credits) {
|
||||
right: 1.5rem;
|
||||
left: auto;
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
/* 8px above the bottom-right corner row (Power Up and the language picker:
|
||||
32px tall, 14px up), as outside the Omnibar layout. */
|
||||
#intel-hud[data-variant='tactical'] .hud-bottom-right {
|
||||
bottom: 3.375rem;
|
||||
}
|
||||
/* Right to left the attribution line is under the readout, which clears
|
||||
it however many lines it wraps onto. */
|
||||
&:where(html[dir='rtl'] *):not(.context-docked)
|
||||
#intel-hud[data-variant='tactical']
|
||||
.hud-bottom-right {
|
||||
bottom: max(3.375rem, var(--omnibar-credits-clear));
|
||||
}
|
||||
/* Narrower than the two corners and the dock between them, the corners
|
||||
rise above the dock. */
|
||||
@media (max-width: 1119px) {
|
||||
--omnibar-coordinates-bottom: max(
|
||||
calc(var(--omnibar-dock-bottom) + 56px + 10px),
|
||||
var(--omnibar-credits-clear)
|
||||
);
|
||||
/* And above the World Timeline (42px tall) over the dock. */
|
||||
&:has(#world-timeline) {
|
||||
--omnibar-coordinates-bottom: max(
|
||||
calc(var(--omnibar-dock-bottom) + 66px + 42px + 10px),
|
||||
var(--omnibar-credits-clear)
|
||||
);
|
||||
}
|
||||
#intel-hud[data-variant='tactical'] .hud-bottom-right,
|
||||
&:where(html[dir='rtl'] *):not(.context-docked)
|
||||
#intel-hud[data-variant='tactical']
|
||||
.hud-bottom-right {
|
||||
bottom: var(--omnibar-coordinates-bottom);
|
||||
}
|
||||
}
|
||||
#intel-hud:is([data-variant='tactical'], [data-variant='minimal'])
|
||||
.hud-bottom-left {
|
||||
bottom: var(--omnibar-coordinates-bottom);
|
||||
}
|
||||
&:not(.context-docked):has(#intel-hud[data-variant='minimal'].active)
|
||||
#right-context-rail {
|
||||
--omnibar-minimal-rail-height: min(
|
||||
var(--right-stack-max-height, 70vh),
|
||||
calc(
|
||||
100dvh - var(--right-stack-safe-top, 26vh) -
|
||||
var(--omnibar-coordinates-bottom) - 3.1rem - 1.2vh
|
||||
)
|
||||
);
|
||||
max-height: var(--omnibar-minimal-rail-height);
|
||||
> [data-panel-id]:not(.collapsed) {
|
||||
max-height: var(--omnibar-minimal-rail-height);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes omnibar-listening {
|
||||
0%,
|
||||
100% {
|
||||
border-color: rgba(54, 220, 255, 0.35);
|
||||
}
|
||||
50% {
|
||||
border-color: rgba(54, 220, 255, 0.75);
|
||||
}
|
||||
}
|
||||
+10
-16
@@ -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);
|
||||
}
|
||||
|
||||
@@ -327,7 +329,7 @@
|
||||
:root[data-scope-mask='off']
|
||||
#intel-hud:is([data-variant='minimal'], [data-variant='tactical'])
|
||||
.hud-readout,
|
||||
:root[data-scope-mask='off']:not([data-ui-theme='cyber']) .scene-text-holdout {
|
||||
:root[data-scope-mask='off'] .scene-text-holdout {
|
||||
background: rgba(0, 0, 0, 0.7);
|
||||
box-shadow: none;
|
||||
border-radius: 2px;
|
||||
@@ -355,9 +357,7 @@
|
||||
#intel-hud:is([data-variant='minimal'], [data-variant='tactical'])
|
||||
:is(.hud-top-right, .hud-bottom-right)
|
||||
.hud-readout,
|
||||
:root[data-scope-mask='off']:not([data-ui-theme='cyber'])
|
||||
#style-indicator
|
||||
.scene-text-holdout {
|
||||
:root[data-scope-mask='off'] #style-indicator .scene-text-holdout {
|
||||
margin-inline-start: auto;
|
||||
}
|
||||
|
||||
@@ -397,9 +397,7 @@
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
:root[data-scope-mask='off']:not([data-ui-theme='cyber'])
|
||||
#title-bar
|
||||
h1::before {
|
||||
:root[data-scope-mask='off'] #title-bar h1::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: -0.12em -6px;
|
||||
@@ -408,18 +406,16 @@
|
||||
background: rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
|
||||
:root[data-scope-mask='off']:not([data-ui-theme='cyber'])
|
||||
:root[data-scope-mask='off']
|
||||
:is(#title-bar .subtitle, #style-indicator .indicator-label) {
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
:root[data-scope-mask='off']:not([data-ui-theme='cyber']) #title-bar .subtitle {
|
||||
:root[data-scope-mask='off'] #title-bar .subtitle {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
:root[data-scope-mask='off']:not([data-ui-theme='cyber'])
|
||||
#style-indicator
|
||||
.indicator-value {
|
||||
:root[data-scope-mask='off'] #style-indicator .indicator-value {
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
@@ -429,8 +425,6 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
:root[data-scope-mask='off']:not([data-ui-theme='cyber'])
|
||||
#title-bar
|
||||
.frame-rate-readout {
|
||||
:root[data-scope-mask='off'] #title-bar .frame-rate-readout {
|
||||
margin-top: 6px;
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
@@ -42,23 +42,6 @@
|
||||
--panel-surface-collapsed-width: var(--left-collapsed-width);
|
||||
}
|
||||
|
||||
:root[data-ui-theme='cyber'] {
|
||||
--panel-surface-font: var(--font-mono);
|
||||
--panel-surface-detail: var(--cyber-panel-surface-detail);
|
||||
--panel-surface-frame: var(--cyber-panel-frame);
|
||||
--panel-surface-shadow: var(--cyber-panel-shadow);
|
||||
--panel-surface-title: var(--cyber-red-bright);
|
||||
--panel-surface-error: var(--cyber-red-bright);
|
||||
--panel-surface-width: var(--cyber-panel-width);
|
||||
--panel-surface-collapsed-width: var(--cyber-panel-collapsed-width);
|
||||
}
|
||||
|
||||
:root[data-ui-theme='cyber']
|
||||
#right-context-rail
|
||||
> [data-panel-id]:has(> [data-panel-surface]) {
|
||||
--panel-surface-width: var(--cyber-right-panel-width);
|
||||
}
|
||||
|
||||
:is([data-panel-surface], [data-panel-popup]) {
|
||||
isolation: isolate;
|
||||
min-width: 0;
|
||||
|
||||
@@ -129,15 +129,14 @@
|
||||
color: rgba(54, 220, 255, 0.86);
|
||||
}
|
||||
|
||||
/* A UiCloseButton (close-button.css). */
|
||||
.key-setup-close {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: 0.15rem;
|
||||
color: rgba(171, 210, 220, 0.6);
|
||||
background: none;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 0.3rem;
|
||||
cursor: pointer;
|
||||
transition:
|
||||
color var(--transition-fast),
|
||||
border-color var(--transition-fast);
|
||||
|
||||
@@ -0,0 +1,98 @@
|
||||
.qci-panel {
|
||||
position: fixed;
|
||||
z-index: 2000;
|
||||
top: 80px;
|
||||
right: 24px;
|
||||
width: min(360px, calc(100vw - 32px));
|
||||
overflow: hidden;
|
||||
border: 1px solid #3eabbc;
|
||||
border-radius: 8px;
|
||||
background: #071117;
|
||||
color: #e6f8fb;
|
||||
box-shadow: 0 12px 36px #000a;
|
||||
font: 12px/1.4 sans-serif;
|
||||
}
|
||||
.qci-panel[hidden],
|
||||
.qci-live[hidden],
|
||||
.qci-note[hidden],
|
||||
.qci-panel a[hidden],
|
||||
.qci-marker[hidden],
|
||||
.qci-marker-still[hidden] {
|
||||
display: none;
|
||||
}
|
||||
.qci-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 8px 10px;
|
||||
cursor: move;
|
||||
touch-action: none;
|
||||
}
|
||||
.qci-panel button {
|
||||
border: 1px solid #43818d;
|
||||
border-radius: 4px;
|
||||
padding: 4px 8px;
|
||||
background: #102830;
|
||||
color: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
.qci-panel button:focus-visible {
|
||||
outline: 2px solid #82e9f7;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
.qci-coordinates,
|
||||
.qci-credit,
|
||||
.qci-note {
|
||||
margin: 0 10px 8px;
|
||||
color: #a9c5ca;
|
||||
font: 10px/1.45 'Cascadia Code', Consolas, monospace;
|
||||
}
|
||||
.qci-credit {
|
||||
color: #7fc7d2;
|
||||
}
|
||||
.qci-live {
|
||||
display: block;
|
||||
width: 100%;
|
||||
aspect-ratio: 16 / 9;
|
||||
background: #000;
|
||||
}
|
||||
.qci-actions {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
padding: 8px 10px 0;
|
||||
}
|
||||
.qci-actions[hidden] {
|
||||
display: none;
|
||||
}
|
||||
.qci-panel a {
|
||||
display: inline-block;
|
||||
margin: 0 10px 10px;
|
||||
color: #82e9f7;
|
||||
}
|
||||
.qci-marker {
|
||||
position: fixed;
|
||||
z-index: 500;
|
||||
width: 160px;
|
||||
transform: translate(-50%, -100%) scale(var(--qci-scale, 1));
|
||||
transform-origin: 50% 100%;
|
||||
pointer-events: none;
|
||||
padding: 3px;
|
||||
border: 1px solid #65d7e7;
|
||||
background: #071117;
|
||||
color: #d8f9ff;
|
||||
font: 10px/1.3 sans-serif;
|
||||
}
|
||||
.qci-marker-still {
|
||||
display: block;
|
||||
width: 100%;
|
||||
aspect-ratio: 16 / 9;
|
||||
background: #000;
|
||||
}
|
||||
.qci-marker-label {
|
||||
display: block;
|
||||
padding: 3px;
|
||||
}
|
||||
.qci-marker-link-only {
|
||||
width: max-content;
|
||||
max-width: 220px;
|
||||
}
|
||||
@@ -360,6 +360,31 @@ html:not([lang='en']) .radio-transport button {
|
||||
margin: 0 0 7px;
|
||||
color: #fff;
|
||||
}
|
||||
.military-awareness-photo {
|
||||
display: block;
|
||||
margin: 0 0 8px;
|
||||
color: #a9b7c7;
|
||||
text-decoration: none;
|
||||
}
|
||||
.military-awareness-photo img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
border: 1px solid rgba(98, 181, 255, 0.34);
|
||||
border-radius: 4px;
|
||||
}
|
||||
.military-awareness-photo small {
|
||||
display: block;
|
||||
margin-top: 3px;
|
||||
}
|
||||
.military-awareness-photo:hover small,
|
||||
.military-awareness-photo:focus-visible small {
|
||||
color: #fff;
|
||||
}
|
||||
.military-awareness-photo:focus-visible {
|
||||
outline: 1px solid rgba(127, 200, 255, 0.85);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
.military-awareness-controls {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
@@ -880,6 +905,30 @@ html:not([lang='en'])
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* An icon action chip (RailChips.vue `icon`): a square button sized to the
|
||||
text chips beside it. */
|
||||
.data-toggle-chip.chip-icon {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 24px;
|
||||
height: 20px;
|
||||
padding: 0 4px;
|
||||
letter-spacing: 0;
|
||||
/* A glyph alone needs more contrast than a text chip to read. */
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.data-toggle-chip.chip-icon:hover,
|
||||
.data-toggle-chip.chip-icon:focus-visible {
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.data-toggle-chip.chip-icon .material-symbols-outlined {
|
||||
font-size: 15px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.data-toggle-chip:hover,
|
||||
.data-toggle-chip:focus-visible {
|
||||
border-color: var(--glass-border-hover);
|
||||
@@ -1042,6 +1091,155 @@ html:not([lang='en']) .data-row-list-text {
|
||||
padding-top: 3px;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
/* Optional per-layer one-of-many switch (Active Fires confidence). The shared
|
||||
.gev-segmented surface, sized to the chip row. */
|
||||
.data-toggle-controls .data-toggle-segmented {
|
||||
flex-basis: 100%;
|
||||
max-width: 220px;
|
||||
}
|
||||
|
||||
.data-toggle-segmented-label {
|
||||
flex-basis: 100%;
|
||||
padding-top: 2px;
|
||||
font-family: var(--font-mono);
|
||||
font-size: 8px;
|
||||
letter-spacing: 1.2px;
|
||||
color: var(--text-dim);
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.data-toggle-controls .data-toggle-segment {
|
||||
min-height: 20px;
|
||||
padding: 3px 6px;
|
||||
font-size: 8px;
|
||||
letter-spacing: 0.8px;
|
||||
}
|
||||
|
||||
/* Optional start and end pickers on one line (e.g. a layer's period). The
|
||||
shared field style paints each select. */
|
||||
.data-toggle-range {
|
||||
flex-basis: 100%;
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
.data-toggle-range-ends {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.data-toggle-range-end {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.data-toggle-range-caption {
|
||||
font-family: var(--font-mono);
|
||||
font-size: 8px;
|
||||
letter-spacing: 1.2px;
|
||||
color: var(--text-dim);
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.data-toggle-range-select {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
min-height: 24px;
|
||||
font: 10px/1 var(--font-mono);
|
||||
}
|
||||
|
||||
/* Optional per-layer quantitative slider (Active Fires minimum FRP). The
|
||||
track is painted by the layer (`--slider-track`, a stepped color ramp), so
|
||||
the slider doubles as the marker legend; ticks sit under their thresholds. */
|
||||
.data-toggle-slider {
|
||||
flex-basis: 100%;
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
.data-toggle-slider-head {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: baseline;
|
||||
gap: 8px;
|
||||
font-family: var(--font-mono);
|
||||
font-size: 8px;
|
||||
letter-spacing: 1.2px;
|
||||
color: var(--text-dim);
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.data-toggle-slider-value {
|
||||
min-width: 0;
|
||||
font-size: 9px;
|
||||
letter-spacing: 0.5px;
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
.data-toggle-slider-input {
|
||||
height: 14px;
|
||||
}
|
||||
|
||||
.data-toggle-slider-input::-webkit-slider-runnable-track {
|
||||
height: 5px;
|
||||
border-radius: 3px;
|
||||
background: var(--slider-track, rgba(255, 255, 255, 0.08));
|
||||
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
|
||||
}
|
||||
|
||||
.data-toggle-slider-input::-moz-range-track,
|
||||
.data-toggle-slider-input::-moz-range-progress {
|
||||
height: 5px;
|
||||
border-radius: 3px;
|
||||
background: var(--slider-track, rgba(255, 255, 255, 0.08));
|
||||
}
|
||||
|
||||
.data-toggle-slider-input::-webkit-slider-thumb {
|
||||
width: 11px;
|
||||
height: 11px;
|
||||
margin-top: -3px;
|
||||
background: var(--text-primary);
|
||||
box-shadow:
|
||||
0 0 0 1px rgba(0, 0, 0, 0.6),
|
||||
0 0 6px rgba(255, 255, 255, 0.35);
|
||||
}
|
||||
|
||||
.data-toggle-slider-input::-moz-range-thumb {
|
||||
width: 11px;
|
||||
height: 11px;
|
||||
background: var(--text-primary);
|
||||
box-shadow:
|
||||
0 0 0 1px rgba(0, 0, 0, 0.6),
|
||||
0 0 6px rgba(255, 255, 255, 0.35);
|
||||
}
|
||||
|
||||
.data-toggle-slider-ticks {
|
||||
position: relative;
|
||||
height: 10px;
|
||||
margin: 0 5px;
|
||||
font-family: var(--font-mono);
|
||||
font-size: 7px;
|
||||
letter-spacing: 0.4px;
|
||||
color: var(--text-dim);
|
||||
}
|
||||
|
||||
.data-toggle-slider-tick {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: var(--at);
|
||||
transform: translateX(-50%);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.data-toggle-slider-tick:first-child {
|
||||
transform: none;
|
||||
}
|
||||
/* ── Local RTL-SDR card (FM + Local ADS-B receiver) ── */
|
||||
.sdr-radio-card {
|
||||
display: grid;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,322 @@
|
||||
/* 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. */
|
||||
:root 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);
|
||||
}
|
||||
|
||||
/* From 1200px the dock sits 74px up (command-dock.css) and clears both
|
||||
corners, which are at most ~340px wide beside a ~500px dock. The readout
|
||||
sits 8px above the bottom-right corner row (Power Up and the language
|
||||
picker: 32px tall, 14px up) and the coordinates start level with it. The
|
||||
World Timeline sits on the dock's floor between the corners (44rem
|
||||
narrower than the screen), so the corners stay put while it shows. */
|
||||
@media (min-width: 1200px) {
|
||||
#intel-hud[data-variant='tactical'] .hud-bottom-right {
|
||||
bottom: 3.375rem;
|
||||
}
|
||||
|
||||
/* Right to left the attribution row takes the bottom right
|
||||
(command-dock-trays.css): the readout clears two lines of it. */
|
||||
html[dir='rtl'] #intel-hud[data-variant='tactical'] .hud-bottom-right {
|
||||
bottom: calc(3.375rem + 1.5rem);
|
||||
}
|
||||
|
||||
#intel-hud:is([data-variant='tactical'], [data-variant='minimal'])
|
||||
.hud-bottom-left,
|
||||
:root[data-scope-mask='off']
|
||||
#intel-hud[data-variant='minimal']
|
||||
.hud-bottom-left {
|
||||
bottom: calc(3.375rem + 26px);
|
||||
}
|
||||
|
||||
#world-timeline {
|
||||
width: min(820px, calc(100vw - 44rem));
|
||||
}
|
||||
|
||||
/* The raised dock is 74px - 2vh higher than the bottom-edge dock these
|
||||
height budgets were written for. Toasts keep 12px above the 62px dock. */
|
||||
#gev-voice-control .gev-voice-panel {
|
||||
max-height: min(
|
||||
28rem,
|
||||
max(
|
||||
7.5rem,
|
||||
calc(100dvh - 12rem - 74px + 2vh - var(--gev-provider-lift, 0px))
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
body:not(.ui-clean-view):not(.recording-mode):not(.cockpit-mode) #toast {
|
||||
bottom: calc(148px + var(--world-timeline-lift, 0px));
|
||||
}
|
||||
}
|
||||
|
||||
/* ── 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);
|
||||
}
|
||||
@@ -175,7 +175,11 @@
|
||||
.recent-imagery-readout .ri-strip.searching {
|
||||
opacity: 0.7;
|
||||
}
|
||||
/* A UiEmpty in the readout's own colour and type, not the shared empty
|
||||
line's (empty-state.css). */
|
||||
.recent-imagery-readout .ri-strip-empty {
|
||||
color: inherit;
|
||||
font: inherit;
|
||||
flex: 1 0 100%;
|
||||
align-self: center;
|
||||
text-align: center;
|
||||
|
||||
@@ -14,6 +14,7 @@ body.recording-mode #data-panel,
|
||||
body.recording-mode #cctv-panel,
|
||||
body.recording-mode #radio-panel,
|
||||
body.recording-mode #global-context-panel,
|
||||
body.recording-mode #space-missions-panel,
|
||||
body.recording-mode #gev-voice-control,
|
||||
body.recording-mode #utilities-panel,
|
||||
body.recording-mode #scene-panel {
|
||||
|
||||
@@ -177,7 +177,7 @@
|
||||
drawn straight over the notice. Track the credit's own anchor instead
|
||||
and the 12px of clear air holds regardless of height; the rail already
|
||||
scrolls (overflow-y below), so it loses reach, not content. */
|
||||
bottom: calc(2vh + 7.5rem);
|
||||
bottom: calc(2vh + 7.5rem + var(--world-timeline-lift, 0px));
|
||||
left: 16px;
|
||||
width: auto;
|
||||
max-height: none;
|
||||
|
||||
+77
-23
@@ -1,13 +1,15 @@
|
||||
/* Right-to-left languages (Arabic). The chrome mirrors through logical
|
||||
properties in the component sheets (inset-inline-*, margin-inline-*); this
|
||||
sheet holds only what logical properties cannot express. */
|
||||
/* Right-to-left languages (Arabic, Hebrew). The chrome mirrors through
|
||||
logical properties in the component sheets (inset-inline-*,
|
||||
margin-inline-*); this sheet holds only what logical properties cannot
|
||||
express. */
|
||||
|
||||
/* Arabic letters join: letter-spacing tears every word into separate glyphs.
|
||||
Hebrew letters do not join, but tracking only spaces their words out.
|
||||
Latin marked translate="no" and the intel HUD's Latin telemetry keep their
|
||||
tracking; the HUD's translated lines are released below. Unlike cjk.css, a
|
||||
container that merely holds a translate="no" span is not spared: its own
|
||||
Arabic text would come apart. */
|
||||
html:lang(ar)
|
||||
text would come apart. */
|
||||
html:is(:lang(ar), :lang(he))
|
||||
body
|
||||
:not(#intel-hud, #intel-hud *, [translate='no'], [translate='no'] *) {
|
||||
letter-spacing: 0 !important;
|
||||
@@ -30,8 +32,7 @@ html[dir='rtl'] #intel-hud :is(.hud-mode, .hud-summary-label, .hud-summary) {
|
||||
letter apart. Noto Sans Arabic (loaded with the other Google fonts; its
|
||||
files download only when the page shows Arabic) leads the mono stack, so
|
||||
the spaces between Arabic words come from it too and not from the
|
||||
fixed-pitch Latin face. The intel and cockpit HUDs keep JetBrains Mono for
|
||||
their Latin telemetry and column-aligned digits. */
|
||||
fixed-pitch Latin face. */
|
||||
html:lang(ar) {
|
||||
--font-mono:
|
||||
'Noto Sans Arabic', 'JetBrains Mono', 'SF Mono', 'Fira Code', 'Geeza Pro',
|
||||
@@ -40,9 +41,23 @@ html:lang(ar) {
|
||||
'Inter', 'Noto Sans Arabic', -apple-system, BlinkMacSystemFont, 'Geeza Pro',
|
||||
Tahoma, sans-serif;
|
||||
}
|
||||
|
||||
/* Hebrew: JetBrains Mono and Inter also lack Hebrew glyphs. Noto Sans Hebrew
|
||||
(loaded with the other Google fonts; its files download only when the page
|
||||
shows Hebrew) leads the stack so the body text keeps one proportional
|
||||
Hebrew face across platforms. */
|
||||
html:lang(he) {
|
||||
--font-mono:
|
||||
'Noto Sans Hebrew', 'JetBrains Mono', 'SF Mono', 'Fira Code', Tahoma,
|
||||
monospace;
|
||||
--font-sans:
|
||||
'Inter', 'Noto Sans Hebrew', -apple-system, BlinkMacSystemFont, Tahoma,
|
||||
sans-serif;
|
||||
}
|
||||
/* The Global Context lines and their buttons set ui-monospace through the
|
||||
`font` shorthand; route them through the Arabic-aware stack too. */
|
||||
html:lang(ar)
|
||||
`font` shorthand; in both RTL languages the words come from the page's
|
||||
own font stack. */
|
||||
html:is(:lang(ar), :lang(he))
|
||||
:is(
|
||||
#military-awareness-panel,
|
||||
.military-awareness-controls button,
|
||||
@@ -54,11 +69,18 @@ html:lang(ar)
|
||||
) {
|
||||
font-family: var(--font-mono);
|
||||
}
|
||||
/* The intel and cockpit HUDs keep JetBrains Mono leading for their Latin
|
||||
telemetry and column-aligned digits, with the language's face behind it. */
|
||||
html:lang(ar) :is(#intel-hud, #cockpit-hud) {
|
||||
--font-mono:
|
||||
'JetBrains Mono', 'SF Mono', 'Fira Code', 'Noto Sans Arabic', 'Geeza Pro',
|
||||
Tahoma, monospace;
|
||||
}
|
||||
html:lang(he) :is(#intel-hud, #cockpit-hud) {
|
||||
--font-mono:
|
||||
'JetBrains Mono', 'SF Mono', 'Fira Code', 'Noto Sans Hebrew', Tahoma,
|
||||
monospace;
|
||||
}
|
||||
|
||||
/* The Display/Context rail moves to the left edge. It keeps a physical
|
||||
`right` in layers.css because the attribution-clearance model
|
||||
@@ -70,12 +92,6 @@ html:lang(ar) :is(#intel-hud, #cockpit-hud) {
|
||||
left: var(--right-rail-x);
|
||||
}
|
||||
}
|
||||
@media (min-width: 961px) and (min-height: 650px) {
|
||||
html[dir='rtl'][data-ui-theme='cyber'] #right-context-rail {
|
||||
right: auto;
|
||||
left: calc(51px + var(--panel-rail-clearance));
|
||||
}
|
||||
}
|
||||
|
||||
/* The dock's wings swap sides (Location on the right, Visual presets on the
|
||||
left), so each slide-up tray is anchored from the wing's outer edge and
|
||||
@@ -109,16 +125,10 @@ html[dir='rtl'] #command-dock :is(#location-bar, #control-panel) .dock-pin-btn {
|
||||
}
|
||||
|
||||
/* The right rail sits on the left: its expand/collapse arrows point the
|
||||
other way, and the start window's "go" arrows point along the reading
|
||||
direction. */
|
||||
html[dir='rtl'] #right-context-rail .panel-collapse-btn,
|
||||
html[dir='rtl'] .first-run-arrow {
|
||||
other way. (The first-run card flips its own arrow in first-run.css.) */
|
||||
html[dir='rtl'] #right-context-rail .panel-collapse-btn {
|
||||
transform: scaleX(-1);
|
||||
}
|
||||
html[dir='rtl'] .first-run-choices button:hover .first-run-arrow,
|
||||
html[dir='rtl'] .first-run-choices button:focus-visible .first-run-arrow {
|
||||
transform: translateX(-2px) scaleX(-1);
|
||||
}
|
||||
|
||||
/* The cockpit is an aircraft panel, not page chrome: its windows keep their
|
||||
physical sides, so the data-layer stack goes back to the left edge instead
|
||||
@@ -220,3 +230,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)
|
||||
);
|
||||
}
|
||||
@@ -219,14 +219,6 @@ html:not([lang='en']) #scene-panel .scene-controls .scene-btn {
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
/* One primary action per step: CAPTURE SHOT and PLAY. The panel id keeps
|
||||
this above Cyber's shared button surface. */
|
||||
#scene-panel .scene-btn-primary:not(:disabled) {
|
||||
color: var(--accent);
|
||||
border-color: color-mix(in srgb, var(--accent) 55%, transparent);
|
||||
background: color-mix(in srgb, var(--accent) 10%, transparent);
|
||||
}
|
||||
|
||||
/* The file row is housekeeping; it stays quieter than the steps above. */
|
||||
#scene-panel .scene-file-controls .scene-btn {
|
||||
font-size: 9px;
|
||||
@@ -236,7 +228,8 @@ html:not([lang='en']) #scene-panel .scene-controls .scene-btn {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
/* Keep the shared hover on the restyled actions. */
|
||||
/* Keep the shared hover on the restyled actions; CAPTURE SHOT and PLAY take
|
||||
their resting emphasis from action-button.css. */
|
||||
#scene-panel .scene-btn-primary:hover:not(:disabled),
|
||||
#scene-panel .scene-file-controls .scene-btn:hover:not(:disabled) {
|
||||
color: var(--accent);
|
||||
@@ -244,6 +237,63 @@ html:not([lang='en']) #scene-panel .scene-controls .scene-btn {
|
||||
background: color-mix(in srgb, var(--accent) 16%, transparent);
|
||||
}
|
||||
|
||||
/* Stories tags: small toggle chips that wrap; a pressed chip takes the
|
||||
accent. */
|
||||
#scene-panel .scene-tag-chips {
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
#scene-panel .scene-tag-chip {
|
||||
flex: 0 0 auto;
|
||||
padding: 3px 8px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.16);
|
||||
border-radius: 999px;
|
||||
background: transparent;
|
||||
color: var(--scene-quiet);
|
||||
font-size: 10px;
|
||||
line-height: 1.3;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#scene-panel .scene-tag-chip.active {
|
||||
color: var(--accent);
|
||||
border-color: color-mix(in srgb, var(--accent) 55%, transparent);
|
||||
background: color-mix(in srgb, var(--accent) 12%, transparent);
|
||||
}
|
||||
|
||||
#scene-panel .scene-tag-chip:disabled {
|
||||
opacity: 0.4;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/* The Stories card thumbnail, CAPTURE THUMBNAIL and SAVE TO STORIES share a
|
||||
row; the preview keeps the card's 16:9. */
|
||||
#scene-panel .scene-story-controls {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* Two buttons beside the preview: a label that does not fit (REMOVE FROM
|
||||
STORIES) wraps inside its button, in English too. */
|
||||
#scene-panel .scene-story-controls .scene-btn {
|
||||
align-self: stretch;
|
||||
padding: 8px 6px;
|
||||
white-space: normal;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
.scene-thumb-preview {
|
||||
flex: 0 0 64px;
|
||||
width: 64px;
|
||||
height: 36px;
|
||||
border-radius: 3px;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.scene-thumb-empty {
|
||||
border: 1px dashed rgba(255, 255, 255, 0.18);
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.scene-shot-hint {
|
||||
margin: 0 0 8px;
|
||||
font-size: 11px;
|
||||
@@ -280,6 +330,9 @@ html:not([lang='en']) #scene-panel .scene-controls .scene-btn {
|
||||
border-radius: 8px;
|
||||
padding: 16px 12px;
|
||||
text-align: center;
|
||||
/* A UiEmpty in the panel's weight, not the shared empty line's
|
||||
(empty-state.css). */
|
||||
font: inherit;
|
||||
font-family: var(--font-mono);
|
||||
font-size: 11px;
|
||||
letter-spacing: 0.3px;
|
||||
@@ -288,6 +341,7 @@ html:not([lang='en']) #scene-panel .scene-controls .scene-btn {
|
||||
}
|
||||
|
||||
.scene-shot-row {
|
||||
cursor: pointer;
|
||||
border: 1px solid rgba(255, 255, 255, 0.12);
|
||||
border-radius: 9px;
|
||||
padding: 8px 10px;
|
||||
@@ -341,6 +395,11 @@ html:not([lang='en']) #scene-panel .scene-controls .scene-btn {
|
||||
color: var(--scene-quiet);
|
||||
}
|
||||
|
||||
.scene-shot-label:focus-visible {
|
||||
outline: 1px solid var(--accent);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.scene-shot-row.active .scene-shot-label::before {
|
||||
color: var(--accent);
|
||||
}
|
||||
@@ -365,9 +424,20 @@ html:not([lang='en']) #scene-panel .scene-controls .scene-btn {
|
||||
|
||||
.scene-shot-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
/* Up and down: the glyph as tall as DEL's word. */
|
||||
.scene-shot-move {
|
||||
padding: 3px 4px;
|
||||
}
|
||||
|
||||
.scene-shot-move .ui-icon {
|
||||
display: block;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.scene-progress {
|
||||
margin-top: 8px;
|
||||
width: 100%;
|
||||
@@ -437,6 +507,7 @@ html:not([lang='en']) #scene-panel .scene-controls .scene-btn {
|
||||
|
||||
#control-panel.collapsed .button-grid,
|
||||
#data-panel.collapsed .data-toggle-list,
|
||||
#data-panel.collapsed .data-library-footer,
|
||||
#global-context-panel.collapsed #radio-panel,
|
||||
#global-context-panel.collapsed #military-awareness-panel,
|
||||
#global-context-panel.collapsed .global-context-actions,
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
/* Core's search fields share their frame's row and their bare input: the
|
||||
* kit's UiSearchField wears them as .ui-search-field and
|
||||
* .ui-search-field__input. Each rule selects one class and loads before the
|
||||
* feature stylesheets, so a feature rule still sets the frame's size,
|
||||
* surface and focus ring and the input's type, colour, flex and outline. The
|
||||
* browser's own cancel button is left to each skin. */
|
||||
.ui-search-field {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.ui-search-field__input {
|
||||
min-width: 0;
|
||||
background: none;
|
||||
border: 0;
|
||||
}
|
||||
@@ -1,4 +1,6 @@
|
||||
/* Shared one-of-many control. Feature classes retain surrounding placement. */
|
||||
/* Shared one-of-many control. Feature classes retain surrounding placement.
|
||||
The kit's UiSegmented (.ui-segmented, .ui-segmented__item) wears it. */
|
||||
.ui-segmented,
|
||||
.gev-segmented {
|
||||
display: inline-flex;
|
||||
min-width: 0;
|
||||
@@ -6,9 +8,11 @@
|
||||
border-radius: 6px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.ui-segmented[hidden],
|
||||
.gev-segmented[hidden] {
|
||||
display: none;
|
||||
}
|
||||
.ui-segmented__item,
|
||||
.gev-segment {
|
||||
flex: 1;
|
||||
min-width: min-content;
|
||||
@@ -28,23 +32,28 @@
|
||||
background-color var(--transition-fast),
|
||||
color var(--transition-fast);
|
||||
}
|
||||
.ui-segmented__item + .ui-segmented__item,
|
||||
.gev-segment + .gev-segment {
|
||||
border-left: 1px solid var(--glass-border);
|
||||
}
|
||||
.ui-segmented__item:hover:not(:disabled),
|
||||
.gev-segment:hover:not(:disabled) {
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
color: var(--text-primary);
|
||||
}
|
||||
.ui-segmented__item[aria-checked='true'],
|
||||
.gev-segment[aria-checked='true'] {
|
||||
background: var(--accent);
|
||||
color: #000;
|
||||
}
|
||||
.ui-segmented__item:focus-visible,
|
||||
.gev-segment:focus-visible {
|
||||
position: relative;
|
||||
outline: 2px solid var(--text-primary);
|
||||
outline-offset: -3px;
|
||||
box-shadow: inset 0 0 0 4px #061014;
|
||||
}
|
||||
.ui-segmented__item:disabled,
|
||||
.gev-segment:disabled {
|
||||
opacity: 0.42;
|
||||
cursor: not-allowed;
|
||||
|
||||
@@ -0,0 +1,89 @@
|
||||
/* Sonar is an opt-in visual style over any HUD layout (Display > HUD >
|
||||
Sonar). Off by default; cockpit mode and reduced motion keep the map still. */
|
||||
|
||||
.hud-sonar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:root[data-cyber-sonar='on'] #intel-hud .hud-sonar {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
display: block;
|
||||
width: min(
|
||||
var(--cyber-sonar-size-vw, 80vw),
|
||||
var(--cyber-sonar-size-vh, 104vh)
|
||||
);
|
||||
aspect-ratio: 1;
|
||||
border: 1px solid rgba(226, 235, 236, 0.2);
|
||||
border-radius: 50%;
|
||||
opacity: var(--cyber-sonar-visual-intensity, 0.57);
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
transform: translate(-50%, -50%);
|
||||
box-shadow:
|
||||
0 0 0 1px rgba(196, 84, 84, 0.12),
|
||||
inset 0 0 48px rgba(196, 84, 84, 0.035);
|
||||
}
|
||||
|
||||
:root[data-cyber-sonar='on'] #intel-hud .hud-sonar::before,
|
||||
:root[data-cyber-sonar='on'] #intel-hud .hud-sonar::after {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
border-radius: inherit;
|
||||
content: '';
|
||||
}
|
||||
|
||||
:root[data-cyber-sonar='on'] #intel-hud .hud-sonar::before {
|
||||
opacity: 0.52;
|
||||
background: repeating-radial-gradient(
|
||||
circle,
|
||||
transparent 0 calc(var(--cyber-sonar-ring-step, 12.5%) - 1px),
|
||||
rgba(226, 235, 236, 0.17) calc(var(--cyber-sonar-ring-step, 12.5%) - 1px)
|
||||
var(--cyber-sonar-ring-step, 12.5%)
|
||||
);
|
||||
}
|
||||
|
||||
:root[data-cyber-sonar='on'] #intel-hud .hud-sonar::after {
|
||||
background: conic-gradient(
|
||||
from 0deg,
|
||||
rgba(245, 250, 250, 0.3) 0deg,
|
||||
rgba(235, 116, 116, 0.14) 0.55deg,
|
||||
rgba(196, 84, 84, 0.075) var(--cyber-sonar-sector-quarter, 6deg),
|
||||
rgba(150, 206, 215, 0.035) var(--cyber-sonar-sector-middle, 14.4deg),
|
||||
transparent var(--cyber-sonar-sector-width, 24deg) 360deg
|
||||
);
|
||||
filter: drop-shadow(0 0 4px rgba(226, 235, 236, 0.1));
|
||||
mask-image: radial-gradient(
|
||||
circle,
|
||||
#000 0 84%,
|
||||
rgba(0, 0, 0, 0.65) 92%,
|
||||
transparent 100%
|
||||
);
|
||||
transform-origin: 50% 50%;
|
||||
will-change: transform;
|
||||
animation: cyber-sonar-sweep 5.2s linear infinite;
|
||||
animation-delay: var(--cyber-sonar-phase-delay, 0ms);
|
||||
}
|
||||
|
||||
@keyframes cyber-sonar-sweep {
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
#cyber-sonar-status:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:root[data-cyber-sonar='on'] body.cockpit-mode #intel-hud .hud-sonar,
|
||||
:root[data-cyber-sonar='on'] #intel-hud:not(.active) .hud-sonar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
:root[data-cyber-sonar='on'] #intel-hud .hud-sonar::after {
|
||||
display: none;
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,332 @@
|
||||
/* ── Conditions around a spot (entity card, In view) ────────────────────── */
|
||||
.spot-conditions {
|
||||
display: grid;
|
||||
gap: 0.6rem;
|
||||
margin: 0.5rem 0 0.75rem;
|
||||
}
|
||||
|
||||
.spot-conditions__weather {
|
||||
display: grid;
|
||||
grid-template-columns: auto 1fr;
|
||||
align-items: center;
|
||||
gap: 0.3rem 0.65rem;
|
||||
padding: 0.6rem 0.7rem;
|
||||
background: linear-gradient(135deg, rgba(54, 220, 255, 0.09), rgba(255, 255, 255, 0.025));
|
||||
border: 1px solid rgba(54, 220, 255, 0.16);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.spot-conditions__weather-icon {
|
||||
color: #36dcff;
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.spot-conditions__weather-now {
|
||||
display: grid;
|
||||
gap: 0.1rem;
|
||||
}
|
||||
|
||||
.spot-conditions__weather-now strong {
|
||||
color: rgba(240, 247, 250, 0.98);
|
||||
font-family: var(--font-mono);
|
||||
font-size: 1.35rem;
|
||||
font-weight: 600;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.spot-conditions__weather-now span {
|
||||
color: rgba(199, 214, 222, 0.72);
|
||||
font-size: 0.68rem;
|
||||
}
|
||||
|
||||
.spot-conditions__weather-facts {
|
||||
display: grid;
|
||||
grid-column: 1 / -1;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 0.3rem;
|
||||
margin: 0.25rem 0 0;
|
||||
}
|
||||
|
||||
.spot-conditions__weather-facts div {
|
||||
display: grid;
|
||||
gap: 0.1rem;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.spot-conditions__weather-facts dt {
|
||||
color: rgba(199, 214, 222, 0.5);
|
||||
font-size: 0.52rem;
|
||||
letter-spacing: 0.06rem;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.spot-conditions__weather-facts dd {
|
||||
overflow: hidden;
|
||||
margin: 0;
|
||||
color: rgba(236, 244, 248, 0.92);
|
||||
font-family: var(--font-mono);
|
||||
font-size: 0.66rem;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.spot-conditions__loading,
|
||||
.spot-conditions__none {
|
||||
margin: 0;
|
||||
color: rgba(199, 214, 222, 0.55);
|
||||
font-size: 0.66rem;
|
||||
}
|
||||
|
||||
.spot-conditions__block h4 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.4rem;
|
||||
margin: 0 0 0.25rem;
|
||||
color: rgba(199, 214, 222, 0.6);
|
||||
font-size: 0.58rem;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.06rem;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.spot-conditions__block h4 .material-symbols-outlined {
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.spot-conditions__count {
|
||||
margin-inline-start: auto;
|
||||
color: rgba(199, 214, 222, 0.6);
|
||||
font-family: var(--font-mono);
|
||||
}
|
||||
|
||||
.spot-conditions__count--hot {
|
||||
color: #ffb547;
|
||||
}
|
||||
|
||||
.spot-conditions__query {
|
||||
overflow: hidden;
|
||||
margin-inline-start: auto;
|
||||
max-width: 50%;
|
||||
color: rgba(199, 214, 222, 0.45);
|
||||
text-overflow: ellipsis;
|
||||
text-transform: none;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.spot-conditions__block ul {
|
||||
display: grid;
|
||||
gap: 0.2rem;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.spot-conditions__block button,
|
||||
.spot-conditions__block a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
width: 100%;
|
||||
padding: 0.4rem 0.5rem;
|
||||
color: inherit;
|
||||
text-align: start;
|
||||
text-decoration: none;
|
||||
background: rgba(255, 255, 255, 0.035);
|
||||
border: 1px solid rgba(255, 255, 255, 0.06);
|
||||
border-left: 2px solid var(--hazard-tone, rgba(54, 220, 255, 0.5));
|
||||
border-radius: 7px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.spot-conditions__block button:hover,
|
||||
.spot-conditions__block a:hover,
|
||||
.spot-conditions__block button:focus-visible,
|
||||
.spot-conditions__block a:focus-visible {
|
||||
background: rgba(54, 220, 255, 0.08);
|
||||
border-color: rgba(54, 220, 255, 0.25);
|
||||
border-left-color: var(--hazard-tone, #36dcff);
|
||||
}
|
||||
|
||||
.spot-conditions__block button > .material-symbols-outlined {
|
||||
color: var(--hazard-tone, #36dcff);
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.spot-conditions__hazard--quake { --hazard-tone: #ffd166; }
|
||||
.spot-conditions__hazard--storm { --hazard-tone: #c792ff; }
|
||||
.spot-conditions__hazard--wildfire,
|
||||
.spot-conditions__hazard--hotspots { --hazard-tone: #ff7a45; }
|
||||
.spot-conditions__hazard--alert { --hazard-tone: #ff5c6c; }
|
||||
|
||||
.spot-conditions__row-main {
|
||||
display: grid;
|
||||
flex: 1 1 auto;
|
||||
gap: 0.08rem;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.spot-conditions__row-title {
|
||||
overflow: hidden;
|
||||
color: rgba(236, 244, 248, 0.94);
|
||||
font-size: 0.7rem;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.spot-conditions__row-title--wrap {
|
||||
display: -webkit-box;
|
||||
white-space: normal;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
}
|
||||
|
||||
.spot-conditions__row-detail {
|
||||
overflow: hidden;
|
||||
color: rgba(199, 214, 222, 0.55);
|
||||
font-size: 0.6rem;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.spot-conditions__row-layer {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
margin-top: 2px;
|
||||
color: rgba(199, 214, 222, 0.5);
|
||||
font-family: var(--font-mono);
|
||||
font-size: 0.55rem;
|
||||
letter-spacing: 0.04em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.spot-conditions__row-dot {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border: 1px solid rgba(199, 214, 222, 0.55);
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.spot-conditions__row-layer.is-on {
|
||||
color: rgba(0, 212, 255, 0.85);
|
||||
}
|
||||
|
||||
.spot-conditions__row-layer.is-on .spot-conditions__row-dot {
|
||||
background: #00d4ff;
|
||||
border-color: #00d4ff;
|
||||
box-shadow: 0 0 5px rgba(0, 212, 255, 0.7);
|
||||
}
|
||||
|
||||
.spot-conditions__row-meta {
|
||||
flex: none;
|
||||
color: rgba(199, 214, 222, 0.7);
|
||||
font-family: var(--font-mono);
|
||||
font-size: 0.6rem;
|
||||
}
|
||||
|
||||
.spot-conditions__source {
|
||||
margin: 0;
|
||||
color: rgba(199, 214, 222, 0.4);
|
||||
font-size: 0.55rem;
|
||||
}
|
||||
|
||||
/* The hazard tone as an L along the left edge and the bottom-left corner,
|
||||
in place of a solid left edge. */
|
||||
.spot-conditions__block button,
|
||||
.spot-conditions__block a {
|
||||
position: relative;
|
||||
border-radius: 0;
|
||||
border-left-width: 1px;
|
||||
border-left-color: rgba(255, 255, 255, 0.06);
|
||||
}
|
||||
|
||||
.spot-conditions__block button::before,
|
||||
.spot-conditions__block a::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: -1px auto -1px -1px;
|
||||
width: 9px;
|
||||
border-radius: 0;
|
||||
pointer-events: none;
|
||||
--tone: var(--hazard-tone, rgba(54, 220, 255, 0.6));
|
||||
background:
|
||||
linear-gradient(var(--tone), var(--tone)) left bottom / 9px 1.5px no-repeat,
|
||||
linear-gradient(var(--tone), var(--tone)) left bottom / 1.5px 100% no-repeat;
|
||||
}
|
||||
|
||||
.spot-conditions__block button:hover,
|
||||
.spot-conditions__block a:hover,
|
||||
.spot-conditions__block button:focus-visible,
|
||||
.spot-conditions__block a:focus-visible {
|
||||
border-left-color: rgba(54, 220, 255, 0.25);
|
||||
}
|
||||
|
||||
/* A grey rule under each list: hazards, alerts, news. */
|
||||
.spot-conditions__block {
|
||||
padding-bottom: 0.65rem;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
|
||||
/* Local time beside the weather on a selected item's card. */
|
||||
.spot-conditions__weather--timed {
|
||||
grid-template-columns: auto 1fr auto;
|
||||
}
|
||||
|
||||
.spot-conditions__weather-wait {
|
||||
grid-column: 1 / 3;
|
||||
}
|
||||
|
||||
.spot-conditions__time {
|
||||
display: grid;
|
||||
gap: 0.1rem;
|
||||
justify-items: end;
|
||||
grid-column: 3;
|
||||
}
|
||||
|
||||
.spot-conditions__time strong {
|
||||
color: rgba(240, 247, 250, 0.98);
|
||||
font-family: var(--font-mono);
|
||||
font-size: 1.05rem;
|
||||
font-weight: 600;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.spot-conditions__time span {
|
||||
color: rgba(199, 214, 222, 0.6);
|
||||
font-size: 0.56rem;
|
||||
letter-spacing: 0.05rem;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
/* The one distance every nearby block looks out to. */
|
||||
.spot-conditions__radius {
|
||||
display: grid;
|
||||
grid-template-columns: auto 1fr auto;
|
||||
align-items: center;
|
||||
gap: 0.6rem;
|
||||
padding: 0.4rem 0.6rem;
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
border: 1px solid rgba(255, 255, 255, 0.07);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.spot-conditions__radius-label {
|
||||
color: rgba(199, 214, 222, 0.6);
|
||||
font-size: 0.58rem;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.06rem;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.spot-conditions__radius-slider {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.spot-conditions__radius-value {
|
||||
min-width: 4.2rem;
|
||||
color: #36dcff;
|
||||
font-family: var(--font-mono);
|
||||
font-size: 0.7rem;
|
||||
text-align: end;
|
||||
}
|
||||
@@ -1,5 +1,7 @@
|
||||
/* Read-only badges. Feature CSS supplies meaning through explicit colors;
|
||||
appearance variants change density/shape without interpreting status codes. */
|
||||
appearance variants change density/shape without interpreting status codes.
|
||||
The kit's UiBadge (.ui-badge) wears it. */
|
||||
.ui-badge,
|
||||
.gev-status-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
@@ -38,6 +40,7 @@
|
||||
}
|
||||
|
||||
/* Explicitly beat the component display rule, including in older browsers. */
|
||||
.ui-badge[hidden],
|
||||
.gev-status-badge[hidden] {
|
||||
display: none;
|
||||
}
|
||||
@@ -131,6 +131,7 @@ html:not([lang='en']) #global-loading-detail {
|
||||
#global-loading-status:is(
|
||||
[data-state='complete'],
|
||||
[data-state='cancelled'],
|
||||
[data-state='key-required'],
|
||||
[data-state='error']
|
||||
) {
|
||||
justify-content: center;
|
||||
@@ -139,6 +140,7 @@ html:not([lang='en']) #global-loading-detail {
|
||||
#global-loading-status:is(
|
||||
[data-state='complete'],
|
||||
[data-state='cancelled'],
|
||||
[data-state='key-required'],
|
||||
[data-state='error']
|
||||
)
|
||||
#global-loading-detail {
|
||||
@@ -155,17 +157,37 @@ html:not([lang='en']) #global-loading-detail {
|
||||
#global-loading-status[data-state='cancelled'] {
|
||||
color: #ffd488;
|
||||
}
|
||||
#global-loading-status[data-state='retry'] {
|
||||
#global-loading-status:is([data-state='retry'], [data-state='key-required']) {
|
||||
border-color: rgba(255, 212, 136, 0.55);
|
||||
}
|
||||
#global-loading-status[data-state='retry'] #global-loading-label,
|
||||
#global-loading-status[data-state='retry'] #global-loading-detail {
|
||||
#global-loading-status:is([data-state='retry'], [data-state='key-required'])
|
||||
#global-loading-label,
|
||||
#global-loading-status:is([data-state='retry'], [data-state='key-required'])
|
||||
#global-loading-detail {
|
||||
color: #ffd488;
|
||||
}
|
||||
#global-loading-status[data-state='cancelled'] #global-loading-label,
|
||||
#global-loading-status[data-state='cancelled'] #global-loading-detail {
|
||||
color: #ffd488;
|
||||
}
|
||||
/* A last-known notice is a sentence with the entity's id on a second line;
|
||||
the id is shown whole (a vessel UUID is 36 characters). */
|
||||
#global-loading-status[data-state='last-known'] {
|
||||
flex-direction: column;
|
||||
gap: 3px;
|
||||
border-color: rgba(255, 212, 136, 0.55);
|
||||
text-align: center;
|
||||
}
|
||||
#global-loading-status[data-state='last-known'] #global-loading-label {
|
||||
color: #ffd488;
|
||||
}
|
||||
#global-loading-status[data-state='last-known'] #global-loading-detail {
|
||||
max-width: none;
|
||||
color: rgba(255, 228, 176, 0.82);
|
||||
letter-spacing: 1.2px;
|
||||
text-align: center;
|
||||
text-transform: none;
|
||||
}
|
||||
#global-loading-status[data-state='acquiring'] {
|
||||
border-color: rgba(0, 212, 255, 0.42);
|
||||
box-shadow:
|
||||
@@ -387,10 +409,80 @@ html:not([lang='en']) #global-loading-detail {
|
||||
}
|
||||
}
|
||||
|
||||
/* ── Render failure notice ───────────────────── */
|
||||
/* Above the loading screen, so a globe that fails while it loads says so too,
|
||||
and above floating panels such as the Québec camera viewer (2000). */
|
||||
#render-failure {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
z-index: 2001;
|
||||
box-sizing: border-box;
|
||||
width: min(420px, calc(100vw - 32px));
|
||||
max-height: calc(100vh - 32px);
|
||||
overflow-y: auto;
|
||||
padding: 20px 22px;
|
||||
background: var(--glass-bg);
|
||||
border: 1px solid #ff7272;
|
||||
border-radius: 12px;
|
||||
backdrop-filter: blur(16px);
|
||||
-webkit-backdrop-filter: blur(16px);
|
||||
box-shadow: 0 0 24px rgba(255, 88, 88, 0.18);
|
||||
color: var(--text-primary);
|
||||
font-family: var(--font-sans);
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
#render-failure-title {
|
||||
margin: 0 0 8px;
|
||||
font-family: var(--font-mono);
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 2px;
|
||||
text-transform: uppercase;
|
||||
color: #ff7272;
|
||||
}
|
||||
|
||||
#render-failure p {
|
||||
margin: 0 0 10px;
|
||||
}
|
||||
|
||||
#render-failure .render-failure-detail {
|
||||
font-family: var(--font-mono);
|
||||
font-size: 11px;
|
||||
color: var(--text-secondary);
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
#render-failure .render-failure-hint {
|
||||
font-size: 12px;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
#render-failure .render-failure-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
margin-top: 14px;
|
||||
}
|
||||
|
||||
#render-failure .gev-action-button {
|
||||
font-size: 11px;
|
||||
padding: 8px 14px;
|
||||
}
|
||||
|
||||
@media (pointer: coarse) {
|
||||
#render-failure .gev-action-button {
|
||||
min-height: 44px;
|
||||
}
|
||||
}
|
||||
|
||||
/* ── Toast Notification ──────────────────────── */
|
||||
#toast {
|
||||
position: fixed;
|
||||
bottom: 100px;
|
||||
bottom: calc(100px + var(--world-timeline-lift, 0px));
|
||||
left: 50%;
|
||||
transform: translateX(-50%) translateY(20px);
|
||||
z-index: 200;
|
||||
|
||||
@@ -0,0 +1,252 @@
|
||||
/* Stories, closed: the Stories button, its first-visit popup and the
|
||||
back-to-story toast, which every GEV page shows. The rest of Stories'
|
||||
styles (stories.css) load with Stories itself. */
|
||||
/* Ported from the GEV Stories prototype (gev-stories-real-globe.html), scoped to #gev-stories. */
|
||||
#gev-stories {
|
||||
--bg-dark: #0a0a0f;
|
||||
--glass-bg: rgba(12, 12, 20, 0.72);
|
||||
--glass-strong: rgba(14, 14, 24, 0.9);
|
||||
--glass-border: rgba(255, 255, 255, 0.08);
|
||||
--glass-border-hover: rgba(255, 255, 255, 0.15);
|
||||
--accent: #00d4ff;
|
||||
--accent-dim: rgba(0, 212, 255, 0.15);
|
||||
--accent-glow: rgba(0, 212, 255, 0.4);
|
||||
--text-primary: #e8eaed;
|
||||
--text-secondary: rgba(232, 234, 237, 0.64);
|
||||
--text-dim: rgba(232, 234, 237, 0.42);
|
||||
--menu-bg: #12121c;
|
||||
--warn: #ffb45a;
|
||||
--cable: #a9b8ff;
|
||||
--font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
|
||||
--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
|
||||
--panel-radius: 16px;
|
||||
--btn-radius: 10px;
|
||||
--transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
||||
--transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
|
||||
--review-h: 46px;
|
||||
color-scheme: dark;
|
||||
}
|
||||
#gev-stories {
|
||||
background: #050508;
|
||||
color: var(--text-primary);
|
||||
font-family: var(--font-sans);
|
||||
font-size: 14px;
|
||||
line-height: 1.45;
|
||||
overflow: hidden;
|
||||
}
|
||||
#gev-stories .glass {
|
||||
background: var(--glass-bg);
|
||||
border: 1px solid var(--glass-border);
|
||||
backdrop-filter: blur(18px);
|
||||
-webkit-backdrop-filter: blur(18px);
|
||||
}
|
||||
#gev-stories .tbtn {
|
||||
height: 38px;
|
||||
padding: 0 14px;
|
||||
border-radius: var(--btn-radius);
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
border: 1px solid var(--glass-border);
|
||||
background: var(--glass-bg);
|
||||
backdrop-filter: blur(18px);
|
||||
-webkit-backdrop-filter: blur(18px);
|
||||
font: 500 12px var(--font-mono);
|
||||
letter-spacing: 0.1em;
|
||||
text-transform: uppercase;
|
||||
color: var(--text-primary);
|
||||
white-space: nowrap;
|
||||
transition:
|
||||
border-color var(--transition-fast),
|
||||
background var(--transition-fast);
|
||||
}
|
||||
#gev-stories .tbtn:hover {
|
||||
border-color: var(--glass-border-hover);
|
||||
}
|
||||
#gev-stories .tbtn svg {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
flex: none;
|
||||
}
|
||||
#gev-stories .tbtn.accent {
|
||||
border-color: rgba(0, 212, 255, 0.55);
|
||||
color: var(--accent);
|
||||
background: rgba(0, 212, 255, 0.08);
|
||||
box-shadow: 0 0 18px -6px var(--accent-glow);
|
||||
}
|
||||
#gev-stories .tbtn.accent:hover {
|
||||
background: rgba(0, 212, 255, 0.14);
|
||||
}
|
||||
#gev-stories .tbtn.solid {
|
||||
background: var(--accent);
|
||||
color: #001820;
|
||||
border-color: transparent;
|
||||
font-weight: 600;
|
||||
}
|
||||
#gev-stories .h-pop {
|
||||
position: absolute;
|
||||
z-index: 9;
|
||||
top: 84px;
|
||||
right: 74px;
|
||||
width: 300px;
|
||||
padding: 16px;
|
||||
border-radius: var(--panel-radius);
|
||||
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
|
||||
animation: gsx-popIn 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
|
||||
}
|
||||
#gev-stories .h-pop::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -7px;
|
||||
right: 60px;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
background: var(--glass-strong);
|
||||
border-left: 1px solid var(--glass-border);
|
||||
border-top: 1px solid var(--glass-border);
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
#gev-stories .h-pop {
|
||||
background: var(--glass-strong);
|
||||
}
|
||||
#gev-stories .h-pop .k {
|
||||
font: 600 11px var(--font-mono);
|
||||
letter-spacing: 0.16em;
|
||||
color: var(--accent);
|
||||
}
|
||||
#gev-stories .h-pop h2 {
|
||||
font-size: 17px;
|
||||
margin: 4px 0 6px;
|
||||
}
|
||||
#gev-stories .h-pop p {
|
||||
color: var(--text-secondary);
|
||||
font-size: 13px;
|
||||
}
|
||||
#gev-stories .h-pop .row {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
margin-top: 12px;
|
||||
}
|
||||
#gev-stories .h-toast {
|
||||
position: absolute;
|
||||
z-index: 9;
|
||||
left: 50%;
|
||||
bottom: 96px;
|
||||
transform: translateX(-50%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 10px 10px 10px 16px;
|
||||
border-radius: 14px;
|
||||
background: rgba(12, 12, 20, 0.92);
|
||||
border: 1px solid rgba(0, 212, 255, 0.35);
|
||||
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
|
||||
animation: gsx-popIn 0.25s ease;
|
||||
max-width: calc(100% - 28px);
|
||||
}
|
||||
#gev-stories .h-toast[hidden] {
|
||||
display: none;
|
||||
}
|
||||
#gev-stories .h-toast b {
|
||||
font: 600 11px var(--font-mono);
|
||||
letter-spacing: 0.16em;
|
||||
text-transform: uppercase;
|
||||
color: var(--accent);
|
||||
white-space: nowrap;
|
||||
}
|
||||
#gev-stories .h-toast span {
|
||||
font-size: 13px;
|
||||
color: var(--text-secondary);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
min-width: 0;
|
||||
}
|
||||
#gev-stories .h-toast .tbtn {
|
||||
height: 32px;
|
||||
flex: none;
|
||||
}
|
||||
|
||||
/* The root only hosts fixed layers; it takes no room of its own. */
|
||||
#gev-stories {
|
||||
position: static;
|
||||
height: 0 !important;
|
||||
overflow: visible !important;
|
||||
background: none !important;
|
||||
}
|
||||
|
||||
/* GEV: the Stories entry sits in GEV's top-right row. */
|
||||
#gev-stories .gs-entry {
|
||||
position: fixed;
|
||||
z-index: 1200;
|
||||
height: 36px;
|
||||
font: 600 11px var(--font-mono);
|
||||
letter-spacing: 0.1em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
#gev-stories .gs-entry svg {
|
||||
width: 17px;
|
||||
height: 17px;
|
||||
}
|
||||
body:has(#loading-screen:not(.hidden)) #gev-stories .gs-entry,
|
||||
body:has(#loading-screen:not(.hidden)) #gev-stories .gs-pop,
|
||||
body.recording-mode #gev-stories .gs-entry,
|
||||
body.recording-mode #gev-stories .gs-pop,
|
||||
body.ui-clean-view #gev-stories .gs-entry,
|
||||
body.ui-clean-view #gev-stories .gs-pop {
|
||||
display: none;
|
||||
}
|
||||
#gev-stories .gs-pop {
|
||||
position: fixed;
|
||||
z-index: 1201;
|
||||
left: auto;
|
||||
}
|
||||
#gev-stories .gs-opened-toast {
|
||||
position: fixed;
|
||||
z-index: 1201;
|
||||
bottom: 110px;
|
||||
}
|
||||
@media (max-width: 720px) {
|
||||
#gev-stories .gs-pop {
|
||||
left: 12px;
|
||||
right: 12px !important;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
/* Shared with the screens' panels (stories.css). */
|
||||
@keyframes gsx-popIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(-6px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* Over a live globe a backdrop blur is redrawn every frame (costly on
|
||||
software WebGL): the closed-state pieces use a near-opaque fill instead. */
|
||||
#gev-stories .gs-entry,
|
||||
#gev-stories .gs-pop,
|
||||
#gev-stories .gs-opened-toast {
|
||||
-webkit-backdrop-filter: none;
|
||||
backdrop-filter: none;
|
||||
}
|
||||
#gev-stories .gs-entry {
|
||||
background: rgba(6, 24, 34, 0.92);
|
||||
}
|
||||
#gev-stories .gs-pop,
|
||||
#gev-stories .gs-opened-toast {
|
||||
background: rgba(12, 12, 20, 0.95);
|
||||
}
|
||||
|
||||
/* GEV's phone layout: icon-only, the size of the icon buttons beside it. */
|
||||
#gev-stories .gs-entry.gs-entry-compact {
|
||||
width: 36px;
|
||||
padding: 0;
|
||||
justify-content: center;
|
||||
}
|
||||
#gev-stories .gs-entry.gs-entry-compact span {
|
||||
display: none;
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,110 @@
|
||||
/* ── Sundial (Context, nothing selected) ──────────────────────────────── */
|
||||
.sun-dial {
|
||||
margin: 0.5rem 0 0.6rem;
|
||||
padding: 0.35rem 0.3rem 0.45rem;
|
||||
background:
|
||||
radial-gradient(90% 70% at 50% 45%, rgba(54, 220, 255, 0.06), transparent 70%),
|
||||
rgba(255, 255, 255, 0.025);
|
||||
border: 1px solid rgba(255, 255, 255, 0.07);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.sun-dial svg {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.sun-dial__hours line {
|
||||
stroke: rgba(54, 220, 255, 0.38);
|
||||
stroke-width: 0.5;
|
||||
}
|
||||
|
||||
.sun-dial__hours line.major {
|
||||
stroke: rgba(122, 240, 255, 0.7);
|
||||
stroke-width: 0.8;
|
||||
}
|
||||
|
||||
.sun-dial__ticks line {
|
||||
stroke: rgba(54, 220, 255, 0.3);
|
||||
stroke-width: 0.4;
|
||||
}
|
||||
|
||||
.sun-dial__ticks line.major {
|
||||
stroke: rgba(122, 240, 255, 0.65);
|
||||
stroke-width: 0.7;
|
||||
}
|
||||
|
||||
.sun-dial__hours text,
|
||||
.sun-dial__pole {
|
||||
fill: rgba(196, 244, 255, 0.85);
|
||||
font-family: var(--font-mono);
|
||||
font-size: 7px;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.04em;
|
||||
text-anchor: middle;
|
||||
}
|
||||
|
||||
.sun-dial__pole {
|
||||
fill: #ff6b5e;
|
||||
font-size: 8px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.sun-dial figcaption {
|
||||
margin-top: 0.2rem;
|
||||
color: rgba(199, 214, 222, 0.62);
|
||||
font-family: var(--font-mono);
|
||||
font-size: 0.58rem;
|
||||
letter-spacing: 0.05rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Night: the plate under starlight. */
|
||||
.sun-dial--night svg {
|
||||
filter: saturate(0.4) brightness(0.6);
|
||||
}
|
||||
|
||||
/* Small compass beside the dial, in the same cyan instrument style. */
|
||||
.sun-dial__compass-ring {
|
||||
fill: rgba(5, 14, 20, 0.85);
|
||||
stroke: rgba(54, 220, 255, 0.5);
|
||||
stroke-width: 0.8;
|
||||
}
|
||||
|
||||
.sun-dial__compass-inner {
|
||||
fill: none;
|
||||
stroke: rgba(54, 220, 255, 0.18);
|
||||
stroke-width: 0.5;
|
||||
stroke-dasharray: 1.5 2;
|
||||
}
|
||||
|
||||
.sun-dial__compass-tick {
|
||||
stroke: rgba(122, 240, 255, 0.7);
|
||||
stroke-width: 0.8;
|
||||
}
|
||||
|
||||
.sun-dial__compass-north {
|
||||
fill: #ff6b5e;
|
||||
}
|
||||
|
||||
.sun-dial__compass-south {
|
||||
fill: rgba(196, 244, 255, 0.55);
|
||||
}
|
||||
|
||||
.sun-dial__compass-sun {
|
||||
fill: #ffd166;
|
||||
filter: drop-shadow(0 0 2px rgba(255, 209, 102, 0.9));
|
||||
}
|
||||
|
||||
.sun-dial__compass-label {
|
||||
fill: rgba(196, 244, 255, 0.75);
|
||||
font-family: var(--font-mono);
|
||||
font-size: 6.5px;
|
||||
text-anchor: middle;
|
||||
}
|
||||
|
||||
.sun-dial__compass-label.north {
|
||||
fill: #ff6b5e;
|
||||
font-weight: 700;
|
||||
}
|
||||
@@ -0,0 +1,305 @@
|
||||
/* ── 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 Display panel's card skin. */
|
||||
:root #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 #pp-toggles .pp-toggle-group > .pp-toggle-btn,
|
||||
:root #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 #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 #pp-toggles .pp-toggle-btn .pp-icon {
|
||||
width: 18px;
|
||||
font-size: 15px;
|
||||
text-align: center;
|
||||
color: rgba(199, 214, 222, 0.75);
|
||||
}
|
||||
|
||||
:root #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 #pp-toggles .pp-toggle-group > button.pp-toggle-btn::after,
|
||||
:root #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 #pp-toggles .pp-toggle-group > button.pp-toggle-btn.active::after,
|
||||
:root
|
||||
#pp-toggles
|
||||
.pp-toggle-group
|
||||
> button.pp-toggle-btn[aria-pressed='true']::after,
|
||||
:root #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 #pp-toggles .pp-toggle-btn.active .pp-icon,
|
||||
:root #pp-toggles .pp-toggle-btn[aria-pressed='true'] .pp-icon,
|
||||
:root #pp-toggles .pp-toggle-btn.active .pp-label,
|
||||
:root #pp-toggles .pp-toggle-btn[aria-pressed='true'] .pp-label {
|
||||
color: #7af0ff;
|
||||
}
|
||||
|
||||
:root #pp-toggles .pp-toggle-group > .pp-toggle-btn:hover,
|
||||
:root #pp-toggles .pp-panel-body > .pp-toggle-btn:hover {
|
||||
background: rgba(255, 255, 255, 0.04) !important;
|
||||
}
|
||||
|
||||
:root #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 #pp-toggles .pp-toggle-group .pp-slider-row.visible,
|
||||
:root
|
||||
#pp-toggles
|
||||
.pp-toggle-group
|
||||
.pp-slider-row: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 #pp-toggles .pp-toggle-group > .pp-toggle-btn.panoptic,
|
||||
:root #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;
|
||||
}
|
||||
@@ -94,18 +94,17 @@
|
||||
color: #ffc46b;
|
||||
}
|
||||
|
||||
/* A UiCloseButton (close-button.css). */
|
||||
.gev-voice-card-dismiss {
|
||||
margin-inline-start: auto;
|
||||
width: 1.1rem;
|
||||
height: 1.1rem;
|
||||
padding: 0;
|
||||
color: var(--text-secondary);
|
||||
background: rgba(255, 255, 255, 0.04);
|
||||
border: 1px solid rgba(54, 220, 255, 0.24);
|
||||
border-radius: 0.2rem;
|
||||
font-size: 0.72rem;
|
||||
line-height: 1;
|
||||
cursor: pointer;
|
||||
transition:
|
||||
color var(--transition-fast),
|
||||
border-color var(--transition-fast);
|
||||
@@ -240,11 +239,14 @@
|
||||
gap: 0.25rem;
|
||||
}
|
||||
|
||||
/* A UiChip in the card's own type: the card's line height and weight, not
|
||||
the shared chip's (chip.css). */
|
||||
.gev-voice-card-chip {
|
||||
padding: 0.08rem 0.3rem;
|
||||
color: var(--text-secondary);
|
||||
border: 1px solid rgba(54, 220, 255, 0.3);
|
||||
border-radius: 0.18rem;
|
||||
font: inherit;
|
||||
font-family: var(--font-mono);
|
||||
font-size: 0.44rem;
|
||||
letter-spacing: 0.06rem;
|
||||
@@ -418,12 +420,7 @@ body.recording-mode .gev-pointer-reticle {
|
||||
text-align: start;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
:root[data-ui-theme='cyber'] #gev-voice-control .gev-voice-panel {
|
||||
background-color: var(--cyber-panel-surface);
|
||||
background-image: var(--cyber-panel-surface-detail);
|
||||
border-color: var(--glass-border);
|
||||
box-shadow: var(--cyber-panel-shadow);
|
||||
}
|
||||
|
||||
#gev-voice-control .gev-voice-panel[hidden],
|
||||
#gev-voice-control .gev-voice-panel [hidden] {
|
||||
display: none;
|
||||
|
||||
@@ -319,16 +319,7 @@ html:not([lang='en'])
|
||||
outline: 2px solid var(--voice-panel-accent, var(--accent));
|
||||
outline-offset: 2px;
|
||||
}
|
||||
:root[data-ui-theme='cyber']
|
||||
#gev-voice-control:has(> .gev-voice-settings-button) {
|
||||
--voice-panel-accent: var(--cyber-red-bright);
|
||||
}
|
||||
:root[data-ui-theme='cyber']
|
||||
#gev-voice-control:has(> .gev-voice-settings-button)
|
||||
.gev-voice-provider-field {
|
||||
background: var(--cyber-panel-surface);
|
||||
border-color: var(--glass-border);
|
||||
}
|
||||
|
||||
@media (pointer: coarse) {
|
||||
#gev-voice-control .gev-voice-settings-button {
|
||||
width: 44px;
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -0,0 +1,356 @@
|
||||
/* ── World timeline ─────────────────────────── */
|
||||
/* Shown while a layer with time to show is on, centred along the bottom of
|
||||
the screen; the command dock and what sits above it rise by its height. */
|
||||
:root {
|
||||
--world-timeline-lift: 0px;
|
||||
}
|
||||
|
||||
/* The bar and the time's bubble over its handle. */
|
||||
body:has(#world-timeline) {
|
||||
--world-timeline-lift: 66px;
|
||||
}
|
||||
|
||||
/* Clean view, recording and the cockpit put the dock away; the bar goes too. */
|
||||
body.ui-clean-view,
|
||||
body.recording-mode,
|
||||
body.cockpit-mode {
|
||||
--world-timeline-lift: 0px !important;
|
||||
}
|
||||
|
||||
body.ui-clean-view #world-timeline,
|
||||
body.recording-mode #world-timeline,
|
||||
body.cockpit-mode #world-timeline {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Time runs left to right in every language, so the handle, the fill, the
|
||||
ticks and the bubble agree under a right-to-left page too. */
|
||||
#world-timeline {
|
||||
direction: ltr;
|
||||
position: fixed;
|
||||
/* The dock's floor (command-dock.css); the dock rises above the bar. */
|
||||
bottom: 74px;
|
||||
left: 50%;
|
||||
z-index: 146;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
width: min(820px, calc(100vw - 24px));
|
||||
height: 42px;
|
||||
box-sizing: border-box;
|
||||
padding: 4px 6px;
|
||||
border: 1px solid var(--glass-border);
|
||||
border-radius: 10px;
|
||||
background: var(--glass-bg);
|
||||
backdrop-filter: blur(24px) saturate(1.4);
|
||||
-webkit-backdrop-filter: blur(24px) saturate(1.4);
|
||||
box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
#world-timeline .world-timeline-play,
|
||||
#world-timeline .world-timeline-live {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 32px;
|
||||
height: 32px;
|
||||
padding: 0 8px;
|
||||
border: 1px solid rgba(123, 189, 211, 0.28);
|
||||
border-radius: 8px;
|
||||
background: rgba(0, 212, 255, 0.08);
|
||||
color: var(--text-primary);
|
||||
font: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#world-timeline .world-timeline-play:hover,
|
||||
#world-timeline .world-timeline-live:hover {
|
||||
background: rgba(0, 212, 255, 0.18);
|
||||
}
|
||||
|
||||
#world-timeline .world-timeline-live.is-live {
|
||||
border-color: rgba(0, 212, 255, 0.6);
|
||||
background: rgba(0, 212, 255, 0.2);
|
||||
color: var(--accent);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
#world-timeline .world-timeline-live {
|
||||
font-size: 11px;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
#world-timeline .world-timeline-speed {
|
||||
flex: none;
|
||||
}
|
||||
|
||||
/* The time rides over the handle. It slides across itself as the handle
|
||||
crosses the track (its start at the handle at the track's start, its end at
|
||||
the end), so however wide its date it stays within the track. */
|
||||
#world-timeline .world-timeline-time {
|
||||
--inset: 0px;
|
||||
position: absolute;
|
||||
bottom: calc(100% + 6px);
|
||||
left: calc(var(--inset) + (100% - var(--inset)) * var(--at));
|
||||
padding: 2px 8px;
|
||||
border: 1px solid rgba(0, 212, 255, 0.4);
|
||||
border-radius: 6px;
|
||||
background: var(--glass-bg);
|
||||
color: var(--text-primary);
|
||||
font-family: var(--font-mono);
|
||||
font-size: 11px;
|
||||
font-variant-numeric: tabular-nums;
|
||||
white-space: nowrap;
|
||||
transform: translateX(calc(var(--at) * -100%));
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* Playing, held while a layer loads the time's data: a spinner by the time. */
|
||||
#world-timeline .world-timeline-time.is-waiting {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
#world-timeline .world-timeline-spinner {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border: 2px solid rgba(255, 255, 255, 0.2);
|
||||
border-top-color: var(--accent);
|
||||
border-radius: 50%;
|
||||
animation: world-timeline-spin 0.9s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes world-timeline-spin {
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
#world-timeline .world-timeline-spinner {
|
||||
animation: none;
|
||||
border-color: var(--accent);
|
||||
}
|
||||
}
|
||||
|
||||
/* 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;
|
||||
/* Two fingers pinch the track, not the page. */
|
||||
touch-action: none;
|
||||
flex: 1 1 auto;
|
||||
cursor: pointer;
|
||||
min-width: 80px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
/* Zoomed, the track's ends fade, as it goes on past them. */
|
||||
#world-timeline .world-timeline-track.is-zoomed::before {
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
transparent,
|
||||
rgba(123, 189, 211, 0.22) 12px,
|
||||
rgba(123, 189, 211, 0.22) calc(100% - 12px),
|
||||
transparent
|
||||
);
|
||||
}
|
||||
|
||||
#world-timeline .world-timeline-track::before {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 0;
|
||||
left: 0;
|
||||
height: 4px;
|
||||
border-radius: 2px;
|
||||
background: rgba(123, 189, 211, 0.22);
|
||||
content: '';
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
#world-timeline .world-timeline-fill {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
height: 4px;
|
||||
border-radius: 2px;
|
||||
background: var(--accent);
|
||||
opacity: 0.7;
|
||||
transform: translateY(-50%);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
#world-timeline .world-timeline-tick {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
width: 2px;
|
||||
height: 12px;
|
||||
margin-left: -1px;
|
||||
border-radius: 1px;
|
||||
background: rgba(0, 212, 255, 0.75);
|
||||
transform: translateY(-50%);
|
||||
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;
|
||||
}
|
||||
|
||||
#world-timeline .world-timeline-track.is-zoomed:active {
|
||||
cursor: grabbing;
|
||||
}
|
||||
|
||||
/* Only the handle takes the pointer as a slider; the track around it takes
|
||||
taps, drags and pinches itself. */
|
||||
#world-timeline .world-timeline-scrub {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
background: transparent;
|
||||
appearance: none;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
#world-timeline .world-timeline-scrub::-webkit-slider-thumb {
|
||||
cursor: ew-resize;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
#world-timeline .world-timeline-scrub::-moz-range-thumb {
|
||||
cursor: ew-resize;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
/* The time dragged off the track: the handle waits at its edge, unseen. */
|
||||
#world-timeline .world-timeline-scrub.is-off-view::-webkit-slider-thumb {
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
#world-timeline .world-timeline-scrub.is-off-view::-moz-range-thumb {
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
#world-timeline .world-timeline-scrub::-webkit-slider-runnable-track {
|
||||
height: 100%;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#world-timeline .world-timeline-scrub::-moz-range-track {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#world-timeline .world-timeline-scrub::-webkit-slider-thumb {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
margin-top: 5px;
|
||||
border: 2px solid var(--accent);
|
||||
border-radius: 50%;
|
||||
background: #031018;
|
||||
box-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
|
||||
appearance: none;
|
||||
}
|
||||
|
||||
#world-timeline .world-timeline-scrub::-moz-range-thumb {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border: 2px solid var(--accent);
|
||||
border-radius: 50%;
|
||||
background: #031018;
|
||||
}
|
||||
|
||||
/* A finger needs a bigger handle. */
|
||||
@media (pointer: coarse) {
|
||||
#world-timeline .world-timeline-scrub::-webkit-slider-thumb {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
margin-top: 1px;
|
||||
}
|
||||
|
||||
#world-timeline .world-timeline-scrub::-moz-range-thumb {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
#world-timeline .world-timeline-scrub:focus-visible {
|
||||
outline: 1px solid var(--accent);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
@media (max-width: 1199px) {
|
||||
#world-timeline {
|
||||
bottom: 2vh;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
#world-timeline {
|
||||
bottom: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
/* On phones the bar sits just above the tab bar, under the voice dock, with
|
||||
the track and the speed on a row of their own beneath play and live. */
|
||||
body.mobile-shell:has(#world-timeline) {
|
||||
--world-timeline-lift: 80px;
|
||||
}
|
||||
|
||||
body.mobile-shell #world-timeline {
|
||||
bottom: calc(var(--mobile-tab-space) + 6px);
|
||||
flex-wrap: wrap;
|
||||
row-gap: 4px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* The bubble rises into the first row, clear of play on its left. */
|
||||
body.mobile-shell #world-timeline .world-timeline-time {
|
||||
--inset: 48px;
|
||||
}
|
||||
|
||||
/* The speed sits on the track's row, a full-size target beside it. */
|
||||
body.mobile-shell #world-timeline .world-timeline-track {
|
||||
order: 1;
|
||||
flex: 1 1 calc(100% - 96px);
|
||||
}
|
||||
|
||||
body.mobile-shell #world-timeline .world-timeline-live {
|
||||
margin-inline-start: auto;
|
||||
}
|
||||
|
||||
body.mobile-shell #world-timeline .world-timeline-speed {
|
||||
order: 2;
|
||||
height: 32px;
|
||||
}
|
||||
Reference in new issue
Block a user