95 lines
1.3 KiB
CSS
95 lines
1.3 KiB
CSS
html, body {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
#map {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.leaflet-popup-content-wrapper,
|
|
.leaflet-control-zoom {
|
|
border-radius: 0px;
|
|
}
|
|
|
|
|
|
.leaflet-popup-content-wrapper {
|
|
width: 600px;
|
|
max-height: 400px;
|
|
overflow-y:auto
|
|
}
|
|
|
|
.leaflet-popup-content {
|
|
width:auto !important;
|
|
}
|
|
|
|
h4 {
|
|
margin-top: 5px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
table {
|
|
padding-bottom: 10px;
|
|
border-spacing: 0;
|
|
width: 100%
|
|
}
|
|
|
|
.desktop tr td {
|
|
padding-right: 5px;
|
|
width: 75;
|
|
}
|
|
|
|
.mobile tr td:first-child {
|
|
padding: 0;
|
|
padding-right: 10px;
|
|
}
|
|
|
|
.mobile tr:nth-child(2n) {
|
|
background: rgb(244,244,244);
|
|
}
|
|
|
|
.info {
|
|
padding: 6px 8px;
|
|
font: 14px/16px Arial, Helvetica, sans-serif;
|
|
background: white;
|
|
background: rgba(255,255,255,0.0);
|
|
}
|
|
|
|
.type {
|
|
position: absolute;
|
|
top: 15px;
|
|
right: 15px;
|
|
}
|
|
|
|
|
|
.mobile {
|
|
display: none;
|
|
}
|
|
|
|
@media screen and (max-width: 1000px) {
|
|
.leaflet-popup-content-wrapper {
|
|
width: 250px;
|
|
}
|
|
|
|
.desktop {
|
|
display: none;
|
|
}
|
|
|
|
.mobile {
|
|
display: block;
|
|
width: 213px;
|
|
}
|
|
|
|
h3, .text {
|
|
max-width: 150px;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-height: 400px) {
|
|
.leaflet-popup-content-wrapper {
|
|
max-height: 150px;
|
|
}
|
|
}
|