diff --git a/public/skychart.html b/public/skychart.html index 1e1e5eb..8460e57 100644 --- a/public/skychart.html +++ b/public/skychart.html @@ -309,25 +309,19 @@ @media screen and (max-width: 480px) { /* Phone: panel overlays full screen from the right, tab always on right edge */ #ui-panel.open { width: 92vw; min-width: 0; max-width: none; } - /* Quick bar: wrap into ~2 rows on narrow screens */ - #quick-bar { - bottom: 6px; padding: 3px 6px; gap: 2px; - flex-wrap: wrap; justify-content: center; - max-width: 96vw; width: max-content; - } + /* Tighten quick bar spacing on very narrow screens */ + #quick-bar { bottom: 6px; padding: 3px 6px; gap: 2px; } #quick-bar button { padding: 5px 8px; font-size: 0.78rem; } #qb-search { width: 62px; font-size: 0.76rem; padding: 4px 5px; } #qb-search:focus { width: 88px; } - /* Make vertical separators shorter so they fit in wrapped rows */ .qb-sep { height: 16px; } - /* Hide some separators between groups that end up on same row naturally */ - #quick-bar .qb-sep:last-of-type { display: none; } } /* ===== QUICK-ACCESS BAR ===== */ #quick-bar { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; + flex-wrap: wrap; justify-content: center; background: rgba(15, 15, 15, 0.9); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; padding: 4px 8px; z-index: 1500; @@ -368,6 +362,35 @@ #qb-fov-lock.active { background: rgba(255,170,0,0.25) !important; color: #ffaa00 !important; border-color: rgba(255,170,0,0.4); } #qb-fov-lock.active .qb-icon { color: #ffaa00; } + /* FOV rotation slider row in quick bar (visible when bar wraps) */ + .qb-fov-row { + width: 100%; order: 999; + display: flex; + align-items: center; gap: 6px; + padding: 2px 4px 0; + border-top: 1px solid rgba(255,255,255,0.08); + margin-top: 2px; + } + .qb-fov-row label { + font-size: 0.7rem; color: #aaa; white-space: nowrap; margin: 0; + } + .qb-fov-row input[type="range"] { + flex: 1; min-width: 0; height: 4px; -webkit-appearance: none; appearance: none; + background: rgba(255,255,255,0.15); border-radius: 2px; outline: none; + } + .qb-fov-row input[type="range"]::-webkit-slider-thumb { + -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; + background: var(--accent); cursor: pointer; border: none; + } + .qb-fov-row input[type="range"]::-moz-range-thumb { + width: 14px; height: 14px; border-radius: 50%; + background: var(--accent); cursor: pointer; border: none; + } + .qb-fov-row .qb-rot-val { + font-size: 0.7rem; color: #fff; min-width: 28px; text-align: right; + font-family: 'Courier New', monospace; + } + /* ===== DISCOVER PANEL ===== */ .discover-section { margin-bottom: 12px; } .discover-section:last-child { margin-bottom: 4px; } @@ -490,6 +513,11 @@ +