NPS park maps overlay: park points and map footprints, a park search, a park popup listing its Harpers Ferry Center maps with local PDF/GeoTIFF links, and the 289 georeferenced ones laid over the base map with an opacity slider; data from data/nps served by /api/nps and /nps/{overlay,geotiff,pdf}
This commit is contained in:
1 parent
ff5924faf1
commit
3fc8c75c60
8 files changed
+421
-6
No files matched your search
@@ -2885,3 +2885,111 @@ body.side-pinned:has(.basemap-panel:not([hidden]), .gpx-panel:not([hidden])) .pr
|
||||
font-weight: normal;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
/* NPS park maps overlay (nps.js): park search, the shown map's opacity, and
|
||||
the park popup listing its maps. */
|
||||
.nps-panel {
|
||||
margin: 6px 0 0 26px;
|
||||
}
|
||||
|
||||
.nps-panel__search {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 5px 8px;
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
.nps-panel__results {
|
||||
list-style: none;
|
||||
margin: 2px 0 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.nps-panel__results button {
|
||||
width: 100%;
|
||||
padding: 5px 6px;
|
||||
border: none;
|
||||
background: none;
|
||||
font: inherit;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.nps-panel__results button:hover {
|
||||
background: var(--accent-bg);
|
||||
}
|
||||
|
||||
.nps-panel__results small,
|
||||
.nps-panel__none {
|
||||
color: #888;
|
||||
}
|
||||
|
||||
.nps-panel__shown {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 4px 8px;
|
||||
margin-top: 6px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.nps-panel__shown[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.nps-panel__shown-title {
|
||||
flex-basis: 100%;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.nps-panel__hide {
|
||||
border: none;
|
||||
background: none;
|
||||
color: #a33;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.nps-popup ul {
|
||||
list-style: none;
|
||||
margin: 6px 0 0;
|
||||
padding: 0;
|
||||
max-height: 260px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.nps-popup li {
|
||||
padding: 4px 0;
|
||||
border-top: 1px solid #eee;
|
||||
}
|
||||
|
||||
.nps-popup__title {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.nps-popup__links {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 4px 10px;
|
||||
margin-top: 2px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.nps-popup__links a {
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.nps-popup__links button {
|
||||
padding: 2px 8px;
|
||||
border: 1px solid var(--accent);
|
||||
border-radius: 4px;
|
||||
background: #fff;
|
||||
color: var(--accent);
|
||||
font: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.nps-popup__links button.active {
|
||||
background: var(--accent);
|
||||
color: #fff;
|
||||
}
|
||||
Reference in new issue
Block a user