X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/8435b1bf60e0b4e2de092213ad6965793c6db190..cc7753896cd036d2ec2fca847ad7674be128c39d:/app/assets/stylesheets/leaflet.zoom.css.scss diff --git a/app/assets/stylesheets/leaflet.zoom.css.scss b/app/assets/stylesheets/leaflet.zoom.css.scss new file mode 100644 index 000000000..1482e359a --- /dev/null +++ b/app/assets/stylesheets/leaflet.zoom.css.scss @@ -0,0 +1,46 @@ +.leaflet-control-zoomslider-in, +.leaflet-control-zoomslider-out, +.leaflet-control-zoomslider-slider, +.leaflet-control-zoomslider-slider-knob { + background-image: image-url("map_sprite.png"); + position: absolute; + background-repeat: no-repeat; + cursor: hand; + cursor: pointer; +} + +.leaflet-control-zoomslider-in { + top: 50px; + width: 26px; + height: 20px; + left: 10px; + background-position: -15px -61px; +} + +.leaflet-control-zoomslider-out { + top: 202px; + width: 26px; + height: 20px; + left: 10px; + background-position: -15px -220px; +} + +.leaflet-control-zoomslider-slider { + top: 70px; + width: 26px; + height: 132px; + left: 10px; + background-position: -15px -84px; +} + +.leaflet-control-zoomslider-slider-knob { + top: 0px; + width: 25px; + height: 10px; + -webkit-transition: top 100ms linear; + -moz-transition: top 100ms linear; + -o-transition: top 100ms linear; + background-position: -77px -58px; + pointer: move; + cursor: move; +}