gatepass / src /app /globals.css
rb125
Initial frontend deploy
4c62137
Raw
History Blame Contribute Delete
2.94 kB
@import "tailwindcss";
@theme {
--color-bg: #121212;
--color-surface: #1E1E1E;
--color-surface-high: #2C2C2C;
--color-border: rgba(255, 255, 255, 0.12);
--color-text: #E8EAED;
--color-text-dim: #9AA0A6;
--color-accent: #8AB4F8;
--color-accent-dim: rgba(138, 180, 248, 0.12);
--color-pass: #81C995;
--color-pass-glow: rgba(129, 201, 149, 0.12);
--color-warn: #FDD663;
--color-warn-glow: rgba(253, 214, 99, 0.1);
--color-fail: #F28B82;
--color-fail-glow: rgba(242, 139, 130, 0.1);
--color-google-blue: #8AB4F8;
--color-google-red: #F28B82;
--color-google-yellow: #FDD663;
--color-google-green: #81C995;
}
:root {
--bg: #121212;
--surface: #1E1E1E;
--border: rgba(255, 255, 255, 0.12);
--text: #E8EAED;
--text-dim: #9AA0A6;
--accent: #8AB4F8;
--pass: #81C995;
--warn: #FDD663;
--fail: #F28B82;
}
body {
background: var(--bg);
color: var(--text);
font-family: "Google Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
overflow-x: hidden;
}
/* Material elevation surfaces */
.glass {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 12px;
box-shadow: 0 1px 3px rgba(0,0,0,0.3), 0 4px 8px rgba(0,0,0,0.2);
}
.glass-hover:hover {
background: var(--surface-high);
border-color: rgba(255, 255, 255, 0.16);
transition: all 0.2s ease;
}
/* Probe cards */
.probe-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 12px;
transition: all 0.2s ease;
}
.probe-card:hover {
border-color: rgba(138, 180, 248, 0.3);
}
.probe-card[data-status="pass"] { border-left: 3px solid var(--pass); }
.probe-card[data-status="warn"] { border-left: 3px solid var(--warn); }
.probe-card[data-status="fail"] { border-left: 3px solid var(--fail); }
/* Typography */
.mono {
font-family: "JetBrains Mono", monospace;
font-size: 0.9em;
}
.text-gradient {
background: linear-gradient(135deg, #8AB4F8, #81C995);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); }
/* Buttons — Google Material style */
.btn-primary {
background: #8AB4F8;
color: #202124;
padding: 0.5rem 1.5rem;
font-weight: 500;
border-radius: 20px;
transition: all 0.2s;
font-size: 0.875rem;
}
.btn-primary:hover:not(:disabled) {
background: #AECBFA;
box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.btn-secondary {
background: transparent;
border: 1px solid var(--border);
color: var(--accent);
padding: 0.5rem 1.5rem;
font-weight: 500;
border-radius: 20px;
transition: all 0.2s;
font-size: 0.875rem;
}
.btn-secondary:hover:not(:disabled) {
background: rgba(138, 180, 248, 0.08);
}