mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 14:50:00 -07:00
Full-stack meteor scatter monitoring mode that captures IQ data from an RTL-SDR, computes FFT waterfall frames via WebSocket, and runs a real-time detection engine to identify transient VHF reflections from meteor ionization trails (e.g. GRAVES radar at 143.050 MHz). Backend: MeteorDetector with EMA noise floor, SNR threshold state machine (IDLE/DETECTING/ACTIVE/COOLDOWN), hysteresis, and CSV/JSON export. WebSocket at /ws/meteor for binary waterfall frames, SSE at /meteor/stream for detection events and stats. Frontend: spectrum + waterfall + timeline canvases, event table with SNR/duration/confidence, stats strip, turbo colour LUT. Uses shared SDR device selection panel with conflict tracking. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
345 lines
7.5 KiB
CSS
345 lines
7.5 KiB
CSS
/* Meteor Scatter Mode Styles */
|
|
|
|
.meteor-visuals-container {
|
|
--ms-border: rgba(92, 255, 170, 0.24);
|
|
--ms-surface: linear-gradient(180deg, rgba(12, 19, 31, 0.97) 0%, rgba(5, 9, 17, 0.98) 100%);
|
|
--ms-accent: #6bffb8;
|
|
--ms-accent-dim: rgba(107, 255, 184, 0.13);
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
background: radial-gradient(circle at 14% -18%, rgba(107, 255, 184, 0.15) 0%, rgba(107, 255, 184, 0) 38%),
|
|
radial-gradient(circle at 86% -26%, rgba(255, 200, 54, 0.12) 0%, rgba(255, 200, 54, 0) 36%),
|
|
#03070f;
|
|
border: 1px solid var(--ms-border);
|
|
border-radius: 10px;
|
|
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 10px 34px rgba(2, 8, 22, 0.55);
|
|
position: relative;
|
|
}
|
|
|
|
/* ── Headline Bar ── */
|
|
|
|
.ms-headline {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 8px 12px;
|
|
background: rgba(8, 14, 25, 0.86);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.ms-headline-left,
|
|
.ms-headline-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.ms-headline-tag {
|
|
border-radius: 999px;
|
|
padding: 1px 8px;
|
|
border: 1px solid rgba(107, 255, 184, 0.45);
|
|
background: var(--ms-accent-dim);
|
|
color: var(--ms-accent);
|
|
font-size: 10px;
|
|
font-family: var(--font-mono, monospace);
|
|
letter-spacing: 0.06em;
|
|
text-transform: uppercase;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.ms-headline-tag.idle {
|
|
border-color: rgba(255, 255, 255, 0.2);
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: var(--text-dim, #667);
|
|
}
|
|
|
|
.ms-headline-tag.detecting {
|
|
border-color: rgba(255, 215, 0, 0.5);
|
|
background: rgba(255, 215, 0, 0.12);
|
|
color: #ffd700;
|
|
animation: ms-pulse 1s ease-in-out infinite;
|
|
}
|
|
|
|
.ms-headline-sub {
|
|
font-size: 11px;
|
|
color: var(--text-dim);
|
|
font-family: var(--font-mono, monospace);
|
|
white-space: nowrap;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
}
|
|
|
|
/* ── Stats Strip ── */
|
|
|
|
.ms-stats-strip {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
|
|
gap: 8px;
|
|
padding: 8px 12px;
|
|
background: var(--ms-surface);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.07);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.ms-stat-cell {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
padding: 4px 8px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.ms-stat-label {
|
|
font-size: 9px;
|
|
color: var(--text-dim, #667);
|
|
font-family: var(--font-mono, monospace);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
}
|
|
|
|
.ms-stat-value {
|
|
font-size: 13px;
|
|
color: var(--text-primary, #eee);
|
|
font-family: var(--font-mono, monospace);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.ms-stat-value.highlight {
|
|
color: var(--ms-accent);
|
|
}
|
|
|
|
/* ── Canvas Areas ── */
|
|
|
|
.ms-spectrum-wrap {
|
|
position: relative;
|
|
height: 80px;
|
|
flex-shrink: 0;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.ms-spectrum-wrap canvas {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
}
|
|
|
|
.ms-waterfall-wrap {
|
|
position: relative;
|
|
flex: 1;
|
|
min-height: 200px;
|
|
background: #000;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ms-waterfall-wrap canvas {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
}
|
|
|
|
.ms-timeline-wrap {
|
|
position: relative;
|
|
height: 60px;
|
|
flex-shrink: 0;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.ms-timeline-wrap canvas {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
}
|
|
|
|
/* ── Events Panel ── */
|
|
|
|
.ms-events-panel {
|
|
flex-shrink: 0;
|
|
max-height: 200px;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: rgba(8, 14, 25, 0.9);
|
|
border-top: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.ms-events-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 6px 12px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.ms-events-title {
|
|
font-size: 10px;
|
|
color: var(--text-dim, #667);
|
|
font-family: var(--font-mono, monospace);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
}
|
|
|
|
.ms-events-count {
|
|
font-size: 10px;
|
|
color: var(--ms-accent);
|
|
font-family: var(--font-mono, monospace);
|
|
}
|
|
|
|
.ms-events-scroll {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.ms-events-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-family: var(--font-mono, monospace);
|
|
font-size: 10px;
|
|
}
|
|
|
|
.ms-events-table thead {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1;
|
|
}
|
|
|
|
.ms-events-table th {
|
|
padding: 4px 8px;
|
|
text-align: left;
|
|
color: var(--text-dim, #667);
|
|
font-weight: 500;
|
|
background: rgba(8, 14, 25, 0.95);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
font-size: 9px;
|
|
}
|
|
|
|
.ms-events-table td {
|
|
padding: 3px 8px;
|
|
color: var(--text-secondary, #aab);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.03);
|
|
}
|
|
|
|
.ms-events-table tr:hover td {
|
|
background: rgba(107, 255, 184, 0.04);
|
|
}
|
|
|
|
.ms-events-table .ms-snr-strong {
|
|
color: var(--ms-accent);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.ms-events-table .ms-snr-moderate {
|
|
color: #ffd782;
|
|
}
|
|
|
|
.ms-events-table .ms-snr-weak {
|
|
color: var(--text-dim, #667);
|
|
}
|
|
|
|
.ms-tag {
|
|
display: inline-block;
|
|
padding: 0 4px;
|
|
border-radius: 3px;
|
|
font-size: 9px;
|
|
margin-right: 3px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: var(--text-dim, #667);
|
|
}
|
|
|
|
.ms-tag.strong {
|
|
border-color: rgba(107, 255, 184, 0.3);
|
|
background: rgba(107, 255, 184, 0.08);
|
|
color: var(--ms-accent);
|
|
}
|
|
|
|
.ms-tag.moderate {
|
|
border-color: rgba(255, 215, 130, 0.3);
|
|
background: rgba(255, 215, 130, 0.08);
|
|
color: #ffd782;
|
|
}
|
|
|
|
/* ── Ping Highlight Animation ── */
|
|
|
|
@keyframes ms-pulse {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.5; }
|
|
}
|
|
|
|
@keyframes ms-ping-flash {
|
|
0% {
|
|
box-shadow: inset 0 0 20px rgba(107, 255, 184, 0.3);
|
|
}
|
|
100% {
|
|
box-shadow: inset 0 0 0 rgba(107, 255, 184, 0);
|
|
}
|
|
}
|
|
|
|
.ms-ping-flash {
|
|
animation: ms-ping-flash 0.5s ease-out;
|
|
}
|
|
|
|
/* ── Empty State ── */
|
|
|
|
.ms-empty-state {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 1;
|
|
gap: 12px;
|
|
color: var(--text-dim, #667);
|
|
font-family: var(--font-mono, monospace);
|
|
font-size: 12px;
|
|
text-align: center;
|
|
padding: 40px;
|
|
}
|
|
|
|
.ms-empty-state .ms-empty-icon {
|
|
font-size: 40px;
|
|
opacity: 0.4;
|
|
}
|
|
|
|
.ms-empty-state .ms-empty-text {
|
|
font-size: 11px;
|
|
opacity: 0.6;
|
|
max-width: 280px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* ── Responsive ── */
|
|
|
|
@media (max-width: 900px) {
|
|
.ms-stats-strip {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
}
|
|
.ms-events-panel {
|
|
max-height: 150px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.ms-stats-strip {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
.ms-spectrum-wrap {
|
|
height: 60px;
|
|
}
|
|
.ms-timeline-wrap {
|
|
height: 40px;
|
|
}
|
|
}
|