From 952c5512bd1eb76dd1032ac2d3eaf0a6c3bc2700 Mon Sep 17 00:00:00 2001 From: Arnaud Delcasse Date: Thu, 27 Aug 2026 03:12:41 +0200 Subject: [PATCH] count carpool areas on the accordion badge --- themes/mms43/assets/css/main.css | 17 +++++++++++++++++ .../mms43/layouts/_partials/search-results.html | 11 ++++++++++- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/themes/mms43/assets/css/main.css b/themes/mms43/assets/css/main.css index 71be464..2bf9767 100644 --- a/themes/mms43/assets/css/main.css +++ b/themes/mms43/assets/css/main.css @@ -2268,6 +2268,23 @@ a { margin-right: 0.75rem; } +/* Secondary count on the Covoiturage accordion: how many carpooling areas + were found. Outlined rather than filled so it reads as extra information + next to the trip count, and orange to tie it to the map markers. */ +.accordion-badge-areas { + background-color: transparent; + border: 1.5px solid var(--color-highlight); + color: var(--color-highlight); + gap: 0.2rem; + padding: 0 0.45rem; + min-width: 0; +} + +.accordion-badge-areas svg { + flex-shrink: 0; +} + + .accordion-arrow { width: 24px; height: 24px; diff --git a/themes/mms43/layouts/_partials/search-results.html b/themes/mms43/layouts/_partials/search-results.html index d5b3d13..37084a6 100644 --- a/themes/mms43/layouts/_partials/search-results.html +++ b/themes/mms43/layouts/_partials/search-results.html @@ -121,11 +121,20 @@ -