Spaces:
Running

mcp-webcam / src /index.css
evalstate's picture
evalstate HF Staff
Deploy mcp-webcam v0.3.0 (stateless MCP 2026-07-28 + SEP-3415 Events + Studio UI)
6f5f15e verified
Raw History Blame Contribute Delete
3.57 kB
@import "tailwindcss";
@import "tw-animate-css";
@custom-variant dark (&:where(.dark, .dark *));
@theme {
--font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
--color-bg: var(--surface-bg);
--color-panel: var(--surface-panel);
--color-panel-2: var(--surface-panel-2);
--color-line: var(--surface-line);
--color-line-strong: var(--surface-line-strong);
--color-fg: var(--text-fg);
--color-muted: var(--text-muted);
--color-muted-2: var(--text-muted-2);
--color-push: var(--chan-push);
--color-poll: var(--chan-poll);
--color-call: var(--chan-call);
--color-event: var(--chan-event);
--color-live: var(--chan-live);
--color-danger: var(--chan-danger);
}
:root {
color-scheme: light;
--surface-bg: oklch(0.975 0.003 260);
--surface-panel: oklch(0.998 0.001 260);
--surface-panel-2: oklch(0.955 0.004 260);
--surface-line: oklch(0.895 0.006 260);
--surface-line-strong: oklch(0.82 0.008 260);
--text-fg: oklch(0.16 0.01 260);
--text-muted: oklch(0.46 0.01 260);
--text-muted-2: oklch(0.58 0.008 260);
--chan-push: oklch(0.55 0.14 185);
--chan-poll: oklch(0.55 0.14 235);
--chan-call: oklch(0.54 0.17 295);
--chan-event: oklch(0.62 0.16 75);
--chan-live: oklch(0.58 0.22 25);
--chan-danger: oklch(0.57 0.21 18);
}
.dark {
color-scheme: dark;
--surface-bg: oklch(0.13 0.006 260);
--surface-panel: oklch(0.165 0.007 260);
--surface-panel-2: oklch(0.205 0.008 260);
--surface-line: oklch(0.265 0.009 260);
--surface-line-strong: oklch(0.34 0.011 260);
--text-fg: oklch(0.95 0.005 260);
--text-muted: oklch(0.68 0.01 260);
--text-muted-2: oklch(0.54 0.01 260);
--chan-push: oklch(0.78 0.13 185);
--chan-poll: oklch(0.75 0.12 235);
--chan-call: oklch(0.72 0.15 295);
--chan-event: oklch(0.82 0.15 80);
--chan-live: oklch(0.65 0.22 25);
--chan-danger: oklch(0.68 0.2 18);
}
@layer base {
* {
border-color: var(--surface-line);
}
body {
background-color: var(--surface-bg);
color: var(--text-fg);
font-family: var(--font-sans);
font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}
}
.tabular-nums {
font-variant-numeric: tabular-nums;
}
@keyframes shutter-flash {
0% {
opacity: 0.85;
}
100% {
opacity: 0;
}
}
@keyframes heartbeat-ring {
0% {
transform: scale(0.9);
opacity: 0.9;
}
70% {
transform: scale(1.9);
opacity: 0;
}
100% {
transform: scale(1.9);
opacity: 0;
}
}
@keyframes delivery-tick {
0% {
transform: scale(1);
}
35% {
transform: scale(1.12);
}
100% {
transform: scale(1);
}
}
.animate-shutter {
animation: shutter-flash 320ms ease-out forwards;
}
.animate-heartbeat-ring {
animation: heartbeat-ring 900ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.animate-delivery-tick {
animation: delivery-tick 300ms ease-out;
}
.striped-revoke {
background-image: repeating-linear-gradient(
-45deg,
color-mix(in oklch, var(--chan-danger) 18%, transparent),
color-mix(in oklch, var(--chan-danger) 18%, transparent) 6px,
color-mix(in oklch, var(--chan-danger) 6%, transparent) 6px,
color-mix(in oklch, var(--chan-danger) 6%, transparent) 12px
);
}
@media (prefers-reduced-motion: reduce) {
.animate-shutter,
.animate-heartbeat-ring,
.animate-delivery-tick,
.animate-pulse,
.animate-ping {
animation: none !important;
}
}