Rechnungsanalyse: Kopfzeile aufgeraeumt, Zurueck-Weg steckt im Logo
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 …").
This commit is contained in:
@@ -96,12 +96,12 @@ input[type=number] { -moz-appearance: textfield; }
|
|||||||
max-width: 1040px; margin: 0 auto;
|
max-width: 1040px; margin: 0 auto;
|
||||||
display: flex; align-items: center; gap: clamp(10px, 2.4vw, 18px); flex-wrap: wrap;
|
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; }
|
/* Logo ist zugleich der Zurueck-Link ins Admin-Panel. */
|
||||||
.kal-back {
|
.kal-brand {
|
||||||
color: var(--color-accent-2-100); text-decoration: none; font-size: 13.5px; font-weight: 600;
|
font-family: var(--font-heading); font-size: clamp(17px, 4vw, 22px);
|
||||||
border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 999px; padding: 5px 14px; white-space: nowrap;
|
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-spacer { flex: 1; min-width: 0; }
|
||||||
.kal-stat { display: flex; align-items: baseline; gap: 8px; }
|
.kal-stat { display: flex; align-items: baseline; gap: 8px; }
|
||||||
.kal-stat-lbl {
|
.kal-stat-lbl {
|
||||||
|
|||||||
@@ -9,9 +9,9 @@
|
|||||||
<body>
|
<body>
|
||||||
<header class="kal-header">
|
<header class="kal-header">
|
||||||
<div class="kal-header-inner">
|
<div class="kal-header-inner">
|
||||||
<span class="kal-brand">webklar</span>
|
<!-- Der Weg zurueck ins Admin-Panel steckt im Logo. -->
|
||||||
<a class="kal-back" href="/admin.html">← Admin</a>
|
<a class="kal-brand" href="/admin.html" title="Zurück zum Admin-Panel">webklar</a>
|
||||||
<span class="kal-spacer" id="kal-lead"></span>
|
<span class="kal-spacer"></span>
|
||||||
<span class="kal-stat">
|
<span class="kal-stat">
|
||||||
<span class="kal-stat-lbl">Netto</span>
|
<span class="kal-stat-lbl">Netto</span>
|
||||||
<span class="kal-stat-val big" id="hdr-net">0 €</span>
|
<span class="kal-stat-val big" id="hdr-net">0 €</span>
|
||||||
|
|||||||
@@ -688,9 +688,6 @@ async function initKalkulation() {
|
|||||||
restoreState()
|
restoreState()
|
||||||
|
|
||||||
if (customer) {
|
if (customer) {
|
||||||
const parts = [customer.name, customer.location].filter(Boolean)
|
|
||||||
el('kal-lead').innerHTML =
|
|
||||||
`<span style="font-size:13.5px;color:var(--color-accent-2-100)">Lead: <b style="color:#fff">${escapeHtml(parts.join(' · '))}</b></span>`
|
|
||||||
el('hero-kicker').textContent = `Angebot für ${customer.name}`
|
el('hero-kicker').textContent = `Angebot für ${customer.name}`
|
||||||
if (!state.portalEmail) state.portalEmail = customer.email || ''
|
if (!state.portalEmail) state.portalEmail = customer.email || ''
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user