leaflet update, to version 0.6.3 stable
This commit is contained in:
808
external/leaflet-src.js
vendored
808
external/leaflet-src.js
vendored
File diff suppressed because it is too large
Load Diff
32
external/leaflet.css
vendored
32
external/leaflet.css
vendored
@ -53,6 +53,10 @@
|
|||||||
width: 0;
|
width: 0;
|
||||||
height: 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-tile-pane { z-index: 2; }
|
||||||
.leaflet-objects-pane { z-index: 3; }
|
.leaflet-objects-pane { z-index: 3; }
|
||||||
@ -197,7 +201,7 @@
|
|||||||
-webkit-border-radius: 4px;
|
-webkit-border-radius: 4px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
.leaflet-bar a {
|
.leaflet-bar a, .leaflet-bar a:hover {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border-bottom: 1px solid #ccc;
|
border-bottom: 1px solid #ccc;
|
||||||
width: 26px;
|
width: 26px;
|
||||||
@ -283,14 +287,18 @@
|
|||||||
.leaflet-control-layers {
|
.leaflet-control-layers {
|
||||||
box-shadow: 0 1px 7px rgba(0,0,0,0.4);
|
box-shadow: 0 1px 7px rgba(0,0,0,0.4);
|
||||||
background: #f8f8f9;
|
background: #f8f8f9;
|
||||||
-webkit-border-radius: 8px;
|
-webkit-border-radius: 5px;
|
||||||
border-radius: 8px;
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
.leaflet-control-layers-toggle {
|
.leaflet-control-layers-toggle {
|
||||||
background-image: url(@@INCLUDEIMAGE:images/layers.png@@);
|
background-image: url(@@INCLUDEIMAGE:images/layers.png@@);
|
||||||
width: 36px;
|
width: 36px;
|
||||||
height: 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 {
|
.leaflet-touch .leaflet-control-layers-toggle {
|
||||||
width: 44px;
|
width: 44px;
|
||||||
height: 44px;
|
height: 44px;
|
||||||
@ -370,11 +378,11 @@
|
|||||||
|
|
||||||
.leaflet-touch .leaflet-control-attribution,
|
.leaflet-touch .leaflet-control-attribution,
|
||||||
.leaflet-touch .leaflet-control-layers,
|
.leaflet-touch .leaflet-control-layers,
|
||||||
.leaflet-touch .leaflet-control-zoom {
|
.leaflet-touch .leaflet-bar {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
.leaflet-touch .leaflet-control-layers,
|
.leaflet-touch .leaflet-control-layers,
|
||||||
.leaflet-touch .leaflet-control-zoom {
|
.leaflet-touch .leaflet-bar {
|
||||||
border: 4px solid rgba(0,0,0,0.3);
|
border: 4px solid rgba(0,0,0,0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -388,11 +396,11 @@
|
|||||||
.leaflet-popup-content-wrapper {
|
.leaflet-popup-content-wrapper {
|
||||||
padding: 1px;
|
padding: 1px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
-webkit-border-radius: 20px;
|
-webkit-border-radius: 12px;
|
||||||
border-radius: 20px;
|
border-radius: 12px;
|
||||||
}
|
}
|
||||||
.leaflet-popup-content {
|
.leaflet-popup-content {
|
||||||
margin: 14px 20px;
|
margin: 13px 19px;
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
}
|
}
|
||||||
.leaflet-popup-content p {
|
.leaflet-popup-content p {
|
||||||
@ -406,11 +414,11 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.leaflet-popup-tip {
|
.leaflet-popup-tip {
|
||||||
width: 15px;
|
width: 17px;
|
||||||
height: 15px;
|
height: 17px;
|
||||||
padding: 1px;
|
padding: 1px;
|
||||||
|
|
||||||
margin: -8px auto 0;
|
margin: -10px auto 0;
|
||||||
|
|
||||||
-webkit-transform: rotate(45deg);
|
-webkit-transform: rotate(45deg);
|
||||||
-moz-transform: rotate(45deg);
|
-moz-transform: rotate(45deg);
|
||||||
@ -427,7 +435,7 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
padding: 4px 5px 0 0;
|
padding: 4px 4px 0 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 18px;
|
width: 18px;
|
||||||
height: 14px;
|
height: 14px;
|
||||||
|
11
external/leaflet.js
vendored
11
external/leaflet.js
vendored
File diff suppressed because one or more lines are too long
BIN
images/layers-2x.png
Normal file
BIN
images/layers-2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.8 KiB |
Binary file not shown.
Before Width: | Height: | Size: 973 B After Width: | Height: | Size: 1.5 KiB |
Reference in New Issue
Block a user