Adds /api/health, ntfy notify on config save, /admin/analytics charts, and deploy smoke for miniprogram config/API. Co-authored-by: Cursor <cursoragent@cursor.com>
191 lines
3.6 KiB
CSS
191 lines
3.6 KiB
CSS
.root {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1200;
|
|
display: grid;
|
|
place-items: end center;
|
|
padding: 1rem;
|
|
padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
.root {
|
|
place-items: center;
|
|
}
|
|
}
|
|
|
|
.backdrop {
|
|
position: absolute;
|
|
inset: 0;
|
|
border: 0;
|
|
background: rgba(10, 14, 23, 0.62);
|
|
backdrop-filter: blur(6px);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.card {
|
|
position: relative;
|
|
z-index: 1;
|
|
width: min(100%, 380px);
|
|
padding: 1.5rem 1.35rem 1.25rem;
|
|
border-radius: 18px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
background:
|
|
radial-gradient(90% 70% at 50% -20%, rgba(78, 205, 196, 0.16), transparent 55%),
|
|
radial-gradient(70% 50% at 100% 0%, rgba(255, 107, 107, 0.12), transparent 50%),
|
|
rgba(17, 24, 39, 0.94);
|
|
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(78, 205, 196, 0.1);
|
|
color: #f1f5f9;
|
|
animation: social-pop 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
overflow: hidden;
|
|
}
|
|
|
|
:global(html.light) .card {
|
|
background:
|
|
radial-gradient(90% 70% at 50% -20%, rgba(13, 148, 136, 0.12), transparent 55%),
|
|
rgba(255, 255, 255, 0.96);
|
|
color: #0f172a;
|
|
border-color: rgba(15, 23, 42, 0.08);
|
|
box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
|
|
}
|
|
|
|
.glow {
|
|
pointer-events: none;
|
|
position: absolute;
|
|
inset: -40% -20% auto;
|
|
height: 60%;
|
|
background: radial-gradient(ellipse at center, rgba(255, 230, 109, 0.15), transparent 65%);
|
|
filter: blur(12px);
|
|
}
|
|
|
|
@keyframes social-pop {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(18px) scale(0.96);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0) scale(1);
|
|
}
|
|
}
|
|
|
|
.close {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: inherit;
|
|
cursor: pointer;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.eyebrow {
|
|
margin: 0 0 0.35rem;
|
|
font-size: 0.72rem;
|
|
letter-spacing: 0.14em;
|
|
text-transform: uppercase;
|
|
color: #4ecdc4;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.title {
|
|
margin: 0 0 0.5rem;
|
|
font-size: 1.35rem;
|
|
font-weight: 800;
|
|
letter-spacing: -0.02em;
|
|
font-family: var(--font-outfit), var(--font-noto-sc), system-ui, sans-serif;
|
|
}
|
|
|
|
.accent {
|
|
background: linear-gradient(135deg, #ff6b6b 0%, #ffe66d 50%, #4ecdc4 100%);
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
color: transparent;
|
|
}
|
|
|
|
.lead {
|
|
margin: 0 0 1.15rem;
|
|
color: #94a3b8;
|
|
font-size: 0.92rem;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
:global(html.light) .lead {
|
|
color: #64748b;
|
|
}
|
|
|
|
.qrWrap {
|
|
display: grid;
|
|
place-items: center;
|
|
margin: 0 auto 1rem;
|
|
padding: 0.75rem;
|
|
border-radius: 14px;
|
|
border: 1px solid rgba(78, 205, 196, 0.25);
|
|
background: rgba(255, 255, 255, 0.96);
|
|
width: fit-content;
|
|
}
|
|
|
|
.qr {
|
|
display: block;
|
|
width: 180px;
|
|
height: 180px;
|
|
object-fit: contain;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.qrFallback {
|
|
text-align: center;
|
|
color: #0f172a;
|
|
padding: 1.5rem 1rem;
|
|
}
|
|
|
|
.qrFallback span {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.qrFallback p {
|
|
margin: 0.5rem 0 0;
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.cta {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
width: 100%;
|
|
min-height: 48px;
|
|
margin-bottom: 0.65rem;
|
|
border-radius: 12px;
|
|
background: #4ecdc4;
|
|
color: #0a0e17;
|
|
font-weight: 800;
|
|
text-decoration: none;
|
|
transition: transform 0.15s ease, opacity 0.15s ease;
|
|
}
|
|
|
|
.cta:hover {
|
|
transform: translateY(-1px);
|
|
opacity: 0.95;
|
|
}
|
|
|
|
.later {
|
|
display: block;
|
|
width: 100%;
|
|
border: 0;
|
|
background: transparent;
|
|
color: #94a3b8;
|
|
font-size: 0.85rem;
|
|
cursor: pointer;
|
|
min-height: 40px;
|
|
}
|
|
|
|
.later:hover {
|
|
color: #4ecdc4;
|
|
}
|