update leaflet-draw to 0.2.1

(unmodified, except for image paths in css. geodesic changes in next commit)
note: non-minified version this time, to aid any future modifications
This commit is contained in:
Jon Atkins
2013-09-24 07:42:17 +01:00
parent 96382a8262
commit 8d42cdea00
4 changed files with 2697 additions and 7 deletions

View File

@ -27,6 +27,11 @@
background-repeat: no-repeat; background-repeat: no-repeat;
} }
.leaflet-retina .leaflet-draw-toolbar a {
background-image: url(@@INCLUDEIMAGE:images/draw-spritesheet-2x.png@@);
background-size: 210px 30px;
}
.leaflet-draw a { .leaflet-draw a {
display: block; display: block;
text-align: center; text-align: center;
@ -47,8 +52,13 @@
top: 0; top: 0;
} }
.leaflet-right .leaflet-draw-actions {
right:26px;
left:auto;
}
.leaflet-draw-actions li { .leaflet-draw-actions li {
float: left; display: inline-block;
} }
.leaflet-draw-actions li:first-child a { .leaflet-draw-actions li:first-child a {
@ -60,6 +70,16 @@
border-radius: 0 4px 4px 0; border-radius: 0 4px 4px 0;
} }
.leaflet-right .leaflet-draw-actions li:last-child a {
-webkit-border-radius: 0;
border-radius: 0;
}
.leaflet-right .leaflet-draw-actions li:first-child a {
-webkit-border-radius: 4px 0 0 4px;
border-radius: 4px 0 0 4px;
}
.leaflet-draw-actions a { .leaflet-draw-actions a {
background-color: #919187; background-color: #919187;
border-left: 1px solid #AAA; border-left: 1px solid #AAA;
@ -67,7 +87,8 @@
font: 11px/19px "Helvetica Neue", Arial, Helvetica, sans-serif; font: 11px/19px "Helvetica Neue", Arial, Helvetica, sans-serif;
line-height: 28px; line-height: 28px;
text-decoration: none; text-decoration: none;
width: 50px; padding-left: 10px;
padding-right: 10px;
height: 28px; height: 28px;
} }
@ -77,6 +98,7 @@
.leaflet-draw-actions-top { .leaflet-draw-actions-top {
margin-top: 1px; margin-top: 1px;
white-space: nowrap;
} }
.leaflet-draw-actions-top a, .leaflet-draw-actions-top a,

2678
external/leaflet.draw.js vendored

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 819 B