Merge main (624c229b): STATION and LIVE sit in the Inspector tab after the entity card

Main split Context into Inspector and Properties tabs and renders the
Inspector only while Context is open; the two sections join it there, after
the entity card. Locales, same-as-english and package boundaries keep both
sides, deduplicated (the branch had added 54 duplicate module entries).
This commit is contained in:
Denis Groshev committed 2026-11-17 16:18:26 +01:00
commit 71d57481b7
209 files changed
+36213 -980

No files matched your search

+243
View File
@@ -0,0 +1,243 @@
/* ── 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. */
.context-search {
position: sticky;
top: 0;
z-index: 2;
display: flex;
flex: none;
box-sizing: border-box;
align-items: center;
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;
min-width: 0;
height: 100%;
padding: 0;
color: var(--text-primary, #e8eaed);
font: inherit;
font-size: 0.74rem;
line-height: 32px;
background: transparent;
border: 0;
outline: 0;
}
.context-search__input::-webkit-search-cancel-button {
display: none;
}
.context-search__clear {
display: grid;
flex: none;
place-items: center;
width: 24px;
height: 24px;
padding: 0;
color: rgba(199, 214, 222, 0.65);
background: transparent;
border: 0;
border-radius: 50%;
cursor: pointer;
}
.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);
}
+125
View File
@@ -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;
}
File diff suppressed because it is too large. Load diff
+57
View File
@@ -244,6 +244,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;
+332
View File
@@ -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;
}
+7 -3
View File
@@ -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,11 +157,13 @@ 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,
+252
View File
@@ -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
+110
View File
@@ -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;
}