Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

2.3 KB
Raw Blame
/* "Rally on DEXTools" Social Boost card (src/shared/dextools-boost.js).
   Colors derive from the host's text color so the card reads correctly on any
   surface, light or dark; buttons use the host page's own classes. */
.dtb {
	margin-top: 16px;
	padding: 16px;
	border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
	border-radius: 12px;
	background: color-mix(in srgb, currentColor 4%, transparent);
	text-align: left;
	animation: dtb-in 220ms ease-out both;
	/* The card also renders on the standalone /embed/dextools-boost frame, which
	   does not load public/tokens.css, so the motion tokens carry their ladder
	   values as fallbacks there and follow the platform tokens everywhere else. */
	--dtb-duration: var(--duration-fast, 140ms);
	--dtb-ease: var(--ease-standard, cubic-bezier(0.2, 0.8, 0.2, 1));
}
@keyframes dtb-in {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.dtb { animation: none; --dtb-duration: 0ms; }
}
.dtb-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}
.dtb-title {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}
.dtb-pill {
	font-size: 11px;
	letter-spacing: 0.02em;
	padding: 3px 9px;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
	color: inherit;
	opacity: 0.8;
	text-decoration: none;
	transition: opacity var(--dtb-duration) var(--dtb-ease), border-color var(--dtb-duration) var(--dtb-ease);
}
.dtb-pill:hover { opacity: 1; border-color: color-mix(in srgb, currentColor 45%, transparent); }
.dtb-pill:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; opacity: 1; }
.dtb-lead,
.dtb-proof {
	margin: 8px 0 0;
	font-size: 13px;
	line-height: 1.5;
	opacity: 0.78;
}
.dtb-proof a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.dtb-proof a:hover { opacity: 1; }
.dtb-proof a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 2px; }
.dtb-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}
.dtb-actions > * { flex: 1 1 auto; justify-content: center; text-align: center; }
.dtb-status {
	display: block;
	min-height: 1em;
	margin-top: 6px;
	font-size: 12px;
	opacity: 0.75;
	overflow-wrap: anywhere;
}