osint-sm-tools / src /index.css
InvertedShu
Initial Deployment Version: Parallel OSINT Dashboard
8a1c8a3
Raw History Blame Contribute Delete
16.4 kB
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
@import "tailwindcss";
/* ── Design Tokens ── */
:root {
/* Background layers */
--bg-base: #0a0a0f;
--bg-raised: #12121a;
--bg-surface: #1a1a25;
--bg-overlay: rgba(18, 18, 26, 0.85);
/* Neon Accents */
--neon-cyan: #00f0ff;
--neon-cyan-dim: #00b8c5;
--neon-cyan-glow: rgba(0, 240, 255, 0.12);
--neon-cyan-glow-strong: rgba(0, 240, 255, 0.25);
--neon-green: #00ff88;
--neon-green-dim: #00c96a;
--neon-green-glow: rgba(0, 255, 136, 0.12);
--neon-magenta: #ff00aa;
--neon-magenta-glow: rgba(255, 0, 170, 0.12);
--neon-orange: #ff6b2b;
--neon-red: #ff3355;
--neon-red-glow: rgba(255, 51, 85, 0.1);
/* Platform specific */
--p-telegram: #2AABEE;
--p-facebook: #1877F2;
--p-x: #e7e9ea;
--p-instagram: #E4405F;
--p-tiktok: #ff0050;
/* Text */
--text-bright: #e8ecf1;
--text-normal: #a0aab8;
--text-dim: #5a6475;
--text-ghost: #3a4050;
/* Borders */
--line: rgba(0, 240, 255, 0.08);
--line-active: rgba(0, 240, 255, 0.2);
--line-glow: rgba(0, 240, 255, 0.35);
/* Misc */
--radius-sm: 4px;
--radius-md: 6px;
--radius-lg: 8px;
/* Type */
font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
line-height: 1.5;
font-weight: 400;
color-scheme: dark;
color: var(--text-normal);
background-color: var(--bg-base);
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* ── Body ── */
body {
margin: 0;
min-width: 320px;
min-height: 100vh;
background-color: var(--bg-base);
/* Subtle grid pattern */
background-image:
linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
background-size: 60px 60px;
background-attachment: fixed;
}
/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0, 240, 255, 0.15); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: rgba(0, 240, 255, 0.3); }
/* ── Animations ── */
@keyframes fadeUp {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slideDown {
from { opacity: 0; transform: translateY(-8px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes scanline {
0% { transform: translateY(-100%); }
100% { transform: translateY(100vh); }
}
@keyframes pulseNeon {
0%, 100% { opacity: 0.6; }
50% { opacity: 1; }
}
@keyframes blink {
0%, 100% { opacity: 1; }
50% { opacity: 0; }
}
@keyframes dataStream {
0% { background-position: 0% 0%; }
100% { background-position: 200% 0%; }
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
@keyframes glitch {
0%, 100% { transform: translate(0); }
20% { transform: translate(-1px, 1px); }
40% { transform: translate(1px, -1px); }
60% { transform: translate(-1px, -1px); }
80% { transform: translate(1px, 1px); }
}
.anim-fade-up { animation: fadeUp 0.35s ease-out both; }
.anim-fade-in { animation: fadeIn 0.3s ease both; }
.anim-slide-down { animation: slideDown 0.3s ease-out both; }
.anim-pulse { animation: pulseNeon 2s ease-in-out infinite; }
.anim-blink { animation: blink 1s step-end infinite; }
/* Stagger */
.stagger > *:nth-child(1) { animation-delay: 0ms; }
.stagger > *:nth-child(2) { animation-delay: 50ms; }
.stagger > *:nth-child(3) { animation-delay: 100ms; }
.stagger > *:nth-child(4) { animation-delay: 150ms; }
.stagger > *:nth-child(5) { animation-delay: 200ms; }
/* ── Mono text ── */
.font-mono { font-family: 'JetBrains Mono', monospace !important; }
/* ── Neon glow text ── */
.text-neon {
color: var(--neon-cyan);
text-shadow: 0 0 8px var(--neon-cyan-glow-strong), 0 0 20px var(--neon-cyan-glow);
}
.text-neon-green {
color: var(--neon-green);
text-shadow: 0 0 8px var(--neon-green-glow), 0 0 20px rgba(0,255,136,0.08);
}
/* ── Top Nav ── */
.topnav {
position: sticky;
top: 0;
z-index: 50;
display: flex;
align-items: center;
gap: 1rem;
padding: 0 1.5rem;
height: 56px;
background: var(--bg-raised);
border-bottom: 1px solid var(--line);
}
.topnav::after {
content: '';
position: absolute;
bottom: -1px;
left: 0;
right: 0;
height: 1px;
background: linear-gradient(90deg, transparent, var(--neon-cyan-glow-strong), transparent);
}
/* ── Nav Tab ── */
.nav-tab {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 0.875rem;
font-size: 0.8125rem;
font-weight: 500;
color: var(--text-dim);
cursor: pointer;
transition: all 0.15s ease;
border: none;
background: none;
position: relative;
font-family: inherit;
border-radius: var(--radius-sm);
}
.nav-tab:hover {
color: var(--text-normal);
background: rgba(0, 240, 255, 0.04);
}
.nav-tab.active {
color: var(--neon-cyan);
background: rgba(0, 240, 255, 0.06);
}
.nav-tab.active::after {
content: '';
position: absolute;
bottom: -12px;
left: 15%;
right: 15%;
height: 2px;
background: var(--neon-cyan);
box-shadow: 0 0 6px var(--neon-cyan-glow-strong);
border-radius: 2px;
}
/* ── Status dot ── */
.status-dot {
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--neon-green);
box-shadow: 0 0 4px var(--neon-green-glow);
animation: pulseNeon 2.5s ease-in-out infinite;
}
/* ── Panel (card container) ── */
.panel {
background: var(--bg-raised);
background-image:
linear-gradient(rgba(0, 240, 255, 0.015) 1px, transparent 1px),
linear-gradient(90deg, rgba(0, 240, 255, 0.015) 1px, transparent 1px);
background-size: 30px 30px;
border: 1px solid var(--line);
border-radius: var(--radius-md);
position: relative;
}
.panel-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.875rem 1.25rem;
border-bottom: 1px solid var(--line);
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--text-dim);
font-family: 'JetBrains Mono', monospace;
}
/* ── Result Card ── */
.r-card {
padding: 0.875rem 1rem;
background: var(--bg-raised);
border: 1px solid var(--line);
border-radius: var(--radius-md);
transition: all 0.2s ease;
position: relative;
}
.r-card:hover {
border-color: var(--line-active);
background: var(--bg-surface);
box-shadow: 0 0 20px var(--neon-cyan-glow), inset 0 0 20px rgba(0, 240, 255, 0.02);
}
.r-card:hover .r-card-border-glow {
opacity: 1;
}
.r-card-border-glow {
position: absolute;
top: -1px;
left: 10%;
right: 10%;
height: 1px;
background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
opacity: 0;
transition: opacity 0.3s ease;
}
/* ── Input ── */
.cyber-input {
width: 100%;
padding: 0.75rem 1rem;
font-size: 0.9375rem;
font-family: 'JetBrains Mono', monospace;
background: var(--bg-base);
border: 1px solid var(--line);
border-radius: var(--radius-sm);
color: var(--text-bright);
outline: none;
transition: all 0.15s ease;
}
.cyber-input::placeholder {
color: var(--text-ghost);
font-family: 'Space Grotesk', sans-serif;
}
.cyber-input:focus {
border-color: var(--neon-cyan-dim);
box-shadow: 0 0 0 2px var(--neon-cyan-glow), 0 0 16px var(--neon-cyan-glow);
}
.cyber-input:disabled {
opacity: 0.4;
}
/* ── Button: Primary ── */
.btn-neon {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 0.688rem 1.25rem;
font-size: 0.8125rem;
font-weight: 600;
font-family: 'JetBrains Mono', monospace;
text-transform: uppercase;
letter-spacing: 0.05em;
border: 1px solid var(--neon-cyan-dim);
border-radius: var(--radius-sm);
cursor: pointer;
transition: all 0.15s ease;
background: rgba(0, 240, 255, 0.08);
color: var(--neon-cyan);
position: relative;
overflow: hidden;
}
.btn-neon::before {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(90deg, transparent, rgba(0,240,255,0.06), transparent);
background-size: 200% 100%;
animation: dataStream 3s linear infinite;
}
.btn-neon:hover:not(:disabled) {
background: rgba(0, 240, 255, 0.14);
box-shadow: 0 0 20px var(--neon-cyan-glow), 0 0 40px rgba(0,240,255,0.06);
border-color: var(--neon-cyan);
text-shadow: 0 0 6px var(--neon-cyan-glow-strong);
}
.btn-neon:active:not(:disabled) { transform: scale(0.98); }
.btn-neon:disabled { opacity: 0.3; cursor: not-allowed; }
/* Button: Ghost */
.btn-dim {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.4rem;
padding: 0.5rem 0.875rem;
font-size: 0.75rem;
font-weight: 500;
font-family: inherit;
border: 1px solid var(--line);
border-radius: var(--radius-sm);
cursor: pointer;
transition: all 0.15s ease;
background: transparent;
color: var(--text-dim);
}
.btn-dim:hover {
border-color: var(--line-active);
color: var(--text-normal);
background: rgba(0, 240, 255, 0.03);
}
/* Button: Stop/Danger */
.btn-abort {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 0.688rem 1.25rem;
font-size: 0.8125rem;
font-weight: 600;
font-family: 'JetBrains Mono', monospace;
text-transform: uppercase;
letter-spacing: 0.05em;
border: 1px solid var(--neon-red);
border-radius: var(--radius-sm);
cursor: pointer;
transition: all 0.15s ease;
background: var(--neon-red-glow);
color: var(--neon-red);
}
.btn-abort:hover {
background: rgba(255, 51, 85, 0.2);
box-shadow: 0 0 20px var(--neon-red-glow);
}
/* Button: Export */
.btn-export {
display: inline-flex;
align-items: center;
gap: 0.4rem;
padding: 0.4rem 0.75rem;
font-size: 0.6875rem;
font-weight: 600;
font-family: 'JetBrains Mono', monospace;
text-transform: uppercase;
letter-spacing: 0.06em;
border: 1px solid rgba(0, 255, 136, 0.2);
border-radius: var(--radius-sm);
cursor: pointer;
transition: all 0.15s ease;
background: rgba(0, 255, 136, 0.05);
color: var(--neon-green-dim);
}
.btn-export:hover:not(:disabled) {
background: rgba(0, 255, 136, 0.1);
border-color: rgba(0, 255, 136, 0.35);
box-shadow: 0 0 12px var(--neon-green-glow);
color: var(--neon-green);
}
.btn-export:disabled { opacity: 0.25; cursor: not-allowed; }
/* ── Tag / Badge ── */
.tag {
display: inline-flex;
align-items: center;
gap: 0.2rem;
padding: 0.15rem 0.5rem;
font-size: 0.625rem;
font-weight: 600;
font-family: 'JetBrains Mono', monospace;
text-transform: uppercase;
letter-spacing: 0.06em;
border-radius: var(--radius-sm);
border: 1px solid;
}
/* ── Selection Chip (filter) ── */
.sel-chip {
flex: 1;
padding: 0.5rem 0.625rem;
font-size: 0.75rem;
font-weight: 500;
text-align: center;
cursor: pointer;
transition: all 0.15s ease;
border: 1px solid var(--line);
background: transparent;
color: var(--text-dim);
font-family: 'JetBrains Mono', monospace;
border-radius: var(--radius-sm);
}
.sel-chip:hover {
color: var(--text-normal);
border-color: var(--line-active);
background: rgba(0, 240, 255, 0.03);
}
.sel-chip.on {
color: var(--neon-cyan);
background: rgba(0, 240, 255, 0.06);
border-color: rgba(0, 240, 255, 0.25);
box-shadow: inset 0 0 12px var(--neon-cyan-glow);
}
/* ── Error ── */
.err-box {
display: flex;
align-items: flex-start;
gap: 0.75rem;
padding: 0.875rem 1rem;
border-radius: var(--radius-sm);
background: var(--neon-red-glow);
border: 1px solid rgba(255, 51, 85, 0.2);
color: #fca5a5;
font-size: 0.8125rem;
}
/* ── Success ── */
.ok-box {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 2rem;
color: var(--neon-green);
text-align: center;
}
/* ── Auth panel ── */
.auth-panel {
position: relative;
padding: 1.75rem;
background: var(--bg-raised);
background-image:
linear-gradient(rgba(0, 240, 255, 0.02) 1px, transparent 1px),
linear-gradient(90deg, rgba(0, 240, 255, 0.02) 1px, transparent 1px);
background-size: 20px 20px;
border: 1px solid var(--line);
border-radius: var(--radius-md);
overflow: hidden;
}
.auth-panel::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 2px;
background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
}
.auth-panel::after {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 50%;
height: 2px;
background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
animation: dataStream 4s linear infinite;
}
/* ── Empty state ── */
.empty-zone {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 2.5rem 1rem;
text-align: center;
border: 1px dashed var(--line);
border-radius: var(--radius-md);
background: rgba(10, 10, 15, 0.5);
}
/* ── Progress bar ── */
.prog-bar {
position: relative;
height: 2px;
background: rgba(0, 240, 255, 0.06);
overflow: hidden;
}
.prog-bar::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(90deg, var(--neon-cyan), var(--neon-green), var(--neon-cyan));
background-size: 200% 100%;
animation: dataStream 1.5s linear infinite;
}
/* ── Label / Section header ── */
.sec-label {
font-size: 0.625rem;
font-weight: 700;
font-family: 'JetBrains Mono', monospace;
text-transform: uppercase;
letter-spacing: 0.12em;
color: var(--text-ghost);
display: flex;
align-items: center;
gap: 0.4rem;
}
.sec-label::before {
content: '//';
color: var(--neon-cyan-dim);
opacity: 0.5;
}
/* ── Verified badge ── */
.v-badge {
width: 0.875rem;
height: 0.875rem;
flex-shrink: 0;
fill: var(--neon-cyan-dim);
}
/* ── Scanline overlay effect (optional subtle) ── */
.scanline-overlay {
pointer-events: none;
position: fixed;
inset: 0;
z-index: 9999;
background: repeating-linear-gradient(
0deg,
transparent,
transparent 2px,
rgba(0, 0, 0, 0.03) 2px,
rgba(0, 0, 0, 0.03) 4px
);
opacity: 1;
}
/* ── Status Hub Dashboard ── */
.status-card {
background: var(--bg-raised);
border: 1px solid var(--line);
border-radius: var(--radius-md);
overflow: hidden;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
}
.status-card:hover {
transform: translateY(-2px);
border-color: var(--line-active);
box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.05);
}
.status-card-header {
padding: 1rem 1.25rem;
border-bottom: 1px dotted var(--line);
display: flex;
align-items: center;
justify-content: space-between;
background: linear-gradient(to bottom, rgba(255,255,255,0.02), transparent);
}
.status-card-body {
padding: 1.25rem;
}
.status-pill {
padding: 0.2rem 0.6rem;
font-family: 'JetBrains Mono', monospace;
font-size: 0.65rem;
font-weight: 700;
border-radius: 4px;
letter-spacing: 0.05em;
position: relative;
}
.status-pill.online {
background: rgba(34, 197, 94, 0.1);
color: var(--neon-green);
border: 1px solid rgba(34, 197, 94, 0.3);
box-shadow: 0 0 10px rgba(34, 197, 94, 0.1);
}
.status-pill.online::before {
content: '';
position: absolute;
left: -4px;
top: 50%;
transform: translateY(-50%);
width: 2px;
height: 8px;
background: var(--neon-green);
box-shadow: 0 0 6px var(--neon-green-glow);
}
.status-pill.offline {
background: rgba(239, 68, 68, 0.1);
color: #ef4444;
border: 1px solid rgba(239, 68, 68, 0.3);
}
.status-pill.offline::before {
content: '';
position: absolute;
left: -4px;
top: 50%;
transform: translateY(-50%);
width: 2px;
height: 8px;
background: #ef4444;
}
.status-label {
color: var(--text-dim);
text-transform: uppercase;
font-size: 0.625rem;
letter-spacing: 0.1em;
}
.status-val {
color: var(--text-bright);
font-family: 'JetBrains Mono', monospace;
font-size: 0.75rem;
}