vendor/assets/stylesheets/leaflet.css.erb in leaflet-rails-1.0.3 vs vendor/assets/stylesheets/leaflet.css.erb in leaflet-rails-1.1.0

- old
+ new

@@ -62,10 +62,16 @@ } .leaflet-container.leaflet-touch-drag.leaflet-touch-zoom { -ms-touch-action: none; touch-action: none; } +.leaflet-container { + -webkit-tap-highlight-color: transparent; +} +.leaflet-container a { + -webkit-tap-highlight-color: rgba(51, 181, 229, 0.4); +} .leaflet-tile { filter: inherit; visibility: hidden; } .leaflet-tile-loaded { @@ -305,27 +311,28 @@ .leaflet-touch .leaflet-bar a { width: 30px; height: 30px; line-height: 30px; } +.leaflet-touch .leaflet-bar a:first-child { + border-top-left-radius: 2px; + border-top-right-radius: 2px; + } +.leaflet-touch .leaflet-bar a:last-child { + border-bottom-left-radius: 2px; + border-bottom-right-radius: 2px; + } - /* zoom control */ .leaflet-control-zoom-in, .leaflet-control-zoom-out { font: bold 18px 'Lucida Console', Monaco, monospace; text-indent: 1px; } -.leaflet-control-zoom-out { - font-size: 20px; - } -.leaflet-touch .leaflet-control-zoom-in { +.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out { font-size: 22px; - } -.leaflet-touch .leaflet-control-zoom-out { - font-size: 24px; } /* layers control */