REM-Client e7791764: HUD on the cockpit's displays, status and 3D scanner as holograms, one button strip, Starflier cockpit v09

This commit is contained in:
flathack committed 2026-11-15 21:47:59 +01:00
1 parent 0bcd696a90
commit 61d7f0029d
8 files changed
+179 -10

No files matched your search

+12 -1
View File
@@ -31,11 +31,22 @@
radar { display: block; position: absolute; left: 0; top: 0; right: 0; bottom: 0; }
.lbl { position: absolute; font-size: 12dp; white-space: nowrap; pointer-events: none; }
.fwd { position: absolute; left: 50%; margin-left: -4dp; top: 4dp; font-family: "IBM Plex Mono"; font-size: 10dp; color: #f2b13c; pointer-events: none; }
/* REM: the cockpit's radar (body.cockpit while it draws on the cockpit's panel "radar", rem_ui_radar.cpp):
a hologram over the ship status -- no frame, no ground, the box as wide as the dish; the title at its
left corner, projection and ranges at the right one */
body.radar.cockpit { width: 440dp; height: 170dp; }
.cockpit .frame { decorator: none; display: block; pointer-events: none; }
.cockpit .head { position: absolute; left: 0; right: 0; top: 0; height: 22dp; padding: 0; border-bottom-width: 0; z-index: 2; }
.cockpit .head .rng { pointer-events: auto; background-color: #04090f99; }
.cockpit .head .rng.on { background-color: #f2b13c33; }
.cockpit #scope { position: absolute; left: 0; top: 0; right: 0; bottom: 0; }
.cockpit radar { pointer-events: auto; }
.cockpit .lbl { font-weight: 600; font-effect: shadow(0dp 1dp #000000cc); }
.edit-grip { display: none; position: absolute; left: 0; top: 0; padding: 2dp 8dp; background-color: #f2b13c; color: #05080d; font-family: "Saira SemiCondensed"; font-weight: 600; font-size: 13dp; border-radius: 3dp; white-space: nowrap; drag: drag; cursor: move; pointer-events: auto; z-index: 10; }
.hud-editing .edit-grip { display: block; }
</style>
</head>
<body class="radar movable" data-model="radar">
<body class="radar movable" data-model="radar" data-class-cockpit="cockpit">
<div class="win-head edit-grip">Radar &#10021;</div>
<div class="frame">
<div class="head">