Spaces:
Running on Zero
Running on Zero
File size: 3,638 Bytes
5079624 fafd7a2 4366444 fafd7a2 5079624 fafd7a2 5079624 fafd7a2 5079624 fafd7a2 5079624 fafd7a2 5079624 fafd7a2 5079624 fafd7a2 5079624 fafd7a2 5079624 fafd7a2 4366444 fafd7a2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 | @tailwind base;
@tailwind components;
@tailwind utilities;
:root {
color-scheme: dark;
--ink-950: #05070d;
--ink-900: #0a0e18;
--line: rgba(148, 163, 184, 0.14);
--line-strong: rgba(148, 163, 184, 0.24);
--text: #e7ebf3;
--muted: #8b93a7;
--teal: #5eead4;
--violet: #a78bfa;
--signal: #4ade80;
}
html,
body,
#root {
height: 100%;
}
body {
margin: 0;
font-family: 'Inter', system-ui, -apple-system, sans-serif;
background-color: var(--ink-950);
color: var(--text);
overflow: hidden;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
::selection {
background: rgba(94, 234, 212, 0.28);
}
@layer components {
/* Frosted panel floating over the graph */
.glass {
background: linear-gradient(180deg, rgba(19, 26, 42, 0.82), rgba(10, 14, 24, 0.82));
backdrop-filter: blur(18px) saturate(140%);
-webkit-backdrop-filter: blur(18px) saturate(140%);
border: 1px solid var(--line);
box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.aurora-text {
background: linear-gradient(100deg, var(--teal) 0%, #93c5fd 45%, var(--violet) 100%);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.icon-btn {
@apply inline-flex h-9 w-9 items-center justify-center rounded-xl text-slate-400 transition-colors duration-200 hover:bg-white/[0.06] hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-aurora-teal/60;
}
.eyebrow {
@apply font-mono text-[10.5px] uppercase tracking-[0.18em] text-slate-500;
}
}
/* Animated gradient border used by the upload portal */
.portal {
position: relative;
isolation: isolate;
}
.portal::before {
content: '';
position: absolute;
inset: -1px;
border-radius: inherit;
padding: 1px;
background: conic-gradient(from var(--portal-angle, 0deg), rgba(94, 234, 212, 0.9), rgba(167, 139, 250, 0.15) 30%, rgba(167, 139, 250, 0.9) 55%, rgba(94, 234, 212, 0.15) 80%, rgba(94, 234, 212, 0.9));
-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
z-index: -1;
animation: portal-spin 6s linear infinite;
opacity: 0.55;
transition: opacity 0.3s;
}
.portal:hover::before,
.portal[data-active='true']::before {
opacity: 1;
}
@property --portal-angle {
syntax: '<angle>';
initial-value: 0deg;
inherits: false;
}
@keyframes portal-spin {
to {
--portal-angle: 360deg;
}
}
/* Faint dot grid behind the graph and welcome screen */
.dot-grid {
background-image: radial-gradient(rgba(148, 163, 184, 0.09) 1px, transparent 1px);
background-size: 28px 28px;
}
.thin-scroll {
scrollbar-width: thin;
scrollbar-color: rgba(148, 163, 184, 0.2) transparent;
}
.thin-scroll::-webkit-scrollbar {
width: 6px;
}
.thin-scroll::-webkit-scrollbar-thumb {
background: rgba(148, 163, 184, 0.2);
border-radius: 999px;
}
/* Graph tooltips injected by react-force-graph */
.scene-tooltip {
font-family: 'Inter', system-ui, sans-serif !important;
}
.graph-tip {
padding: 6px 10px;
border-radius: 10px;
background: rgba(10, 14, 24, 0.92);
border: 1px solid rgba(148, 163, 184, 0.2);
font-size: 12px;
line-height: 1.4;
color: #e7ebf3;
max-width: 260px;
}
.graph-tip .rel {
color: #4ade80;
font-family: 'JetBrains Mono', monospace;
font-size: 11px;
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.001ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.001ms !important;
}
}
|