Dateien
AegisSight-Globe/static/css/globe.css
Claude Dev 9b4ea4cd28 Neue Features: Satelliten-Orbits, Naturkatastrophen, Visual Modes
SATELLITEN (CelesTrak TLE):
- Raumstationen (ISS), GPS, Galileo, Wetter, Erdbeobachtung, Starlink
- Echtzeit-Positionsberechnung aus Kepler-Elementen (2s Update)
- Orbitbahnen als leuchtende Linien (Stationen, GPS, Galileo)
- Farbkodiert nach Gruppe (rot=Station, orange=GPS, blau=Galileo)

NATURKATASTROPHEN (NASA EONET):
- Waldbraende, Vulkane, Stuerme, Fluten, Erdrutsche, Eis
- Farbige Punkte mit Emoji-Labels
- Klick zeigt Details und Quellen

VISUAL MODES:
- STD: Standard-Ansicht
- NVG: Nachtsicht (gruener Monochrom-Filter)
- FLIR: Thermal-Ansicht (invertiert, Infrarot-Look)
- CRT: Retro-Monitor (Scanlines, Vignette)

4 neue Dateien: satellites.js, disasters.js, visualmodes.js,
data_satellites.py, data_disasters.py
2026-03-24 12:50:04 +01:00

233 Zeilen
7.1 KiB
CSS

/* AegisSight Globe — Taktisches Dark Theme */
:root {
--bg-primary: #0b1121;
--bg-panel: rgba(11, 17, 33, 0.92);
--border: rgba(0, 255, 136, 0.15);
--accent: #00ff88;
--accent-dim: rgba(0, 255, 136, 0.4);
--text: #e8eaf0;
--text-dim: rgba(255,255,255,0.5);
--font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; overflow: hidden; background: var(--bg-primary); color: var(--text); font-family: var(--font-mono); }
/* === Cesium Container === */
#cesiumContainer { position: absolute; inset: 0; z-index: 1; }
/* Cesium UI ausblenden */
.cesium-viewer-toolbar,
.cesium-viewer-animationContainer,
.cesium-viewer-timelineContainer,
.cesium-viewer-fullscreenContainer,
.cesium-viewer-geocoderContainer,
.cesium-viewer-bottom { display: none !important; }
.cesium-credit-logoContainer { opacity: 0.3; }
/* === Header === */
#header {
position: fixed; top: 0; left: 0; right: 0; height: 44px; z-index: 100;
display: flex; align-items: center; padding: 0 16px; gap: 16px;
background: var(--bg-panel); border-bottom: 1px solid var(--border);
backdrop-filter: blur(12px);
}
.header-brand { display: flex; align-items: center; gap: 8px; }
.header-title { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.header-stats { flex: 1; text-align: center; font-size: 11px; color: var(--text-dim); letter-spacing: 1px; }
.header-actions { display: flex; gap: 8px; }
.header-btn {
background: none; border: 1px solid var(--border); border-radius: 4px;
color: var(--text); padding: 4px 8px; cursor: pointer; transition: all 0.2s;
}
.header-btn:hover { border-color: var(--accent); color: var(--accent); }
/* === Layer Panel === */
.layer-panel {
position: fixed; top: 52px; left: 12px; z-index: 100;
width: 200px; background: var(--bg-panel); border: 1px solid var(--border);
border-radius: 8px; padding: 12px; backdrop-filter: blur(12px);
box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.panel-title {
font-size: 9px; font-weight: 700; letter-spacing: 3px; color: var(--accent);
margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--border);
}
.panel-section { display: flex; flex-direction: column; gap: 4px; }
.panel-divider { height: 1px; background: var(--border); margin: 8px 0; }
.layer-toggle {
display: flex; align-items: center; gap: 6px; padding: 4px 6px;
border-radius: 4px; cursor: pointer; transition: background 0.15s;
}
.layer-toggle:hover { background: rgba(255,255,255,0.04); }
.layer-toggle input[type="checkbox"] {
accent-color: var(--accent); width: 12px; height: 12px; cursor: pointer; flex-shrink: 0;
}
.layer-dot {
width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.dot-flights { background: var(--accent); }
.dot-ships { background: #4499ff; }
.dot-quakes { background: #ff4444; }
.dot-gdelt { background: #ff8800; }
.dot-daynight { background: #8866cc; }
.dot-labels { background: #aaaaaa; }
.layer-name { font-size: 11px; color: var(--text); flex: 1; }
.layer-count { font-size: 10px; color: var(--text-dim); }
.panel-coords {
font-size: 10px; color: var(--accent); letter-spacing: 0.5px;
padding: 6px 0 0; text-align: center;
}
/* === Bottom Bar === */
#bottom-bar {
position: fixed; bottom: 0; left: 0; right: 0; height: 28px; z-index: 100;
display: flex; align-items: center; justify-content: center;
background: var(--bg-panel); border-top: 1px solid var(--border);
backdrop-filter: blur(8px);
}
.bottom-stats { font-size: 10px; color: var(--text-dim); letter-spacing: 1px; }
/* === Cesium InfoBox Override === */
.cesium-infoBox { background: var(--bg-panel) !important; border: 1px solid var(--border) !important; }
.cesium-infoBox-title { color: var(--accent) !important; font-family: var(--font-mono) !important; }
/* === InfoBox (Entity-Details bei Klick) === */
.cesium-infoBox {
background: var(--bg-panel) !important;
border: 1px solid var(--border) !important;
border-radius: 8px !important;
box-shadow: 0 8px 32px rgba(0,0,0,0.5) !important;
}
.cesium-infoBox-title {
color: var(--accent) !important;
font-family: var(--font-mono) !important;
font-size: 12px !important;
background: rgba(0,255,136,0.08) !important;
}
.cesium-infoBox-iframe {
background: var(--bg-primary) !important;
}
.cesium-selection-wrapper {
border-color: var(--accent) !important;
}
/* === Loading Indicator === */
.layer-loading {
display: none;
height: 2px;
background: var(--accent);
position: relative;
overflow: hidden;
border-radius: 1px;
margin: 4px 0 0;
}
.layer-loading.active {
display: block;
}
.layer-loading::after {
content: '';
position: absolute;
left: -40%;
width: 40%;
height: 100%;
background: linear-gradient(90deg, transparent, #00ff88, transparent);
animation: layer-loading-slide 1s ease-in-out infinite;
}
@keyframes layer-loading-slide {
0% { left: -40%; }
100% { left: 100%; }
}
.layer-status {
font-size: 9px;
color: var(--text-dim);
margin-top: 2px;
display: none;
}
.layer-status.active {
display: block;
}
/* === Neue Layer-Dots === */
.dot-satellites { background: #ff4444; }
.dot-disasters { background: #ff8800; }
/* === Visual Mode Buttons === */
.vmode-btn {
padding: 4px 8px;
font-family: var(--font-mono);
font-size: 9px;
font-weight: 700;
letter-spacing: 1px;
background: rgba(255,255,255,0.05);
border: 1px solid var(--border);
border-radius: 3px;
color: var(--text-dim);
cursor: pointer;
transition: all 0.2s;
}
.vmode-btn:hover { border-color: var(--accent); color: var(--text); }
.vmode-btn.active { background: rgba(0,255,136,0.15); border-color: var(--accent); color: var(--accent); }
/* === Visual Overlay (CRT Scanlines) === */
.visual-overlay {
position: fixed;
inset: 0;
z-index: 50;
pointer-events: none;
}
.vmode-crt-overlay {
background: repeating-linear-gradient(
0deg,
transparent,
transparent 2px,
rgba(0, 0, 0, 0.08) 2px,
rgba(0, 0, 0, 0.08) 4px
);
box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.3);
}
/* === Night Vision Mode === */
.vmode-nvg {
filter: saturate(0) brightness(1.2) contrast(1.1);
}
.vmode-nvg .cesium-viewer { mix-blend-mode: normal; }
.vmode-nvg::after {
content: '';
position: absolute;
inset: 0;
background: rgba(0, 255, 0, 0.08);
pointer-events: none;
z-index: 40;
mix-blend-mode: multiply;
}
/* === FLIR Thermal Mode === */
.vmode-flir {
filter: saturate(0) invert(1) contrast(1.3) brightness(0.9);
}
.vmode-flir::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(135deg, rgba(255,100,0,0.05), rgba(255,0,100,0.05));
pointer-events: none;
z-index: 40;
}
/* === CRT Mode === */
.vmode-crt {
filter: contrast(1.1) brightness(0.95);
}
.vmode-crt::after {
content: '';
position: absolute;
inset: 0;
background: radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,0.4) 100%);
pointer-events: none;
z-index: 40;
}