yusufcalisir's picture
deploy: Hugging Face space upload
b54ffe5
Raw History Blame Contribute Delete
6.02 kB
@import "tailwindcss";
@theme {
--font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
--font-mono: 'JetBrains Mono', ui-monospace, monospace;
--color-bg-primary: #0a0e1a;
--color-bg-secondary: #111827;
--color-bg-card: #1a1f35;
--color-bg-card-hover: #222845;
--color-bg-elevated: #252b45;
--color-border: #2a3150;
--color-border-subtle: #1e2440;
--color-text-primary: #f1f5f9;
--color-text-secondary: #cbd5e1;
--color-text-muted: #94a3b8;
--color-text-accent: #818cf8;
--color-primary: #4f46e5;
--color-primary-hover: #4338ca;
--color-surface-alt: #161b2e;
--color-accent-indigo: #6366f1;
--color-accent-indigo-light: #818cf8;
--color-accent-teal: #14b8a6;
--color-accent-teal-light: #2dd4bf;
--color-accent-rose: #f43f5e;
--color-accent-amber: #f59e0b;
--color-accent-emerald: #10b981;
--color-bank-a: #6366f1;
--color-bank-b: #14b8a6;
--color-bank-c: #f59e0b;
--color-status-success: #10b981;
--color-status-warning: #f59e0b;
--color-status-error: #ef4444;
--color-status-info: #3b82f6;
--color-status-pending: #8b5cf6;
--radius-sm: 0.375rem;
--radius-md: 0.5rem;
--radius-lg: 0.75rem;
--radius-xl: 1rem;
}
/* ── Base ────────────────────────────────── */
* {
box-sizing: border-box;
}
html {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
}
body {
margin: 0;
font-family: var(--font-sans);
background: var(--color-bg-primary);
color: var(--color-text-primary);
min-height: 100vh;
}
#root {
min-height: 100vh;
}
/* ── Scrollbar ──────────────────────────── */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: var(--color-bg-secondary);
}
::-webkit-scrollbar-thumb {
background: var(--color-border);
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--color-text-muted);
}
/* ── No scrollbar utility ────────────────── */
.no-scrollbar::-webkit-scrollbar {
display: none;
width: 0;
height: 0;
}
.no-scrollbar {
-ms-overflow-style: none;
scrollbar-width: none;
}
/* ── Glass Card ─────────────────────────── */
.glass-card {
background: linear-gradient(
135deg,
rgba(26, 31, 53, 0.94) 0%,
rgba(17, 24, 39, 0.88) 100%
);
border: 1px solid var(--color-border);
border-radius: var(--radius-lg);
}
.glass-card:hover {
border-color: var(--color-accent-indigo);
box-shadow: 0 0 20px rgba(99, 102, 241, 0.1);
}
/* ── Gradient Text ──────────────────────── */
.gradient-text {
background: linear-gradient(135deg, var(--color-accent-indigo-light), var(--color-accent-teal));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* ── Pulse Animation ────────────────────── */
@keyframes pulse-glow {
0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(99, 102, 241, 0.3); }
50% { opacity: 0.7; box-shadow: 0 0 16px rgba(99, 102, 241, 0.6); }
}
.animate-pulse-glow {
animation: pulse-glow 2s ease-in-out infinite;
}
/* ── Status Dot ─────────────────────────── */
.status-dot {
width: 8px;
height: 8px;
border-radius: 50%;
display: inline-block;
}
.status-dot--active { background: var(--color-status-success); }
.status-dot--dropped { background: var(--color-status-error); }
.status-dot--reconnected { background: var(--color-status-warning); }
.status-dot--offline { background: var(--color-text-muted); }
.status-dot--pending { background: var(--color-status-pending); }
/* ── Metric Badge ───────────────────────── */
.metric-badge {
font-family: var(--font-mono);
font-size: 0.75rem;
padding: 0.125rem 0.5rem;
border-radius: var(--radius-sm);
font-weight: 500;
}
.metric-badge--positive {
background: rgba(16, 185, 129, 0.15);
color: var(--color-status-success);
}
.metric-badge--negative {
background: rgba(239, 68, 68, 0.15);
color: var(--color-status-error);
}
.metric-badge--neutral {
background: rgba(148, 163, 184, 0.15);
color: var(--color-text-secondary);
}
/* ── Native Dropdown Styling for Dark Mode ── */
select {
color-scheme: dark;
}
select option {
background-color: var(--color-bg-card);
color: var(--color-text-primary);
}
/* ── Unified Design System Button Utilities ── */
.btn-primary {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 0.625rem 1.25rem;
border-radius: 0.75rem;
font-size: 0.8125rem;
font-weight: 600;
color: #ffffff;
background: linear-gradient(135deg, #6366f1 0%, #4f46e5 50%, #9333ea 100%);
box-shadow: 0 0 20px rgba(99, 102, 241, 0.35);
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
cursor: pointer;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-primary:hover {
background: linear-gradient(135deg, #818cf8 0%, #6366f1 50%, #a855f7 100%);
box-shadow: 0 0 30px rgba(99, 102, 241, 0.55);
transform: translateY(-1px);
}
.btn-primary:active {
transform: scale(0.98);
}
.btn-secondary {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 0.625rem 1.25rem;
border-radius: 0.75rem;
font-size: 0.8125rem;
font-weight: 600;
color: #e2e8f0;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
cursor: pointer;
}
.btn-secondary:hover {
background: rgba(255, 255, 255, 0.1);
border-color: rgba(99, 102, 241, 0.4);
color: #ffffff;
transform: translateY(-1px);
}
.btn-secondary:active {
transform: scale(0.98);
}