From 0c8333df7c9df31e2c7c65f20a9bd08789f387ac Mon Sep 17 00:00:00 2001 From: vickydotbat Date: Thu, 16 Jul 2026 17:44:21 +0200 Subject: [PATCH 1/2] Override wiki overlay scrims with theme charcoal The wiki plugin now exposes --wiki-scrim/--wiki-scrim-strong for its drawer/dialog backdrops; set them from --wg-bg-deep so overlays stay warm against the plum/gold palette instead of the plugin's slate-blue defaults. Co-Authored-By: Claude Fable 5 --- scss/westgate/_wiki-prose.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scss/westgate/_wiki-prose.scss b/scss/westgate/_wiki-prose.scss index a9aaeb4..c3d647f 100644 --- a/scss/westgate/_wiki-prose.scss +++ b/scss/westgate/_wiki-prose.scss @@ -21,6 +21,10 @@ rgba(18, 16, 23, 0.98) 100% ); --wiki-chrome-warning-border: rgba(194, 163, 90, 0.45); + /* Backdrop scrims (drawer/dialog overlays): deep charcoal instead of the + plugin's slate-blue defaults, so overlays stay warm against the theme. */ + --wiki-scrim: rgba(9, 8, 11, 0.55); + --wiki-scrim-strong: rgba(9, 8, 11, 0.8); --wiki-chrome-danger: var(--wg-red); --wiki-chrome-danger-hover: #c55a5f; --wiki-redlink-color: #c06a6e; -- 2.54.0 From 46809bd9086bc5e150dd21e0eab79935332e4669 Mon Sep 17 00:00:00 2001 From: vickydotbat Date: Thu, 16 Jul 2026 18:02:24 +0200 Subject: [PATCH 2/2] delete unused topbar-custom --- custom_pages/westgate-pages/topbar-custom.js | 224 ------------------- 1 file changed, 224 deletions(-) delete mode 100644 custom_pages/westgate-pages/topbar-custom.js diff --git a/custom_pages/westgate-pages/topbar-custom.js b/custom_pages/westgate-pages/topbar-custom.js deleted file mode 100644 index 4f18c2b..0000000 --- a/custom_pages/westgate-pages/topbar-custom.js +++ /dev/null @@ -1,224 +0,0 @@ -/* ============================================================================ - SHADOWS OVER WESTGATE — top bar controller - ---------------------------------------------------------------------------- - Paste into ACP -> Settings -> Custom Content -> "Custom JavaScript". - (In the live theme this can instead live in the theme's client-side bundle.) - - WHY THIS FILE EXISTS - - The static page (join-the-team.html) needs NO JavaScript; it is pure - HTML/CSS (the only inline bit is an fallback). Home lives - in the westgate-pages plugin now (templates/home.tpl). - - The TOP BAR needs this small controller for: Forums mega-menu, inline - search, the mobile burger/drawer, and the drawer's Forums accordion. - - NODEBB-SPECIFIC NOTES - - NodeBB is a single-page app: it swaps #content on navigation instead of - reloading. So we DON'T bind to specific nodes on DOMContentLoaded — we use - event delegation on `document`, which keeps working across page changes and - even if the header is re-rendered. - - Inline