Leaflet/dist/leaflet.css
2011-01-12 16:51:00 +02:00

103 lines
1.9 KiB
CSS

/* required styles */
.leaflet-map-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
position: absolute;
}
.leaflet-container {
overflow: hidden;
}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
-moz-user-select: none;
-webkit-user-select: none;
}
.leaflet-tile {
visibility: hidden;
}
.leaflet-tile-loaded {
visibility: visible;
}
.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: 1; }
.leaflet-overlay-pane { z-index: 2; }
.leaflet-shadow-pane { z-index: 3; }
.leaflet-marker-pane { z-index: 4; }
.leaflet-popup-pane { z-index: 5; }
/* Popup layout */
.leaflet-popup {
position: absolute;
text-align: center;
-webkit-transform: translate3d(0,0,0);
}
.leaflet-popup-content {
padding: 0 20px;
text-align: left;
}
.leaflet-popup-tip-container {
margin: -1px auto 0;
width: 40px;
height: 16px;
position: relative;
overflow: hidden;
}
.leaflet-popup-tip {
width: 16px;
height: 16px;
-moz-transform: rotate(45deg);
-moz-transform-origin: 0 0;
-webkit-transform: rotate(45deg);
-webkit-transform-origin: 0 0;
margin-top: -12px;
margin-left: 20px;
}
/* Visual appearance, feel free to override */
.leaflet-container {
background: #ddd;
}
.leaflet-popup-content, .leaflet-popup-tip {
background: white;
border: 1px solid white;
-moz-box-shadow: 0 1px 10px #888;
-webkit-box-shadow: 0 1px 14px #999;
}
.leaflet-popup-content {
-moz-border-radius: 20px;
-webkit-border-radius: 20px;
border-radius: 20px;
}
.leaflet-popup-content {
font: 12px/1.4 Arial, Helvetica, sans-serif;
}
.leaflet-popup-content p {
margin: 18px 0;
}