feat(map): quiet HUD chrome — VIIRS default, collapsed layer rail #49

Merged
sirius merged 2 commits from feat/hud-chrome-quiet into master 2026-09-01 17:21:10 -04:00
2 changed files with 9 additions and 0 deletions
Showing only changes of commit 0fa49b8407 - Show all commits

View file

@ -682,6 +682,7 @@
.ticker.news .tick-label { background: var(--cyan); color: #02131c; }
.ticker.market[hidden] { display: none !important; }
.dock.news-only { height: 32px; }
.dock.news-only .ticker { height: 100%; }
.tick-label .st { animation: pulse 1.6s infinite; }
.tick-wrap { flex: 1; overflow: hidden; position: relative; display: flex; align-items: center;
mask-image: linear-gradient(90deg, transparent 0, #000 26px, #000 calc(100% - 26px), transparent 100%);

View file

@ -83,6 +83,14 @@ def test_market_ticker_hidden_no_poll():
assert "setInterval" not in init
def test_news_ticker_fills_news_only_dock():
css = HTML.split("</style>", 1)[0]
compact = css.replace(" ", "").replace("\n", "")
assert ".dock.news-only{height:32px;}" in compact
assert ".dock.news-only.ticker{height:100%;}" in compact
assert ".ticker{display:flex;align-items:stretch;height:50%;" in compact
def test_news_pins_are_circle_markers():
js = HTML.split("async function loadNewsPins", 1)[1].split("function refreshLiveOverlays", 1)[0]
assert "L.circleMarker" in js