diff --git a/assets/css/app.css b/assets/css/app.css index be25d5b..0717c9d 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -121,7 +121,26 @@ input[type="radio"] + label { } /* Mehrere Absaetze/Listen in einer Box sollen untereinander stehen statt - nebeneinander (Flex-Grundstil). */ -.hint-box { + nebeneinander (Flex-Grundstil). + Bewusst auf div eingegrenzt: .hint-box macht aus einem Element einen + Flex-Container. Auf einer Tabellenzeile zerstoert das die Spalten - fuer + hervorgehobene Zeilen gibt es .tarif-aktuell weiter unten. */ +div.hint-box { flex-direction: column; } + +/* --------------------------------------------------------------------------- + * Hervorgehobene Tabellenzeile (aktuell gebuchter Tarif) + * + * Muss eine normale Tabellenzeile bleiben, damit die Zellen unter ihren + * Spaltenueberschriften stehen. + * ------------------------------------------------------------------------ */ +tr.tarif-aktuell > td { + background: #e8fbe8; + color: #1b5e20; + font-weight: 600; +} + +tr.tarif-aktuell > td:first-child { + box-shadow: inset 5px 0 0 0 #4caf50; +} diff --git a/mandant-einstellungen.php b/mandant-einstellungen.php index ae65450..a4fbd27 100644 --- a/mandant-einstellungen.php +++ b/mandant-einstellungen.php @@ -249,7 +249,7 @@ include 'nav.php'; $selectable = billing_plan_selectable_for($pdo, (int)$user['tenant_id'], $planCode); $isSelfService = $plan['stripe_lookup_key'] !== null || $planCode === 'free'; ?> - > + > 0 ? saas_html(saas_format_money_cents($plan['price_cents'])) . ' €' : 'kostenlos'; ?>