public site and containers for that.
Build and Publish Container / Publish Linux container (push) Failing after 1m52s
Build and Publish Container / Publish Linux container (push) Failing after 1m52s
This commit is contained in:
@@ -0,0 +1,360 @@
|
||||
const $ = (selector) => document.querySelector(selector);
|
||||
const $$ = (selector) => [...document.querySelectorAll(selector)];
|
||||
|
||||
const INTRO_MINIMUM_MS = 900;
|
||||
const REQUIRED_EXPANSIONS = {
|
||||
royalty: { name: "Royalty", art: "/art/NotOwned_Royalty.png" },
|
||||
ideology: { name: "Ideology", art: "/art/NotOwned_Ideology.png" },
|
||||
biotech: { name: "Biotech", art: "/art/NotOwned_Biotech.png" },
|
||||
anomaly: { name: "Anomaly", art: "/art/NotOwned_Anomaly.png" },
|
||||
odyssey: { name: "Odyssey", art: null }
|
||||
};
|
||||
const INSTALL_PATHS = {
|
||||
windows: {
|
||||
label: "Windows",
|
||||
path: "%USERPROFILE%\\AppData\\LocalLow\\Ludeon Studios\\RimWorld by Ludeon Studios\\ModLists"
|
||||
},
|
||||
macos: {
|
||||
label: "macOS",
|
||||
path: "~/Library/Application Support/RimWorld/ModLists"
|
||||
},
|
||||
linux: {
|
||||
label: "Linux",
|
||||
path: "~/.config/unity3d/Ludeon Studios/RimWorld by Ludeon Studios/ModLists"
|
||||
}
|
||||
};
|
||||
const state = {
|
||||
currentStep: 0,
|
||||
listType: "standard",
|
||||
sortAcknowledged: false,
|
||||
polling: null,
|
||||
rmlReady: false
|
||||
};
|
||||
|
||||
function detectedOperatingSystem() {
|
||||
const platform = String(navigator.userAgentData?.platform || navigator.platform || navigator.userAgent || "").toLowerCase();
|
||||
if (platform.includes("mac")) return "macos";
|
||||
if (platform.includes("linux") || platform.includes("x11")) return "linux";
|
||||
return "windows";
|
||||
}
|
||||
|
||||
function renderInstallLocation() {
|
||||
const install = INSTALL_PATHS[detectedOperatingSystem()];
|
||||
$("#detected-os-name").textContent = install.label;
|
||||
$("#detected-os-path").textContent = install.path;
|
||||
}
|
||||
|
||||
function resetListType() {
|
||||
const standard = $('input[name="list-type"][value="standard"]');
|
||||
const acknowledgement = $("#acknowledge-autosort");
|
||||
standard.checked = true;
|
||||
state.listType = "standard";
|
||||
state.sortAcknowledged = false;
|
||||
$("#homebrew-settings").hidden = true;
|
||||
$("#autosort-confirmation").classList.remove("acknowledged");
|
||||
acknowledgement.setAttribute("aria-pressed", "false");
|
||||
acknowledgement.textContent = "Yes, I understand";
|
||||
setMessage("", "", "#wizard-message");
|
||||
updateDownloadAvailability();
|
||||
}
|
||||
|
||||
function formatDate(value, fallback = "Not available") {
|
||||
if (!value) return fallback;
|
||||
return new Intl.DateTimeFormat(undefined, {
|
||||
month: "long",
|
||||
day: "numeric",
|
||||
year: "numeric",
|
||||
hour: "numeric",
|
||||
minute: "2-digit"
|
||||
}).format(new Date(value));
|
||||
}
|
||||
|
||||
function formatRelativeDate(value) {
|
||||
if (!value) return "Waiting for the first refresh";
|
||||
const elapsedSeconds = Math.max(0, Math.round((Date.now() - new Date(value).getTime()) / 1000));
|
||||
if (elapsedSeconds < 60) return "Updated just now";
|
||||
const minutes = Math.floor(elapsedSeconds / 60);
|
||||
if (minutes < 60) return `Updated ${minutes} minute${minutes === 1 ? "" : "s"} ago`;
|
||||
const hours = Math.floor(minutes / 60);
|
||||
if (hours < 24) return `Updated ${hours} hour${hours === 1 ? "" : "s"} ago`;
|
||||
const days = Math.floor(hours / 24);
|
||||
return `Updated ${days} day${days === 1 ? "" : "s"} ago`;
|
||||
}
|
||||
|
||||
function setMessage(text, kind = "", selector = "#action-message") {
|
||||
const element = $(selector);
|
||||
element.textContent = text;
|
||||
element.className = `${element.dataset.baseClass || element.className.split(" ")[0]} ${kind}`.trim();
|
||||
}
|
||||
|
||||
async function api(path, options = {}) {
|
||||
const response = await fetch(path, options);
|
||||
const contentType = response.headers.get("content-type") || "";
|
||||
if (!response.ok) {
|
||||
let detail = `${response.status} ${response.statusText}`;
|
||||
if (contentType.includes("json")) {
|
||||
const body = await response.json();
|
||||
detail = typeof body.detail === "string" ? body.detail : body.detail?.message || detail;
|
||||
}
|
||||
throw new Error(detail);
|
||||
}
|
||||
return contentType.includes("json") ? response.json() : response;
|
||||
}
|
||||
|
||||
function renderServiceState(data) {
|
||||
const element = $("#service-state");
|
||||
const label = element.querySelector("span:last-child");
|
||||
const total = Number(data.totals?.total_mods || 0);
|
||||
const ready = Number(data.totals?.ready_mods || 0);
|
||||
element.className = "service-state";
|
||||
|
||||
if (data.scheduler?.running) {
|
||||
element.classList.add("working");
|
||||
label.textContent = "Updating now";
|
||||
} else if (data.latest_run?.status === "failed") {
|
||||
element.classList.add("failed");
|
||||
label.textContent = "Update needs attention";
|
||||
} else if (!data.steamcmd_available) {
|
||||
element.classList.add("failed");
|
||||
label.textContent = "Downloads unavailable";
|
||||
} else if (ready < total) {
|
||||
element.classList.add("working");
|
||||
label.textContent = "Preparing RML";
|
||||
} else {
|
||||
element.classList.add("ready");
|
||||
label.textContent = "Ready";
|
||||
}
|
||||
}
|
||||
|
||||
function updateDownloadAvailability() {
|
||||
const downloadButton = $("#download-list");
|
||||
const availability = $("#rml-availability");
|
||||
const needsFile = state.listType === "homebrew" && !$("#mods-config").files[0];
|
||||
|
||||
downloadButton.disabled = !state.rmlReady || needsFile || !state.sortAcknowledged;
|
||||
if (!state.rmlReady) {
|
||||
availability.textContent = "The current RML is still being prepared. You can review every step now and download when it is ready.";
|
||||
availability.className = "availability waiting";
|
||||
} else if (needsFile) {
|
||||
availability.textContent = "Choose ModsConfig.xml to finish your homebrew list.";
|
||||
availability.className = "availability waiting";
|
||||
} else if (!state.sortAcknowledged) {
|
||||
availability.textContent = "Confirm the auto-sort step above to unlock your download.";
|
||||
availability.className = "availability waiting";
|
||||
} else {
|
||||
availability.textContent = state.listType === "homebrew"
|
||||
? "Your homebrew list is ready to build."
|
||||
: "The current Progression list is ready to download.";
|
||||
availability.className = "availability ready";
|
||||
}
|
||||
}
|
||||
|
||||
function renderDashboard(data) {
|
||||
renderServiceState(data);
|
||||
const totals = data.totals || {};
|
||||
const total = Number(totals.total_mods || 0);
|
||||
const ready = Number(totals.ready_mods || 0);
|
||||
const counts = Object.fromEntries(
|
||||
(data.collections || []).map(collection => [String(collection.name).toLowerCase(), Number(collection.item_count || 0)])
|
||||
);
|
||||
|
||||
$("#count-total").textContent = total ? total.toLocaleString() : "—";
|
||||
for (const category of ["core", "content", "cosmetics"]) {
|
||||
const formatted = counts[category]?.toLocaleString() || "—";
|
||||
$(`#count-${category}`).textContent = formatted;
|
||||
$(`[data-collection-count="${category}"]`).textContent = formatted;
|
||||
}
|
||||
|
||||
const updatedAt = data.rml_updated_at;
|
||||
$("#last-updated").textContent = data.scheduler?.running ? "Updating now" : formatRelativeDate(updatedAt);
|
||||
$("#last-updated").title = formatDate(updatedAt);
|
||||
|
||||
state.rmlReady = total > 0 && ready === total && !data.scheduler?.running;
|
||||
const nextRefresh = data.scheduler?.next_refresh_at;
|
||||
if (data.scheduler?.running) {
|
||||
$("#update-detail").textContent = "The hourly Workshop refresh is currently running.";
|
||||
} else if (!state.rmlReady) {
|
||||
$("#update-detail").textContent = "The current RML is being prepared from the latest Workshop data.";
|
||||
} else {
|
||||
$("#update-detail").textContent = nextRefresh
|
||||
? `Next automatic check ${formatDate(nextRefresh)}.`
|
||||
: "Workshop data refreshes every hour.";
|
||||
}
|
||||
updateDownloadAvailability();
|
||||
}
|
||||
|
||||
async function loadDashboard() {
|
||||
try {
|
||||
renderDashboard(await api("/api/status"));
|
||||
} catch (error) {
|
||||
const element = $("#service-state");
|
||||
element.className = "service-state failed";
|
||||
element.querySelector("span:last-child").textContent = "Backend unavailable";
|
||||
$("#last-updated").textContent = "Unavailable";
|
||||
$("#update-detail").textContent = "The service could not be reached.";
|
||||
state.rmlReady = false;
|
||||
updateDownloadAvailability();
|
||||
setMessage(error.message, "error");
|
||||
}
|
||||
}
|
||||
|
||||
function showStep(step) {
|
||||
const panels = $$(".wizard-step");
|
||||
const progressItems = $$(".wizard-progress li");
|
||||
state.currentStep = Math.max(0, Math.min(step, panels.length - 1));
|
||||
|
||||
panels.forEach((panel, index) => {
|
||||
const active = index === state.currentStep;
|
||||
panel.hidden = !active;
|
||||
panel.classList.toggle("active", active);
|
||||
});
|
||||
|
||||
progressItems.forEach((item, index) => {
|
||||
item.classList.toggle("active", index === state.currentStep);
|
||||
item.classList.toggle("complete", index < state.currentStep);
|
||||
if (index === state.currentStep) item.setAttribute("aria-current", "step");
|
||||
else item.removeAttribute("aria-current");
|
||||
});
|
||||
|
||||
if (state.currentStep === 2) updateExpansionRequirements();
|
||||
}
|
||||
|
||||
function updateExpansionRequirements() {
|
||||
const inputs = $$("#dlc-options input");
|
||||
const missing = inputs
|
||||
.filter(input => !input.checked)
|
||||
.map(input => REQUIRED_EXPANSIONS[input.value]);
|
||||
const warning = $("#expansion-warning");
|
||||
const iconList = $("#missing-expansion-icons");
|
||||
|
||||
inputs.forEach(input => {
|
||||
const isMissing = !input.checked;
|
||||
input.closest("label").classList.toggle("missing", isMissing);
|
||||
input.setAttribute("aria-invalid", String(isMissing));
|
||||
});
|
||||
|
||||
warning.hidden = missing.length === 0;
|
||||
$("#expansions-next").disabled = missing.length > 0;
|
||||
if (!missing.length) {
|
||||
iconList.replaceChildren();
|
||||
$("#expansion-warning-text").textContent = "";
|
||||
return;
|
||||
}
|
||||
|
||||
const names = missing.map(expansion => expansion.name);
|
||||
$("#expansion-warning-text").textContent = `${names.join(", ")} ${missing.length === 1 ? "is" : "are"} required before you can continue.`;
|
||||
iconList.innerHTML = missing.map(expansion => expansion.art
|
||||
? `<img src="${expansion.art}" alt="">`
|
||||
: `<span class="missing-expansion-fallback"><b>!</b><small>ODYSSEY</small><em>REQUIRED</em></span>`
|
||||
).join("");
|
||||
}
|
||||
|
||||
function selectedDlcQuery() {
|
||||
return $$("#dlc-options input:checked")
|
||||
.map(input => `dlc=${encodeURIComponent(input.value)}`)
|
||||
.join("&");
|
||||
}
|
||||
|
||||
async function downloadResponse(responsePromise, filename) {
|
||||
const response = await responsePromise;
|
||||
const blob = await response.blob();
|
||||
const url = URL.createObjectURL(blob);
|
||||
const link = document.createElement("a");
|
||||
link.href = url;
|
||||
link.download = filename;
|
||||
document.body.appendChild(link);
|
||||
link.click();
|
||||
link.remove();
|
||||
URL.revokeObjectURL(url);
|
||||
}
|
||||
|
||||
$("#start-wizard").addEventListener("click", () => {
|
||||
resetListType();
|
||||
showStep(0);
|
||||
$("#download-wizard").showModal();
|
||||
});
|
||||
|
||||
$("#close-wizard").addEventListener("click", () => $("#download-wizard").close());
|
||||
|
||||
$("#download-wizard").addEventListener("click", event => {
|
||||
if (event.target === event.currentTarget) event.currentTarget.close();
|
||||
});
|
||||
|
||||
$$('[data-next]').forEach(button => button.addEventListener("click", () => showStep(state.currentStep + 1)));
|
||||
$$('[data-back]').forEach(button => button.addEventListener("click", () => showStep(state.currentStep - 1)));
|
||||
|
||||
$("#setup-confirm").addEventListener("change", event => {
|
||||
$("#setup-next").disabled = !event.target.checked;
|
||||
});
|
||||
|
||||
$$("#dlc-options input").forEach(input => input.addEventListener("change", updateExpansionRequirements));
|
||||
|
||||
$("#show-all-paths").addEventListener("click", event => {
|
||||
const paths = $("#all-install-paths");
|
||||
const show = paths.hidden;
|
||||
paths.hidden = !show;
|
||||
event.currentTarget.setAttribute("aria-expanded", String(show));
|
||||
event.currentTarget.textContent = show ? "Hide other OS" : "Show other OS";
|
||||
});
|
||||
|
||||
$("#acknowledge-autosort").addEventListener("click", event => {
|
||||
state.sortAcknowledged = true;
|
||||
$("#autosort-confirmation").classList.add("acknowledged");
|
||||
event.currentTarget.setAttribute("aria-pressed", "true");
|
||||
event.currentTarget.textContent = "Understood ✓";
|
||||
updateDownloadAvailability();
|
||||
});
|
||||
|
||||
$$('input[name="list-type"]').forEach(input => input.addEventListener("change", event => {
|
||||
state.listType = event.target.value;
|
||||
$("#homebrew-settings").hidden = state.listType !== "homebrew";
|
||||
setMessage("", "", "#wizard-message");
|
||||
updateDownloadAvailability();
|
||||
}));
|
||||
|
||||
$("#mods-config").addEventListener("change", event => {
|
||||
const file = event.target.files[0];
|
||||
$("#file-label").textContent = file?.name || "Choose ModsConfig.xml";
|
||||
$(".file-picker").classList.toggle("has-file", Boolean(file));
|
||||
updateDownloadAvailability();
|
||||
});
|
||||
|
||||
$("#download-list").addEventListener("click", async () => {
|
||||
const button = $("#download-list");
|
||||
button.disabled = true;
|
||||
setMessage("Building your mod list…", "", "#wizard-message");
|
||||
|
||||
try {
|
||||
if (state.listType === "homebrew") {
|
||||
const file = $("#mods-config").files[0];
|
||||
if (!file) throw new Error("Choose ModsConfig.xml before building a homebrew list.");
|
||||
const form = new FormData();
|
||||
form.append("mods_config", file);
|
||||
await downloadResponse(api("/api/modlists/homebrew", { method: "POST", body: form }), "ProgressionHomebrew.rml");
|
||||
setMessage("ProgressionHomebrew.rml is ready. Auto-sort it after loading.", "success", "#wizard-message");
|
||||
} else {
|
||||
const query = selectedDlcQuery();
|
||||
await downloadResponse(api(`/api/modlists/vanilla${query ? `?${query}` : ""}`), "ProgressionVanilla.rml");
|
||||
setMessage("ProgressionVanilla.rml is ready.", "success", "#wizard-message");
|
||||
}
|
||||
} catch (error) {
|
||||
setMessage(error.message, "error", "#wizard-message");
|
||||
} finally {
|
||||
updateDownloadAvailability();
|
||||
}
|
||||
});
|
||||
|
||||
async function start() {
|
||||
$("#action-message").dataset.baseClass = "action-message";
|
||||
$("#wizard-message").dataset.baseClass = "wizard-message";
|
||||
renderInstallLocation();
|
||||
const minimumIntro = new Promise(resolve => window.setTimeout(resolve, INTRO_MINIMUM_MS));
|
||||
await Promise.all([loadDashboard(), minimumIntro]);
|
||||
document.body.classList.add("is-ready");
|
||||
window.setTimeout(() => {
|
||||
$("#intro").hidden = true;
|
||||
}, 850);
|
||||
}
|
||||
|
||||
start();
|
||||
state.polling = window.setInterval(loadDashboard, 60_000);
|
||||
@@ -0,0 +1,254 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="Build the latest Progression mod list for RimWorld.">
|
||||
<meta name="theme-color" content="#151515">
|
||||
<title>Progression — RimWorld Modpack</title>
|
||||
<link rel="icon" type="image/png" href="/art/ProgressionICO.png">
|
||||
<link rel="stylesheet" href="/static/styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="intro" id="intro" aria-hidden="true">
|
||||
<div class="intro-shade"></div>
|
||||
<div class="intro-content">
|
||||
<img src="/art/GameTitle.png" alt="" class="intro-logo">
|
||||
<p>Preparing the latest mod list</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="page-shell" id="app">
|
||||
<header class="site-header">
|
||||
<a class="brand" href="/" aria-label="Progression home">
|
||||
<img src="/art/GameTitle.png" alt="RimWorld Progression">
|
||||
</a>
|
||||
<div class="service-state" id="service-state" aria-live="polite">
|
||||
<span class="state-dot"></span>
|
||||
<span>Connecting</span>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<section class="hero panel" aria-labelledby="page-title">
|
||||
<div class="hero-copy">
|
||||
<h1 id="page-title"><em>Built for beginners.</em><br>A current mod list in one click.</h1>
|
||||
<p class="hero-summary">Choose the expansions you own and download a ready-to-load RimWorld mod list.</p>
|
||||
|
||||
<button class="start-button" id="start-wizard" type="button">
|
||||
<span>
|
||||
<strong>Download RimWorld Mod List</strong>
|
||||
<small>Start here</small>
|
||||
</span>
|
||||
<span class="start-arrow" aria-hidden="true">→</span>
|
||||
</button>
|
||||
|
||||
<a class="windows-download" href="/api/downloads/windows">
|
||||
<span class="windows-mark" aria-hidden="true">⊞</span>
|
||||
<span>
|
||||
<strong>Download the Windows app</strong>
|
||||
<small>Latest ProgressionLoader.exe</small>
|
||||
</span>
|
||||
<span class="windows-download-arrow" aria-hidden="true">↓</span>
|
||||
</a>
|
||||
|
||||
<div class="freshness">
|
||||
<span>RML last updated</span>
|
||||
<strong id="last-updated">Checking…</strong>
|
||||
<small id="update-detail">Workshop data refreshes every hour.</small>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hero-art" aria-hidden="true">
|
||||
<img src="/art/ProgressionLogo.png" alt="">
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="count-grid" aria-label="Current mod counts">
|
||||
<article class="count-card count-total">
|
||||
<span class="count-label">Total</span>
|
||||
<strong id="count-total">—</strong>
|
||||
<small>unique mods</small>
|
||||
</article>
|
||||
<article class="count-card count-core">
|
||||
<span class="count-label">Core</span>
|
||||
<strong id="count-core">—</strong>
|
||||
<small>foundation</small>
|
||||
</article>
|
||||
<article class="count-card count-content">
|
||||
<span class="count-label">Content</span>
|
||||
<strong id="count-content">—</strong>
|
||||
<small>gameplay</small>
|
||||
</article>
|
||||
<article class="count-card count-cosmetics">
|
||||
<span class="count-label">Cosmetics</span>
|
||||
<strong id="count-cosmetics">—</strong>
|
||||
<small>visuals</small>
|
||||
</article>
|
||||
</section>
|
||||
|
||||
<p class="action-message" id="action-message" aria-live="polite"></p>
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<div class="footer-meta">
|
||||
<span id="footer-status">Workshop data refreshed every hour</span>
|
||||
<span class="art-credit">Art by Ferny</span>
|
||||
</div>
|
||||
<a class="hr-link" href="https://hudsonriggs.systems" target="_blank" rel="noopener noreferrer" aria-label="Visit Hudson Riggs Systems">
|
||||
<span>Hudson Riggs Systems</span>
|
||||
<img src="/art/hudsonriggssystems.png" alt="">
|
||||
</a>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
<dialog class="wizard" id="download-wizard" aria-labelledby="wizard-title">
|
||||
<div class="wizard-shell">
|
||||
<header class="wizard-header">
|
||||
<div>
|
||||
<span class="wizard-eyebrow">Progression Loader</span>
|
||||
<strong id="wizard-title">Build your mod list</strong>
|
||||
</div>
|
||||
<button class="icon-button" id="close-wizard" type="button" aria-label="Close">×</button>
|
||||
</header>
|
||||
|
||||
<ol class="wizard-progress" aria-label="Download steps">
|
||||
<li class="active" aria-current="step"><span>1</span><small>Collections</small></li>
|
||||
<li><span>2</span><small>Setup</small></li>
|
||||
<li><span>3</span><small>Expansions</small></li>
|
||||
<li><span>4</span><small>Download</small></li>
|
||||
</ol>
|
||||
|
||||
<div class="wizard-viewport">
|
||||
<section class="wizard-step active" data-step="0">
|
||||
<p class="step-kicker">Step one</p>
|
||||
<h2>Steam Workshop collections</h2>
|
||||
<p class="step-lede">The service keeps Progression’s three source collections current for you.</p>
|
||||
<div class="collection-checks">
|
||||
<div><span class="checkmark">✓</span><span><strong>Core</strong><small><b data-collection-count="core">—</b> mods</small></span></div>
|
||||
<div><span class="checkmark">✓</span><span><strong>Content</strong><small><b data-collection-count="content">—</b> mods</small></span></div>
|
||||
<div><span class="checkmark">✓</span><span><strong>Cosmetics</strong><small><b data-collection-count="cosmetics">—</b> mods</small></span></div>
|
||||
</div>
|
||||
<div class="wizard-actions wizard-actions-end">
|
||||
<button class="button button-primary" type="button" data-next>Continue</button>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="wizard-step" data-step="1" hidden>
|
||||
<p class="step-kicker">Step two</p>
|
||||
<h2>RimWorld setup verification</h2>
|
||||
<p class="step-lede">Before creating the list, make sure the game has created its configuration folders.</p>
|
||||
<ul class="setup-list">
|
||||
<li><span>✓</span>RimWorld has finished downloading</li>
|
||||
<li><span>✓</span>You have launched RimWorld at least once</li>
|
||||
<li><span>✓</span>The game reaches the main menu without errors</li>
|
||||
<li><span>✓</span>Your owned expansions are installed and active</li>
|
||||
</ul>
|
||||
<label class="confirm-row">
|
||||
<input type="checkbox" id="setup-confirm">
|
||||
<span>I’ve completed these steps</span>
|
||||
</label>
|
||||
<div class="wizard-actions">
|
||||
<button class="button button-back" type="button" data-back>Back</button>
|
||||
<button class="button button-primary" id="setup-next" type="button" data-next disabled>Continue</button>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="wizard-step" data-step="2" hidden>
|
||||
<p class="step-kicker">Step three</p>
|
||||
<h2>Choose your expansions</h2>
|
||||
<p class="step-lede">The complete Progression experience requires every RimWorld expansion listed below.</p>
|
||||
<fieldset class="dlc-grid" id="dlc-options">
|
||||
<legend class="sr-only">Required RimWorld expansions</legend>
|
||||
<label><input type="checkbox" value="royalty" checked><span>Royalty</span></label>
|
||||
<label><input type="checkbox" value="ideology" checked><span>Ideology</span></label>
|
||||
<label><input type="checkbox" value="biotech" checked><span>Biotech</span></label>
|
||||
<label><input type="checkbox" value="anomaly" checked><span>Anomaly</span></label>
|
||||
<label><input type="checkbox" value="odyssey" checked><span>Odyssey</span></label>
|
||||
</fieldset>
|
||||
<div class="expansion-warning" id="expansion-warning" role="status" aria-live="polite" hidden>
|
||||
<div class="expansion-warning-copy">
|
||||
<span>Required</span>
|
||||
<strong>Missing required expansions</strong>
|
||||
<p id="expansion-warning-text"></p>
|
||||
</div>
|
||||
<div class="missing-expansion-icons" id="missing-expansion-icons" aria-hidden="true"></div>
|
||||
</div>
|
||||
<div class="wizard-actions">
|
||||
<button class="button button-back" type="button" data-back>Back</button>
|
||||
<button class="button button-primary" id="expansions-next" type="button" data-next>Continue</button>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="wizard-step" data-step="3" hidden>
|
||||
<p class="step-kicker">Final step</p>
|
||||
<h2>Choose your mod list</h2>
|
||||
<p class="step-lede">The standard mod list is ready by default. Choose Homebrew only if you want to keep mods already enabled in your game.</p>
|
||||
|
||||
<div class="list-type-grid" role="radiogroup" aria-label="Mod list type">
|
||||
<label>
|
||||
<input type="radio" name="list-type" value="standard" checked>
|
||||
<span><strong>Standard mod list</strong><small>The complete Progression list</small></span>
|
||||
</label>
|
||||
<label>
|
||||
<input type="radio" name="list-type" value="homebrew">
|
||||
<span><strong>Homebrew</strong><small>Keep your enabled mods</small></span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="homebrew-upload" id="homebrew-settings" hidden>
|
||||
<label class="file-picker" for="mods-config">
|
||||
<input type="file" id="mods-config" accept=".xml,text/xml">
|
||||
<span class="file-picker-copy">
|
||||
<strong id="file-label">Choose ModsConfig.xml</strong>
|
||||
<small>Processed in memory and never stored</small>
|
||||
</span>
|
||||
<span class="file-action">Browse</span>
|
||||
</label>
|
||||
<p><strong>After loading:</strong> auto-sort and check for mod conflicts.</p>
|
||||
</div>
|
||||
|
||||
<section class="install-location" aria-labelledby="install-location-title">
|
||||
<div class="install-location-heading">
|
||||
<div>
|
||||
<span>After downloading</span>
|
||||
<strong id="install-location-title">Move the RML into your <span id="detected-os-name">computer’s</span> ModLists folder</strong>
|
||||
</div>
|
||||
<button class="path-toggle" id="show-all-paths" type="button" aria-expanded="false" aria-controls="all-install-paths">Show other OS</button>
|
||||
</div>
|
||||
<code class="detected-path" id="detected-os-path"></code>
|
||||
<div class="all-install-paths" id="all-install-paths" hidden>
|
||||
<div><strong>Windows</strong><code>%USERPROFILE%\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\ModLists</code></div>
|
||||
<div><strong>macOS</strong><code>~/Library/Application Support/RimWorld/ModLists</code></div>
|
||||
<div><strong>Linux</strong><code>~/.config/unity3d/Ludeon Studios/RimWorld by Ludeon Studios/ModLists</code></div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<div class="autosort-confirmation" id="autosort-confirmation">
|
||||
<section class="autosort-card" aria-labelledby="autosort-title">
|
||||
<span class="autosort-mark" aria-hidden="true">↕</span>
|
||||
<div>
|
||||
<span class="autosort-eyebrow">Required after loading</span>
|
||||
<h3 id="autosort-title">Auto-sort before you play</h3>
|
||||
<p>Open RimWorld’s mod manager, load the RML, then select <strong>Auto-sort</strong> and review any conflicts before starting a game.</p>
|
||||
</div>
|
||||
</section>
|
||||
<button class="autosort-acknowledge" id="acknowledge-autosort" type="button" aria-pressed="false">Yes, I understand</button>
|
||||
</div>
|
||||
|
||||
<div class="availability" id="rml-availability" aria-live="polite">Checking RML availability…</div>
|
||||
<p class="wizard-message" id="wizard-message" aria-live="polite"></p>
|
||||
|
||||
<div class="wizard-actions">
|
||||
<button class="button button-back" type="button" data-back>Back</button>
|
||||
<button class="button button-download" id="download-list" type="button" disabled>
|
||||
<span>Download mod list</span><span aria-hidden="true">↓</span>
|
||||
</button>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</dialog>
|
||||
|
||||
<script src="/static/app.js" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,623 @@
|
||||
@font-face {
|
||||
font-family: "Progression Georgia";
|
||||
src: url("/art/georgia.ttf") format("truetype");
|
||||
font-display: swap;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Progression Georgia";
|
||||
src: url("/art/georgiab.ttf") format("truetype");
|
||||
font-display: swap;
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Progression Georgia";
|
||||
src: url("/art/georgiaz.ttf") format("truetype");
|
||||
font-display: swap;
|
||||
font-style: italic;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
:root {
|
||||
color-scheme: dark;
|
||||
--bg: #151515;
|
||||
--surface: #212121;
|
||||
--surface-raised: #2b2b2b;
|
||||
--surface-deep: #171a1c;
|
||||
--line: #4d4d4d;
|
||||
--line-soft: #373737;
|
||||
--text: #f5f2ec;
|
||||
--body: #c8c8c8;
|
||||
--muted: #979797;
|
||||
--yellow: #f0a621;
|
||||
--green: #79a557;
|
||||
--green-bright: #8fbd30;
|
||||
--purple: #cf83ce;
|
||||
--red: #ff6863;
|
||||
--pink: #ef718f;
|
||||
--radius: 22px;
|
||||
--font-serif: "Progression Georgia", Georgia, "Times New Roman", serif;
|
||||
--font-ui: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
html { min-width: 320px; background: var(--bg); }
|
||||
|
||||
body {
|
||||
min-width: 320px;
|
||||
min-height: 100vh;
|
||||
margin: 0;
|
||||
background:
|
||||
radial-gradient(circle at 85% 8%, rgba(84, 114, 79, .12), transparent 27rem),
|
||||
linear-gradient(180deg, #171717 0, #101214 100%);
|
||||
color: var(--text);
|
||||
font-family: var(--font-ui);
|
||||
font-size: 16px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
button, input { font: inherit; }
|
||||
button { color: inherit; }
|
||||
img { display: block; max-width: 100%; }
|
||||
h1, h2, p { margin: 0; }
|
||||
|
||||
.sr-only {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
padding: 0;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
white-space: nowrap;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.intro {
|
||||
position: fixed;
|
||||
z-index: 100;
|
||||
inset: 0;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
overflow: hidden;
|
||||
background: #0b0b0c url("/art/Desolation.png") center / cover no-repeat;
|
||||
transition: opacity .7s ease, visibility .7s ease;
|
||||
}
|
||||
|
||||
.intro-shade {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background:
|
||||
radial-gradient(circle at center, rgba(21, 21, 21, .08), rgba(21, 21, 21, .76) 72%),
|
||||
linear-gradient(rgba(21, 21, 21, .36), rgba(21, 21, 21, .66));
|
||||
}
|
||||
|
||||
.intro-content {
|
||||
position: relative;
|
||||
width: min(72vw, 760px);
|
||||
text-align: center;
|
||||
animation: intro-rise .85s cubic-bezier(.2, .72, .24, 1) both;
|
||||
}
|
||||
|
||||
.intro-logo { width: 100%; filter: drop-shadow(0 10px 32px rgba(0, 0, 0, .7)); }
|
||||
.intro-content p {
|
||||
margin-top: 20px;
|
||||
color: rgba(245, 242, 236, .65);
|
||||
font-family: var(--font-serif);
|
||||
font-size: clamp(.85rem, 1.3vw, 1.05rem);
|
||||
font-style: italic;
|
||||
letter-spacing: .12em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.is-ready .intro { opacity: 0; visibility: hidden; }
|
||||
|
||||
.page-shell {
|
||||
width: min(1220px, calc(100% - 48px));
|
||||
margin: 0 auto;
|
||||
padding-bottom: 26px;
|
||||
opacity: 0;
|
||||
transform: translateY(10px);
|
||||
transition: opacity .55s ease .18s, transform .55s ease .18s;
|
||||
}
|
||||
|
||||
.is-ready .page-shell { opacity: 1; transform: none; }
|
||||
|
||||
.site-header {
|
||||
min-height: 98px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.brand { width: clamp(260px, 35vw, 420px); }
|
||||
.brand img { width: 100%; }
|
||||
|
||||
.service-state {
|
||||
margin-left: auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 9px;
|
||||
color: var(--muted);
|
||||
font-size: .78rem;
|
||||
font-weight: 800;
|
||||
letter-spacing: .08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.state-dot {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
background: var(--yellow);
|
||||
box-shadow: 0 0 14px rgba(240, 166, 33, .5);
|
||||
}
|
||||
|
||||
.service-state.ready .state-dot { background: #75bf77; box-shadow: 0 0 14px rgba(117, 191, 119, .5); }
|
||||
.service-state.failed .state-dot { background: var(--red); box-shadow: none; }
|
||||
.service-state.working .state-dot { animation: pulse 1.2s ease-in-out infinite; }
|
||||
|
||||
main { display: grid; gap: 18px; padding-top: 2px; }
|
||||
|
||||
.panel {
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--radius);
|
||||
background: var(--surface);
|
||||
box-shadow: 0 18px 42px rgba(0, 0, 0, .18);
|
||||
}
|
||||
|
||||
.hero {
|
||||
position: relative;
|
||||
min-height: 430px;
|
||||
overflow: hidden;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1.55fr) minmax(280px, .72fr);
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.hero::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
pointer-events: none;
|
||||
background: linear-gradient(110deg, rgba(20, 25, 29, .97) 0 60%, rgba(28, 43, 38, .82) 100%);
|
||||
}
|
||||
|
||||
.hero-copy {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
align-self: center;
|
||||
padding: clamp(34px, 5vw, 60px);
|
||||
}
|
||||
|
||||
h1, h2 { font-family: var(--font-serif); }
|
||||
|
||||
h1 {
|
||||
max-width: 760px;
|
||||
font-size: clamp(2.35rem, 5.4vw, 4.7rem);
|
||||
font-weight: 700;
|
||||
letter-spacing: -.035em;
|
||||
line-height: .97;
|
||||
}
|
||||
|
||||
h1 em { color: #e7ffe0; font-size: .68em; }
|
||||
|
||||
.hero-summary {
|
||||
max-width: 58ch;
|
||||
margin-top: 22px;
|
||||
color: var(--body);
|
||||
font-family: var(--font-serif);
|
||||
font-size: clamp(1rem, 1.5vw, 1.16rem);
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.start-button {
|
||||
width: min(100%, 620px);
|
||||
min-height: 86px;
|
||||
margin-top: 28px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 24px;
|
||||
padding: 15px 18px 15px 22px;
|
||||
border: 1px solid #8bad3f;
|
||||
border-radius: 12px;
|
||||
background: linear-gradient(120deg, #6f981f, #84ad28);
|
||||
box-shadow: inset 0 1px rgba(255,255,255,.15), 0 12px 26px rgba(50, 80, 15, .19);
|
||||
color: #f8ffe9;
|
||||
cursor: pointer;
|
||||
text-align: left;
|
||||
transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
|
||||
}
|
||||
|
||||
.start-button:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: inset 0 1px rgba(255,255,255,.15), 0 16px 32px rgba(50, 80, 15, .25); }
|
||||
.start-button:focus-visible { outline: 3px solid rgba(183, 226, 83, .35); outline-offset: 3px; }
|
||||
.start-button > span:first-child { display: grid; }
|
||||
.start-button strong { font-family: var(--font-serif); font-size: clamp(1.15rem, 2.3vw, 1.55rem); line-height: 1.15; }
|
||||
.start-button small { margin-top: 3px; color: rgba(248,255,233,.76); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
|
||||
.start-arrow { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: rgba(18, 38, 8, .23); font-size: 1.35rem; transition: transform .18s ease; }
|
||||
.start-button:hover .start-arrow { transform: translateX(3px); }
|
||||
|
||||
.windows-download {
|
||||
width: min(100%, 620px);
|
||||
min-height: 62px;
|
||||
margin-top: 10px;
|
||||
display: grid;
|
||||
grid-template-columns: 36px minmax(0, 1fr) 28px;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 10px 15px;
|
||||
border: 1px solid #4c565e;
|
||||
border-radius: 10px;
|
||||
background: rgba(19, 24, 27, .82);
|
||||
color: var(--text);
|
||||
text-decoration: none;
|
||||
transition: border-color .18s ease, background .18s ease, transform .18s ease;
|
||||
}
|
||||
.windows-download:hover { transform: translateY(-1px); border-color: #7a8994; background: rgba(25, 31, 35, .94); }
|
||||
.windows-download:focus-visible { outline: 3px solid rgba(151, 179, 198, .25); outline-offset: 3px; }
|
||||
.windows-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 7px; background: #27343c; color: #b9d9eb; font-size: 1.35rem; line-height: 1; }
|
||||
.windows-download > span:nth-child(2) { min-width: 0; display: grid; }
|
||||
.windows-download strong { font-family: var(--font-serif); font-size: .98rem; }
|
||||
.windows-download small { color: var(--muted); font-size: .72rem; }
|
||||
.windows-download-arrow { color: #afc6d4; font-size: 1.1rem; text-align: center; }
|
||||
|
||||
.freshness {
|
||||
width: fit-content;
|
||||
margin-top: 24px;
|
||||
display: grid;
|
||||
grid-template-columns: auto auto;
|
||||
column-gap: 13px;
|
||||
align-items: baseline;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.freshness > span {
|
||||
color: var(--muted);
|
||||
font-size: .72rem;
|
||||
font-weight: 800;
|
||||
letter-spacing: .07em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.freshness strong { color: var(--text); font-family: var(--font-serif); font-size: 1.04rem; }
|
||||
.freshness small { grid-column: 1 / -1; margin-top: 2px; color: var(--muted); }
|
||||
|
||||
.hero-art {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
min-height: 290px;
|
||||
overflow: hidden;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: 30px;
|
||||
background:
|
||||
repeating-linear-gradient(135deg, rgba(255,255,255,.026) 0 18px, transparent 18px 36px),
|
||||
linear-gradient(145deg, #2b3033, #1e2d28);
|
||||
border-left: 1px solid rgba(255,255,255,.09);
|
||||
}
|
||||
|
||||
.hero-art img {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
width: min(62%, 220px);
|
||||
filter: drop-shadow(0 18px 16px rgba(0, 0, 0, .45));
|
||||
}
|
||||
|
||||
.count-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
|
||||
|
||||
.count-card {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
min-height: 132px;
|
||||
padding: 20px 22px;
|
||||
border: 1px solid var(--line-soft);
|
||||
border-radius: 16px;
|
||||
background: var(--surface-raised);
|
||||
}
|
||||
|
||||
.count-card::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 72px;
|
||||
height: 5px;
|
||||
background: var(--card-accent, var(--yellow));
|
||||
}
|
||||
|
||||
.count-total { --card-accent: var(--yellow); }
|
||||
.count-core { --card-accent: #d7d7d7; }
|
||||
.count-content { --card-accent: var(--green); }
|
||||
.count-cosmetics { --card-accent: var(--purple); }
|
||||
.count-label { color: var(--body); font-family: var(--font-serif); font-size: 1rem; font-weight: 700; }
|
||||
.count-card strong { display: block; margin-top: 4px; font-family: var(--font-serif); font-size: clamp(2rem, 3vw, 2.75rem); font-weight: 700; line-height: 1; }
|
||||
.count-card small { color: var(--muted); }
|
||||
|
||||
.action-message { min-height: 18px; color: var(--muted); font-size: .86rem; text-align: center; }
|
||||
.action-message.error, .wizard-message.error { color: #ff918d; }
|
||||
.action-message.success, .wizard-message.success { color: #a2d596; }
|
||||
|
||||
footer {
|
||||
min-height: 88px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 20px;
|
||||
color: #747474;
|
||||
font-size: .76rem;
|
||||
}
|
||||
|
||||
.footer-meta { display: flex; align-items: center; gap: 10px; }
|
||||
.art-credit { padding: 4px 8px; border: 1px solid #484848; border-radius: 999px; color: #999; font-family: var(--font-serif); font-style: italic; }
|
||||
|
||||
.hr-link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
color: #f16365;
|
||||
text-decoration: none;
|
||||
transition: color .16s ease, transform .16s ease;
|
||||
}
|
||||
|
||||
.hr-link:hover { color: #ff7b7d; transform: translateY(-1px); }
|
||||
.hr-link img { width: 42px; height: 42px; object-fit: contain; }
|
||||
|
||||
.wizard {
|
||||
width: min(820px, calc(100% - 30px));
|
||||
max-width: none;
|
||||
max-height: min(94vh, 820px);
|
||||
margin: auto;
|
||||
padding: 0;
|
||||
overflow: auto;
|
||||
border: 0;
|
||||
border-radius: 22px;
|
||||
background: transparent;
|
||||
color: var(--text);
|
||||
opacity: 0;
|
||||
transform: translateY(12px) scale(.988);
|
||||
transition: opacity .22s ease, transform .22s ease, overlay .22s allow-discrete, display .22s allow-discrete;
|
||||
}
|
||||
|
||||
.wizard[open] { opacity: 1; transform: none; }
|
||||
|
||||
@starting-style {
|
||||
.wizard[open] { opacity: 0; transform: translateY(12px) scale(.988); }
|
||||
}
|
||||
|
||||
.wizard::backdrop {
|
||||
background: rgba(6, 8, 9, .82);
|
||||
backdrop-filter: blur(7px);
|
||||
animation: backdrop-in .22s ease both;
|
||||
}
|
||||
|
||||
.wizard-shell {
|
||||
overflow: hidden;
|
||||
border: 1px solid #555;
|
||||
border-radius: 22px;
|
||||
background:
|
||||
repeating-linear-gradient(135deg, rgba(255,255,255,.017) 0 18px, transparent 18px 36px),
|
||||
#202224;
|
||||
box-shadow: 0 28px 90px rgba(0,0,0,.58);
|
||||
}
|
||||
|
||||
.wizard-header {
|
||||
min-height: 76px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 24px;
|
||||
padding: 15px 20px 14px 24px;
|
||||
border-bottom: 1px solid #393b3c;
|
||||
background: rgba(17, 20, 22, .78);
|
||||
}
|
||||
|
||||
.wizard-header > div { display: grid; }
|
||||
.wizard-eyebrow, .step-kicker { color: var(--yellow); font-size: .67rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
|
||||
.wizard-header strong { font-family: var(--font-serif); font-size: 1.18rem; }
|
||||
.icon-button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #454849; border-radius: 50%; background: #292c2e; color: var(--muted); cursor: pointer; font-size: 1.4rem; line-height: 1; }
|
||||
.icon-button:hover { border-color: #727576; color: var(--text); }
|
||||
|
||||
.wizard-progress {
|
||||
position: relative;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
margin: 0;
|
||||
padding: 20px 46px 18px;
|
||||
list-style: none;
|
||||
border-bottom: 1px solid #37393a;
|
||||
background: rgba(29, 31, 32, .9);
|
||||
}
|
||||
|
||||
.wizard-progress::before { content: ""; position: absolute; top: 35px; left: 14%; right: 14%; height: 1px; background: #4a4c4d; }
|
||||
.wizard-progress li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 5px; color: #777; }
|
||||
.wizard-progress li span { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #505253; border-radius: 50%; background: #242627; font-family: var(--font-serif); font-size: .84rem; transition: background .22s ease, border-color .22s ease, color .22s ease; }
|
||||
.wizard-progress li small { font-size: .68rem; font-weight: 750; letter-spacing: .04em; }
|
||||
.wizard-progress li.active { color: var(--text); }
|
||||
.wizard-progress li.active span { border-color: #a78340; background: #524326; color: #ffe6a4; }
|
||||
.wizard-progress li.complete { color: #91b989; }
|
||||
.wizard-progress li.complete span { border-color: #5d7d57; background: #33452f; color: #c9efc0; }
|
||||
|
||||
.wizard-viewport { min-height: 405px; }
|
||||
.wizard-step { padding: 28px 42px 26px; }
|
||||
.wizard-step.active { animation: step-enter .3s cubic-bezier(.2,.72,.24,1) both; }
|
||||
.wizard-step h2 { margin-top: 4px; font-size: clamp(1.8rem, 4vw, 2.65rem); line-height: 1.08; }
|
||||
.step-lede { max-width: 60ch; margin-top: 10px; color: var(--muted); }
|
||||
|
||||
.collection-checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; }
|
||||
.collection-checks > div { min-width: 0; display: flex; align-items: center; gap: 11px; padding: 15px; border: 1px solid #414443; border-radius: 10px; background: rgba(17,20,19,.72); }
|
||||
.collection-checks > div > span:last-child { min-width: 0; display: grid; }
|
||||
.collection-checks strong { font-family: var(--font-serif); }
|
||||
.collection-checks small { color: var(--muted); }
|
||||
.collection-checks b { color: #c8e9bd; font-weight: 800; }
|
||||
.checkmark { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #33452f; color: #bfe6b5; font-weight: 900; }
|
||||
|
||||
.setup-list { display: grid; gap: 9px; margin: 24px 0 20px; padding: 0; list-style: none; }
|
||||
.setup-list li { display: flex; align-items: center; gap: 11px; padding: 10px 13px; border-radius: 8px; background: rgba(15,18,17,.58); color: var(--body); }
|
||||
.setup-list li span { color: #95ca89; font-weight: 900; }
|
||||
.confirm-row { width: fit-content; display: flex; align-items: center; gap: 10px; color: var(--text); cursor: pointer; font-weight: 750; }
|
||||
.confirm-row input { width: 18px; height: 18px; accent-color: #759f23; }
|
||||
|
||||
.dlc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; min-width: 0; margin: 27px 0 16px; padding: 0; border: 0; }
|
||||
.dlc-grid label { min-width: 0; cursor: pointer; }
|
||||
.dlc-grid input { position: absolute; opacity: 0; pointer-events: none; }
|
||||
.dlc-grid span { min-height: 58px; display: grid; place-items: center; padding: 8px 5px; border: 1px solid var(--line); border-radius: 9px; background: #1b1b1b; color: var(--muted); font-size: .78rem; font-weight: 800; transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease; }
|
||||
.dlc-grid input:checked + span { border-color: #807551; background: #3d392c; color: #fff7c8; }
|
||||
.dlc-grid label.missing span { border-color: #9b4446; background: #392426; color: #ffaaa7; }
|
||||
.dlc-grid label:hover span { transform: translateY(-1px); }
|
||||
.dlc-grid input:focus-visible + span { outline: 3px solid rgba(240,166,33,.32); outline-offset: 2px; }
|
||||
.expansion-warning {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 20px;
|
||||
margin: 13px 0;
|
||||
padding: 11px 14px;
|
||||
border: 1px solid #814347;
|
||||
border-radius: 11px;
|
||||
background:
|
||||
repeating-linear-gradient(135deg, rgba(255,95,91,.045) 0 12px, transparent 12px 24px),
|
||||
#2d2022;
|
||||
animation: warning-enter .24s cubic-bezier(.2,.72,.24,1) both;
|
||||
}
|
||||
|
||||
.expansion-warning[hidden] { display: none; }
|
||||
.expansion-warning-copy { min-width: 0; display: grid; }
|
||||
.expansion-warning-copy > span { color: #ff7773; font-size: .64rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
|
||||
.expansion-warning-copy strong { margin-top: 2px; font-family: var(--font-serif); font-size: 1.05rem; }
|
||||
.expansion-warning-copy p { margin-top: 2px; color: #cba9a8; font-size: .78rem; }
|
||||
.missing-expansion-icons { flex: 0 0 auto; display: flex; align-items: center; gap: 7px; }
|
||||
.missing-expansion-icons img { width: 58px; height: 58px; object-fit: contain; }
|
||||
.missing-expansion-fallback { width: 58px; height: 58px; display: grid; place-items: center; align-content: center; border: 2px solid #a8b2bd; clip-path: polygon(50% 0, 92% 24%, 92% 76%, 50% 100%, 8% 76%, 8% 24%); background: #31363a; text-align: center; }
|
||||
.missing-expansion-fallback b { color: #ff3f3a; font-family: var(--font-serif); font-size: 1.7rem; line-height: .75; }
|
||||
.missing-expansion-fallback small { margin-top: 3px; color: #d9dde0; font-size: .44rem; font-style: normal; font-weight: 900; letter-spacing: .03em; }
|
||||
.missing-expansion-fallback em { color: #fff; font-size: .46rem; font-style: normal; font-weight: 900; }
|
||||
|
||||
.list-type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
|
||||
.list-type-grid label { cursor: pointer; }
|
||||
.list-type-grid input { position: absolute; opacity: 0; pointer-events: none; }
|
||||
.list-type-grid label > span { min-height: 84px; display: grid; align-content: center; padding: 15px 17px; border: 1px solid #484a4b; border-radius: 10px; background: #191b1c; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
|
||||
.list-type-grid label:hover > span { transform: translateY(-1px); }
|
||||
.list-type-grid strong { font-family: var(--font-serif); font-size: 1.05rem; }
|
||||
.list-type-grid small { color: var(--muted); }
|
||||
.list-type-grid input:checked + span { border-color: #987c47; background: #332f25; }
|
||||
.list-type-grid label:last-child input:checked + span { border-color: #8a608d; background: #332735; }
|
||||
.list-type-grid input:focus-visible + span { outline: 3px solid rgba(240,166,33,.25); outline-offset: 2px; }
|
||||
|
||||
.homebrew-upload { margin-top: 12px; animation: step-enter .25s ease both; }
|
||||
.homebrew-upload[hidden] { display: none; }
|
||||
.file-picker { min-height: 61px; min-width: 0; display: flex; align-items: center; gap: 14px; padding: 9px 10px 9px 14px; border: 1px dashed #665669; border-radius: 9px; background: #1b191c; cursor: pointer; }
|
||||
.file-picker:hover, .file-picker.has-file { border-color: var(--purple); }
|
||||
.file-picker input { position: absolute; opacity: 0; pointer-events: none; }
|
||||
.file-picker input:focus-visible + .file-picker-copy { outline: 3px solid rgba(207,131,206,.28); outline-offset: 3px; }
|
||||
.file-picker-copy { min-width: 0; display: grid; }
|
||||
.file-picker-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.file-picker-copy small { color: var(--muted); }
|
||||
.file-action { margin-left: auto; padding: 7px 10px; border-radius: 6px; background: #302a31; color: #edc9ed; font-size: .78rem; font-weight: 800; }
|
||||
.homebrew-upload p { margin-top: 8px; color: var(--muted); font-size: .78rem; }
|
||||
.homebrew-upload p strong { color: #d6b7d6; }
|
||||
|
||||
.install-location { margin-top: 14px; padding: 12px 13px; border: 1px solid #454849; border-radius: 10px; background: rgba(17, 19, 20, .72); }
|
||||
.install-location-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
|
||||
.install-location-heading > div { min-width: 0; display: grid; }
|
||||
.install-location-heading > div > span { color: var(--yellow); font-size: .62rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
|
||||
.install-location-heading strong { margin-top: 2px; font-family: var(--font-serif); font-size: .91rem; }
|
||||
.path-toggle { flex: 0 0 auto; border: 0; padding: 3px 0; background: transparent; color: #c6b77f; cursor: pointer; font-size: .72rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
|
||||
.path-toggle:hover { color: #ffe5a0; }
|
||||
.detected-path, .all-install-paths code { display: block; overflow-wrap: anywhere; color: #bad1b4; font-family: Consolas, "Cascadia Mono", monospace; font-size: .7rem; line-height: 1.45; }
|
||||
.detected-path { margin-top: 8px; padding: 7px 9px; border-radius: 6px; background: #111413; }
|
||||
.all-install-paths { display: grid; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid #393c3d; }
|
||||
.all-install-paths[hidden] { display: none; }
|
||||
.all-install-paths > div { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 10px; }
|
||||
.all-install-paths strong { color: var(--body); font-size: .7rem; }
|
||||
|
||||
.autosort-confirmation { margin-top: 14px; }
|
||||
.autosort-card { min-height: 118px; display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 18px; padding: 17px 19px; border: 1px solid #8b6728; border-radius: 12px 12px 0 0; background: linear-gradient(125deg, rgba(73, 51, 17, .84), rgba(38, 32, 22, .9)); box-shadow: inset 0 1px rgba(255, 227, 157, .08); }
|
||||
.autosort-mark { width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid #aa7c2d; border-radius: 10px; background: #322615; color: #ffc75d; font-family: var(--font-serif); font-size: 2.35rem; font-weight: 900; line-height: 1; }
|
||||
.autosort-card > div { min-width: 0; }
|
||||
.autosort-eyebrow { color: #f4b947; font-size: .63rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
|
||||
.autosort-card h3 { margin-top: 2px; font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.1; }
|
||||
.autosort-card p { margin-top: 6px; color: #c8bda7; font-size: .79rem; line-height: 1.45; }
|
||||
.autosort-card p strong { color: #ffe0a0; }
|
||||
.autosort-acknowledge { width: 100%; min-height: 44px; border: 1px solid #8b6728; border-top: 0; border-radius: 0 0 12px 12px; background: #211d16; color: #f4d28e; cursor: pointer; font-weight: 850; transition: background .16s ease, color .16s ease, border-color .16s ease; }
|
||||
.autosort-acknowledge:hover { background: #2c2519; color: #ffe4a8; }
|
||||
.autosort-acknowledge:focus-visible { outline: 3px solid rgba(240, 166, 33, .3); outline-offset: 2px; }
|
||||
.autosort-confirmation.acknowledged .autosort-card { border-color: #56734f; background: linear-gradient(125deg, rgba(42, 64, 36, .75), rgba(29, 38, 27, .9)); }
|
||||
.autosort-confirmation.acknowledged .autosort-mark { border-color: #688a60; background: #293a25; color: #bde5b4; }
|
||||
.autosort-confirmation.acknowledged .autosort-acknowledge { border-color: #56734f; background: #31472d; color: #ccefc5; }
|
||||
|
||||
.availability { margin-top: 14px; padding: 9px 11px; border-radius: 7px; font-size: .79rem; }
|
||||
.availability.waiting { background: #302b20; color: #cdbd91; }
|
||||
.availability.ready { background: #273424; color: #a9d49e; }
|
||||
.wizard-message { min-height: 22px; margin-top: 6px; color: var(--muted); font-size: .8rem; }
|
||||
|
||||
.wizard-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; }
|
||||
.wizard-actions-end { justify-content: flex-end; margin-top: 72px; }
|
||||
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; border: 1px solid transparent; border-radius: 8px; padding: 10px 20px; cursor: pointer; font-weight: 850; transition: transform .15s ease, filter .15s ease, border-color .15s ease; }
|
||||
.button:hover { transform: translateY(-1px); filter: brightness(1.08); }
|
||||
.button:disabled { cursor: not-allowed; opacity: .42; transform: none; filter: none; }
|
||||
.button-primary { min-width: 150px; background: #729f20; color: #f7ffe9; }
|
||||
.button-back { border-color: #4b4d4e; background: transparent; color: var(--muted); }
|
||||
.button-download { min-width: 230px; justify-content: space-between; background: #729f20; color: #f7ffe9; }
|
||||
|
||||
@keyframes intro-rise { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
|
||||
@keyframes pulse { 50% { opacity: .45; transform: scale(.78); } }
|
||||
@keyframes backdrop-in { from { background: rgba(6,8,9,0); backdrop-filter: blur(0); } }
|
||||
@keyframes step-enter { from { opacity: 0; transform: translateX(9px); } to { opacity: 1; transform: none; } }
|
||||
@keyframes warning-enter { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
|
||||
|
||||
@media (max-width: 980px) {
|
||||
.hero { grid-template-columns: 1fr minmax(230px, .52fr); }
|
||||
.hero-copy { padding: 38px; }
|
||||
.count-grid { grid-template-columns: repeat(2, 1fr); }
|
||||
}
|
||||
|
||||
@media (max-width: 700px) {
|
||||
.page-shell { width: min(calc(100% - 24px), 1220px); }
|
||||
.site-header { min-height: 78px; }
|
||||
.brand { width: min(67vw, 330px); }
|
||||
.service-state { font-size: 0; }
|
||||
.hero { grid-template-columns: 1fr; }
|
||||
.hero-copy { padding: 30px 24px; }
|
||||
.hero-art { min-height: 180px; border-top: 1px solid rgba(255,255,255,.09); border-left: 0; }
|
||||
.hero-art img { width: 122px; }
|
||||
.freshness { grid-template-columns: 1fr; }
|
||||
.freshness small { grid-column: auto; }
|
||||
footer { align-items: flex-start; gap: 10px; }
|
||||
.hr-link span { display: none; }
|
||||
.wizard { width: min(100% - 18px, 820px); max-height: 94vh; }
|
||||
.wizard-header { min-height: 66px; padding-left: 18px; }
|
||||
.wizard-progress { padding: 16px 16px 14px; }
|
||||
.wizard-progress::before { top: 31px; }
|
||||
.wizard-progress li small { display: none; }
|
||||
.wizard-step { padding: 27px 20px 24px; }
|
||||
.wizard-viewport { min-height: 470px; }
|
||||
.collection-checks { grid-template-columns: 1fr; }
|
||||
.wizard-actions-end { margin-top: 30px; }
|
||||
.dlc-grid { grid-template-columns: repeat(2, 1fr); }
|
||||
.expansion-warning { align-items: flex-start; flex-direction: column; }
|
||||
.missing-expansion-icons { max-width: 100%; flex-wrap: wrap; }
|
||||
.list-type-grid { grid-template-columns: 1fr; }
|
||||
.install-location-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
|
||||
.autosort-card { grid-template-columns: 54px minmax(0, 1fr); gap: 13px; padding: 15px; }
|
||||
.autosort-mark { width: 50px; height: 50px; font-size: 1.9rem; }
|
||||
}
|
||||
|
||||
@media (max-width: 430px) {
|
||||
.count-grid { grid-template-columns: 1fr; }
|
||||
.count-card { min-height: 100px; }
|
||||
.start-button { min-height: 78px; padding-left: 16px; }
|
||||
.footer-meta { align-items: flex-start; flex-direction: column; gap: 5px; }
|
||||
.wizard-actions { display: grid; grid-template-columns: 1fr 1.5fr; }
|
||||
.button, .button-download { min-width: 0; }
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
|
||||
.intro { display: none; }
|
||||
.page-shell { opacity: 1; transform: none; }
|
||||
}
|
||||
Reference in New Issue
Block a user