From c91f6ba64930b9a0296b4b399bc19f1caa29a6f2 Mon Sep 17 00:00:00 2001 From: Lester Caine Date: Tue, 16 Jun 2026 11:01:47 +0100 Subject: Add odd/even row colours and override table-striped; document header pattern config.css: tr.odd (#d3d3d3) / tr.even (#a9a9a9) with visible contrast; override Bootstrap table-striped to same; table-hover to steel blue (#b8d4e8). CLAUDE.md: document standard blue header pattern (header element, floaticon include, breadcrumb include) and tango/tango5 icon copy rule. Co-Authored-By: Claude Sonnet 4.6 --- CLAUDE.md | 19 +++++++++++++++++++ css/config.css | 7 +++++++ 2 files changed, 26 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 760a808..6b9492a 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -70,6 +70,25 @@ Column visibility is controlled by feature flags in `kernel_config` checked in ` The old hardcoded `display_mode != 'edit'` guard in `html.tpl` has been removed — columns now always follow these flags. All flags off = columns show on all pages including edit pages. +## Standard content header pattern (merg theme) +The merg theme applies `background-color: #5da7e1` to every `
` element. The standard +pattern for display pages uses a semantic `
` with floaticons and breadcrumbs as +separate included templates (matching the stock assembly pattern): + +```html +
+ {include file="bitpackage:pkg/foo_icons_inc.tpl"} {* floaticons — float right *} +

Title

+ {include file="bitpackage:pkg/foo_breadcrumb_inc.tpl"} {* trail *} +
+``` + +- `foo_icons_inc.tpl` — contains `
` with action icons (edit, delete, etc.) +- `foo_breadcrumb_inc.tpl` — contains `` with `›`-separated ancestor links +- Use `
` (semantic element), never `
` — the latter gets no blue background +- Do not use a separate `
` or `