mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 06:40:00 -07:00
Add mobile responsive design overhaul
- Add responsive.css with shared utilities (hamburger menu, touch targets, responsive typography) - Add hamburger menu and mobile drawer navigation to main app - Add horizontal scrolling mobile nav bar for mode switching - Refactor index.css with mobile-first breakpoints - Update adsb_dashboard.css for mobile layouts - Update satellite_dashboard.css for mobile layouts - Add mobile nav controller to app.js with drawer toggle - Hide stats/taglines on small screens - Unified breakpoints: 480px (phone), 768px (tablet), 1024px (desktop) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -115,6 +115,28 @@ body {
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
/* Mobile header adjustments */
|
||||
@media (max-width: 800px) {
|
||||
.header {
|
||||
padding: 10px 12px;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.logo {
|
||||
font-size: 14px;
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
|
||||
.logo span {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.stats-badges {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.stat-badge {
|
||||
background: var(--bg-card);
|
||||
border: 1px solid rgba(0, 212, 255, 0.3);
|
||||
@@ -674,24 +696,28 @@ body {
|
||||
|
||||
@media (max-width: 800px) {
|
||||
.dashboard {
|
||||
grid-template-columns: 1fr;
|
||||
grid-template-rows: auto auto auto auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: auto;
|
||||
min-height: calc(100vh - 60px);
|
||||
}
|
||||
|
||||
.polar-container,
|
||||
.map-container {
|
||||
grid-column: 1;
|
||||
min-height: 300px;
|
||||
min-height: 250px;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
grid-column: 1;
|
||||
flex-direction: column;
|
||||
max-height: none;
|
||||
border-left: none;
|
||||
border-top: 1px solid rgba(0, 212, 255, 0.2);
|
||||
}
|
||||
|
||||
.controls-bar {
|
||||
grid-row: 4;
|
||||
flex-wrap: wrap;
|
||||
padding: 8px 12px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user