mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 22:59:59 -07:00
The parent container has overflow:auto which clipped the absolutely positioned button. Changed to simple flexbox approach where: - Button is a normal flex child (always visible) - Content div collapses to width:0 when collapsed - Map expands to fill available space via flex Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
981 lines
19 KiB
CSS
981 lines
19 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
:root {
|
|
--bg-dark: #0a0c10;
|
|
--bg-panel: #0f1218;
|
|
--bg-card: #151a23;
|
|
--border-color: #1f2937;
|
|
--border-glow: #4a9eff;
|
|
--text-primary: #e8eaed;
|
|
--text-secondary: #9ca3af;
|
|
--text-dim: #4b5563;
|
|
--accent-green: #22c55e;
|
|
--accent-cyan: #4a9eff;
|
|
--accent-orange: #f59e0b;
|
|
--accent-red: #ef4444;
|
|
--accent-yellow: #eab308;
|
|
--accent-amber: #d4a853;
|
|
--grid-line: rgba(74, 158, 255, 0.08);
|
|
--radar-cyan: #4a9eff;
|
|
--radar-bg: #0f1218;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
|
|
background: var(--bg-dark);
|
|
color: var(--text-primary);
|
|
min-height: 100vh;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
/* Animated radar sweep background */
|
|
.radar-bg {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-image:
|
|
linear-gradient(var(--grid-line) 1px, transparent 1px),
|
|
linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
|
|
background-size: 50px 50px;
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
}
|
|
|
|
/* Scan line effect - subtle */
|
|
.scanline {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 2px;
|
|
background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
|
|
animation: scan 6s linear infinite;
|
|
pointer-events: none;
|
|
z-index: 1000;
|
|
opacity: 0.3;
|
|
}
|
|
|
|
@keyframes scan {
|
|
0% {
|
|
top: -4px;
|
|
}
|
|
|
|
100% {
|
|
top: 100vh;
|
|
}
|
|
}
|
|
|
|
/* Header */
|
|
.header {
|
|
position: relative;
|
|
z-index: 10;
|
|
padding: 12px 20px;
|
|
background: var(--bg-panel);
|
|
border-bottom: 1px solid var(--border-color);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.logo {
|
|
font-family: 'Inter', sans-serif;
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
letter-spacing: 3px;
|
|
color: var(--text-primary);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.logo span {
|
|
color: var(--text-secondary);
|
|
font-weight: 400;
|
|
font-size: 14px;
|
|
margin-left: 15px;
|
|
letter-spacing: 2px;
|
|
}
|
|
|
|
.status-bar {
|
|
display: flex;
|
|
gap: 20px;
|
|
align-items: center;
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.status-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.status-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: var(--accent-cyan);
|
|
box-shadow: 0 0 10px var(--accent-cyan);
|
|
animation: pulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
.status-dot.inactive {
|
|
background: var(--accent-red);
|
|
box-shadow: 0 0 10px var(--accent-red);
|
|
}
|
|
|
|
@keyframes pulse {
|
|
|
|
0%,
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
|
|
50% {
|
|
opacity: 0.5;
|
|
}
|
|
}
|
|
|
|
/* Stats badges in header */
|
|
.stats-badges {
|
|
display: flex;
|
|
gap: 12px;
|
|
}
|
|
|
|
.stat-badge {
|
|
background: rgba(74, 158, 255, 0.1);
|
|
border: 1px solid rgba(74, 158, 255, 0.3);
|
|
border-radius: 4px;
|
|
padding: 4px 10px;
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.stat-badge .value {
|
|
color: var(--accent-cyan);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.stat-badge .label {
|
|
color: var(--text-secondary);
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.datetime {
|
|
font-family: 'Orbitron', monospace;
|
|
font-size: 12px;
|
|
color: var(--accent-cyan);
|
|
}
|
|
|
|
.back-link {
|
|
color: var(--accent-cyan);
|
|
text-decoration: none;
|
|
font-size: 11px;
|
|
padding: 4px 10px;
|
|
border: 1px solid var(--accent-cyan);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
/* Main dashboard grid */
|
|
.dashboard {
|
|
position: relative;
|
|
z-index: 10;
|
|
display: grid;
|
|
grid-template-columns: 1fr auto 300px;
|
|
grid-template-rows: 1fr auto;
|
|
gap: 0;
|
|
height: calc(100vh - 60px);
|
|
min-height: 500px;
|
|
}
|
|
|
|
/* ACARS sidebar (between map and main sidebar) - Collapsible */
|
|
.acars-sidebar {
|
|
background: var(--bg-panel);
|
|
border-left: 1px solid var(--border-color);
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.acars-collapse-btn {
|
|
width: 28px;
|
|
min-width: 28px;
|
|
background: var(--bg-card);
|
|
border: none;
|
|
border-right: 1px solid var(--border-color);
|
|
color: var(--accent-cyan);
|
|
cursor: pointer;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
padding: 8px 0;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.acars-collapse-btn:hover {
|
|
background: rgba(74, 158, 255, 0.2);
|
|
}
|
|
|
|
.acars-collapse-label {
|
|
writing-mode: vertical-rl;
|
|
text-orientation: mixed;
|
|
font-size: 9px;
|
|
font-weight: 600;
|
|
letter-spacing: 1px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.acars-sidebar.collapsed .acars-collapse-label {
|
|
display: block;
|
|
}
|
|
|
|
.acars-sidebar:not(.collapsed) .acars-collapse-label {
|
|
display: none;
|
|
}
|
|
|
|
#acarsCollapseIcon {
|
|
font-size: 10px;
|
|
transition: transform 0.3s;
|
|
}
|
|
|
|
.acars-sidebar.collapsed #acarsCollapseIcon {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.acars-sidebar-content {
|
|
width: 250px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
transition: width 0.3s ease, opacity 0.2s ease;
|
|
}
|
|
|
|
.acars-sidebar.collapsed .acars-sidebar-content {
|
|
width: 0;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.acars-sidebar .panel {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
border: none;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.acars-sidebar .panel::before {
|
|
display: none;
|
|
}
|
|
|
|
.acars-sidebar .acars-messages {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
min-height: 0;
|
|
}
|
|
|
|
.acars-sidebar .acars-btn {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--accent-cyan);
|
|
color: var(--accent-cyan);
|
|
padding: 6px 10px;
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.acars-sidebar .acars-btn:hover {
|
|
background: rgba(74, 158, 255, 0.2);
|
|
}
|
|
|
|
.acars-message-item {
|
|
padding: 8px 10px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
font-size: 10px;
|
|
animation: fadeIn 0.3s ease;
|
|
}
|
|
|
|
.acars-message-item:hover {
|
|
background: rgba(74, 158, 255, 0.05);
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; transform: translateY(-5px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
/* Panels */
|
|
.panel {
|
|
background: var(--bg-panel);
|
|
border: 1px solid rgba(74, 158, 255, 0.2);
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.panel::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 2px;
|
|
background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
|
|
}
|
|
|
|
.panel-header {
|
|
padding: 10px 15px;
|
|
background: rgba(74, 158, 255, 0.05);
|
|
border-bottom: 1px solid rgba(74, 158, 255, 0.1);
|
|
font-family: 'Orbitron', monospace;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
letter-spacing: 2px;
|
|
text-transform: uppercase;
|
|
color: var(--accent-cyan);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.panel-indicator {
|
|
width: 6px;
|
|
height: 6px;
|
|
background: var(--text-dim);
|
|
border-radius: 50%;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.panel-indicator.active {
|
|
background: var(--accent-green);
|
|
opacity: 1;
|
|
animation: blink 1s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes blink {
|
|
|
|
0%,
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
|
|
50% {
|
|
opacity: 0.3;
|
|
}
|
|
}
|
|
|
|
@keyframes slideDown {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateX(-50%) translateY(-20px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateX(-50%) translateY(0);
|
|
}
|
|
}
|
|
|
|
/* Main display container (map + radar scope) */
|
|
.main-display {
|
|
grid-column: 1;
|
|
grid-row: 1;
|
|
position: relative;
|
|
}
|
|
|
|
.display-container {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
#radarMap {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
}
|
|
|
|
#radarScope {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: none;
|
|
background: var(--radar-bg);
|
|
}
|
|
|
|
#radarScope.active {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
#radarCanvas {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
}
|
|
|
|
/* Right sidebar */
|
|
.sidebar {
|
|
grid-column: 2;
|
|
grid-row: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
border-left: 1px solid rgba(74, 158, 255, 0.2);
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* View toggle */
|
|
.view-toggle {
|
|
display: flex;
|
|
padding: 10px;
|
|
gap: 8px;
|
|
background: var(--bg-panel);
|
|
border-bottom: 1px solid rgba(74, 158, 255, 0.2);
|
|
}
|
|
|
|
.view-btn {
|
|
flex: 1;
|
|
padding: 10px;
|
|
border: 1px solid rgba(74, 158, 255, 0.3);
|
|
background: transparent;
|
|
color: var(--text-secondary);
|
|
font-family: 'Orbitron', monospace;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 2px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.view-btn:hover {
|
|
border-color: var(--accent-cyan);
|
|
color: var(--accent-cyan);
|
|
}
|
|
|
|
.view-btn.active {
|
|
background: var(--accent-cyan);
|
|
border-color: var(--accent-cyan);
|
|
color: var(--bg-dark);
|
|
}
|
|
|
|
/* Selected aircraft panel */
|
|
.selected-aircraft {
|
|
flex-shrink: 0;
|
|
max-height: 480px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.selected-info {
|
|
padding: 12px;
|
|
}
|
|
|
|
#aircraftPhotoContainer {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
#aircraftPhotoContainer img {
|
|
max-height: 140px;
|
|
width: 100%;
|
|
object-fit: cover;
|
|
border-radius: 6px;
|
|
border: 1px solid rgba(0, 212, 255, 0.3);
|
|
}
|
|
|
|
.selected-callsign {
|
|
font-family: 'Orbitron', monospace;
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
color: var(--accent-cyan);
|
|
text-shadow: 0 0 15px var(--accent-cyan);
|
|
text-align: center;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.telemetry-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 6px;
|
|
}
|
|
|
|
.telemetry-item {
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border-radius: 4px;
|
|
padding: 8px;
|
|
border-left: 2px solid var(--accent-cyan);
|
|
}
|
|
|
|
.telemetry-label {
|
|
font-size: 9px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.telemetry-value {
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 12px;
|
|
color: var(--accent-cyan);
|
|
}
|
|
|
|
/* Aircraft list */
|
|
.aircraft-list {
|
|
flex: 1;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.aircraft-list-content {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 8px;
|
|
}
|
|
|
|
.aircraft-item {
|
|
position: relative;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border: 1px solid rgba(74, 158, 255, 0.15);
|
|
border-radius: 4px;
|
|
padding: 8px 10px;
|
|
margin-bottom: 6px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.aircraft-item:hover {
|
|
border-color: var(--accent-cyan);
|
|
background: rgba(74, 158, 255, 0.05);
|
|
}
|
|
|
|
.aircraft-item.selected {
|
|
border-color: var(--accent-cyan);
|
|
box-shadow: 0 0 15px rgba(74, 158, 255, 0.2);
|
|
background: rgba(74, 158, 255, 0.1);
|
|
}
|
|
|
|
.aircraft-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.aircraft-callsign {
|
|
font-family: 'Orbitron', monospace;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--accent-cyan);
|
|
}
|
|
|
|
.aircraft-icao {
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 9px;
|
|
color: var(--text-secondary);
|
|
background: rgba(74, 158, 255, 0.1);
|
|
padding: 2px 5px;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.aircraft-details {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 6px;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.aircraft-detail {
|
|
text-align: center;
|
|
}
|
|
|
|
.aircraft-detail-value {
|
|
font-family: 'JetBrains Mono', monospace;
|
|
color: var(--accent-cyan);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.aircraft-detail-label {
|
|
color: var(--text-secondary);
|
|
font-size: 8px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
/* Bottom controls bar */
|
|
.controls-bar {
|
|
grid-column: 1 / -1;
|
|
grid-row: 2;
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: nowrap;
|
|
gap: 8px;
|
|
padding: 8px 15px;
|
|
background: var(--bg-panel);
|
|
border-top: 1px solid rgba(74, 158, 255, 0.3);
|
|
font-size: 11px;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.controls-bar label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 3px;
|
|
white-space: nowrap;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.controls-bar select,
|
|
.controls-bar input[type="text"],
|
|
.controls-bar input[type="number"] {
|
|
padding: 3px 5px;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.control-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.control-group label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
cursor: pointer;
|
|
font-size: 11px;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.control-group input[type="checkbox"] {
|
|
accent-color: var(--accent-cyan);
|
|
}
|
|
|
|
.control-group select {
|
|
padding: 6px 10px;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border: 1px solid rgba(74, 158, 255, 0.3);
|
|
border-radius: 4px;
|
|
color: var(--accent-cyan);
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.control-group input[type="text"] {
|
|
width: 80px;
|
|
padding: 6px 8px;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border: 1px solid rgba(74, 158, 255, 0.3);
|
|
border-radius: 4px;
|
|
color: var(--accent-cyan);
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.control-label {
|
|
font-size: 10px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
/* Start/stop button */
|
|
.start-btn {
|
|
padding: 8px 20px;
|
|
border: 1px solid var(--accent-cyan);
|
|
background: rgba(74, 158, 255, 0.1);
|
|
color: var(--accent-cyan);
|
|
font-family: 'Orbitron', monospace;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 2px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.start-btn:hover {
|
|
background: var(--accent-cyan);
|
|
color: var(--bg-dark);
|
|
box-shadow: 0 0 20px rgba(74, 158, 255, 0.3);
|
|
}
|
|
|
|
.start-btn.active {
|
|
background: var(--accent-red);
|
|
border-color: var(--accent-red);
|
|
color: #fff;
|
|
}
|
|
|
|
.start-btn.active:hover {
|
|
box-shadow: 0 0 20px rgba(255, 68, 68, 0.3);
|
|
}
|
|
|
|
/* GPS button */
|
|
.gps-btn {
|
|
padding: 6px 10px;
|
|
background: rgba(74, 158, 255, 0.2);
|
|
border: 1px solid rgba(74, 158, 255, 0.3);
|
|
border-radius: 4px;
|
|
color: var(--accent-cyan);
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 10px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Leaflet overrides */
|
|
.leaflet-container {
|
|
background: var(--bg-dark) !important;
|
|
}
|
|
|
|
.leaflet-tile-pane,
|
|
.leaflet-container .leaflet-tile-pane {
|
|
filter: invert(1) hue-rotate(180deg) brightness(0.8) contrast(1.2) !important;
|
|
}
|
|
|
|
.leaflet-control-zoom a {
|
|
background: var(--bg-panel) !important;
|
|
color: var(--accent-cyan) !important;
|
|
border-color: var(--border-color) !important;
|
|
}
|
|
|
|
.leaflet-control-attribution {
|
|
background: rgba(0, 0, 0, 0.7) !important;
|
|
color: var(--text-secondary) !important;
|
|
font-size: 9px !important;
|
|
}
|
|
|
|
/* Custom scrollbar */
|
|
::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: var(--bg-dark);
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: var(--accent-cyan);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
/* No aircraft message */
|
|
.no-aircraft {
|
|
text-align: center;
|
|
padding: 30px 15px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.no-aircraft-icon {
|
|
font-size: 36px;
|
|
margin-bottom: 10px;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
/* Responsive - medium screens (hide ACARS sidebar, keep main sidebar) */
|
|
@media (max-width: 1200px) {
|
|
.dashboard {
|
|
grid-template-columns: 1fr 300px;
|
|
grid-template-rows: 1fr auto;
|
|
}
|
|
|
|
.acars-sidebar {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
/* Responsive - small screens (single column) */
|
|
@media (max-width: 900px) {
|
|
.dashboard {
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: 1fr auto auto;
|
|
}
|
|
|
|
.main-display {
|
|
min-height: 400px;
|
|
}
|
|
|
|
.acars-sidebar {
|
|
display: none;
|
|
}
|
|
|
|
.sidebar {
|
|
grid-column: 1;
|
|
grid-row: 2;
|
|
border-left: none;
|
|
border-top: 1px solid rgba(74, 158, 255, 0.2);
|
|
max-height: 300px;
|
|
}
|
|
|
|
.controls-bar {
|
|
grid-row: 3;
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|
|
/* Airband Audio Controls */
|
|
.airband-divider {
|
|
width: 1px;
|
|
height: 20px;
|
|
background: var(--accent-cyan);
|
|
opacity: 0.4;
|
|
margin: 0 5px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.airband-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.airband-btn {
|
|
padding: 6px 12px;
|
|
background: rgba(74, 158, 255, 0.1);
|
|
border: 1px solid var(--accent-cyan);
|
|
color: var(--accent-cyan);
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
font-family: 'JetBrains Mono', monospace;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
transition: all 0.2s;
|
|
flex-shrink: 0;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.airband-btn:hover {
|
|
background: rgba(74, 158, 255, 0.2);
|
|
}
|
|
|
|
.airband-btn.active {
|
|
background: rgba(34, 197, 94, 0.2);
|
|
border-color: var(--accent-green);
|
|
color: var(--accent-green);
|
|
}
|
|
|
|
.airband-btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.airband-icon {
|
|
font-size: 10px;
|
|
}
|
|
|
|
.airband-status {
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 10px;
|
|
padding: 0 8px;
|
|
}
|
|
|
|
#airbandSquelch {
|
|
accent-color: var(--accent-cyan);
|
|
}
|
|
|
|
/* Airband Audio Visualizer */
|
|
.airband-visualizer {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 0 10px;
|
|
border-left: 1px solid var(--border-color);
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.airband-visualizer .signal-meter {
|
|
width: 80px;
|
|
}
|
|
|
|
.airband-visualizer .meter-bar {
|
|
height: 10px;
|
|
background: linear-gradient(90deg,
|
|
var(--accent-green) 0%,
|
|
var(--accent-green) 60%,
|
|
var(--accent-orange) 60%,
|
|
var(--accent-orange) 80%,
|
|
var(--accent-red) 80%,
|
|
var(--accent-red) 100%
|
|
);
|
|
border-radius: 3px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
opacity: 0.3;
|
|
}
|
|
|
|
.airband-visualizer .meter-fill {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
height: 100%;
|
|
background: linear-gradient(90deg,
|
|
var(--accent-green) 0%,
|
|
var(--accent-green) 60%,
|
|
var(--accent-orange) 60%,
|
|
var(--accent-orange) 80%,
|
|
var(--accent-red) 80%,
|
|
var(--accent-red) 100%
|
|
);
|
|
border-radius: 3px;
|
|
width: 0%;
|
|
transition: width 0.05s ease-out;
|
|
}
|
|
|
|
.airband-visualizer .meter-peak {
|
|
position: absolute;
|
|
top: 0;
|
|
height: 100%;
|
|
width: 2px;
|
|
background: #fff;
|
|
opacity: 0.8;
|
|
transition: left 0.05s ease-out;
|
|
left: 0%;
|
|
}
|
|
|
|
#airbandSpectrumCanvas {
|
|
border-radius: 3px;
|
|
background: rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
/* GPS Indicator */
|
|
.gps-indicator {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 2px 8px;
|
|
background: rgba(34, 197, 94, 0.15);
|
|
border: 1px solid #22c55e;
|
|
border-radius: 12px;
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
color: #22c55e;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.gps-indicator .gps-dot {
|
|
width: 6px;
|
|
height: 6px;
|
|
background: #22c55e;
|
|
border-radius: 50%;
|
|
animation: gps-pulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes gps-pulse {
|
|
0%, 100% { opacity: 1; transform: scale(1); }
|
|
50% { opacity: 0.5; transform: scale(0.8); }
|
|
}
|