diff --git a/web/static/app.css b/web/static/app.css index 3f1367a..2dec58f 100644 --- a/web/static/app.css +++ b/web/static/app.css @@ -142,12 +142,13 @@ body:has(#v_map:checked) .view-map { display: block; } animation: lightbox-fade .15s ease-out; } .lightbox-image { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.5); - background: #0c1726; } -.lightbox button { background: rgba(255,255,255,.08); color: #fff; border: 0; + background: #0c1726; position: relative; z-index: 1; } +.lightbox button { background: rgba(0, 0, 0, .55); color: #fff; border: 0; border-radius: 9999px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; - transition: background .15s, transform .05s; padding: 0; } -.lightbox button:hover { background: rgba(255,255,255,.22); } + transition: background .15s, transform .05s; padding: 0; + z-index: 2; } +.lightbox button:hover { background: rgba(0, 0, 0, .8); } .lightbox button:active { transform: scale(.96); } .lightbox-close { position: absolute; top: 1.25rem; right: 1.25rem; width: 2.5rem; height: 2.5rem; } diff --git a/web/static/app.js b/web/static/app.js index 67dbfbe..cc2105d 100644 --- a/web/static/app.js +++ b/web/static/app.js @@ -90,11 +90,6 @@ document.addEventListener("click", (ev) => { .then((html) => { pane.innerHTML = html; pane.dataset.loaded = "1"; - // DEBUG(lightbox): confirm fetched partial actually contains