mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-23 11:42:21 +00:00
Rebuild the Context panel around the selected item and the view
Clicking anything a layer can identify opens one card in Context: a hero tile (route globe and 3D model for a flight, the camera for CCTV, headline figures otherwise), its facts, actions with Cockpit or the orbital view as the primary one, and a standard set of nearby blocks (weather and local time, flights, vessels, hazards, alerts) within one radius the user sets. Aircraft show altitude as a graph. Things that move are followed when picked, and a card closes when its layer is turned off. With nothing selected the panel describes the view: the layers that are on with a breakdown of what each holds, the camera's height, what is in view, then time, weather and local news. From far out it shows worldwide counts per layer. A search field in the header narrows whatever the panel shows. Prototype. Context reads weather and hazard feeds while its panel is closed, the two 3D previews on a flight card repaint continuously, Follow can show pressed after tracking has ended elsewhere, and most new strings are fixed English. Same-named sites are told apart by position, not by a stable id.
This commit is contained in:
1 parent
f7f18c2823
commit
cc83763452
21 files changed
+6595
-1
No files matched your search
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user