feat(css): extend hero-overlay effects to banner-overlay.custom-hero #7

Merged
jmiller merged 91 commits from dev into main 2026-04-26 17:46:49 +00:00

91 Commits

Author SHA1 Message Date
Jonathan Miller 5954a0b56b Merge remote-tracking branch 'origin/main' into dev
# Conflicts:
#	README.md
#	src/media/css/template.css
#	src/templateDetails.xml
2026-04-26 12:46:17 -05:00
Jonathan Miller 871c474bb5 feat(css): extend hero-overlay effects to banner-overlay.custom-hero
Apply the same pseudo-element layering (scaled bg image, radial blur
softening, glass-effect overlay panel) to modules using the
banner-overlay.custom-hero class inside container-banner.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-26 11:55:16 -05:00
jmiller 38caba69a2 chore: add TODO.md from MokoStandards 2026-04-26 16:35:56 +00:00
jmiller d9f241c80a chore: bump patch version for release pipeline fixes [skip ci] 2026-04-24 00:28:14 +00:00
gitea-actions[bot] 5ff523837f chore: update stable SHA-256 for 01.00.25 [skip ci] 2026-04-23 23:34:25 +00:00
gitea-actions[bot] 96d7520fa8 chore(version): bump 01.00.24 → 01.00.25 [skip ci] 2026-04-23 23:34:20 +00:00
gitea-actions[bot] 598605c65c chore: update development SHA-256 for 01.00.24 [skip ci] 2026-04-23 23:30:51 +00:00
gitea-actions[bot] f6ac970ec0 chore(version): bump 01.00.23 → 01.00.24 [skip ci] 2026-04-23 23:30:46 +00:00
jmiller 3340c00e26 fix: drawer toggles override btn-outline-secondary with !important
Bootstrap .btn-outline-secondary was overriding the accent color
and border-radius. Use higher specificity + !important.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-23 23:29:39 +00:00
gitea-actions[bot] 89e255265d chore: update development SHA-256 for 01.00.23 [skip ci] 2026-04-23 23:11:22 +00:00
gitea-actions[bot] 484c223c7e chore(version): bump 01.00.22 → 01.00.23 [skip ci] 2026-04-23 23:11:18 +00:00
jmiller 1be001993e feat: hero wrapper uses bg variables, default height 75vh
.hero now uses --hero-bg-image, --hero-bg-repeat, --hero-bg-attachment,
--hero-bg-position, --hero-bg-size CSS variables.
Default min-height changed from 100% to 75vh.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-23 23:10:04 +00:00
jmiller 5b08fe53b5 feat: mod_custom background uses --hero-bg-image CSS variable
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-23 23:10:02 +00:00
gitea-actions[bot] 3b90a375aa chore: update development SHA-256 for 01.00.22 [skip ci] 2026-04-23 23:07:40 +00:00
gitea-actions[bot] a0dc907f8d chore(version): bump 01.00.21 → 01.00.22 [skip ci] 2026-04-23 23:07:36 +00:00
jmiller 6f15c3f4f0 refactor: remove CSS variables tab, link to repo docs instead
Replace the large inline CSS variables reference fieldset with a
single note linking to the MokoOnyx repo documentation.
Add docs link to template description.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-23 23:06:53 +00:00
jmiller 489ad687af feat: brand buttons use black text by default
All .btn-primary variants now use color: #000 for text.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-23 23:05:28 +00:00
jmiller 2e69795536 feat: drawer toggle buttons use accent color
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-23 23:04:10 +00:00
jmiller d6f6476454 fix: flat edge on drawer toggle buttons facing the drawer
.drawer-toggle-left gets border-radius 0 on left side.
.drawer-toggle-right gets border-radius 0 on right side.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-23 23:03:28 +00:00
gitea-actions[bot] 592b0ea640 chore: update development SHA-256 for 01.00.21 [skip ci] 2026-04-23 22:55:11 +00:00
gitea-actions[bot] db584db4af chore(version): bump 01.00.20 → 01.00.21 [skip ci] 2026-04-23 22:55:07 +00:00
jmiller 12a98762cd fix: hero wrapper full-width, card centering via CSS variables
.hero is the module wrapper — now a full-width flex container.
Card styling (max-width, bg, padding, radius) moves to .hero .card.
All dimensions driven by CSS variables with sensible defaults:
--hero-justify, --hero-align, --hero-min-height,
--hero-card-text-align, --hero-card-max-width, etc.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-23 22:53:17 +00:00
jmiller 2f000c330e fix: remove GitHub mirror URLs from updates.xml (404) [skip ci] 2026-04-23 22:43:38 +00:00
gitea-actions[bot] 4977a8c6ff chore: update stable SHA-256 for 01.00.20 [skip ci] 2026-04-23 20:25:57 +00:00
gitea-actions[bot] c379fab50d chore(version): bump 01.00.19 → 01.00.20 [skip ci] 2026-04-23 20:25:52 +00:00
jmiller 6d09487aa7 chore: add package-lock.json for npm ci in release workflow
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-23 20:25:36 +00:00
gitea-actions[bot] a292026966 chore(version): bump 01.00.18 → 01.00.19 [skip ci] 2026-04-23 20:21:35 +00:00
Jonathan Miller 9ce82bdacc fix: remove theme preview tab and theme-test.html
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-23 15:18:20 -05:00
jmiller ce01759455 feat: lock MokoOnyx extension on install and update
Sets locked=1 in #__extensions after install/update to prevent
accidental uninstallation via Extension Manager.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-23 20:09:29 +00:00
Jonathan Miller 7af3dc0b2d build: minify CSS/JS at release time instead of tracking .min files
Auto-Assign Issues & PRs / Assign unassigned issues and PRs (pull_request_target) Successful in 1s
- Add scripts/minify.js using clean-css and terser
- Add "Setup Node.js" and "Minify CSS and JS" steps to both
  .gitea and .github release workflows (runs before packaging)
- Add src/media/{css,js}/*.min.{css,js} to .gitignore
- Remove tracked .min files from the repo (vendor/ untouched)

This eliminates noisy diffs on generated files and ensures the
release ZIP always contains freshly minified assets.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-23 08:44:18 -05:00
Jonathan Miller e98a1d125f docs: document --header-background-color in CSS Variables reference tab
Add the new variable to both en-GB and en-US language strings so it
appears in the template admin panel alongside the existing header
background variables.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-23 08:27:47 -05:00
gitea-actions[bot] 3e9379f300 chore: update development SHA-256 for 01.00.18 [skip ci] 2026-04-23 06:59:18 +00:00
gitea-actions[bot] e7e71bf77e chore(version): bump 01.00.17 → 01.00.18 [skip ci] 2026-04-23 06:59:16 +00:00
Jonathan Miller f438398e81 feat(theme): add --header-background-color CSS variable for image-free headers
Fix typo (backgroun-color → background-color) in .container-header that
silently broke the color fallback.  Split background shorthand into
discrete background-color / background-image properties so the color
renders when --header-background-image is set to none.

Add --header-background-color to all four theme files (dark.standard,
light.standard, dark.custom, light.custom).  Regenerate minified CSS.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-23 01:54:05 -05:00
Jonathan Miller b158e7684c fix: direct API sync for updates.xml (PR blocked by reviews)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-23 00:00:33 -05:00
Jonathan Miller 765bb9b368 feat: sync updates.xml to main via PR instead of direct API push
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-22 03:22:22 -05:00
gitea-actions[bot] 659486fac4 chore: update stable SHA-256 for 01.00.17 [skip ci] 2026-04-22 08:15:13 +00:00
gitea-actions[bot] f2d496b7e5 chore(version): bump 01.00.16 → 01.00.17 [skip ci] 2026-04-22 08:15:10 +00:00
Jonathan Miller 3339dbb620 docs: fix README — dynamic badge, correct requirements, fix links
- Version badge now dynamic from Gitea releases (not hardcoded 03.x)
- PHP requirement corrected to 8.1+ (was 8.0)
- Joomla requirement corrected to 5.x | 6.x (was 4.4.x | 5.x)
- Template overrides section updated (was "No Template Overrides")
- Links corrected from "GitHub" to "Gitea" where appropriate
- Removed stale 03.x changelog entries
- Updated revision history

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-22 03:03:47 -05:00
gitea-actions[bot] 50331262c9 chore: update development SHA-256 for 01.00.16 [skip ci] 2026-04-22 07:36:50 +00:00
gitea-actions[bot] f8da2bef6a chore(version): bump 01.00.15 → 01.00.16 [skip ci] 2026-04-22 07:36:48 +00:00
Jonathan Miller eee3242c4b feat: replace MokoCassiopeia references in content/modules on install/update
Adds replaceCassiopeiaReferences() to script.php postflight so
article content and custom HTML modules are updated during
Joomla admin install/update, not just on frontend page load.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-22 02:35:27 -05:00
gitea-actions[bot] 157eab4470 chore: update development SHA-256 for 01.00.15 [skip ci] 2026-04-22 07:15:31 +00:00
gitea-actions[bot] 208a072161 chore(version): bump 01.00.14 → 01.00.15 [skip ci] 2026-04-22 07:15:28 +00:00
Jonathan Miller 4423294272 feat: move favicons to template media folder and clean up old locations
- Favicons now output to media/templates/site/mokoonyx/images/favicons/
- On install/update: removes old /images/favicons/ directory
- On install/update: removes stale favicon files from site root

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-22 02:14:20 -05:00
gitea-actions[bot] 5c014a1484 chore: update development SHA-256 for 01.00.14 [skip ci] 2026-04-22 07:11:37 +00:00
gitea-actions[bot] d9cc2707bb chore(version): bump 01.00.13 → 01.00.14 [skip ci] 2026-04-22 07:11:35 +00:00
Jonathan Miller cf0051213f fix: clear favicon stamp on install/update to force regeneration (#1)
Ensures site.webmanifest and all favicon files are regenerated
after every template install or update.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-22 02:11:10 -05:00
gitea-actions[bot] 17174814ba chore: update development SHA-256 for 01.00.13 [skip ci] 2026-04-22 07:08:45 +00:00
gitea-actions[bot] ea2ccc482c chore(version): bump 01.00.12 → 01.00.13 [skip ci] 2026-04-22 07:08:42 +00:00
Jonathan Miller 6a40dc558b fix: regenerate favicons when site.webmanifest is missing (#1)
Stamp file check now also verifies manifest exists, preventing
early return that skips generateManifest() on subsequent loads.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-22 02:08:06 -05:00
gitea-actions[bot] 30bba91a8a chore: update development SHA-256 for 01.00.12 [skip ci] 2026-04-22 02:50:43 +00:00
gitea-actions[bot] 9760cb4a0e chore(version): bump 01.00.11 → 01.00.12 [skip ci] 2026-04-22 02:50:40 +00:00
Jonathan Miller f6b3f7f0ab fix: use consistent tag names across channels and add component gap
- Stable release tag changed from v01 to 'stable' for consistency
- All updates.xml channels now use channel name as tag
- Add 0.75rem margin below #maincontent component area

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-21 21:49:33 -05:00
gitea-actions[bot] 7c9850c0a9 chore: update stable SHA-256 for 01.00.11 [skip ci] 2026-04-22 02:08:05 +00:00
gitea-actions[bot] acff16c0a0 chore(version): bump 01.00.10 → 01.00.11 [skip ci] 2026-04-22 02:08:02 +00:00
Jonathan Miller 0672f63136 chore: sync updates.xml version header and channels to stable 01.00.07
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-21 21:06:37 -05:00
gitea-actions[bot] 139f1d643e chore: update development SHA-256 for 01.00.10 [skip ci] 2026-04-21 22:48:15 +00:00
gitea-actions[bot] 005efe752c chore(version): bump 01.00.09 → 01.00.10 [skip ci] 2026-04-21 22:48:13 +00:00
Jonathan Miller fb4f764bc4 feat: add template overrides for Community Builder and DPCalendar modules
Add overrides for all installed third-party modules:
- mod_cblogin (login + logout)
- mod_comprofilermoderator
- mod_comprofileronline
- mod_dpcalendar_counter
- mod_dpcalendar_map
- mod_dpcalendar_mini (with sublayouts)
- mod_dpcalendar_upcoming (with scripts)

Sourced from waas.dev site installation for template consistency.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-21 17:46:47 -05:00
gitea-actions[bot] b5cbba7899 chore: update development SHA-256 for 01.00.09 [skip ci] 2026-04-21 22:23:34 +00:00
gitea-actions[bot] 9d0089eac3 chore(version): bump 01.00.08 → 01.00.09 [skip ci] 2026-04-21 22:23:32 +00:00
Jonathan Miller ee345f1bb6 feat: add custom card module chrome for universal title rendering
Custom card.php layout chrome renders module titles for ALL modules
(core + third-party) when style="card" is used. Fixes missing titles
for Community Builder, DPCalendar, HikaShop, JoomShopping, JS Jobs,
Phoca Gallery, and any other extension modules without individual
template overrides.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-21 17:22:11 -05:00
Jonathan Miller edc66d3404 feat: unlock MokoCassiopeia + lock MokoOnyx during migration
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-21 17:06:10 -05:00
Jonathan Miller 51718b2bb8 feat: auto-bump on dev, merge to main via API for stable releases
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-21 16:35:32 -05:00
Jonathan Miller 9a0345defd fix: skip auto-bump on main (branch protection blocks push)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-21 16:28:31 -05:00
gitea-actions[bot] bc546cc1e1 chore: update development SHA-256 for 01.00.08 [skip ci] 2026-04-21 21:19:58 +00:00
gitea-actions[bot] f99715743b chore(version): bump 01.00.07 → 01.00.08 [skip ci] 2026-04-21 21:19:55 +00:00
Jonathan Miller d903e1e232 feat: add dynamic version badge and migrate content/module references
Add shields.io dynamic version badge (from Gitea releases) to both
templateDetails.xml and sys.ini descriptions. Extend migration script
to replace MokoCassiopeia references in article content and custom
HTML modules. Fix ROADMAP.md repo URLs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-21 16:18:12 -05:00
gitea-actions[bot] b6ff24da50 chore: update stable SHA-256 for 01.00.07 [skip ci] 2026-04-21 19:33:47 +00:00
gitea-actions[bot] 748cd855f5 chore(version): bump 01.00.06 → 01.00.07 [skip ci] 2026-04-21 19:33:44 +00:00
gitea-actions[bot] 30660cfee8 chore: update development SHA-256 for 01.00.06 [skip ci] 2026-04-21 19:22:18 +00:00
gitea-actions[bot] 5bd66387e3 chore(version): bump 01.00.05 → 01.00.06 [skip ci] 2026-04-21 19:22:16 +00:00
Jonathan Miller 55d6a3ff7c docs: fill in CLAUDE.md — tokens, auto-bump, multi-channel, migration notes
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-21 14:16:06 -05:00
Jonathan Miller 7c43a9fe64 feat: add Migration tab in template config with re-run instructions
- New "Migration" fieldset in template options
- Instructions for re-running migration (delete .migrated)
- Direct link to Extensions → Manage to uninstall MokoCassiopeia

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-21 14:09:24 -05:00
Jonathan Miller b7ab26c999 Update manifest: migration instructions + how to re-run
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-21 14:06:42 -05:00
gitea-actions[bot] b965070f3f chore: update development SHA-256 for 01.00.05 [skip ci] 2026-04-21 19:02:01 +00:00
gitea-actions[bot] 084245e9c1 chore(version): bump 01.00.04 → 01.00.05 [skip ci] 2026-04-21 19:01:58 +00:00
Jonathan Miller 602d3f69bc docs: add v02.00.00 roadmap — migration script removal
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-21 14:00:12 -05:00
gitea-actions[bot] 61aa54df78 chore: update development SHA-256 for 01.00.04 [skip ci] 2026-04-21 18:58:48 +00:00
gitea-actions[bot] 8430ea6804 chore(version): bump 01.00.03 → 01.00.04 [skip ci] 2026-04-21 18:58:45 +00:00
Jonathan Miller ad1070be03 feat: index.php bootstrap migration from MokoCassiopeia
Joomla 6 doesn't call <scriptfile> for templates. Instead, run
migration on first page load via index.php:
- Detect MokoCassiopeia styles → copy params to MokoOnyx
- Create matching style copies for additional styles
- Set MokoOnyx as default if Cassiopeia was default
- Copy user files (custom themes, user.css, user.js)
- Redirect update server to MokoOnyx
- Creates .migrated marker so it only runs once

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-21 13:58:18 -05:00
gitea-actions[bot] 8db0a4fa88 chore(version): bump 01.00.02 → 01.00.03 [skip ci] 2026-04-21 18:54:53 +00:00
gitea-actions[bot] fb8d91c716 chore: update development SHA-256 for 01.00.02 [skip ci] 2026-04-21 18:49:22 +00:00
gitea-actions[bot] 455f5825db chore(version): bump 01.00.01 → 01.00.02 [skip ci] 2026-04-21 18:49:20 +00:00
Jonathan Miller c9222b4c31 fix: add InstallerScriptInterface for Joomla 6, run migration on install + update
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-21 13:48:42 -05:00
gitea-actions[bot] 314a4683ae chore: update development SHA-256 for 01.00.01 [skip ci] 2026-04-21 17:42:47 +00:00
gitea-actions[bot] c1e6a5f42d chore(version): bump 01.00.00 → 01.00.01 [skip ci] 2026-04-21 17:42:44 +00:00
Jonathan Miller 44b823d4f7 feat: add release workflow + migrate MokoCassiopeia styles on install
- .gitea/workflows/release.yml: auto-bump, build ZIP, Gitea release,
  per-channel updates.xml targeting (same as MokoCassiopeia)
- script.php: on install, detect MokoCassiopeia styles, create matching
  MokoOnyx style copies with same params, set default, copy user files

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-21 12:42:22 -05:00
jmiller a581da7bdc feat: auto-migrate from MokoCassiopeia on install — copy params, styles, set default
Repo Health / Access control (push) Successful in 1s
Repo Health / Release configuration (push) Failing after 3s
Repo Health / Scripts governance (push) Successful in 3s
Repo Health / Repository health (push) Failing after 3s
2026-04-21 17:36:13 +00:00
gitea-actions[bot] 67f6b61bf2 chore: update stable SHA-256 for 01.00.00 [skip ci] 2026-04-19 22:30:48 +00:00