leaflet update, to version 0.6.3 stable

This commit is contained in:
Jon Atkins
2013-07-19 23:38:00 +01:00
parent dbc6ef18df
commit fa2e0cdad5
5 changed files with 527 additions and 324 deletions

32
external/leaflet.css vendored
View File

@ -53,6 +53,10 @@
width: 0;
height: 0;
}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
-moz-user-select: none;
}
.leaflet-tile-pane { z-index: 2; }
.leaflet-objects-pane { z-index: 3; }
@ -197,7 +201,7 @@
-webkit-border-radius: 4px;
border-radius: 4px;
}
.leaflet-bar a {
.leaflet-bar a, .leaflet-bar a:hover {
background-color: #fff;
border-bottom: 1px solid #ccc;
width: 26px;
@ -283,14 +287,18 @@
.leaflet-control-layers {
box-shadow: 0 1px 7px rgba(0,0,0,0.4);
background: #f8f8f9;
-webkit-border-radius: 8px;
border-radius: 8px;
-webkit-border-radius: 5px;
border-radius: 5px;
}
.leaflet-control-layers-toggle {
background-image: url(@@INCLUDEIMAGE:images/layers.png@@);
width: 36px;
height: 36px;
}
.leaflet-retina .leaflet-control-layers-toggle {
background-image: url(@@INCLUDEIMAGE:images/layers-2x.png@@);
background-size: 26px 26px;
}
.leaflet-touch .leaflet-control-layers-toggle {
width: 44px;
height: 44px;
@ -370,11 +378,11 @@
.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-control-zoom {
.leaflet-touch .leaflet-bar {
box-shadow: none;
}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-control-zoom {
.leaflet-touch .leaflet-bar {
border: 4px solid rgba(0,0,0,0.3);
}
@ -388,11 +396,11 @@
.leaflet-popup-content-wrapper {
padding: 1px;
text-align: left;
-webkit-border-radius: 20px;
border-radius: 20px;
-webkit-border-radius: 12px;
border-radius: 12px;
}
.leaflet-popup-content {
margin: 14px 20px;
margin: 13px 19px;
line-height: 1.4;
}
.leaflet-popup-content p {
@ -406,11 +414,11 @@
overflow: hidden;
}
.leaflet-popup-tip {
width: 15px;
height: 15px;
width: 17px;
height: 17px;
padding: 1px;
margin: -8px auto 0;
margin: -10px auto 0;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
@ -427,7 +435,7 @@
position: absolute;
top: 0;
right: 0;
padding: 4px 5px 0 0;
padding: 4px 4px 0 0;
text-align: center;
width: 18px;
height: 14px;