Update Leaflet.contextmenu to the 1.2.1 release

This commit is contained in:
Tom Hughes 2017-02-12 15:50:23 +00:00
parent e58a5c69d3
commit e4f1588aa1
3 changed files with 585 additions and 12 deletions

View file

@ -20,7 +20,7 @@ folder 'vendor/assets' do
file "images/#{image}", "https://unpkg.com/leaflet@1.0.3/dist/images/#{image}"
end
from 'git://github.com/aratcliffe/Leaflet.contextmenu.git' do
from 'git://github.com/aratcliffe/Leaflet.contextmenu.git', :tag => 'v1.2.1' do
file 'leaflet.contextmenu.js', 'dist/leaflet.contextmenu.js'
file 'leaflet.contextmenu.css', 'dist/leaflet.contextmenu.css'
end

View file

@ -1,14 +1,14 @@
.leaflet-contextmenu {
display: none;
box-shadow: 0 1px 7px rgba(0,0,0,0.4);
-webkit-border-radius: 4px;
border-radius: 4px;
box-shadow: 0 1px 7px rgba(0,0,0,0.4);
-webkit-border-radius: 4px;
border-radius: 4px;
padding: 4px 0;
background-color: #fff;
cursor: default;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
.leaflet-contextmenu a.leaflet-contextmenu-item {
@ -51,4 +51,4 @@
.leaflet-contextmenu-separator {
border-bottom: 1px solid #ccc;
margin: 5px 0;
}
}

File diff suppressed because one or more lines are too long