no message
This commit is contained in:
+23
-14
@@ -61,12 +61,12 @@
|
|||||||
position:absolute;
|
position:absolute;
|
||||||
inset:-35%;
|
inset:-35%;
|
||||||
background:
|
background:
|
||||||
radial-gradient(520px 420px at 18% 18%, rgba(99,179,255,0.22), transparent 60%),
|
radial-gradient(520px 420px at 18% 18%, rgba(99,179,255,0.42), transparent 60%),
|
||||||
radial-gradient(560px 460px at 82% 28%, rgba(168,85,247,0.20), transparent 62%),
|
radial-gradient(560px 460px at 82% 28%, rgba(168,85,247,0.38), transparent 62%),
|
||||||
radial-gradient(620px 520px at 55% 85%, rgba(99,179,255,0.12), transparent 64%),
|
radial-gradient(620px 520px at 55% 85%, rgba(99,179,255,0.26), transparent 64%),
|
||||||
radial-gradient(700px 560px at 35% 70%, rgba(168,85,247,0.10), transparent 66%),
|
radial-gradient(700px 560px at 35% 70%, rgba(168,85,247,0.22), transparent 66%),
|
||||||
radial-gradient(900px 700px at 50% 50%, rgba(255,255,255,0.04), transparent 70%);
|
radial-gradient(900px 700px at 50% 50%, rgba(255,255,255,0.06), transparent 70%);
|
||||||
filter: blur(24px);
|
filter: blur(18px); /* weniger blur = mehr sichtbar */
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
pointer-events:none;
|
pointer-events:none;
|
||||||
z-index:0;
|
z-index:0;
|
||||||
@@ -182,8 +182,8 @@
|
|||||||
const share = clamp01(percent / 100);
|
const share = clamp01(percent / 100);
|
||||||
const r = 56;
|
const r = 56;
|
||||||
const c = 2 * Math.PI * r;
|
const c = 2 * Math.PI * r;
|
||||||
const dash = share * c;
|
const dash = share * c; // farbiger Anteil
|
||||||
const gap = c - dash;
|
const rest = c - dash; // Rest (dunkel)
|
||||||
|
|
||||||
return `
|
return `
|
||||||
<div style="border:1px solid rgba(255,255,255,0.12);
|
<div style="border:1px solid rgba(255,255,255,0.12);
|
||||||
@@ -196,8 +196,8 @@
|
|||||||
align-items:center;
|
align-items:center;
|
||||||
justify-content:center;
|
justify-content:center;
|
||||||
gap:12px;
|
gap:12px;
|
||||||
background:rgba(0,0,0,0.08);
|
background:rgba(0,0,0,0.18);
|
||||||
backdrop-filter: blur(2px);">
|
backdrop-filter: blur(6px);">
|
||||||
|
|
||||||
<div style="font-size:14px;font-weight:700;opacity:.9;">
|
<div style="font-size:14px;font-weight:700;opacity:.9;">
|
||||||
${escapeHtml(title)}
|
${escapeHtml(title)}
|
||||||
@@ -205,17 +205,26 @@
|
|||||||
|
|
||||||
<div style="position:relative;width:180px;height:180px;">
|
<div style="position:relative;width:180px;height:180px;">
|
||||||
<svg width="180" height="180" viewBox="0 0 180 180">
|
<svg width="180" height="180" viewBox="0 0 180 180">
|
||||||
|
|
||||||
|
<!-- Restsegment -->
|
||||||
<circle cx="90" cy="90" r="${r}"
|
<circle cx="90" cy="90" r="${r}"
|
||||||
fill="none"
|
fill="none"
|
||||||
stroke="rgba(255,255,255,0.10)"
|
stroke="rgba(255,255,255,0.20)"
|
||||||
stroke-width="18" />
|
stroke-width="18"
|
||||||
|
stroke-linecap="butt"
|
||||||
|
stroke-dasharray="${rest} ${dash}"
|
||||||
|
stroke-dashoffset="${-dash}"
|
||||||
|
transform="rotate(-90 90 90)" />
|
||||||
|
|
||||||
|
<!-- Anteilsegment -->
|
||||||
<circle cx="90" cy="90" r="${r}"
|
<circle cx="90" cy="90" r="${r}"
|
||||||
fill="none"
|
fill="none"
|
||||||
stroke="${color}"
|
stroke="${color}"
|
||||||
stroke-width="18"
|
stroke-width="18"
|
||||||
stroke-linecap="butt"
|
stroke-linecap="butt"
|
||||||
stroke-dasharray="${dash} ${gap}"
|
stroke-dasharray="${dash} ${rest}"
|
||||||
transform="rotate(-90 90 90)" />
|
transform="rotate(-90 90 90)"
|
||||||
|
style="filter: drop-shadow(0 0 10px ${color});" />
|
||||||
</svg>
|
</svg>
|
||||||
|
|
||||||
<div style="position:absolute;inset:0;display:flex;
|
<div style="position:absolute;inset:0;display:flex;
|
||||||
|
|||||||
Reference in New Issue
Block a user