Restyle server browser UI; hide overlay on join
Restyles the server browser to match main-menu/settings (Futura PT Demibold, amber/green palette, yellow selection bars, shared panel chrome), removes SVG border strips, and tweaks modal width/layout. Adds JS + C++ coordination so the custom main-menu overlay hides when a server join begins (C++ invokes onSessionLoading and calls HideMainMenu; CompleteJoinFailure restores the menu/browser). Controller glyph tint now derives from --co-amber. Updates changelog and dev-log; includes compiled Vault109 script update.
This commit is contained in:
@@ -2,18 +2,13 @@
|
||||
"use strict";
|
||||
|
||||
function buildMarkup(layout) {
|
||||
var embeddedClass = layout === "embedded" ? " co-browser--embedded" : "";
|
||||
var layoutClass = layout === "embedded" ? " co-browser--embedded" : " co-browser--standalone";
|
||||
return (
|
||||
'<div class="co-root' +
|
||||
embeddedClass +
|
||||
layoutClass +
|
||||
'" id="coRoot">' +
|
||||
'<div class="co-panel" id="coPanel">' +
|
||||
'<svg class="co-panel-border co-panel-border-top" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1075.97 11" preserveAspectRatio="none" aria-hidden="true">' +
|
||||
'<polyline class="co-panel-border-line" points="0 10.97 0 0 1075.97 0 1075.97 10.5"/>' +
|
||||
"</svg>" +
|
||||
'<svg class="co-panel-border co-panel-border-bottom" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1075.97 11" preserveAspectRatio="none" aria-hidden="true">' +
|
||||
'<polyline class="co-panel-border-line" points="0 0.47 0 8.91 1075.97 8.97 1075.97 0.47"/>' +
|
||||
"</svg>" +
|
||||
'<h1 class="co-panel__heading">MULTIPLAYER</h1>' +
|
||||
'<div class="co-subpanel">' +
|
||||
'<nav class="co-nav-list"></nav>' +
|
||||
'<div class="co-subpanel-content">' +
|
||||
|
||||
Reference in New Issue
Block a user