Biete in der Shopliste Auswahl, Reihenfolge, Listenansicht und Seiten
CI Feature / test (push) Successful in 6m4s

- ShopCatalog::listing mit Auswahl nach Thema, Materialart, Eignung und Nutzerkreis, Reihenfolge, Ansicht und Seiten
- Listenansicht shop/zeile, gemeinsame Liste fuer Shopseite und Widget (Variante Liste, Einstellung Auswahl fuer Besucher)
- Werte aus dem Abfragetext werden gegen vorhandene Werte geprueft, Felder als Liste und Zahlen ausserhalb des Bereichs sind harmlos
- Suchfeld heisst nach dem Umbau Zurücksetzen statt Suche zuruecksetzen (Test bewusst angepasst)
- ADR-57

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Sonnet 5.5 committed 2026-11-26 08:35:33 +01:00
1 parent 95a888d1ca
commit f0ffb47210
15 files changed
+651 -73

No files matched your search

+154
View File
@@ -563,3 +563,157 @@ .shop-marker-beliebt {
border-color: var(--color-success);
color: var(--color-success);
}
/*
* Auswahl, Listenansicht und Seiten (ADR-57). Alles ohne Script bedienbar; die Auswahl steht im Abfragetext.
*/
.shop-filter {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
gap: var(--space-3) var(--space-4);
align-items: end;
max-width: none;
}
.shop-filter-field {
display: grid;
gap: var(--space-1);
}
.shop-filter-search {
grid-column: 1 / -1;
}
.shop-filter-actions {
display: flex;
flex-wrap: wrap;
gap: var(--space-2);
}
.shop-viewbar {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: var(--space-3);
margin: var(--space-4) 0 0;
}
.shop-view {
display: flex;
gap: var(--space-2);
margin: 0;
}
.shop-view a {
padding: 0.2rem 0.8rem;
border: 2px solid var(--color-border-strong);
border-radius: var(--radius-pill);
text-decoration: none;
font-weight: 600;
}
.shop-view a[aria-current='true'] {
background: var(--lf-navy);
border-color: var(--lf-navy);
color: var(--lf-white);
}
.shop-rows {
list-style: none;
margin: var(--space-5) 0;
padding: 0;
display: grid;
gap: var(--space-3);
}
.shop-row {
position: relative;
display: grid;
grid-template-columns: 7rem minmax(0, 1fr) auto;
gap: var(--space-4);
align-items: center;
background: var(--color-surface-raised);
border: 1px solid var(--color-border);
border-radius: var(--radius-card);
padding: var(--space-3) var(--space-4);
}
.shop-row-media {
aspect-ratio: 16 / 9;
background: var(--color-surface-subtle);
border-radius: var(--radius-card);
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}
.shop-row-media img {
inline-size: 100%;
block-size: 100%;
object-fit: cover;
}
.shop-row-symbol {
--sym-s: 2.5rem;
}
.shop-row-body h2 {
margin: 0 0 var(--space-1);
font-size: var(--text-h3);
}
.shop-row-body h2 a {
color: inherit;
text-decoration: none;
}
.shop-row-body h2 a:hover,
.shop-row-body h2 a:focus-visible {
text-decoration: underline;
}
.shop-row-body h2 a::after {
content: '';
position: absolute;
inset: 0;
}
.shop-row .shop-tile-kind {
flex-wrap: wrap;
}
.shop-row-price {
margin: 0;
font-weight: 700;
text-align: end;
white-space: nowrap;
}
.shop-row-price span {
display: block;
font-weight: 400;
font-size: var(--text-small);
color: var(--color-text-muted);
}
.shop-pages {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: var(--space-4);
margin: var(--space-5) 0;
}
@media (max-width: 40rem) {
.shop-row {
grid-template-columns: 4.5rem minmax(0, 1fr);
}
.shop-row-price {
grid-column: 1 / -1;
text-align: start;
}
}