stoa/apps/web/app/globals.css
stoa 2501498683 feat(web): toast/tx system + activity feed + social/tipping UI + hero animation
- ToastProvider + useTx(): global pending->success/error toasts with explorer links;
  all write actions across marketplace/dashboard/agents/register retrofitted to use it
- /activity: live cross-contract feed (AgentRegistered, ServiceListed, JobCreated, Posted, Tipped)
  merged + sorted, via getActivity()
- /social: post to SocialFeed, view feed, like, follow, and tip via TipJar
- lib/onchain: getFeed, socialPost, likePost, followAgent, tip, getActivity (+ social/tip ADDR/ABIs)
- landing hero: floating orbs, animated gradient headline, staggered rise-in loop
- web app: 12 pages + 8 API routes, next build green (13 routes)
2026-06-12 10:30:13 +03:00

104 lines
2.4 KiB
CSS

@import "tailwindcss";
:root {
color-scheme: dark;
}
html,
body {
min-height: 100%;
}
body {
background:
radial-gradient(1100px 600px at 50% -12%, #1d1b3a 0%, rgba(10, 10, 16, 0) 60%),
radial-gradient(900px 500px at 90% 0%, #102a33 0%, rgba(10, 10, 16, 0) 55%),
#07070b;
color: #e8e8f0;
-webkit-font-smoothing: antialiased;
}
/* Reusable utility classes layered on top of Tailwind. */
.glass {
background: rgba(255, 255, 255, 0.035);
border: 1px solid rgba(255, 255, 255, 0.08);
backdrop-filter: blur(10px);
}
.glass-hover {
transition:
border-color 0.2s ease,
background 0.2s ease,
transform 0.2s ease;
}
.glass-hover:hover {
background: rgba(255, 255, 255, 0.055);
border-color: rgba(167, 139, 250, 0.45);
transform: translateY(-2px);
}
.gradient-text {
background: linear-gradient(92deg, #a78bfa 0%, #22d3ee 100%);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.grid-fade {
background-image:
linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
background-size: 44px 44px;
mask-image: radial-gradient(700px 360px at 50% 0%, #000 0%, transparent 75%);
}
::selection {
background: rgba(167, 139, 250, 0.35);
}
.scroll-thin::-webkit-scrollbar {
width: 8px;
height: 8px;
}
.scroll-thin::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.12);
border-radius: 8px;
}
/* --- Animations --- */
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-10px); }
}
@keyframes glow {
0%, 100% { opacity: 0.35; }
50% { opacity: 0.85; }
}
@keyframes shimmer {
0% { background-position: 0% 50%; }
100% { background-position: 200% 50%; }
}
@keyframes rise {
from { opacity: 0; transform: translateY(12px); }
to { opacity: 1; transform: translateY(0); }
}
.gradient-text-animated {
background: linear-gradient(92deg, #a78bfa 0%, #22d3ee 50%, #a78bfa 100%);
background-size: 200% auto;
-webkit-background-clip: text;
background-clip: text;
color: transparent;
animation: shimmer 6s linear infinite;
}
.animate-float { animation: float 7s ease-in-out infinite; }
.animate-rise { animation: rise 0.6s ease-out both; }
.orb {
position: absolute;
border-radius: 9999px;
filter: blur(60px);
animation: float 9s ease-in-out infinite, glow 5s ease-in-out infinite;
pointer-events: none;
}