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
/*
 * /exchanges — feature styles layered on top of /src/coin-pages.css.
 * Reuses the shared cv-* table, card, and state system; adds only the
 * trust-score badge and the link-out affordance unique to this page.
 */

/* Trust-score badge: a compact 0–10 pill, colored by band. */
.ex-trust {
	display: inline-flex;
	align-items: baseline;
	gap: 0.0625rem;
	border-radius: 999px;
	padding: 0.1875rem 0.5rem;
	font-family: var(--cv-font-mono);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	border: 1px solid transparent;
}
/* Size and weight carry the "/10" suffix on their own. The opacity: 0.7 this
   used to add blended the pill colour into its own background and left 10px
   text at 4.11:1 across every row, under the 4.5:1 AA floor. Smaller text
   needs more contrast, not less. */
.ex-trust .of {
	font-size: 0.625rem;
	font-weight: 500;
}
.ex-trust-hi {
	color: var(--cv-green-on-tint);
	background: var(--cv-green-soft);
	border-color: color-mix(in srgb, var(--cv-green) 30%, transparent);
}
.ex-trust-mid {
	color: var(--cv-text-2);
	background: var(--cv-surface-2);
	border-color: var(--cv-border);
}
.ex-trust-lo {
	color: var(--cv-red-on-tint);
	background: var(--cv-red-soft);
	border-color: color-mix(in srgb, var(--cv-red) 30%, transparent);
}
.ex-trust-na {
	color: var(--cv-text-3);
	background: var(--cv-surface-2);
	border-color: var(--cv-border);
	font-family: var(--cv-font-sans);
	font-weight: 500;
}

/* Rows open the venue — the whole row is the affordance, so no per-row pointer
   surprise; keep the shared hover but make the intent explicit. */
.ex-table tbody tr[data-href] {
	cursor: pointer;
}
.ex-table tbody tr:not([data-href]) {
	cursor: default;
}

/* Link-out column: a subtle icon that brightens to the accent on hover/focus. */
.ex-table .ex-link-cell {
	width: 1px;
	padding-left: 0.5rem;
	padding-right: 1rem;
}
.ex-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: var(--cv-radius);
	color: var(--cv-text-3);
	transition:
		color var(--duration-fast),
		background var(--duration-fast);
}
.ex-link:hover,
.ex-link:focus-visible {
	color: var(--cv-accent);
	background: var(--cv-surface-2);
	outline: none;
}
.ex-link:focus-visible {
	outline: 2px solid var(--cv-accent);
	outline-offset: 1px;
}