Keep phone and clean-view credits as they were, and lift narrow corners over the World Timeline

The Cesium credit box's width cap and right-to-left placement apply from
1200px as before, and in the Omnibar layout at every width, so the phone
shell, clean view, recording and scene playback keep their own layout.
Narrower than 1120px the coordinates and the Tactical readout sit above
the World Timeline while it shows. The scene format notes that a build
from before `sonar` refuses a project that has it.

Co-authored-by: Manjunath Paparaju <[email protected]>
This commit is contained in:
Sameh KhamisandManjunath Paparaju authored and Sameh Khamis committed 2026-11-18 19:45:47 -08:00
1 parent c49cf5168e
commit 71f40c9655
5 files changed
+87 -22

No files matched your search

+41 -15
View File
@@ -501,16 +501,13 @@ body:not(.ui-clean-view):not(.recording-mode):has(
/* 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). At 980px and below the dock is two rows
tall and command-dock.css places it. */
@media (min-width: 981px) {
#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));
}
(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) {
@@ -532,21 +529,42 @@ body:not(.ui-clean-view):not(.recording-mode):has(
}
/* 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, at
every width: a long line wraps rather than running under the corner row.
Right to left it hangs from the anchor's right edge. */
#cesium-credits .cesium-widget-credits {
#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;
}
html[dir='rtl'] #cesium-credits .cesium-widget-credits {
/* 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). */
@@ -564,6 +582,14 @@ html[dir='rtl'] #cesium-credits .cesium-widget-credits {
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) {
+7
View File
@@ -368,6 +368,13 @@ body:not(.mobile-shell):not(.cockpit-mode):not(.scene-playback-mode):not(
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']