Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
122 commits
Select commit Hold shift + click to select a range
107c101
Add the Voidcrew symbol for the lobby terminal
Jackriip Nov 16, 2026
7caee3f
Lobby terminal: play sounds through Web Audio
Jackriip Nov 16, 2026
197d59e
Add the lobby terminal's start-up screen
Jackriip Nov 16, 2026
d7bf6ca
Lobby terminal: drop the button deck, purple frame covers the whole pane
Jackriip Nov 16, 2026
4e74b56
Lobby terminal: 84-column grid, new drawing primitives, purple theme,…
Jackriip Nov 16, 2026
8579a1d
Merge branch 'feature/void-lobby' into void/foundation
Jackriip Nov 16, 2026
41d284a
Lobby terminal: crews send the roster only for the open record
Jackriip Nov 16, 2026
be1d3dd
Lobby terminal: side menu, key bar, notice row, CONFIRMED and OBSERVE…
Jackriip Nov 16, 2026
0f9c141
Lobby terminal: shell data for the new menu
Jackriip Nov 16, 2026
7b6bb4b
Lobby terminal: crew record and join flow in the new look
Jackriip Nov 16, 2026
2a594ee
Lobby terminal: character frame, viewscreen, list picker and colour p…
Jackriip Nov 16, 2026
ab0e3a3
Lobby terminal: a server tab request stops the CHARACTER file opening…
Jackriip Nov 16, 2026
59f4b80
Lobby terminal: HOUSING as blocks, reasons drawn on the block
Jackriip Nov 16, 2026
278dd9f
Lobby terminal: list and load saved ships from the shipyard
Jackriip Nov 16, 2026
3accc7b
Unit test for the dock terminal's HOUSING block and notices
Jackriip Nov 16, 2026
3de66f1
Lobby terminal: crew record berth rows stretch to fill the column
Jackriip Nov 16, 2026
3150b6d
Lobby shipyard: shared pieces (store, router, crumbs, LEAVE CREW dial…
Jackriip Nov 16, 2026
339cf2e
Merge branch 'void/crews' into feature/void-lobby
Jackriip Nov 16, 2026
8ab9f73
Merge branch 'void/housing' into feature/void-lobby
Jackriip Nov 16, 2026
80e5c76
Lobby terminal: fill tall panes in the species picker and colour pane…
Jackriip Nov 16, 2026
9c243c2
Lobby terminal: role berth lists, accessory layer and lipstick for th…
Jackriip Nov 16, 2026
54efef4
Lobby terminal: ROLES, TRAITS and KIT editors in the new character frame
Jackriip Nov 16, 2026
258631c
Lobby terminal: integration polish after merging crews and housing
Jackriip Nov 16, 2026
c15ccee
Lobby shipyard: home, saved ships with plans, hull list as blocks
Jackriip Nov 16, 2026
28c0e0e
Lobby shipyard bill: tight rows stretch into spare rows
Jackriip Nov 16, 2026
659a44d
Lobby shipyard: ledger state, saves and plans in the yard data, refus…
Jackriip Nov 16, 2026
a5cd75b
Lobby shipyard: colour ship picture in a well, with the room marker a…
Jackriip Nov 16, 2026
c8ddd90
Lobby terminal: short picker lists grow their rows to fill the column
Jackriip Nov 16, 2026
aa01041
Lobby shipyard: hull record with the spec column and the FIT OUT key
Jackriip Nov 16, 2026
03ad1ee
Lobby shipyard: fit, one step a page, shown and taken options, total …
Jackriip Nov 16, 2026
e786f42
Lobby terminal: character game side for the void redesign
Jackriip Nov 16, 2026
d79fb4f
Merge branch 'void/yard' into feature/void-lobby
Jackriip Nov 16, 2026
f275971
Merge branch 'void/yard-home' into feature/void-lobby
Jackriip Nov 16, 2026
c0c10a6
Merge the lobby shell (integration round 1) into the character branch
Jackriip Nov 16, 2026
42601a9
Merge the ROLES, TRAITS and KIT editors into the character branch
Jackriip Nov 16, 2026
d57bf64
Merge branch 'void/yard-fit' into feature/void-lobby
Jackriip Nov 16, 2026
adc5668
Lobby terminal: mount the new ROLES, TRAITS and KIT editors, one Esca…
Jackriip Nov 16, 2026
220db4c
Lobby terminal: shipyard integration fixes
Jackriip Nov 16, 2026
0f0b27f
Merge branch 'void/char' into feature/void-lobby
Jackriip Nov 16, 2026
a5b2f54
Build the lobby role list from a given job pool so its test uses know…
Jackriip Nov 16, 2026
0423d23
Lobby terminal: motion and sound module, press flash, sound table wit…
Jackriip Nov 16, 2026
9db4de1
Lobby terminal: shell motion and sound
Jackriip Nov 16, 2026
9868a3a
Lobby terminal: CREWS motion and sound
Jackriip Nov 16, 2026
7ed14cd
Lobby terminal: SHIPYARD and HOUSING motion and sound
Jackriip Nov 16, 2026
81882b5
Lobby terminal: CHARACTER motion and sound
Jackriip Nov 16, 2026
1cb9ab6
Lobby terminal: title music waits for LOGIN, a cursor blinks while th…
Jackriip Nov 16, 2026
d4aea2d
UI harness: read the lobby terminal's sound state and play log
Jackriip Nov 16, 2026
81611c7
Lobby TRAITS: keep the description off the box's bottom border
Jackriip Nov 16, 2026
b361453
Lobby bill and fit: names take the row's free width before the cut
Jackriip Nov 16, 2026
a13deee
Lobby CREWS: spread compact rows when every ship fits on one page
Jackriip Nov 16, 2026
abbb076
Lobby species confirm: dim the screen behind it
Jackriip Nov 16, 2026
dd0372b
Lobby fields: inner padding, dead look, 1.25x text option
Jackriip Nov 16, 2026
c755d18
Lobby BODY: one value size per page
Jackriip Nov 16, 2026
4b6f4d7
Lobby crew record: berth title keeps two cells before the count
Jackriip Nov 16, 2026
778bdfc
Lobby menu: character name a quarter row lower
Jackriip Nov 16, 2026
6acc75e
Lobby terminal: motion fixes from the frame captures
Jackriip Nov 16, 2026
ec4b904
Merge branch 'void/review-fixes' into feature/void-lobby
Jackriip Nov 16, 2026
572baca
Merge branch 'void/testfix' into feature/void-lobby
Jackriip Nov 16, 2026
82d4f3c
Lobby menu: drop JOIN once the round runs, wrap the character name, s…
Jackriip Nov 16, 2026
24a5db2
Lobby character: row arrows and keys take the mouse, voices play when…
Jackriip Nov 16, 2026
5031f71
Lobby character: category and group presses close an open panel, save…
Jackriip Nov 16, 2026
832776d
Lobby character: write the whole character on save so a new file surv…
Jackriip Nov 16, 2026
bd3c68e
Lobby: title music waits for LOGIN however long the start-up screen i…
Jackriip Nov 16, 2026
3da9207
Lobby: the first-time welcome is asked by the dock terminal, the nati…
Jackriip Nov 16, 2026
85186a7
Lobby: WELCOME box in the terminal, combat mode or intents
Jackriip Nov 16, 2026
ce2ed2e
Lobby settings: frame, OPTIONS pane and the KEYS seam
Jackriip Nov 16, 2026
af7cf33
Lobby settings: shared frame in its own module, long choices open the…
Jackriip Nov 16, 2026
ad1a7f5
Lobby settings: keys server side through tg's keybindings middleware,…
Jackriip Nov 16, 2026
cd72a90
Lobby settings: unit test for the settings block and settings_set
Jackriip Nov 16, 2026
322b7e3
Merge branch 'void/settings' into feature/void-lobby
Jackriip Nov 16, 2026
8868a39
Lobby settings: keys pane with three slots, rebinding and reset
Jackriip Nov 16, 2026
882c1e8
Merge branch 'void/settings' into void/settings-keys
Jackriip Nov 16, 2026
d1d2956
Lobby settings: keys reset-all confirm one column wider
Jackriip Nov 16, 2026
8d1c3d9
Merge branch 'void/settings-keys' into feature/void-lobby
Jackriip Nov 16, 2026
17a2de3
Lobby settings: arrow keys and Delete bind under the names the game m…
Jackriip Nov 16, 2026
04d64c2
Lobby settings: a key list cut in its row shows whole in the descript…
Jackriip Nov 16, 2026
6004bcf
Lobby settings: drawn checkboxes, sliders on the volumes, mouse wheel…
Jackriip Nov 16, 2026
07fe558
Lobby settings: search, Escape from a row goes to the list, wheel in …
Jackriip Nov 16, 2026
077686d
Lobby polish: the bill's ON ACCOUNT row shows 0 for an empty class
Jackriip Nov 16, 2026
f58060a
Lobby polish: fit option names in capitals, the mouse wheel turns the…
Jackriip Nov 16, 2026
6060f1c
Lobby polish: CHARACTER's paged lists turn with the mouse wheel; BODY…
Jackriip Nov 16, 2026
77650d4
Lobby polish: KIT's packed box sits over the arrow column; no arrows …
Jackriip Nov 16, 2026
86c9b63
Lobby polish: indent the species dialog's body inside its backdrop fr…
Jackriip Nov 16, 2026
9a840e6
Lobby polish: hull record sections end half a row past their last line
Jackriip Nov 16, 2026
cb0fd7b
Lobby polish: an empty save slot's number sits on the same row as a s…
Jackriip Nov 16, 2026
9bd7400
Lobby polish: fit keeps its picture on the smallest pane; Up from the…
Jackriip Nov 16, 2026
13cac75
Lobby polish: an open dialog owns Escape, and a screen's first focus …
Jackriip Nov 16, 2026
80fe2ff
Lobby polish: MENU popup owns its Escape; drop the unused right mark …
Jackriip Nov 16, 2026
9b7764f
Lobby polish: berth rows keep a long title clear of its count, SIGN O…
Jackriip Nov 16, 2026
9b11a68
Lobby polish: fit PREV drawn as the same key as NEXT
Jackriip Nov 16, 2026
4e11e31
Lobby polish: bound keys read CTRL+SHIFT+NUMPAD5, with commas between…
Jackriip Nov 16, 2026
d7d934d
Lobby polish: a number's arrow at the end of its range is faint and i…
Jackriip Nov 16, 2026
74b0954
Lobby polish: the settings description follows the mouse, then the fo…
Jackriip Nov 16, 2026
80a4b9d
Lobby polish: the settings notes describe search and both groups as b…
Jackriip Nov 16, 2026
5808794
Lobby polish: settings Escape and description only count rows on the …
Jackriip Nov 16, 2026
e17ef89
Lobby polish: stretched berth rows space like the CREWS list rows (pi…
Jackriip Nov 16, 2026
08ae6c5
Lobby polish: a long ship name in a CREWS row stays two columns clear…
Jackriip Nov 16, 2026
2d8f610
Lobby polish: the viewscreen floor is violet
Jackriip Nov 16, 2026
c29df21
Lobby polish: AGE, PITCH and SPEED draw the arrow at their end faint …
Jackriip Nov 16, 2026
7919587
Lobby polish: KIT's WORN and LIPS rows and TRAITS' option rows get < …
Jackriip Nov 16, 2026
fa1c1d0
Lobby polish: a short list picker stays in one column with its rows a…
Jackriip Nov 16, 2026
7c8ea75
Lobby polish: the side menu's rule sits a quarter row under the chara…
Jackriip Nov 16, 2026
4164fb2
Lobby polish: tabs click and focus as whole blocks; Up into the tab r…
Jackriip Nov 16, 2026
765c3a4
Merge branch 'polish/shell' into feature/void-lobby
Jackriip Nov 16, 2026
35e616b
Merge branch 'polish/char' into feature/void-lobby
Jackriip Nov 16, 2026
4c9261c
Merge branch 'polish/yard' into feature/void-lobby
Jackriip Nov 16, 2026
d549fa8
Merge branch 'polish/crews' into feature/void-lobby
Jackriip Nov 16, 2026
f642528
Merge branch 'polish/settings' into feature/void-lobby
Jackriip Nov 16, 2026
711cedb
Lobby polish: open the gap between the COMBAT and SCIENCE columns
Jackriip Nov 16, 2026
44db2eb
Lobby polish: a closed dialog gives the focus back to the key that op…
Jackriip Nov 16, 2026
dba873d
Lobby polish: LEAVE CREW, the species box and RESET ALL own their Escape
Jackriip Nov 16, 2026
e5ff77c
Lobby polish: remove the unused old colour entry and its legacy helpers
Jackriip Nov 16, 2026
d4d4222
Lobby polish: Right from a list enters its rows at the first row
Jackriip Nov 16, 2026
a195af0
Lobby polish: status lines end with a full stop
Jackriip Nov 16, 2026
b2f846a
Lobby polish: SETTINGS steps with CHARACTER's keys and keeps the type…
Jackriip Nov 16, 2026
91147d7
Lobby polish: SAVED SHIPS says FETCHING YARD RECORDS. while it waits
Jackriip Nov 16, 2026
e2672f2
Lobby polish: refusal reasons from the server draw upper case
Jackriip Nov 16, 2026
6922992
Lobby polish: the bill's lines turn with the wheel and PageUp/PageDown
Jackriip Nov 16, 2026
f8993e2
Auto-translate targets English by default
Jackriip Nov 16, 2026
9f8cb5f
Lobby menu: RULES opens the server's rules page; the credit line give…
Jackriip Nov 16, 2026
3e42de1
Merge remote-tracking branch 'origin2/master' into feature/void-lobby
Jackriip Nov 16, 2026
9fa9a17
Merge branch 'master' into feature/void-lobby
Jackriip Nov 16, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions code/modules/mob/dead/new_player/new_player.dm
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
vote_on_poll_handler(poll, href_list)

//When you cop out of the round (NB: this HAS A SLEEP FOR PLAYER INPUT IN IT)
/mob/dead/new_player/proc/make_me_an_observer()
/mob/dead/new_player/proc/make_me_an_observer(confirmed = FALSE) // VOIDCREW EDIT CHANGE - lobby_terminal: confirmed skips the alert; the dock terminal asks in its own window - ORIGINAL: /mob/dead/new_player/proc/make_me_an_observer()
if(QDELETED(src) || !src.client)
ready = PLAYER_NOT_READY
return FALSE
Expand All @@ -74,7 +74,7 @@
if(SSlag_switch.measures[DISABLE_DEAD_KEYLOOP])
less_input_message = " - Notice: Observer freelook is currently disabled."
// Don't convert this to tgui please, it's way too important
var/this_is_like_playing_right = alert(usr, "Are you sure you wish to observe? [get_respawn_notice()][less_input_message]", "Observe", "Yes", "No") // VOIDCREW EDIT: ghost respawn integration: display the applicable respawn notice (voidcrew/edits/mobs/ghost_respawn.dm)
var/this_is_like_playing_right = confirmed ? "Yes" : alert(usr, "Are you sure you wish to observe? [get_respawn_notice()][less_input_message]", "Observe", "Yes", "No") // VOIDCREW EDIT: ghost respawn integration: display the applicable respawn notice (voidcrew/edits/mobs/ghost_respawn.dm); lobby_terminal: no alert when already confirmed
if(QDELETED(src) || !src.client || this_is_like_playing_right != "Yes")
ready = PLAYER_NOT_READY
return FALSE
Expand Down
2 changes: 1 addition & 1 deletion config/config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ IPINTEL_REJECT_BAD
# WIKIURL http://tgstation13.org/wiki

## Rules address
# RULESURL http://tgstation13.org/wiki/Rules
RULESURL https://rules.voidcrew-lrp.com

## Github address
# GITHUBURL https://www.github.com/tgstation/tgstation
Expand Down
4 changes: 4 additions & 0 deletions tgstation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -7397,6 +7397,9 @@
#include "voidcrew\modules\lobby_terminal\lobby_character_preview.dm"
#include "voidcrew\modules\lobby_terminal\lobby_crews.dm"
#include "voidcrew\modules\lobby_terminal\lobby_housing.dm"
#include "voidcrew\modules\lobby_terminal\lobby_music.dm"
#include "voidcrew\modules\lobby_terminal\lobby_settings.dm"
#include "voidcrew\modules\lobby_terminal\lobby_settings_keys.dm"
#include "voidcrew\modules\lobby_terminal\lobby_tgui.dm"
#include "voidcrew\modules\lobby_terminal\lobby_yard.dm"
#include "voidcrew\modules\loot\abandoned_crate.dm"
Expand Down Expand Up @@ -7818,6 +7821,7 @@
#include "voidcrew\modules\ship_saves\ship_save_console.dm"
#include "voidcrew\modules\ship_saves\ship_save_construction.dm"
#include "voidcrew\modules\ship_saves\ship_save_lobby.dm"
#include "voidcrew\modules\ship_saves\ship_save_lobby_terminal.dm"
#include "voidcrew\modules\ship_saves\ship_save_progress.dm"
#include "voidcrew\modules\ship_saves\ship_save_store.dm"
#include "voidcrew\modules\ship_saves\ship_save_survey.dm"
Expand Down
259 changes: 15 additions & 244 deletions tgui/packages/voidcrew_tgui/interfaces/LobbyTerminal/Bezel.tsx
Original file line number Diff line number Diff line change
@@ -1,115 +1,21 @@
/**
* The terminal's bezel: frame, top strip, deck with the big keys, grille and the tray of
* small lobby buttons. Class tree from the art's lobby_terminal.css:
* The terminal's bezel: the frame and its top strip around the glass. It covers the whole
* pane. Class tree from the art's lobby_terminal.css:
*
* .lt-bezel (--s) > .lt-screen, .lt-frame > .lt-strip, .lt-deck > .lt-deck-row >
* .lt-keys > .lt-key..., .lt-grille-slot > .lt-grille, .lt-tray > .lt-sbtn...
* .lt-bezel (--s) > .lt-screen, .lt-frame > .lt-strip
*
* Without the art (static.bezel null) the same tree is drawn by PLACEHOLDER_CSS.
* No keys, no focusables, no game data. Without the art (static.bezel null) the same tree is
* drawn flat by PLACEHOLDER_CSS.
*/
import type { ReactNode } from 'react';
import { resolveAsset } from 'tgui/assets';
import { useBackend } from 'tgui/backend';
import { useFocusable } from './nav';
import type { LobbyData } from './types';

type KeyId = 'join' | 'ready' | 'notready' | 'observe' | 'character' | 'start';

const KEY_LABEL: Record<KeyId, string> = {
join: 'JOIN',
ready: 'READY',
notready: 'READY',
observe: 'OBSERVE',
character: 'CHARACTER',
start: 'START',
};

function Key(props: {
id: KeyId;
disabled?: boolean;
/** Glows while its screen is open (CHARACTER). */
lit?: boolean;
title: string;
onClick: () => void;
}) {
const { id, disabled, lit, title, onClick } = props;
const focus = useFocusable<HTMLButtonElement>(!disabled, {
activate: onClick,
});
return (
<button
ref={focus.ref}
type="button"
className={`lt-key lt-key--${id}${disabled ? ' is-disabled' : ''}${lit ? ' is-lit' : ''}${focus.focused ? ' is-focus' : ''}`}
disabled={disabled}
title={title}
onClick={disabled ? undefined : onClick}
onMouseEnter={focus.onMouseEnter}
>
<span className="lt-key-legend">{KEY_LABEL[id]}</span>
</button>
);
}

type SmallId = 'wiki' | 'poll' | 'crew_manifest' | 'settings' | 'changelog';

function SmallButton(props: {
id: SmallId;
title: string;
disabled?: boolean;
mark?: boolean;
onClick: () => void;
}) {
const { id, title, disabled, mark, onClick } = props;
const focus = useFocusable<HTMLButtonElement>(!disabled, {
activate: onClick,
});
const state = disabled ? '_disabled' : focus.focused ? '_highlighted' : '';
return (
<button
ref={focus.ref}
type="button"
className={`lt-sbtn${disabled ? ' is-disabled' : ''}${focus.focused ? ' is-focus' : ''}`}
title={title}
disabled={disabled}
onClick={disabled ? undefined : onClick}
onMouseEnter={focus.onMouseEnter}
>
<img
className="lt-sbtn-icon"
src={resolveAsset(`lt_${id}${state}.png`)}
width={24}
height={24}
alt=""
/>
{mark ? (
<img
className="lt-sbtn-mark"
src={resolveAsset('lt_new_poll.png')}
width={24}
height={26}
alt=""
/>
) : null}
</button>
);
}
import type { LobbyData } from './types';

export function Bezel(props: {
s: number;
children: ReactNode;
/** The CHARACTER tab is open: the key glows. */
characterLit?: boolean;
/** The CHARACTER key: switches to the CHARACTER tab. */
onCharacter: () => void;
}) {
const { s, children, characterLit, onCharacter } = props;
const { data, act } = useBackend<LobbyData>();
export function Bezel(props: { s: number; children: ReactNode }) {
const { s, children } = props;
const { data } = useBackend<LobbyData>();
const art = !!data.bezel;
const preRound = data.phase === 'loading' || data.phase === 'pregame';
const ready = !!data.ready;
const showReady = preRound || data.phase === 'setup';

return (
<div
className={art ? 'lt-bezel' : 'lt-bezel lt-ph'}
Expand All @@ -120,153 +26,18 @@ export function Bezel(props: {
<div className="lt-frame">
<div className="lt-strip" />
</div>
<div className="lt-deck">
<div className="lt-deck-row">
<div className="lt-keys">
{showReady ? (
<>
<Key
id={ready ? 'ready' : 'notready'}
disabled={!preRound}
title={ready ? 'Ready' : 'Not ready'}
onClick={() => act('ready')}
/>
<span
className={`lt-lamp lt-lamp--${ready ? 'ready' : 'notready'}`}
/>
</>
) : (
<Key
id="join"
disabled={data.phase !== 'playing'}
title="Join"
onClick={() => act('join')}
/>
)}
<Key
id="observe"
disabled={!data.can_observe}
title="Observe"
onClick={() => act('observe')}
/>
<Key
id="character"
disabled={!data.prefs_ready}
lit={characterLit}
title="Character"
onClick={onCharacter}
/>
{data.localhost_admin && preRound ? (
<Key
id="start"
title="Start now"
onClick={() => act('start_now')}
/>
) : null}
</div>
<div className="lt-grille-slot">
<div className="lt-grille" />
</div>
<div className="lt-tray">
<SmallButton
id="wiki"
title="Wiki"
disabled={!data.wiki}
onClick={() => act('wiki')}
/>
<SmallButton
id="poll"
title="Polls"
disabled={!data.polls}
mark={data.polls === 2}
onClick={() => act('polls')}
/>
<SmallButton
id="crew_manifest"
title="Crew manifest"
onClick={() => act('manifest')}
/>
<SmallButton
id="settings"
title="Settings"
disabled={!data.prefs_ready}
onClick={() => act('settings')}
/>
<SmallButton
id="changelog"
title="Changelog"
onClick={() => act('changelog')}
/>
</div>
</div>
</div>
</div>
);
}

/**
* Keycap legends are baked into the art; only the placeholder (and the START key, which has
* no art) shows the text legend.
*/
const LEGEND_CSS = `
.lt-key-legend { display: none; }
.lt-key--start { width: calc(var(--s) * 52px); height: calc(var(--s) * 34px); position: relative;
background: #9aa39f; box-shadow: inset 0 0 0 calc(var(--s) * 2px) #20202a; }
.lt-key--start .lt-key-legend, .lt-ph .lt-key-legend { display: block; position: absolute;
left: calc(var(--s) * 6px); right: calc(var(--s) * 6px); top: calc(var(--s) * 9px); height: calc(var(--s) * 13px);
background: #36373a; color: #7effbf; font-family: 'VCR', monospace; font-size: calc(var(--s) * 9px);
line-height: calc(var(--s) * 13px); text-align: center; letter-spacing: calc(var(--s) * 1px); }
.lt-key--start.is-focus .lt-key-legend { color: #ffc41f; }
.lt-key-legend { pointer-events: none; }
.lt-key.is-lit { position: relative; }
.lt-key.is-lit::after { content: ''; position: absolute; pointer-events: none;
left: calc(var(--s) * 9px); top: calc(var(--s) * 5px); width: calc(var(--s) * 77px); height: calc(var(--s) * 15px);
background: rgba(126,255,191,.16); mix-blend-mode: screen;
box-shadow: 0 0 calc(var(--s) * 6px) rgba(126,255,191,.55), inset 0 0 calc(var(--s) * 3px) rgba(126,255,191,.5); }
`;

export const BEZEL_EXTRA_CSS = LEGEND_CSS;

/** Stand-in for the art: the same layout in flat lobby colours. */
/** Stand-in for the art: a flat frame in the bezel's body colour. */
const PLACEHOLDER_CSS = `
.lt-ph.lt-bezel { --s: 1; position: absolute; inset: 0; overflow: hidden; background: #9aa39f; user-select: none; }
.lt-ph.lt-bezel { --s: 1; position: absolute; inset: 0; overflow: hidden; background: #43365a; user-select: none; }
.lt-ph .lt-screen { position: absolute; top: calc(var(--s) * 15px); left: calc(var(--s) * 13px);
right: calc(var(--s) * 13px); bottom: calc(var(--s) * 52px); overflow: hidden; z-index: 1; }
right: calc(var(--s) * 13px); bottom: calc(var(--s) * 3px); overflow: hidden; z-index: 1; }
.lt-ph .lt-frame { position: absolute; top: calc(var(--s) * 12px); left: calc(var(--s) * 10px);
right: calc(var(--s) * 10px); bottom: calc(var(--s) * 49px); box-sizing: border-box;
border: calc(var(--s) * 3px) solid #51575e; border-bottom-color: #e0e3dc; border-right-color: #e0e3dc;
pointer-events: none; z-index: 2; }
right: calc(var(--s) * 10px); bottom: 0; box-sizing: border-box;
border: calc(var(--s) * 3px) solid #33284a; border-bottom: 0; pointer-events: none; z-index: 2; }
.lt-ph .lt-strip { position: absolute; top: calc(var(--s) * -10px); left: calc(50% - var(--s) * 30px);
width: calc(var(--s) * 61px); height: calc(var(--s) * 6px); background: #36373a; }
.lt-ph .lt-deck { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--s) * 49px); z-index: 2;
border-top: calc(var(--s) * 2px) solid #e0e3dc; box-sizing: border-box; }
.lt-ph .lt-deck-row { position: absolute; top: calc(var(--s) * 6px); left: calc(var(--s) * 30px);
right: calc(var(--s) * 29px); display: flex; align-items: flex-start; }
.lt-ph .lt-keys { display: flex; align-items: flex-start; flex: none; }
.lt-ph .lt-key { display: block; flex: none; margin: 0; padding: 0; border: 0; outline: 0; position: relative;
height: calc(var(--s) * 34px); background: #bec4bf; box-shadow: inset 0 0 0 calc(var(--s) * 2px) #20202a; cursor: pointer; }
.lt-ph .lt-key + .lt-key { margin-left: calc(var(--s) * 4px); }
.lt-ph .lt-key--join, .lt-ph .lt-key--ready, .lt-ph .lt-key--notready { width: calc(var(--s) * 68px); }
.lt-ph .lt-key--observe { width: calc(var(--s) * 84px); }
.lt-ph .lt-key--character { width: calc(var(--s) * 100px); }
.lt-ph .lt-key.is-focus { background: #e0e3dc; }
.lt-ph .lt-key:active { background: #9aa39f; }
.lt-ph .lt-key.is-disabled { cursor: default; background: #9aa39f; }
.lt-ph .lt-key.is-disabled .lt-key-legend { color: #33676a; }
.lt-ph .lt-key--notready .lt-key-legend { color: #ff4f6a; }
.lt-ph .lt-lamp { flex: none; width: calc(var(--s) * 10px); height: calc(var(--s) * 9px);
margin: calc(var(--s) * 11px) calc(var(--s) * 1px) 0 calc(var(--s) * 2px); background: #20202a; }
.lt-ph .lt-lamp + .lt-key { margin-left: 0; }
.lt-ph .lt-lamp--ready { background: #7effbf; }
.lt-ph .lt-lamp--notready { background: #ff4f6a; }
.lt-ph .lt-grille-slot { flex: 1 1 0; min-width: 0; }
.lt-ph .lt-tray { flex: none; position: relative; display: flex; margin-top: calc(var(--s) * 1px);
padding: calc(var(--s) * 3px); width: calc(var(--s) * 142px); height: calc(var(--s) * 31px);
box-sizing: border-box; background: #36373a; }
.lt-ph .lt-sbtn { position: relative; flex: none; margin: 0; padding: 0; border: 0; background: none;
width: calc(var(--s) * 24px); height: calc(var(--s) * 24px); cursor: pointer; }
.lt-ph .lt-sbtn + .lt-sbtn { margin-left: calc(var(--s) * 4px); }
.lt-ph .lt-sbtn-icon, .lt-ph .lt-sbtn-mark { position: absolute; left: 0; top: 0;
transform: scale(var(--s)); transform-origin: 0 0; pointer-events: none; image-rendering: pixelated; }
.lt-ph .lt-sbtn-mark { top: calc(var(--s) * -1px); }
width: calc(var(--s) * 61px); height: calc(var(--s) * 6px); background: #241b36; }
`;
Loading
Loading