diff --git a/viewer/index.html b/viewer/index.html index 7b02e57..2e2e547 100644 --- a/viewer/index.html +++ b/viewer/index.html @@ -12,8 +12,9 @@ height: 100vh; overflow: hidden; font-family: monospace; background: #1a1a2e; color: #e0e0e0; display: grid; - grid-template-rows: 36px 40px minmax(200px, 1fr) 54px 1fr; + grid-template-rows: 36px 40px minmax(200px, 1fr) 54px 28px 1fr; } + .hidden { display: none !important; } /* Row 0: datebar */ #datebar { background: #0d0d20; border-bottom: 1px solid #0f3460; @@ -45,7 +46,7 @@ } #title { font-size: 13px; font-weight: bold; color: #e94560; white-space: nowrap; } #stats { font-size: 11px; color: #a0c4ff; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } - #layer-toggles { display: flex; gap: 6px; align-items: center; flex-shrink: 0; } + #layer-toggles { display: none; } .layer-btn { font-family: monospace; font-size: 10px; padding: 2px 7px; cursor: pointer; border-radius: 2px; border: 1px solid; background: transparent; @@ -60,6 +61,20 @@ /* Row 2: map */ #map { position: relative; min-height: 0; } + /* No-data overlay */ + #no-data-overlay { + position: absolute; inset: 0; z-index: 2000; + background: rgba(10,10,26,0.82); + display: flex; align-items: center; justify-content: center; + pointer-events: none; + } + #no-data-overlay.hidden { display: none; } + #no-data-overlay .nodata-msg { + font-size: 18px; color: #555; font-family: monospace; text-align: center; + border: 1px solid #1a1a3e; padding: 20px 32px; background: #0a0a1a; + pointer-events: none; + } + /* USBL panel over map */ #usbl-panel { position: absolute; top: 10px; left: 50px; z-index: 1000; @@ -73,6 +88,11 @@ display: inline-block; background: #ff8800; color: #1a1a2e; font-size: 9px; font-weight: bold; padding: 1px 4px; border-radius: 2px; margin-top: 4px; } + /* layer toggles bottom-right on map */ + #map-layer-toggles { + position: absolute; bottom: 10px; right: 10px; z-index: 1000; + display: flex; flex-direction: column; gap: 4px; align-items: flex-end; + } /* legend over map */ #legend { position: absolute; bottom: 10px; left: 10px; z-index: 1000; @@ -146,6 +166,21 @@ .chart-wrap .plotly-wrap { flex: 1; min-height: 0; position: relative; } .chart-wrap .plotly-wrap > div { width: 100% !important; height: 100% !important; } + /* Tab navigation */ + #panels-tabs { + background: #0d0d20; border-top: 1px solid #0f3460; border-bottom: 1px solid #0f3460; + display: flex; gap: 0; flex-shrink: 0; + } + .panel-tab { + font-family: monospace; font-size: 11px; padding: 6px 16px; cursor: pointer; + border: none; border-right: 1px solid #0f3460; background: transparent; + color: #666; + } + .panel-tab.active { background: #16213e; color: #e0e0e0; } + .panel-tab:hover:not(.active) { background: #0f3460; color: #a0c4ff; } + .panel-section { display: none; } + .panel-section.active { display: block; } + /* Pipeline overlay */ #pipeline-overlay { display: none; @@ -218,8 +253,8 @@