mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-19 01:32:19 +00:00
Keep right-to-left credits clear of the corner row and the readout
From review, checked in headless Chromium at 1100-1920px wide, Tactical and Minimal, left to right and right to left, with a credit line long enough to wrap: - Right to left with the Minimal HUD the credits stayed bottom left, under the language picker and Power Up: the Minimal placement's two IDs outweighed the right-to-left rule, which now matches it. - Right to left from 1200px a wrapped credit line ran into the Tactical bottom-right readout (AIS); the readout sits 1.5rem higher there. - The left rail no longer reads a top pin no stylesheet sets since Cyber went; VUE-MIGRATION no longer lists the removed cyberTheme test, and CURRENT-STATE notes the narrow-screen credit line that does not wrap (as on main). Co-authored-by: Manjunath Paparaju <[email protected]>
This commit is contained in:
1 parent
d68adcea21
commit
ea3d543e13
7 files changed
+38
-13
No files matched your search
@@ -540,8 +540,15 @@ body:not(.ui-clean-view):not(.recording-mode):has(
|
||||
/* 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). */
|
||||
/* The Minimal HUD's placement above names #intel-hud too: matched here,
|
||||
so right to left wins over it. */
|
||||
html[dir='rtl']
|
||||
body:not(.context-docked):not(.ui-clean-view):not(.recording-mode)
|
||||
:is(#cesium-credits, #gev-credits),
|
||||
html[dir='rtl']
|
||||
body:not(.context-docked):not(.ui-clean-view):not(.recording-mode):has(
|
||||
#intel-hud[data-variant='minimal'].active
|
||||
)
|
||||
:is(#cesium-credits, #gev-credits) {
|
||||
right: 1.5rem;
|
||||
left: auto;
|
||||
|
||||
@@ -331,6 +331,15 @@ body:not(.mobile-shell):not(.cockpit-mode):not(.scene-playback-mode):not(
|
||||
#intel-hud[data-variant='tactical'] .hud-bottom-right {
|
||||
bottom: 3.375rem;
|
||||
}
|
||||
/* Right to left the attribution row takes the bottom right: the readout
|
||||
clears two lines of it (rail-split.css). */
|
||||
@media (min-width: 1200px) {
|
||||
&:where(html[dir='rtl'] *)
|
||||
#intel-hud[data-variant='tactical']
|
||||
.hud-bottom-right {
|
||||
bottom: calc(3.375rem + 1.5rem);
|
||||
}
|
||||
}
|
||||
#intel-hud:is([data-variant='tactical'], [data-variant='minimal'])
|
||||
.hud-bottom-left {
|
||||
bottom: var(--omnibar-coordinates-bottom);
|
||||
|
||||
@@ -127,6 +127,12 @@
|
||||
bottom: 3.375rem;
|
||||
}
|
||||
|
||||
/* Right to left the attribution row takes the bottom right
|
||||
(command-dock-trays.css): the readout clears two lines of it. */
|
||||
html[dir='rtl'] #intel-hud[data-variant='tactical'] .hud-bottom-right {
|
||||
bottom: calc(3.375rem + 1.5rem);
|
||||
}
|
||||
|
||||
#intel-hud:is([data-variant='tactical'], [data-variant='minimal'])
|
||||
.hud-bottom-left,
|
||||
:root[data-scope-mask='off']
|
||||
|
||||
Reference in new issue
Block a user