mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-15 07:42:23 +00:00
Leave the map credits' place in the cockpit to the credits change
Restyling them here moved the credits where the attribution layout model cannot follow. Co-authored-by: Manjunath Paparaju <[email protected]>
This commit is contained in:
1 parent
d9cc397ca9
commit
394bfe71c4
2 files changed
+1
-30
No files matched your search
@@ -739,8 +739,7 @@ and Radio through the cockpit layout pass, whose floor
|
|||||||
(`COCKPIT_UTILITY_MIN_TOP_PX` / `_RATIO` in `src/ui/cockpitPresentation.js`)
|
(`COCKPIT_UTILITY_MIN_TOP_PX` / `_RATIO` in `src/ui/cockpitPresentation.js`)
|
||||||
matches it, so an open panel still stops short of the briefing. Contact and
|
matches it, so an open panel still stops short of the briefing. Contact and
|
||||||
Live Signals are shorter, in the same glass, with the briefing's rows and
|
Live Signals are shorter, in the same glass, with the briefing's rows and
|
||||||
weather tiles tightened; Regional News stays a briefing page. The map credits
|
weather tiles tightened; Regional News stays a briefing page. In a right-to-left language, the rail keeps its
|
||||||
sit on one line at the bottom. In a right-to-left language, the rail keeps its
|
|
||||||
physical side as the cockpit's other windows do. The Cyber HUD and the phone
|
physical side as the cockpit's other windows do. The Cyber HUD and the phone
|
||||||
keep their own cockpit layouts, with the Display and Radio launchers as
|
keep their own cockpit layouts, with the Display and Radio launchers as
|
||||||
before, and edge mode does not apply in the cockpit.
|
before, and edge mode does not apply in the cockpit.
|
||||||
|
|||||||
@@ -244,34 +244,6 @@
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Map credits: one quiet centred line at the very bottom, under Reset /
|
|
||||||
Exit Cockpit, clear of the HUD readouts in the corners. */
|
|
||||||
body.cockpit-mode #cesium-credits {
|
|
||||||
top: auto !important;
|
|
||||||
right: auto !important;
|
|
||||||
bottom: 8px !important;
|
|
||||||
left: 50% !important;
|
|
||||||
max-width: calc(100vw - 2rem) !important;
|
|
||||||
padding: 0.2rem 0.75rem !important;
|
|
||||||
border-radius: 999px !important;
|
|
||||||
transform: translateX(-50%);
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
body.cockpit-mode
|
|
||||||
#cesium-credits
|
|
||||||
:is(.cesium-widget-credits, .cesium-credit-textContainer) {
|
|
||||||
display: inline-flex !important;
|
|
||||||
flex-wrap: nowrap !important;
|
|
||||||
align-items: center;
|
|
||||||
gap: 0.4rem;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
body.cockpit-mode #cesium-credits img {
|
|
||||||
height: 13px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Both rails start at one height, just under the top HUD text, so their top
|
/* 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
|
edges line up; the cockpit layout pass places Display and Radio at the
|
||||||
same height (COCKPIT_UTILITY_MIN_TOP_PX / _RATIO in cockpitPresentation.js). */
|
same height (COCKPIT_UTILITY_MIN_TOP_PX / _RATIO in cockpitPresentation.js). */
|
||||||
|
|||||||
Reference in new issue
Block a user