style(lists): replace '— ' dash prefix with vertical gold bar accent

The em-dash prefix on list items felt typographic but unbranded. Now each
list item gets a 3px-wide gold vertical bar on the left, evoking a tactical
breadcrumb. Implementation :
- Builders (av_build_list_section in _av-bricks-shared.php +
  av_build_form_two_col promise list in av-generate-forms.php) emit clean
  text without the '— ' prefix, and set _cssClasses = 'av-list-item'
- New mu-plugin av-list-bullet-style.php injects CSS via wp_head() :
  .av-list-item { position: relative; padding-left: 0.9rem; }
  .av-list-item::before { gold bar, 3px × 1.1em, aligned to first line }

Regen all sections (industries, solutions, technology, editorial, forms,
home) to switch existing pages to the new style.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-14 21:05:45 +02:00
parent 1c297b336f
commit 094fdbea51
3 changed files with 38 additions and 2 deletions

View File

@@ -362,7 +362,8 @@ function av_build_form_two_col($slug, $d) {
$els[] = [
'id' => "fp{$slug}i{$j}", 'name' => 'text-basic', 'parent' => $plst, 'children' => [],
'settings' => [
'text' => "\u{2014} " . $item,
'text' => $item,
'_cssClasses' => 'av-list-item',
'_typography' => [
'color' => av_color('var(--color-text-secondary)'),
'font-size' => '0.9375rem',