2018-10-02 16:47:59 -04:00
|
|
|
/**
|
|
|
|
* Map legend
|
|
|
|
*/
|
2018-12-03 04:35:14 -05:00
|
|
|
.map-legend {
|
|
|
|
position: absolute;
|
2019-09-04 15:47:29 -04:00
|
|
|
bottom: 2.5rem;
|
2018-12-03 04:35:14 -05:00
|
|
|
right: 10px;
|
2019-09-04 15:47:29 -04:00
|
|
|
z-index: 1000;
|
|
|
|
|
2019-01-22 16:55:03 -05:00
|
|
|
min-width: 12rem;
|
2019-09-04 15:47:29 -04:00
|
|
|
max-height: 50%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
2018-12-03 04:35:14 -05:00
|
|
|
background: white;
|
|
|
|
border-radius: 4px;
|
2019-01-22 16:23:35 -05:00
|
|
|
padding: 0.5rem 0rem 0.25rem;
|
2019-01-19 14:06:26 -05:00
|
|
|
border: 1px solid #fff;
|
|
|
|
box-shadow: 0px 0px 1px 1px #222222;
|
2018-12-03 04:35:14 -05:00
|
|
|
}
|
2019-09-04 15:47:29 -04:00
|
|
|
|
|
|
|
.map-legend * {
|
|
|
|
flex: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.map-legend .logo {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
.map-legend .logo {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Prevent legend from overlapping with attribution */
|
|
|
|
@media (min-width: 706px){
|
|
|
|
.map-legend {
|
|
|
|
bottom: 1.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
2018-12-03 05:21:00 -05:00
|
|
|
.map-legend {
|
2019-09-04 15:47:29 -04:00
|
|
|
bottom: 2.5rem;
|
2018-12-03 05:21:00 -05:00
|
|
|
}
|
|
|
|
}
|
2019-09-04 15:47:29 -04:00
|
|
|
@media (min-width: 1072px){
|
2018-12-03 05:21:00 -05:00
|
|
|
.map-legend {
|
2019-09-04 15:47:29 -04:00
|
|
|
bottom: 1.5rem;
|
2018-12-03 05:21:00 -05:00
|
|
|
}
|
|
|
|
}
|
2019-09-04 15:47:29 -04:00
|
|
|
|
2019-01-22 16:55:03 -05:00
|
|
|
.map-legend .h4,
|
|
|
|
.map-legend p,
|
2018-10-02 16:47:59 -04:00
|
|
|
.data-legend {
|
2018-12-03 05:21:00 -05:00
|
|
|
padding: 0 0.5rem;
|
|
|
|
}
|
2019-01-22 16:55:03 -05:00
|
|
|
.map-legend p {
|
|
|
|
margin: 0.25rem 0 0.5rem;
|
|
|
|
}
|
2018-12-03 05:21:00 -05:00
|
|
|
.data-legend {
|
2019-09-18 07:38:11 -04:00
|
|
|
overflow: auto;
|
2018-10-02 16:47:59 -04:00
|
|
|
list-style: none;
|
2018-12-03 05:21:00 -05:00
|
|
|
margin-bottom: 0;
|
2019-09-04 15:47:29 -04:00
|
|
|
flex: 1;
|
2018-10-02 16:47:59 -04:00
|
|
|
}
|
2019-09-04 15:47:29 -04:00
|
|
|
|
2018-10-02 16:47:59 -04:00
|
|
|
.data-legend .key {
|
|
|
|
display: inline-block;
|
2019-01-22 14:43:53 -05:00
|
|
|
width: 1.3rem;
|
|
|
|
height: 1.3rem;
|
2018-10-02 16:47:59 -04:00
|
|
|
text-indent: -30px;
|
|
|
|
margin: 0.125rem 0.5rem 0.125rem 0;
|
|
|
|
vertical-align: middle;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2018-12-03 05:21:00 -05:00
|
|
|
.map-legend .data-intro {
|
|
|
|
padding: 0 0.5rem;
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
2019-06-06 12:35:30 -04:00
|
|
|
.expander-button {
|
2019-09-04 15:47:29 -04:00
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 1rem;
|
2019-09-18 09:52:21 -04:00
|
|
|
right: 0.5rem;
|
2019-09-04 15:47:29 -04:00
|
|
|
|
|
|
|
height: 1rem;
|
|
|
|
width: 1rem;
|
|
|
|
line-height: 0.5;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.expander-button:focus,
|
|
|
|
.expander-button:active,
|
|
|
|
.expander-button:hover {
|
|
|
|
box-shadow: none;
|
2019-06-06 12:35:30 -04:00
|
|
|
}
|
2019-09-05 08:33:20 -04:00
|
|
|
@media (min-height: 670px) and (min-width: 880px) {
|
2019-06-06 12:35:30 -04:00
|
|
|
.expander-button {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
}
|
2019-09-05 08:33:20 -04:00
|
|
|
|
|
|
|
.map-legend .logo {
|
|
|
|
padding: 0 0.5rem 0.5rem;
|
|
|
|
}
|
|
|
|
.map-legend .logo .logotype {
|
|
|
|
font-size: 1.9rem;
|
|
|
|
margin-bottom: -2px;
|
|
|
|
}
|
|
|
|
.map-legend .logo .cell {
|
|
|
|
height: 12px;
|
|
|
|
width: 12px;
|
|
|
|
}
|