mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 00:32:21 +00:00
Review fixes for gekh's #1113 round: - a link runs show_street_level with origin 'programmatic', so its source switch and layer are not saved as the recipient's preferences; - with no place named, the action looks under the screen centre (aim 'screen-centre', armed false), keeps the sky refusal and leaves a link's armed point alone; - an armed OPEN aimed at the sky opens nothing instead of the far link point; - an imagery-stage failure is spoken as an error, missing imagery as missing (street.nearestOutcome); the card says "the view centre" in the interface language; - every photo the action opens reveals its panel, and revealPanel scrolls the panel into view in the phone sheet; - embed: EXPAND survives embed's own clean view, the lifted photo hides in cockpit, recording and scene playback, and a failed photo step closes the earlier photo before the view flies; - links pasted into an open tab run their street-level step after the restore settles; a superseded start link does not; - Mapillary's nearest search gives up after 12 s, body included.
40 lines
1.2 KiB
CSS
40 lines
1.2 KiB
CSS
/* Embed mode (?embed=1): the globe alone, on top of clean view. Provider
|
|
attribution stays visible. */
|
|
body.ui-embed #clean-view-exit,
|
|
body.ui-embed #intel-hud,
|
|
body.ui-embed #key-setup-chip,
|
|
body.ui-embed #corner-actions,
|
|
body.ui-embed #key-setup,
|
|
body.ui-embed #first-run-launcher,
|
|
body.ui-embed #command-dock,
|
|
body.ui-embed #left-panel-stack,
|
|
body.ui-embed #right-context-rail,
|
|
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;
|
|
}
|