2010-09-16 21:08:56 +08:00
|
|
|
/* required styles */
|
|
|
|
|
|
|
|
.leaflet-container {
|
|
|
|
overflow: hidden;
|
2010-09-27 22:45:48 +08:00
|
|
|
}
|
2010-09-16 21:08:56 +08:00
|
|
|
.leaflet-map-pane {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2010-09-27 22:45:48 +08:00
|
|
|
}
|
2011-01-10 19:05:14 +08:00
|
|
|
.leaflet-tile, .leaflet-marker-icon, .leaflet-marker-shadow {
|
2010-09-16 21:08:56 +08:00
|
|
|
-moz-user-select: none;
|
2010-09-16 21:59:14 +08:00
|
|
|
-webkit-user-select: none;
|
2011-01-10 19:05:14 +08:00
|
|
|
}
|
|
|
|
.leaflet-tile {
|
|
|
|
position: absolute;
|
2010-09-27 22:45:48 +08:00
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
.leaflet-tile-loaded {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
2010-12-15 23:14:15 +08:00
|
|
|
|
|
|
|
.leaflet-marker-icon, .leaflet-marker-shadow {
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.leaflet-clickable {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2010-12-16 01:55:57 +08:00
|
|
|
|
2010-09-16 21:08:56 +08:00
|
|
|
/* visual appearance */
|
|
|
|
|
|
|
|
.leaflet-container {
|
|
|
|
background: #ddd;
|
2010-12-16 01:55:57 +08:00
|
|
|
}
|
2011-01-10 19:05:14 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Popup layout */
|
|
|
|
|
2010-12-16 01:55:57 +08:00
|
|
|
.leaflet-popup {
|
2011-01-10 19:05:14 +08:00
|
|
|
position: absolute;
|
2010-12-16 01:55:57 +08:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.leaflet-popup-content {
|
|
|
|
padding: 0 15px;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
.leaflet-popup-tip-container {
|
|
|
|
margin: 0 auto;
|
2011-01-10 19:05:14 +08:00
|
|
|
width: 40px;
|
2010-12-16 01:55:57 +08:00
|
|
|
height: 15px;
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
.leaflet-popup-tip {
|
|
|
|
width: 15px;
|
|
|
|
height: 15px;
|
|
|
|
|
|
|
|
-moz-transform: rotate(45deg);
|
|
|
|
-webkit-transform: rotate(45deg);
|
|
|
|
-moz-transform-origin: 0 0;
|
|
|
|
-webkit-transform-origin: 0 0;
|
|
|
|
|
|
|
|
margin-top: -12px;
|
2011-01-10 19:05:14 +08:00
|
|
|
margin-left: 20px;
|
2010-12-16 01:55:57 +08:00
|
|
|
}
|
2011-01-10 19:05:14 +08:00
|
|
|
|
|
|
|
|
|
|
|
/* Popup appearance */
|
|
|
|
|
2010-12-16 01:55:57 +08:00
|
|
|
.leaflet-popup-content, .leaflet-popup-tip {
|
2011-01-10 19:05:14 +08:00
|
|
|
background: white;
|
2010-12-16 01:55:57 +08:00
|
|
|
border: 1px solid white;
|
2011-01-10 19:05:14 +08:00
|
|
|
-moz-box-shadow: 0px 0px 10px #888;
|
|
|
|
-webkit-box-shadow: 0px 0px 14px #999;
|
|
|
|
}
|
|
|
|
.leaflet-popup-content {
|
|
|
|
-moz-border-radius: 8px;
|
|
|
|
-webkit-border-radius: 8px;
|
|
|
|
border-radius: 8px;
|
2010-09-27 22:45:48 +08:00
|
|
|
}
|