Files
Betting-Assistant/frontend/src/App.css
T
2026-04-10 13:49:04 +08:00

116 lines
2.2 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');
:root {
/* Background layers */
--bg-primary: #070b14;
--bg-secondary: #0d1117;
--bg-card: #111827;
--bg-card-hover: #1a2235;
--bg-input: #0d1321;
--bg-sidebar: #0a0f1a;
/* Border */
--border-color: #1e293b;
--border-subtle: #162032;
/* Text */
--text-primary: #e2e8f0;
--text-secondary: #94a3b8;
--text-muted: #64748b;
--text-dim: #475569;
/* Accent */
--accent-blue: #3b82f6;
--accent-blue-hover: #2563eb;
--accent-blue-glow: rgba(59, 130, 246, 0.25);
/* Status */
--status-success: #22c55e;
--status-error: #ef4444;
--status-warn: #f59e0b;
/* Method colors */
--method-get: #22c55e;
--method-post: #3b82f6;
--method-put: #f59e0b;
--method-delete: #ef4444;
/* Sizing */
--sidebar-width: 180px;
--header-height: 56px;
--radius-sm: 6px;
--radius-md: 10px;
--radius-lg: 14px;
/* Shadows */
--shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
--shadow-glow: 0 0 20px rgba(59, 130, 246, 0.15);
/* Transitions */
--transition-fast: 150ms ease;
--transition-normal: 250ms ease;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body, #root {
height: 100%;
width: 100%;
overflow: hidden;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
background: var(--bg-primary);
color: var(--text-primary);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Scrollbar */
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: var(--border-color);
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--text-dim);
}
/* App Layout */
.app-layout {
display: flex;
height: 100vh;
width: 100vw;
}
.main-content {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
background: var(--bg-primary);
}
.content-area {
flex: 1;
overflow-y: auto;
padding: 24px 28px;
display: flex;
flex-direction: column;
gap: 20px;
}
/* Utility */
.mono {
font-family: 'JetBrains Mono', 'Fira Code', monospace;
}