blokmap/css/map.css

136 lines
1.8 KiB
CSS
Raw Normal View History

2014-12-09 19:54:50 +01:00
html, body {
margin: 0px;
padding: 0px;
width: 100%;
height: 100%;
}
#map {
width: 100%;
height: 100%;
}
2014-12-09 20:44:33 +01:00
.leaflet-popup-content-wrapper,
2014-12-09 20:53:19 +01:00
.leaflet-control-zoom {
2014-12-09 19:54:50 +01:00
border-radius: 0px;
}
2014-12-09 21:11:31 +01:00
.leaflet-popup-content-wrapper {
2014-12-10 22:26:09 +01:00
width: 600px;
max-height: 400px;
overflow-y:auto
}
.leaflet-popup-content {
width:auto !important;
2014-12-09 21:11:31 +01:00
}
2014-12-11 15:32:31 +01:00
a img {
border: none;
}
2014-12-10 15:59:49 +01:00
h4 {
margin-top: 5px;
margin-bottom: 5px;
}
table {
padding-bottom: 10px;
border-spacing: 0;
2014-12-10 22:26:09 +01:00
width: 100%
}
.desktop tr td {
padding-right: 5px;
width: 75;
2014-12-11 21:03:08 +01:00
vertical-align: top;
2014-12-10 15:59:49 +01:00
}
2014-12-10 19:10:08 +01:00
2014-12-10 22:26:09 +01:00
.mobile tr td:first-child {
2014-12-10 15:59:49 +01:00
padding: 0;
padding-right: 10px;
2014-12-09 21:11:31 +01:00
}
2014-12-10 14:00:57 +01:00
2014-12-10 22:26:09 +01:00
.mobile tr:nth-child(2n) {
2014-12-10 19:10:08 +01:00
background: rgb(244,244,244);
}
2014-12-10 14:00:57 +01:00
.info {
padding: 6px 8px;
font: 14px/16px Arial, Helvetica, sans-serif;
background: white;
2014-12-10 14:02:26 +01:00
background: rgba(255,255,255,0.0);
2014-12-11 21:36:36 +01:00
}
2014-12-11 22:12:20 +01:00
#zeus {
padding-left: 10px;
}
2014-12-11 21:36:36 +01:00
.legend {
2014-12-12 00:05:16 +01:00
height: 52px;
width: 130px;
background-color: #fff;
box-shadow: 0 1px 5px rgba(0,0,0,0.65);
2014-12-10 14:38:15 +01:00
}
2015-12-24 17:50:50 +01:00
.holiday-legend {
height: 72px;
2015-12-25 13:22:55 +01:00
width: 145px;
2015-12-24 17:50:50 +01:00
background-color: #fff;
box-shadow: 0 1px 5px rgba(0,0,0,0.65);
}
.legend .holiday {
display: none;
}
2014-12-10 14:38:15 +01:00
.type {
2014-12-10 19:10:08 +01:00
position: absolute;
2014-12-10 14:38:15 +01:00
top: 15px;
right: 15px;
2014-12-10 14:00:57 +01:00
}
2014-12-10 22:26:09 +01: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;
}
}
2014-12-11 21:50:17 +01:00
@media screen and (max-width: 800px) {
2014-12-11 22:12:20 +01:00
.info {
max-width: 90px;s
}
2014-12-11 21:50:17 +01:00
#schamper {
width: 90px;
}
#zeus {
width: 75px;
}
}
2014-12-10 22:26:09 +01:00
@media screen and (max-height: 400px) {
.leaflet-popup-content-wrapper {
max-height: 150px;
}
}