mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 14:50:00 -07:00
Rework satellite dashboard mission layout
This commit is contained in:
@@ -269,11 +269,35 @@ body {
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 340px;
|
||||
grid-template-rows: 1fr auto;
|
||||
gap: 0;
|
||||
height: calc(100vh - 100px);
|
||||
min-height: 500px;
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
grid-template-rows: minmax(0, 1fr) auto auto;
|
||||
gap: 12px;
|
||||
height: auto;
|
||||
min-height: 720px;
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.primary-layout {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1.8fr) 360px;
|
||||
gap: 12px;
|
||||
min-height: 520px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.command-rail {
|
||||
display: grid;
|
||||
grid-template-rows: auto auto auto minmax(220px, 1fr);
|
||||
gap: 12px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.data-grid {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(320px, 1.2fr) minmax(280px, 0.9fr) minmax(320px, 1.1fr);
|
||||
grid-template-rows: minmax(220px, 1fr) minmax(220px, 1fr);
|
||||
gap: 12px;
|
||||
min-height: 460px;
|
||||
}
|
||||
|
||||
/* Panels */
|
||||
@@ -332,44 +356,146 @@ body {
|
||||
.panel-content {
|
||||
padding: 12px;
|
||||
height: calc(100% - 40px);
|
||||
min-height: 0;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
/* Polar plot */
|
||||
.polar-container {
|
||||
grid-column: 1;
|
||||
grid-row: 1;
|
||||
min-height: 250px;
|
||||
}
|
||||
|
||||
#polarPlot {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-height: 300px;
|
||||
min-height: 220px;
|
||||
}
|
||||
|
||||
/* Ground track map */
|
||||
.map-container {
|
||||
grid-column: 2;
|
||||
grid-row: 1;
|
||||
min-width: 0;
|
||||
min-height: 520px;
|
||||
}
|
||||
|
||||
.map-panel-content {
|
||||
position: relative;
|
||||
padding: 0 !important;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#groundMap {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-height: 300px;
|
||||
min-height: 520px;
|
||||
}
|
||||
|
||||
/* Right sidebar */
|
||||
.sidebar {
|
||||
grid-column: 3;
|
||||
grid-row: 1;
|
||||
.map-header-tools {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border-left: 1px solid rgba(0, 212, 255, 0.2);
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.map-mode-btn,
|
||||
.map-action-btn {
|
||||
padding: 4px 8px;
|
||||
border: 1px solid rgba(74, 163, 255, 0.28);
|
||||
border-radius: 4px;
|
||||
background: rgba(5, 18, 30, 0.85);
|
||||
color: var(--text-secondary);
|
||||
font-family: var(--font-mono);
|
||||
font-size: 9px;
|
||||
letter-spacing: 0.08em;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.map-mode-btn:hover,
|
||||
.map-action-btn:hover {
|
||||
border-color: rgba(74, 163, 255, 0.65);
|
||||
color: var(--accent-cyan);
|
||||
}
|
||||
|
||||
.map-mode-btn.active,
|
||||
.map-action-btn.active {
|
||||
color: var(--bg-dark);
|
||||
background: linear-gradient(135deg, rgba(74, 163, 255, 0.95), rgba(79, 236, 182, 0.95));
|
||||
border-color: transparent;
|
||||
box-shadow: 0 0 18px rgba(74, 163, 255, 0.22);
|
||||
}
|
||||
|
||||
.map-overlay-card {
|
||||
position: absolute;
|
||||
left: 14px;
|
||||
bottom: 14px;
|
||||
z-index: 500;
|
||||
width: min(360px, calc(100% - 28px));
|
||||
padding: 10px 12px;
|
||||
border: 1px solid rgba(74, 163, 255, 0.22);
|
||||
border-radius: 8px;
|
||||
background:
|
||||
linear-gradient(135deg, rgba(5, 18, 30, 0.95), rgba(10, 27, 43, 0.9));
|
||||
box-shadow: 0 10px 35px rgba(0, 0, 0, 0.28);
|
||||
backdrop-filter: blur(6px);
|
||||
}
|
||||
|
||||
.map-overlay-kicker {
|
||||
margin-bottom: 4px;
|
||||
color: var(--text-secondary);
|
||||
font-family: var(--font-mono);
|
||||
font-size: 9px;
|
||||
letter-spacing: 0.14em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.map-overlay-primary {
|
||||
color: var(--text-primary);
|
||||
font-family: var(--font-sans);
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
.map-overlay-secondary {
|
||||
margin-top: 4px;
|
||||
color: var(--text-secondary);
|
||||
font-size: 11px;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.map-overlay-legend {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.map-legend-chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 3px 8px;
|
||||
border-radius: 999px;
|
||||
font-family: var(--font-mono);
|
||||
font-size: 9px;
|
||||
letter-spacing: 0.08em;
|
||||
color: var(--text-primary);
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
.map-legend-chip::before {
|
||||
content: '';
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
border-radius: 50%;
|
||||
background: currentColor;
|
||||
box-shadow: 0 0 8px currentColor;
|
||||
}
|
||||
|
||||
.map-legend-chip.pass { color: var(--accent-cyan); }
|
||||
.map-legend-chip.live { color: var(--accent-green); }
|
||||
.map-legend-chip.current { color: var(--accent-orange); }
|
||||
|
||||
/* Satellite selector at top of sidebar */
|
||||
.satellite-selector {
|
||||
display: flex;
|
||||
@@ -514,24 +640,24 @@ body {
|
||||
|
||||
/* Telemetry panel */
|
||||
.telemetry-panel {
|
||||
flex-shrink: 0;
|
||||
min-height: 188px;
|
||||
}
|
||||
|
||||
.transmitters-panel,
|
||||
.packets-panel {
|
||||
flex: 0 0 auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.transmitters-panel {
|
||||
min-height: 190px;
|
||||
max-height: 190px;
|
||||
grid-column: 2;
|
||||
grid-row: 1;
|
||||
}
|
||||
|
||||
.packets-panel {
|
||||
min-height: 170px;
|
||||
max-height: 170px;
|
||||
grid-column: 2;
|
||||
grid-row: 2;
|
||||
}
|
||||
|
||||
.transmitters-panel .panel-content,
|
||||
@@ -569,19 +695,19 @@ body {
|
||||
|
||||
/* Pass list */
|
||||
.pass-list {
|
||||
flex: 0 0 auto;
|
||||
min-height: 220px;
|
||||
max-height: 220px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
grid-column: 1;
|
||||
grid-row: 1 / span 2;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.gs-panel {
|
||||
flex: 0 0 auto;
|
||||
min-height: 300px;
|
||||
max-height: 300px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
grid-column: 3;
|
||||
grid-row: 1 / span 2;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.gs-panel .panel-content {
|
||||
@@ -667,8 +793,6 @@ body {
|
||||
|
||||
/* Bottom controls bar */
|
||||
.controls-bar {
|
||||
grid-column: 1 / -1;
|
||||
grid-row: 2;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 20px;
|
||||
@@ -745,6 +869,38 @@ body {
|
||||
background: var(--bg-dark) !important;
|
||||
}
|
||||
|
||||
.leaflet-tooltip.map-track-tooltip {
|
||||
padding: 4px 7px;
|
||||
border: 1px solid rgba(74, 163, 255, 0.3);
|
||||
border-radius: 999px;
|
||||
background: rgba(4, 14, 23, 0.92);
|
||||
color: var(--text-primary);
|
||||
box-shadow: 0 0 18px rgba(0, 0, 0, 0.28);
|
||||
font-family: var(--font-mono);
|
||||
font-size: 9px;
|
||||
letter-spacing: 0.08em;
|
||||
}
|
||||
|
||||
.leaflet-tooltip.map-track-tooltip::before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.leaflet-tooltip.map-track-tooltip.aos {
|
||||
color: var(--accent-green);
|
||||
}
|
||||
|
||||
.leaflet-tooltip.map-track-tooltip.tca {
|
||||
color: var(--accent-cyan);
|
||||
}
|
||||
|
||||
.leaflet-tooltip.map-track-tooltip.los {
|
||||
color: var(--accent-orange);
|
||||
}
|
||||
|
||||
.leaflet-tooltip.map-track-tooltip.now {
|
||||
color: var(--accent-orange);
|
||||
}
|
||||
|
||||
/* Using actual dark tiles now - no filter needed */
|
||||
|
||||
.leaflet-control-zoom a {
|
||||
@@ -774,67 +930,99 @@ body {
|
||||
}
|
||||
|
||||
/* Responsive */
|
||||
@media (max-width: 1280px) {
|
||||
.dashboard {
|
||||
@media (max-width: 1480px) {
|
||||
.primary-layout {
|
||||
grid-template-columns: minmax(0, 1.55fr) 330px;
|
||||
}
|
||||
|
||||
.data-grid {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-template-rows: 1fr auto auto;
|
||||
grid-template-rows: auto auto auto;
|
||||
}
|
||||
|
||||
.polar-container {
|
||||
.pass-list {
|
||||
grid-column: 1;
|
||||
grid-row: 1;
|
||||
grid-row: 1 / span 2;
|
||||
}
|
||||
|
||||
.map-container {
|
||||
.transmitters-panel {
|
||||
grid-column: 2;
|
||||
grid-row: 1;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
grid-column: 1 / 3;
|
||||
.packets-panel {
|
||||
grid-column: 2;
|
||||
grid-row: 2;
|
||||
flex-direction: row;
|
||||
border-left: none;
|
||||
border-top: 1px solid rgba(0, 212, 255, 0.2);
|
||||
max-height: 250px;
|
||||
}
|
||||
|
||||
.sidebar>* {
|
||||
flex: 1;
|
||||
min-width: 200px;
|
||||
}
|
||||
|
||||
.controls-bar {
|
||||
.gs-panel {
|
||||
grid-column: 1 / -1;
|
||||
grid-row: 3;
|
||||
flex-wrap: wrap;
|
||||
min-height: 320px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
@media (max-width: 1180px) {
|
||||
.dashboard {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
grid-template-rows: auto auto auto;
|
||||
height: auto;
|
||||
min-height: calc(100vh - 100px);
|
||||
}
|
||||
|
||||
.polar-container,
|
||||
.map-container {
|
||||
min-height: 250px;
|
||||
flex: 1;
|
||||
.primary-layout {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
flex-direction: column;
|
||||
max-height: none;
|
||||
border-left: none;
|
||||
border-top: 1px solid rgba(0, 212, 255, 0.2);
|
||||
.command-rail {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
grid-template-rows: auto auto;
|
||||
}
|
||||
|
||||
.satellite-selector {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.data-grid {
|
||||
grid-template-columns: 1fr;
|
||||
grid-template-rows: auto;
|
||||
}
|
||||
|
||||
.pass-list,
|
||||
.transmitters-panel,
|
||||
.packets-panel,
|
||||
.gs-panel {
|
||||
grid-column: auto;
|
||||
grid-row: auto;
|
||||
min-height: 240px;
|
||||
}
|
||||
|
||||
.controls-bar {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.map-overlay-card {
|
||||
width: calc(100% - 28px);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.controls-bar {
|
||||
flex-wrap: wrap;
|
||||
padding: 8px 12px;
|
||||
}
|
||||
|
||||
.command-rail {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.countdown-grid,
|
||||
.telemetry-rows {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
|
||||
.map-header-tools {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
|
||||
/* Embedded Mode Styles */
|
||||
|
||||
Reference in New Issue
Block a user