From c4a6c90306bd57330181d737eb0f967ea864a537 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 8 Aug 2026 21:47:31 +0000 Subject: [PATCH] Rechnungsanalyse: Kopfzeile aufgeraeumt, Zurueck-Weg steckt im Logo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Der Button "← Admin" und die Lead-Zeile in der Kopfleiste sind raus. Das webklar-Logo ist jetzt selbst der Link zurueck ins Admin-Panel (mit title als Hinweis). Der Lead steht weiterhin ueber dem Preis ("Angebot für …"). --- public/kalkulation.css | 10 +++++----- public/kalkulation.html | 6 +++--- public/kalkulation.js | 3 --- 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/public/kalkulation.css b/public/kalkulation.css index 73cbbfb..79daa98 100644 --- a/public/kalkulation.css +++ b/public/kalkulation.css @@ -96,12 +96,12 @@ input[type=number] { -moz-appearance: textfield; } max-width: 1040px; margin: 0 auto; display: flex; align-items: center; gap: clamp(10px, 2.4vw, 18px); flex-wrap: wrap; } -.kal-brand { font-family: var(--font-heading); font-size: clamp(17px, 4vw, 22px); color: #fff; } -.kal-back { - color: var(--color-accent-2-100); text-decoration: none; font-size: 13.5px; font-weight: 600; - border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 999px; padding: 5px 14px; white-space: nowrap; +/* Logo ist zugleich der Zurueck-Link ins Admin-Panel. */ +.kal-brand { + font-family: var(--font-heading); font-size: clamp(17px, 4vw, 22px); + color: #fff; text-decoration: none; } -.kal-back:hover { background: rgba(255, 255, 255, 0.16); color: #fff; } +.kal-brand:hover { color: #fff; opacity: 0.85; } .kal-spacer { flex: 1; min-width: 0; } .kal-stat { display: flex; align-items: baseline; gap: 8px; } .kal-stat-lbl { diff --git a/public/kalkulation.html b/public/kalkulation.html index 46eeea0..35e4f17 100644 --- a/public/kalkulation.html +++ b/public/kalkulation.html @@ -9,9 +9,9 @@
- webklar - ← Admin - + + webklar + Netto 0 € diff --git a/public/kalkulation.js b/public/kalkulation.js index 1b11112..ede86dd 100644 --- a/public/kalkulation.js +++ b/public/kalkulation.js @@ -688,9 +688,6 @@ async function initKalkulation() { restoreState() if (customer) { - const parts = [customer.name, customer.location].filter(Boolean) - el('kal-lead').innerHTML = - `Lead: ${escapeHtml(parts.join(' · '))}` el('hero-kicker').textContent = `Angebot für ${customer.name}` if (!state.portalEmail) state.portalEmail = customer.email || '' }