X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/78f608b114c05f1147936a57b930831e28000c1a..ef37ad8aaac510d34ccf7f14589c2584fc2b63ac:/app/assets/stylesheets/leaflet-all.css.scss diff --git a/app/assets/stylesheets/leaflet-all.css.scss b/app/assets/stylesheets/leaflet-all.css.scss index 3d9c381c0..dd84f6cff 100644 --- a/app/assets/stylesheets/leaflet-all.css.scss +++ b/app/assets/stylesheets/leaflet-all.css.scss @@ -1,19 +1,10 @@ /* *= require leaflet *= require leaflet.locationfilter - *= require leaflet.pan - *= require leaflet.zoom + *= require map-ui */ /* Override to serve images through the asset pipeline. */ -.leaflet-control-zoom-in { - background-image: image-url("images/zoom-in.png"); -} - -.leaflet-control-zoom-out { - background-image: image-url("images/zoom-out.png"); -} - .leaflet-control-layers-toggle { background-image: image-url("images/layers.png"); } @@ -40,5 +31,23 @@ div.leaflet-marker-icon.location-filter.move-marker { } .user_popup p { - margin: 0px 2px 0px 55px !important; + margin: 0 !important; +} + +.site .leaflet-container a { + color: #00f; +} + +.site .leaflet-popup p { + margin: 0 0 20px 0; +} + +.leaflet-control-attribution #permalinkanchor { + background: image-url("sprite.png") 0 -45px no-repeat; + padding-left:20px; +} + +.site .leaflet-control-attribution { + box-shadow: none; + font-size: inherit; }