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:
1 parent
0bcd696a90
commit
61d7f0029d
8 files changed
+179
-10
No files matched your search
@@ -17,13 +17,18 @@
|
||||
.nb img { transform: perspective(240dp) rotateY(0deg) scale(1); transition: transform 0.2s cubic-out; }
|
||||
.nb.active img { image-color: #f2b13c; }
|
||||
.nb .tip { top: 46dp; left: 0; right: auto; bottom: auto; width: 230dp; white-space: normal; }
|
||||
/* 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="rembar">
|
||||
<body class="nnstrip movable" data-class-cockpit="cockpit" data-model="rembar">
|
||||
<div class="win-head edit-grip">REM bar ✥</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-action="nn" data-attr-data-arg="i.cmd">
|
||||
<img data-attr-src="i.icon"/>
|
||||
<div class="tip" data-if="i.label != ''">{{ i.label }}</div>
|
||||
|
||||
Reference in new issue
Block a user