blokmap/map.css

115 lines
1.5 KiB
CSS
Raw Normal View History

2014-12-09 18:54:50 +00:00
html, body {
margin: 0px;
padding: 0px;
width: 100%;
height: 100%;
}
#map {
width: 100%;
height: 100%;
}
2014-12-09 19:44:33 +00:00
.leaflet-popup-content-wrapper,
2014-12-09 19:53:19 +00:00
.leaflet-control-zoom {
2014-12-09 18:54:50 +00:00
border-radius: 0px;
}
2014-12-09 20:11:31 +00:00
2014-12-10 23:29:18 +00:00
.leaflet-map-pane {
z-index: 2 !important;
}
.leaflet-google-layer {
z-index: 1 !important;
}
2014-12-10 21:26:09 +00:00
2014-12-09 20:11:31 +00:00
.leaflet-popup-content-wrapper {
2014-12-10 21:26:09 +00:00
width: 600px;
max-height: 400px;
overflow-y:auto
}
.leaflet-popup-content {
width:auto !important;
2014-12-09 20:11:31 +00:00
}
.leaflet-control-attribution {
2014-12-11 09:23:08 +00:00
bottom: -5px;
}
2014-12-11 14:32:31 +00:00
div.leaflet-top.leaflet-right {
z-index:1;
}
a img {
border: none;
}
2014-12-10 14:59:49 +00:00
h4 {
margin-top: 5px;
margin-bottom: 5px;
}
table {
padding-bottom: 10px;
border-spacing: 0;
2014-12-10 21:26:09 +00:00
width: 100%
}
.desktop tr td {
padding-right: 5px;
width: 75;
2014-12-10 14:59:49 +00:00
}
2014-12-10 18:10:08 +00:00
2014-12-10 21:26:09 +00:00
.mobile tr td:first-child {
2014-12-10 14:59:49 +00:00
padding: 0;
padding-right: 10px;
2014-12-09 20:11:31 +00:00
}
2014-12-10 13:00:57 +00:00
2014-12-10 21:26:09 +00:00
.mobile tr:nth-child(2n) {
2014-12-10 18:10:08 +00:00
background: rgb(244,244,244);
}
2014-12-10 13:00:57 +00:00
.info {
padding: 6px 8px;
font: 14px/16px Arial, Helvetica, sans-serif;
background: white;
2014-12-10 13:02:26 +00:00
background: rgba(255,255,255,0.0);
2014-12-10 13:38:15 +00:00
}
.type {
2014-12-10 18:10:08 +00:00
position: absolute;
2014-12-10 13:38:15 +00:00
top: 15px;
right: 15px;
2014-12-10 13:00:57 +00:00
}
2014-12-10 21:26:09 +00:00
.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;
}
}