124 lines
2.4 KiB
CSS
124 lines
2.4 KiB
CSS
/* required styles */
|
|
|
|
.leaflet-map-pane,
|
|
.leaflet-tile,
|
|
.leaflet-marker-icon,
|
|
.leaflet-marker-shadow {
|
|
position: absolute;
|
|
}
|
|
.leaflet-container {
|
|
overflow: hidden;
|
|
}
|
|
.leaflet-tile-pane {
|
|
-webkit-transform: translate3d(0,0,0);
|
|
}
|
|
.leaflet-tile,
|
|
.leaflet-marker-icon,
|
|
.leaflet-marker-shadow {
|
|
-moz-user-select: none;
|
|
-webkit-user-select: none;
|
|
}
|
|
.leaflet-tile {
|
|
visibility: hidden;
|
|
}
|
|
.leaflet-tile-loaded {
|
|
visibility: inherit;
|
|
}
|
|
.leaflet-marker-icon,
|
|
.leaflet-marker-shadow {
|
|
display: block;
|
|
}
|
|
.leaflet-clickable {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.leaflet-tile-pane,
|
|
.leaflet-overlay-pane,
|
|
.leaflet-shadow-pane,
|
|
.leaflet-marker-pane,
|
|
.leaflet-popup-pane {
|
|
position: relative;
|
|
}
|
|
|
|
.leaflet-tile-pane { z-index: 2; }
|
|
.leaflet-overlay-pane { z-index: 3; }
|
|
.leaflet-shadow-pane { z-index: 4; }
|
|
.leaflet-marker-pane { z-index: 5; }
|
|
.leaflet-popup-pane { z-index: 6; }
|
|
|
|
.leaflet-animating .leaflet-marker-pane,
|
|
.leaflet-animating .leaflet-shadow-pane,
|
|
.leaflet-animating .leaflet-popup-pane {
|
|
visibility: hidden;
|
|
}
|
|
|
|
|
|
/* Popup layout */
|
|
|
|
.leaflet-popup {
|
|
position: absolute;
|
|
text-align: center;
|
|
-webkit-transform: translate3d(0,0,0);
|
|
}
|
|
.leaflet-popup-content-wrapper {
|
|
padding: 1px;
|
|
text-align: left;
|
|
}
|
|
.leaflet-popup-content {
|
|
margin: 19px;
|
|
}
|
|
.leaflet-popup-tip-container {
|
|
margin: -1px auto 0;
|
|
width: 40px;
|
|
height: 16px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.leaflet-popup-tip {
|
|
width: 16px;
|
|
height: 16px;
|
|
padding: 1px;
|
|
|
|
-moz-transform: rotate(45deg);
|
|
-moz-transform-origin: 0 0;
|
|
|
|
-webkit-transform: rotate(45deg);
|
|
-webkit-transform-origin: 0 0;
|
|
|
|
margin-top: -12px;
|
|
margin-left: 20px;
|
|
}
|
|
.leaflet-popup-close-button {
|
|
position: absolute;
|
|
top: 9px;
|
|
right: 9px;
|
|
width: 8px;
|
|
height: 8px;
|
|
padding: 1px;
|
|
}
|
|
.leaflet-popup-content p {
|
|
margin: 18px 0;
|
|
}
|
|
|
|
|
|
/* Visual appearance, feel free to override */
|
|
|
|
.leaflet-container {
|
|
background: #ddd;
|
|
}
|
|
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
|
|
background: white;
|
|
-moz-box-shadow: 0 1px 10px #888;
|
|
-webkit-box-shadow: 0 1px 14px #999;
|
|
}
|
|
.leaflet-popup-content-wrapper {
|
|
-moz-border-radius: 20px;
|
|
-webkit-border-radius: 20px;
|
|
border-radius: 20px;
|
|
}
|
|
.leaflet-popup-content {
|
|
font: 12px/1.4 Arial, Helvetica, sans-serif;
|
|
}
|
|
.leaflet-popup-close-button {
|
|
background: white url(images/popup-close.png);
|
|
} |