Prepare native office main-menu layout and contained Almanac icon (by Codex)
This commit is contained in:
1 parent
adf1af4ef6
commit
b02ee52dee
4 files changed
+40
-4
No files matched your search
@@ -93,3 +93,16 @@
|
||||
.front-import-choices button {height:142dp;min-height:142dp;flex-shrink:0;}
|
||||
.front-import-choices button:last-child {margin-bottom:0;}
|
||||
.front-mod-downloads button {flex-shrink:0;}
|
||||
|
||||
/* Selected office study; layout and controls follow the HTML gold reference. */
|
||||
.front-office-art {position:absolute;left:0;top:0;width:3840dp;height:2160dp;}
|
||||
.front-office-shade {background-color:transparent;decorator:linear-gradient(90deg,#07101333,#07101300);}
|
||||
.office-home .main-options {position:absolute;left:220dp;top:550dp;width:1160dp;gap:22dp;}
|
||||
.office-home .main-options button {height:132dp;padding:22dp 42dp;background-color:#040a0d73;border:1dp #e6ebe10b;border-radius:6dp;color:#f0f1e9;font-size:62dp;font-weight:normal;letter-spacing:-1dp;}
|
||||
.office-home .main-options button:hover,.office-home .main-options button:focus-visible {background-color:#040a0dad;border-color:#d2b67e66;color:#fff8e9;box-shadow:inset 4dp 0dp 0dp #d2b67e;}
|
||||
.office-home .main-options button .front-hover-arrow {color:#d2b67e;}
|
||||
.office-home .main-options button:disabled {color:#c4cdc7;opacity:.48;}
|
||||
.office-home .main-options button:last-child {margin-top:32dp;font-size:56dp;}
|
||||
.office-home .front-footer {left:260dp;right:130dp;bottom:110dp;}
|
||||
.office-home .front-active small,.office-home .front-footer .front-version {color:#d6dbd2;}
|
||||
.office-home .front-active strong {color:#f0f1e9;}
|
||||
@@ -19,6 +19,7 @@
|
||||
<path d="M87 94h6v6h-6zm13 0h6v6h-6zm13 0h6v6h-6zm13 0h6v6h-6zm13 0h6v6h-6zm13 0h6v6h-6zm13 0h6v6h-6zM87 109h6v6h-6zm13 0h6v6h-6zm13 0h6v6h-6zm13 0h6v6h-6zm13 0h6v6h-6zm13 0h6v6h-6zm13 0h6v6h-6zM87 124h6v6h-6zm13 0h6v6h-6zm13 0h6v6h-6zm13 0h6v6h-6zm13 0h6v6h-6zm13 0h6v6h-6zm13 0h6v6h-6z"/>
|
||||
</g>
|
||||
<rect x="123" y="106" width="12" height="12" rx="3" fill="#5f9f8b"/>
|
||||
<g transform="translate(4 -4) translate(147 190) scale(.72) translate(-147 -190)">
|
||||
<circle cx="149" cy="193" r="32" fill="#12283a" opacity=".3"/>
|
||||
<circle cx="147" cy="190" r="30" fill="#edf2ee" stroke="#becbd0" stroke-width="2"/>
|
||||
<g clip-path="url(#ball)" fill="#263e4e" stroke="#263e4e" stroke-width="1.5" stroke-linejoin="round">
|
||||
@@ -26,4 +27,5 @@
|
||||
<path d="m140 159 3 10 8 0 4-10M172 170l-7 9 3 7 11 1M176 207l-11-2-6 6 3 12M132 221l3-10-7-6-11 2M116 183l12 3 4-8-7-10"/>
|
||||
<path d="m147 177 0-8m12 17 9 0m-14 14 5 11m-20-11-4 11m-1-25-6 0" fill="none"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.4 KiB |
@@ -194,3 +194,23 @@ und prüft synthetisch, ersetzt aber keine Windows-/macOS-Spielabnahme.
|
||||
|
||||
Grundeinstellungen, Managerwahl, Entwürfe und Bestätigungen sind im
|
||||
[separaten Einstiegsvertrag](entry/README.md) beschrieben.
|
||||
|
||||
## Nachtstand 26./27. Oktober 2026: Büro-Hauptmenü
|
||||
|
||||
Das HTML-Hauptmenü verwendet die transparente Navigation der Studie4832d248.
|
||||
Die sechs vorhandenen Funktionen bleiben Neues Spiel, Laden, Netzwerk (gesperrt),
|
||||
Mod, Einstellungen und Beenden. Die aktive Mod steht dezent unten. Die große
|
||||
OpenBMH-Überschrift entfällt. Das Vereinsbüro ist Vorgabe; die alternative
|
||||
Trophäenbüro-Studie bleibt in der privaten HTML-Vorschau erhalten.
|
||||
|
||||
Die RmlUI-Fassung übernimmt Anordnung, Menüflächen und Navigation in `front_screens.inc`
|
||||
und `front.rcss`. Das feste Bild wird als GUI-Ressource `menu.club-office`
|
||||
geladen, nicht aus dem Weltpaket. Ältere GUI-Ressourcensätze ohne diesen neuen
|
||||
Schlüssel behalten ihren vorhandenen Hintergrund; es wird kein Bild aus fremden
|
||||
Weltassets erraten. Die getrennte Vorbereitung kann zusätzlich `menu.trophy-office`
|
||||
führen. Das Almanach-SVG bleibt mit seinem Ball innerhalb des Buchdeckels.
|
||||
|
||||
HTML-Bedienprüfungen und tatsächliche Bilder liegen im privaten Repository unter
|
||||
`docs/qa/night-ui-2026-10-27/main-menu`. Der native Build-/Sichtnachweis folgt
|
||||
nach Integration des zeitgleich überarbeiteten Karrierepakets; dieser Eintrag
|
||||
behauptet noch keine native Abnahme.
|
||||
@@ -21,10 +21,11 @@ std::string App::front_size(uint64_t bytes) const {
|
||||
std::string App::main_menu() {
|
||||
const auto *active = mod(active_mod_);
|
||||
const bool available = active && active->error.empty();
|
||||
std::string out =
|
||||
"<div class=\"fill front-shade\"></div><div class=\"front-home\"><header "
|
||||
"class=\"brand\"><p>FUSSBALLMANAGER</p><h1>Open<span>BMH</span></h1></"
|
||||
"header><nav class=\"main-options\" aria-label=\"Hauptmenü\">";
|
||||
std::string out;
|
||||
if (gui_.contains("menu.club-office"))
|
||||
out = "<div class=\"front-office-art\">" +
|
||||
img("menu.club-office", 3840, 2160, false, true, 2048) + "</div>";
|
||||
out += "<div class=\"fill front-office-shade\"></div><div class=\"front-home office-home\"><nav class=\"main-options\" aria-label=\"Hauptmenü\">";
|
||||
const std::array<std::pair<const char *, const char *>, 6> actions{
|
||||
{{"new", "Neues Spiel"},
|
||||
{"load", "Spiel laden"},
|
||||
|
||||
Reference in new issue
Block a user