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

+7 -2
View File
@@ -21,13 +21,18 @@
.nb.alert { background-color: #ff4a3d22; }
@keyframes nb-alert { from { opacity: 1; } to { opacity: 0.25; } }
.nb .tip { top: 46dp; right: 0; left: auto; bottom: auto; width: 230dp; white-space: normal; text-align: right; }
/* REM: the cockpit's button strip (body.cockpit while the bar draws on the cockpit's panel "buttons",
rem_ui_nnbar.cpp PlaceOnStrip): the display is the frame, the icons stand side by side with the other
bar's, the tool tips open upwards */
.cockpit .nnbar { decorator: none; padding: 0; }
.cockpit .nb .tip { top: auto; bottom: 50dp; }
.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="nnstrip movable" data-model="nnbar">
<body class="nnstrip movable" data-class-cockpit="cockpit" data-model="nnbar">
<div class="win-head edit-grip">NeuroNet bar &#10021;</div>
<div class="nnbar" data-if="shown" data-style-width="icons.size * 42 + 32 + 'dp'">
<div class="nnbar" data-if="shown" data-style-width="icons.size * 42 + (cockpit ? 0 : 32) + 'dp'">
<div class="nb" data-for="i : icons" data-class-active="i.active" data-class-alert="i.alert" data-action="nn" data-attr-data-arg="i.cmd">
<img data-attr-src="i.icon"/>
<div class="tip" data-if="i.label != ''">{{ i.label }}</div>