Make feature information modal semi-transparent like sidebar panels #16

Closed
opened 2026-07-23 09:42:44 +00:00 by jfig · 0 comments
Owner

Request

Update the feature information modal to use the same semi-transparent/glass-panel treatment as the sidebar boxes and map controls.

The modal currently has an opaque dialog background:

  • .feature-modal-dialog uses background: #fffefb in styles.css.
  • Sidebar panels use the shared semi-transparent var(--panel), border, shadow, and backdrop blur.

This request follows the existing feature-information work in #9.

Proposed treatment

  • Use var(--panel) or an equivalent translucent background for .feature-modal-dialog.
  • Match the sidebar panels' border, blur, radius, and shadow language.
  • Keep the modal text, close button, and feature details readable over all supported basemaps.
  • Preserve the darker modal backdrop and existing modal focus/close behavior.
  • Verify the appearance on desktop and small screens.

Acceptance criteria

  • The feature information dialog is visibly semi-transparent, with the map/background subtly visible through it.
  • Its styling is visually consistent with the sidebar panels and map controls.
  • Text and controls meet the existing contrast/readability expectations.
  • The modal remains usable when the map is rotated and on narrow screens.
  • Existing open, close, Escape, and backdrop-click behavior is unchanged.
## Request Update the feature information modal to use the same semi-transparent/glass-panel treatment as the sidebar boxes and map controls. The modal currently has an opaque dialog background: - `.feature-modal-dialog` uses `background: #fffefb` in `styles.css`. - Sidebar panels use the shared semi-transparent `var(--panel)`, border, shadow, and backdrop blur. This request follows the existing feature-information work in #9. ## Proposed treatment - Use `var(--panel)` or an equivalent translucent background for `.feature-modal-dialog`. - Match the sidebar panels' border, blur, radius, and shadow language. - Keep the modal text, close button, and feature details readable over all supported basemaps. - Preserve the darker modal backdrop and existing modal focus/close behavior. - Verify the appearance on desktop and small screens. ## Acceptance criteria - The feature information dialog is visibly semi-transparent, with the map/background subtly visible through it. - Its styling is visually consistent with the sidebar panels and map controls. - Text and controls meet the existing contrast/readability expectations. - The modal remains usable when the map is rotated and on narrow screens. - Existing open, close, Escape, and backdrop-click behavior is unchanged.
jfig added the Kind/Enhancement label 2026-07-23 09:42:44 +00:00
jfig closed this issue 2026-07-24 02:33:33 +00:00
Sign in to join this conversation.