← back to Ken
src/app/globals.css
82 lines
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--bg: #0a0e1a;
--card: #111827;
--border: #1e293b;
--accent: #3b82f6;
--green: #10b981;
--red: #ef4444;
--yellow: #f59e0b;
--purple: #8b5cf6;
}
body {
background: var(--bg);
color: #e2e8f0;
font-family: 'Inter', -apple-system, sans-serif;
}
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #374151; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #4b5563; }
.card {
background: var(--card);
border: 1px solid var(--border);
border-radius: 12px;
padding: 1.25rem;
}
.stat-value {
font-size: 1.75rem;
font-weight: 700;
line-height: 1;
}
.badge {
display: inline-flex;
align-items: center;
padding: 2px 8px;
border-radius: 9999px;
font-size: 0.75rem;
font-weight: 600;
}
.badge-green { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.badge-red { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.badge-yellow { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.badge-blue { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.badge-purple { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }
.pulse-green { animation: pulse-green 2s infinite; }
@keyframes pulse-green {
0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}
.btn {
padding: 0.5rem 1rem;
border-radius: 8px;
font-weight: 600;
font-size: 0.875rem;
transition: all 0.15s;
cursor: pointer;
border: none;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: #2563eb; }
.btn-danger { background: var(--red); color: white; }
.btn-danger:hover { background: #dc2626; }
.btn-success { background: var(--green); color: white; }
.btn-success:hover { background: #059669; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; padding: 0.75rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; border-bottom: 1px solid var(--border); }
td { padding: 0.75rem; border-bottom: 1px solid rgba(30, 41, 59, 0.5); font-size: 0.875rem; }
tr:hover td { background: rgba(59, 130, 246, 0.03); }