Various map styling fixes (#278)

Addresses #182, #291, #273 and #191 

In particular:
* Removes zoom fading for now
* adds legend
* Styles mapbox popup correctly
* Styles zoom control
* Adds feature borders at higher zoom levels
This commit is contained in:
Nat Hillard 2021-07-01 12:57:59 -04:00 committed by GitHub
commit beac44ef20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 236 additions and 187 deletions

View file

@ -3,31 +3,12 @@ $sidebar-color: #ffffff;
.mapContainer {
height: 676px;
margin-bottom: 29px;
max-width: revert;
margin-top: 50px;
}
.sidebar {
background-color: $sidebar-background;
color: $sidebar-color;
padding: 6px 12px;
font-family: monospace;
z-index: 1;
position: absolute;
top: 300px;
left: 0;
margin: 12px;
border-radius: 4px;
}
.j40Popup {
max-height: 300px;
max-width: 300px;
overflow: scroll;
min-width: 36%;
max-width: 36%;
overflow-y: scroll;
pointer-events: all !important;
}
.j40Popup .mapboxgl-popup-content {
pointer-events: all;
}