From 41905a4a9386326bbbede4fbfd1d7b03b5c4d16b Mon Sep 17 00:00:00 2001 From: Roger Rehnelt Date: Wed, 7 Oct 2026 14:21:02 +0200 Subject: Kundenkonto: kompakte Übersicht „Bestellungen“ (K135) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Je Bestellung eine Karte mit Datum, Bestellnummer, Betrag, Status und Rechnung; die Positionen aufklappbar. Neuer Filter wpsg_account_order_productvars für die Produktvariablen einer Position. Gelöschte Produkte brechen die Seite auch mit DownloadPlus und Widerruf nicht mehr ab. Co-Authored-By: Claude Opus 5.5 --- views/css/frontend.css | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'views/css/frontend.css') diff --git a/views/css/frontend.css b/views/css/frontend.css index 1081458..6232f45 100644 --- a/views/css/frontend.css +++ b/views/css/frontend.css @@ -341,13 +341,19 @@ html body .wpsg_product_garan_wrap a.wpsg_product_garan img { display:block; max .wpsg_mod_produktattribute_value { display:inline-block; } /* Bestellansicht */ -.wpsg_mod_kundenverwaltung_order .wpsg_mod_kundenverwaltung_producttable { margin-top:1rem; margin-bottom:2rem; } -.wpsg_mod_kundenverwaltung_order { - table { width:100%; - td, th { text-align:left; } - } - .wpsg_box { border-bottom:1px solid black; padding-bottom:1rem; margin-bottom:1rem; } -} +/* Kundenkonto „Bestellungen“: je Bestellung eine Karte, Positionen aufklappbar (K135) */ +.wpsg_mod_kundenverwaltung_order .wpsg-account-order { border:1px solid var(--wpsg-color-line, rgba(127,127,127,.35)); border-radius:var(--wpsg-radius, 4px); padding:1em 1.25em; margin:0 0 1em; } +.wpsg_mod_kundenverwaltung_order .wpsg-account-order__head { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:.25em 1em; } +.wpsg_mod_kundenverwaltung_order .wpsg-account-order__title { margin:0; font-size:1em; font-weight:700; line-height:1.4; } +.wpsg_mod_kundenverwaltung_order :where(.wpsg-account-order__sum, .col_price) { white-space:nowrap; } +.wpsg_mod_kundenverwaltung_order .wpsg-account-order__sum { font-weight:700; } +.wpsg_mod_kundenverwaltung_order .wpsg-account-order__meta { margin:.25em 0 0; font-size:var(--wpsg-font-size-small, .875em); } +.wpsg_mod_kundenverwaltung_order .wpsg-account-order__items { margin-top:.75em; } +.wpsg_mod_kundenverwaltung_order .wpsg-account-order__items > summary { cursor:pointer; font-size:var(--wpsg-font-size-small, .875em); } +.wpsg_mod_kundenverwaltung_order .wpsg-account-order__items table { width:100%; margin:.5em 0 0; border-collapse:collapse; } +.wpsg_mod_kundenverwaltung_order .wpsg-account-order__items td { padding:.5em 0; border-top:1px solid var(--wpsg-color-line-soft, rgba(127,127,127,.2)); vertical-align:top; text-align:left; } +.wpsg_mod_kundenverwaltung_order .wpsg-account-order__items td.col_price { padding-left:1em; text-align:right; } +.wpsg_mod_kundenverwaltung_order .wpsg-account-order__detail { display:block; font-size:var(--wpsg-font-size-small, .875em); opacity:var(--wpsg-muted-opacity, .85); } /* Trusted Shops Integration */ .wpsg_checkout label[for="wpsg_mod_trustedshops_set"] { margin:1rem 0 1rem 0; display:block; } -- cgit v1.2.3