Final-Review-Fixwelle der Cockpit-Übersicht:
- F1 Collector: Der Zeitraum sind die range Kalendertage bis gestern (Berliner Tag),
der Vorzeitraum die range Tage davor; heute steht getrennt in today { day, pv, visitors,
contacts }. Kein Einbruch mehr am rechten Rand von Diagramm und Mini-Verläufen,
kein falsches "x % weniger" tagsüber. Portal: weekdayStats bekommt die ganze Reihe
(completedDays entfällt), "Vergleich ab" = firstDay + 2 x range, Kopfzeile
"Analyse aktiv · Heute bisher: N Aufrufe · Stand: HH:MM Uhr" (alter Collector ohne today
bleibt ohne "Heute bisher").
- F2 "direkt kontaktiert" zählt nur Telefon, E-Mail und WhatsApp (auch im Vorzeitraum),
Links nach außen nicht.
- F3 Mini-Verlauf "Ø Zeit pro Seite": Tage ohne Messung sind Lücken statt 0-Tälern.
- F4 Fehlerfarbe beim Ausschalten rot, --an-faint auf 55 %, Achsenschrift per
Container-Abfragen auf 11-12 px (y-Rand wächst mit der Stellenzahl, x-Beschriftungen mit
Mindestabstand), Ranglisten-Anteile an allen Seitenaufrufen, Tippflächen bis 880 px
mindestens 40 px hoch.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
296 lines
22 KiB
CSS
296 lines
22 KiB
CSS
/* Analyse "Cockpit" (analyse.js, analyse-cards.js): alles unter dem Wurzelelement .an mit eigenen Variablen und eigenem tuerkisen Akzent;
|
|
ausserhalb von #view-analyse aendert sich nichts. Klassen und Zustaende: Vertrag im Kopf von analyse-cards.js. */
|
|
|
|
.an {
|
|
--an-fg: #fff;
|
|
--an-fg2: rgba(255, 255, 255, 0.78);
|
|
--an-muted: rgba(255, 255, 255, 0.58);
|
|
--an-faint: rgba(255, 255, 255, 0.55); /* >= 4,5:1 auf der Karte (gemessen ca. 6,2:1) */
|
|
--an-line: rgba(255, 255, 255, 0.09);
|
|
--an-line2: rgba(255, 255, 255, 0.18);
|
|
--an-card: rgba(14, 16, 20, 0.92);
|
|
--an-acc: #2dd4bf;
|
|
--an-acc-strong: #5eead4;
|
|
--an-acc-soft: rgba(45, 212, 191, 0.1);
|
|
--an-on-acc: #04201c;
|
|
--an-up-bg: rgba(45, 212, 191, 0.14);
|
|
--an-down: #fda4af;
|
|
--an-down-bg: rgba(244, 63, 94, 0.14);
|
|
--an-prev: rgba(255, 255, 255, 0.35);
|
|
--an-warn: #fcd34d;
|
|
--an-bar-fill: linear-gradient(90deg, rgba(45, 212, 191, 0.32), rgba(45, 212, 191, 0.12));
|
|
--an-r: 16px;
|
|
--an-gap: 14px;
|
|
min-width: 0;
|
|
color: var(--an-fg);
|
|
color-scheme: dark;
|
|
}
|
|
.an, .an *, .an *::before, .an *::after { box-sizing: border-box; }
|
|
.an a, .an .kb-link { color: var(--an-acc-strong); }
|
|
.an :is(button, select, input, a):focus-visible { outline: 2px solid var(--an-acc-strong); outline-offset: 2px; }
|
|
|
|
/* ------------------------------------------------------------ Kopfleiste --- */
|
|
.an-top { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; padding: 14px 16px; border-radius: var(--an-r); background: var(--an-card); border: 1px solid var(--an-line); }
|
|
.an-site { --an-dot: #2dd4bf; --an-dot-soft: rgba(45, 212, 191, 0.18); display: flex; align-items: center; gap: 12px; flex: 1 1 260px; min-width: 0; }
|
|
.an-site[data-state="warn"] { --an-dot: #fcd34d; --an-dot-soft: rgba(252, 211, 77, 0.18); }
|
|
.an-site[data-state="off"] { --an-dot: rgba(255, 255, 255, 0.4); --an-dot-soft: rgba(255, 255, 255, 0.1); }
|
|
.an-site > div { min-width: 0; }
|
|
.an-status-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--an-dot); box-shadow: 0 0 0 4px var(--an-dot-soft); }
|
|
.an-site-name { display: block; font-size: 16px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.an-status { display: block; margin-top: 2px; font-size: 12px; color: var(--an-muted); }
|
|
.an-st { white-space: nowrap; }
|
|
.an-pick {
|
|
display: block; max-width: 100%; padding: 2px 24px 2px 0; border: 0; border-radius: 6px; cursor: pointer; text-overflow: ellipsis;
|
|
-webkit-appearance: none; appearance: none; color: var(--an-fg); font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.3;
|
|
background: transparent url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2 4.5l4 4 4-4' fill='none' stroke='white' stroke-opacity='.7' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat right 2px center / 12px;
|
|
}
|
|
.an-pick option { background: #14161b; color: #fff; }
|
|
|
|
.an-seg { display: inline-flex; flex: none; gap: 2px; padding: 3px; border-radius: 11px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--an-line); }
|
|
.an-seg button { padding: 7px 13px; border: 0; border-radius: 8px; background: transparent; color: var(--an-muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background-color 0.15s, color 0.15s; }
|
|
.an-seg button:hover { color: var(--an-fg); }
|
|
.an-seg button.on { background: var(--an-acc); color: var(--an-on-acc); }
|
|
|
|
/* ----------------------------------------------------------------- Reiter --- */
|
|
.an-tabs { display: flex; gap: 22px; margin: 18px 4px; border-bottom: 1px solid var(--an-line); overflow-x: auto; scrollbar-width: none; }
|
|
.an-tabs::-webkit-scrollbar { display: none; }
|
|
.an-tabbtn { flex: none; padding: 0 0 12px; border: 0; background: transparent; color: var(--an-muted); font: inherit; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: color 0.15s; }
|
|
.an-tabbtn:hover { color: var(--an-fg); }
|
|
.an-tabbtn.on { color: var(--an-fg); box-shadow: inset 0 -2px 0 var(--an-acc); }
|
|
.an .an-tabbtn:focus-visible { outline-offset: -2px; border-radius: 4px; }
|
|
.an-top + #an-stage { margin-top: var(--an-gap); }
|
|
|
|
/* ------------------------------------------------------- Karten und Raster --- */
|
|
.an-ov { display: grid; gap: var(--an-gap); min-width: 0; }
|
|
.an-ov > * { min-width: 0; }
|
|
.an-card { min-width: 0; padding: 20px 22px; border-radius: var(--an-r); background: var(--an-card); border: 1px solid var(--an-line); }
|
|
.an-card h3 { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--an-muted); }
|
|
.an-card > h3 { margin-bottom: 14px; }
|
|
.an-head { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 14px; }
|
|
.an-empty { margin: 0; color: var(--an-muted); font-size: 14px; line-height: 1.5; }
|
|
.an-credit { margin: 2px 4px 0; font-size: 11.5px; line-height: 1.5; color: var(--an-faint); }
|
|
.an .an-credit a { color: inherit; }
|
|
|
|
/* Das Wichtigste */
|
|
.an-sum { padding: 22px 24px; border-radius: var(--an-r); background: linear-gradient(135deg, rgba(45, 212, 191, 0.13), rgba(139, 92, 246, 0.1) 60%, rgba(14, 16, 20, 0.9)); border: 1px solid rgba(94, 234, 212, 0.35); }
|
|
.an-eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--an-acc); }
|
|
.an-lead { margin: 0 0 14px; font-size: 21px; line-height: 1.4; font-weight: 600; }
|
|
.an-sum-empty .an-lead { margin: 0; font-size: 17px; font-weight: 500; color: var(--an-fg2); }
|
|
.an-lead b { color: var(--an-acc-strong); white-space: nowrap; }
|
|
.an-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; margin: 0; padding: 0; list-style: none; }
|
|
.an-points li { display: flex; align-items: flex-start; gap: 10px; color: var(--an-fg2); line-height: 1.45; }
|
|
.an-points li > span:last-child { min-width: 0; overflow-wrap: anywhere; }
|
|
.an-points b { color: var(--an-fg); }
|
|
.an-point-ico { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--an-acc-soft); color: var(--an-acc-strong); }
|
|
.an-ico { width: 15px; height: 15px; }
|
|
|
|
/* Kennzahlen */
|
|
.an-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--an-gap); }
|
|
.an-kpi { display: flex; flex-direction: column; padding: 16px 18px 12px; }
|
|
.an-k { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 500; color: var(--an-muted); }
|
|
.an-star { font-size: 11px; color: var(--an-faint); }
|
|
.an-v { display: block; margin: 6px 0 4px; font-size: 30px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
|
|
.an-sub { display: block; margin: -2px 0 4px; font-size: 12px; color: var(--an-muted); }
|
|
.an-cmp { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; min-height: 24px; margin-bottom: 10px; }
|
|
.an-vs { font-size: 12px; color: var(--an-faint); }
|
|
.an-delta { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
|
|
.an-delta.up { background: var(--an-up-bg); color: var(--an-acc-strong); }
|
|
.an-delta.down { background: var(--an-down-bg); color: var(--an-down); }
|
|
.an-delta.flat { background: var(--an-acc-soft); color: var(--an-muted); }
|
|
.an-spark { display: block; width: 100%; height: 38px; margin-top: auto; }
|
|
.an-spark-area { fill: var(--an-acc); opacity: 0.14; stroke: none; }
|
|
.an-spark-line { stroke: var(--an-acc); stroke-width: 1.6px; stroke-linejoin: round; }
|
|
|
|
/* Diagramm und Kontakt-Aktionen: gleich hoch, das Diagramm fuellt die Karte */
|
|
.an-row2 { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: var(--an-gap); align-items: stretch; }
|
|
.an-chartbox, .an-contacts { display: flex; flex-direction: column; }
|
|
.an-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; font-weight: 500; color: var(--an-muted); }
|
|
.an-leg { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
|
|
.an-leg-line { display: inline-block; width: 18px; height: 0; border-top: 3px solid var(--an-acc); border-radius: 2px; }
|
|
.an-leg-prev { border-top: 2px dashed var(--an-prev); }
|
|
.an-chartwrap { position: relative; flex: 1 1 auto; display: flex; align-items: center; min-height: 0; container-type: inline-size; }
|
|
.an-chart { display: block; width: 100%; height: auto; max-height: 100%; overflow: visible; touch-action: pan-y; }
|
|
.an-grid { stroke: var(--an-line); stroke-width: 1px; vector-effect: non-scaling-stroke; }
|
|
/* Achsenschrift in viewBox-Einheiten (viewBox 640 breit, die Zeichnung skaliert mit der Kartenbreite). Je nach Breite der Zeichnung
|
|
so gewaehlt, dass sie immer ca. 11-12 px gross erscheint (gemessen: 320 px Handy bis 1920 px Desktop); Grundwert fuer Browser ohne Container-Abfragen. */
|
|
.an-axis { fill: var(--an-muted); font-size: 13px; }
|
|
@container (max-width: 279px) { .an-axis { font-size: 28px; } }
|
|
@container (min-width: 280px) and (max-width: 329px) { .an-axis { font-size: 24px; } }
|
|
@container (min-width: 330px) and (max-width: 379px) { .an-axis { font-size: 21px; } }
|
|
@container (min-width: 380px) and (max-width: 439px) { .an-axis { font-size: 18px; } }
|
|
@container (min-width: 440px) and (max-width: 499px) { .an-axis { font-size: 16px; } }
|
|
@container (min-width: 500px) and (max-width: 559px) { .an-axis { font-size: 14px; } }
|
|
@container (min-width: 560px) and (max-width: 629px) { .an-axis { font-size: 12.5px; } }
|
|
@container (min-width: 630px) and (max-width: 699px) { .an-axis { font-size: 11px; } }
|
|
@container (min-width: 700px) { .an-axis { font-size: 10px; } }
|
|
.an-area { fill: var(--an-acc); opacity: 0.12; stroke: none; }
|
|
.an-prev { fill: none; stroke: var(--an-prev); stroke-width: 2px; stroke-dasharray: 5 5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
|
|
.an-line { fill: none; stroke: var(--an-acc); stroke-width: 2.4px; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
|
|
/* Punkte erst beim Zeigen oder Antippen (analyse.js setzt "on"); der Rand ist ein weicher Ring */
|
|
.an-dot { fill: var(--an-acc-strong); stroke: rgba(45, 212, 191, 0.3); stroke-width: 9px; vector-effect: non-scaling-stroke; opacity: 0; pointer-events: none; }
|
|
.an-dot.on { opacity: 1; }
|
|
.an-tip { position: absolute; z-index: 3; padding: 6px 10px; border-radius: 8px; background: #0b0d10; border: 1px solid var(--an-line2); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5); color: var(--an-fg); font-size: 12.5px; font-weight: 600; white-space: nowrap; pointer-events: none; transform: translate(-50%, calc(-100% - 12px)); }
|
|
.an-tip.below { transform: translate(-50%, 12px); }
|
|
.an-tip[hidden] { display: none; }
|
|
|
|
.an-sum-n { font-size: 15px; font-weight: 700; color: var(--an-fg2); font-variant-numeric: tabular-nums; }
|
|
.an-crows { margin: 0 0 12px; padding: 0; list-style: none; }
|
|
.an-crow { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--an-line); }
|
|
.an-cico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--an-acc-soft); color: var(--an-acc-strong); }
|
|
.an-cico .an-ico { width: 17px; height: 17px; }
|
|
.an-cname { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.an-crow b { font-size: 16px; font-variant-numeric: tabular-nums; text-align: right; }
|
|
.an-quote { margin: auto 0 0; padding: 10px 12px; border-radius: 10px; background: var(--an-acc-soft); color: var(--an-fg2); font-size: 13px; line-height: 1.45; }
|
|
|
|
/* Ranglisten */
|
|
.an-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--an-gap); }
|
|
.an-ltabs { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 12px; }
|
|
.an-ltab { padding: 6px 11px; border: 1px solid var(--an-line); border-radius: 8px; background: transparent; color: var(--an-muted); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: background-color 0.15s, color 0.15s; }
|
|
.an-ltab:hover { color: var(--an-fg); }
|
|
.an-ltab.on { background: var(--an-acc-soft); border-color: var(--an-line2); color: var(--an-fg); }
|
|
.an-lrows { margin: 0; padding: 0; list-style: none; }
|
|
.an-lr { display: grid; grid-template-columns: minmax(0, 1fr) auto 52px; align-items: center; gap: 12px; padding: 7px 0; }
|
|
.an-lab { position: relative; display: block; min-width: 0; padding: 5px 8px; border-radius: 7px; overflow: hidden; }
|
|
.an-fill { position: absolute; inset: 0 auto 0 0; border-radius: 7px; background: var(--an-bar-fill); }
|
|
.an-name { position: relative; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.an-lr b { font-size: 14px; font-variant-numeric: tabular-nums; }
|
|
.an-lr em { font-size: 12px; font-style: normal; text-align: right; color: var(--an-muted); font-variant-numeric: tabular-nums; }
|
|
.an-more { margin-top: 8px; padding: 7px 12px; border: 1px solid var(--an-line); border-radius: 8px; background: transparent; color: var(--an-fg2); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
|
|
.an-more:hover { color: var(--an-fg); border-color: var(--an-line2); }
|
|
|
|
/* Datenbasis und Heatmap-Karte */
|
|
.an-basis-row { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px; }
|
|
.an-ring { width: 74px; height: 74px; }
|
|
.an-ring-bg { stroke: rgba(255, 255, 255, 0.1); }
|
|
.an-ring-fg { stroke: var(--an-acc); }
|
|
.an-ring-n { fill: var(--an-fg); font-size: 15px; font-weight: 700; }
|
|
.an-basis-text { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--an-fg2); }
|
|
.an-basis-main { display: block; margin-bottom: 2px; font-weight: 600; color: var(--an-fg); }
|
|
.an-teaser-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; }
|
|
.an-teaser-row p { flex: 1 1 170px; min-width: 0; margin: 0; line-height: 1.5; color: var(--an-fg2); }
|
|
.an-mini-heat {
|
|
flex: none; width: 110px; height: 74px; border-radius: 10px; border: 1px solid var(--an-line);
|
|
background:
|
|
radial-gradient(circle at 22% 40%, rgba(255, 60, 40, 0.9), rgba(255, 200, 0, 0.5) 12%, transparent 24%),
|
|
radial-gradient(circle at 70% 62%, rgba(255, 60, 40, 0.85), rgba(255, 200, 0, 0.5) 10%, transparent 22%),
|
|
radial-gradient(circle at 48% 25%, rgba(80, 220, 120, 0.7), transparent 14%), #1b1d22;
|
|
}
|
|
.an-btn { flex: none; padding: 10px 16px; border: 0; border-radius: 10px; background: var(--an-acc); color: var(--an-on-acc); font: inherit; font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background-color 0.15s; }
|
|
.an-btn:hover { background: var(--an-acc-strong); }
|
|
|
|
/* Laden und Fehler */
|
|
.an-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
|
|
.an-sk { position: relative; overflow: hidden; }
|
|
.an-sk > i { display: block; height: 14px; margin-top: 12px; border-radius: 7px; background: rgba(255, 255, 255, 0.07); }
|
|
.an-sk > i:first-child { width: 38%; margin-top: 0; }
|
|
.an-sk > i:nth-child(2) { width: 62%; height: 28px; }
|
|
.an-sk > i:nth-child(3) { width: 85%; }
|
|
.an-sk::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%) 150% 0 / 200% 100%; animation: an-shimmer 1.4s linear infinite; }
|
|
@keyframes an-shimmer { to { background-position: -50% 0; } }
|
|
.an-skeleton .an-sum { min-height: 150px; }
|
|
.an-skeleton .an-kpi { min-height: 128px; }
|
|
.an-skeleton .an-chartbox, .an-skeleton .an-contacts { min-height: 300px; }
|
|
.an-skeleton .an-rank { min-height: 230px; }
|
|
.an-error { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 16px; }
|
|
.an-error p { margin: 0; }
|
|
|
|
/* ---------------------------------------------------------- Einstellungen --- */
|
|
.an-dl { margin: 0; }
|
|
.an-dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px solid var(--an-line); }
|
|
.an-dl dt { color: var(--an-muted); }
|
|
.an-dl dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
|
|
.an-swatch { display: inline-block; width: 14px; height: 14px; margin-right: 4px; border-radius: 4px; border: 1px solid var(--an-line2); vertical-align: -2px; }
|
|
.an-docs ul { margin: 0; padding: 0; list-style: none; }
|
|
.an-docs li { padding: 8px 0; border-top: 1px solid var(--an-line); }
|
|
#an-off p { margin: 0 0 12px; line-height: 1.55; color: var(--an-fg2); }
|
|
.an-confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; }
|
|
.an-ghost { padding: 9px 16px; border: 1px solid var(--an-line2); border-radius: 10px; background: transparent; color: inherit; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
|
|
.an-ghost:hover { background: rgba(255, 255, 255, 0.07); }
|
|
.an-danger { color: #fca5a5; }
|
|
.an .error { margin: 0 0 12px; text-align: left; }
|
|
#an-off p.error { color: #fca5a5; }
|
|
|
|
/* ------------------------------------------- Einschalten und andere Zustaende --- */
|
|
.an-state p, .an-panel p { margin: 0 0 12px; line-height: 1.55; color: var(--an-fg2); }
|
|
.an-state p:last-child { margin-bottom: 0; }
|
|
.an-panel > p, .an-state p { max-width: 75ch; }
|
|
.an-panel > h3, .an-state > h3 { margin: 0 0 10px; font-size: 20px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--an-fg); }
|
|
.an-h4 { margin: 20px 0 8px; font-size: 14px; font-weight: 700; }
|
|
.an-colors { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
|
|
.an-colors input[type=color] { width: 48px; height: 40px; padding: 2px; border-radius: 10px; border: 1px solid var(--an-line2); background: transparent; cursor: pointer; }
|
|
.an-presets { display: flex; flex-wrap: wrap; gap: 8px; }
|
|
.an-preset { width: 32px; height: 32px; padding: 0; border-radius: 50%; border: 2px solid var(--an-line2); cursor: pointer; }
|
|
.an-hint { margin: 10px 0 0 !important; font-size: 13px; color: var(--an-warn) !important; }
|
|
.an-ctl { margin: 14px 0; padding: 12px 14px; border-radius: 10px; background: var(--an-acc-soft); }
|
|
.an-ctl p { margin: 0 0 6px; }
|
|
.an-ctl p:last-child { margin: 0; }
|
|
.an .fn-consent { max-width: 75ch; color: var(--an-fg2); }
|
|
.an .fn-consent input { accent-color: var(--an-acc); }
|
|
.an .abo-btn { background: var(--an-acc); color: var(--an-on-acc); border-radius: 10px; }
|
|
.an .abo-btn:hover { background: var(--an-acc-strong); }
|
|
/* Banner-Vorschau: gleiche Optik wie der echte Banner (analytics/client/w.js), immer hell */
|
|
.an-bn { margin: 16px 0; padding: 14px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: #fff; color: #111; border: 1px solid #d0d0d0; border-radius: 12px; font: 15px/1.45 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
|
|
.an .an-bn-text { flex: 1 1 260px; min-width: 0; margin: 0 !important; max-width: none; color: #111 !important; font-size: 15px !important; line-height: 1.45 !important; }
|
|
.an-bn-link { text-decoration: underline; }
|
|
.an-bn-row { display: flex; gap: 10px; flex: none; }
|
|
.an-bn-btn { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 150px; height: 44px; padding: 0 20px; border: 2px solid; border-radius: 8px; font: 600 15px/1 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
|
|
|
|
/* ---------------------------------------------------------------- Heatmap --- */
|
|
/* Buehne: grosses Geraet (Computer oder Tablet) und Handy nebeneinander, unten buendig (Rahmen: geraete.css) */
|
|
.an-heat > p { margin: 0 0 14px; line-height: 1.55; color: var(--an-fg2); }
|
|
.an-heat .hs-head { margin-bottom: 10px; }
|
|
.an-heat-bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
|
|
.an-heat-bar label { display: grid; gap: 4px; flex: 1 1 220px; min-width: 0; max-width: 420px; font-size: 13px; font-weight: 600; }
|
|
.an-heat-bar select { width: 100%; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--an-line2); background: rgba(255, 255, 255, 0.05); color: inherit; font: inherit; text-overflow: ellipsis; }
|
|
.an-heat-bar select option { background: #14161b; color: #fff; }
|
|
.hs-stage { display: grid; grid-template-columns: minmax(0, 3.7fr) minmax(0, 1fr); align-items: end; gap: clamp(16px, 3vw, 40px); max-width: 980px; margin: 24px auto 4px; }
|
|
.hs-stage[data-big="t"] { grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); max-width: 620px; }
|
|
.hs-dev { margin: 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
|
|
.hs-frame { width: 100%; }
|
|
.hs-cap { min-height: 1.5em; font-size: 13px; line-height: 1.5; color: var(--an-muted); text-align: center; }
|
|
.hs-dev .dm-canvas { background: #fff; }
|
|
.hs-site { position: absolute; left: 0; background: #fff; }
|
|
.hs-site iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
|
|
@media (max-width: 640px) {
|
|
.hs-stage, .hs-stage[data-big="t"] { grid-template-columns: minmax(0, 1fr); gap: 28px; }
|
|
.hs-dev--phone .hs-frame { width: 62%; }
|
|
}
|
|
|
|
/* ------------------------------------------------------------ Mittlere Breite --- */
|
|
@media (max-width: 1100px) {
|
|
.an-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
.an-row2 { grid-template-columns: minmax(0, 1fr); }
|
|
}
|
|
/* Heatmap-Karte: Vorschau, Text und Knopf in einer Zeile, solange die Karte breit genug ist */
|
|
@media (min-width: 1101px) {
|
|
.an-teaser-row { flex-wrap: nowrap; }
|
|
.an-teaser-row p { flex-basis: 0; }
|
|
}
|
|
|
|
/* ------------------------------------------------------------------- Handy --- */
|
|
@media (max-width: 880px) {
|
|
.an-top { padding: 14px; }
|
|
.an-seg { display: flex; width: 100%; }
|
|
.an-seg button { flex: 1 1 0; padding: 9px 8px; min-height: 40px; }
|
|
.an-tabs { gap: 20px; margin: 14px 2px; }
|
|
/* Tippflaechen mindestens 40 px hoch */
|
|
.an-tabbtn { min-height: 40px; padding-top: 8px; }
|
|
.an-ltab, .an-more, .an-btn { min-height: 40px; }
|
|
.an-ltab { display: inline-flex; align-items: center; padding: 6px 14px; }
|
|
.an-card { padding: 16px; }
|
|
.an-kpi { padding: 14px 14px 10px; }
|
|
.an-v { font-size: 26px; }
|
|
.an-row2, .an-pair, .an-points { grid-template-columns: minmax(0, 1fr); }
|
|
.an-sum { padding: 18px 16px; }
|
|
.an-lead { font-size: 19px; }
|
|
.an-sum-empty .an-lead { font-size: 16px; }
|
|
.an-heat-bar label { max-width: none; }
|
|
.an-bn { display: block; margin: 12px 0; padding: 16px; }
|
|
.an-bn-row { flex-direction: column; margin-top: 12px; }
|
|
.an-bn-btn { width: 100%; }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.an *, .an *::before, .an *::after { transition: none !important; animation: none !important; }
|
|
}
|