]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/leaflet-all.css.scss
Remove pan and zoom controls
[rails.git] / app / assets / stylesheets / leaflet-all.css.scss
index 3d9c381c0960392644b5434536431ea877360a6b..a32e24dd1488950540cd1762fec973e650514298 100644 (file)
@@ -1,19 +1,9 @@
 /*
  *= require leaflet
  *= require leaflet.locationfilter
- *= require leaflet.pan
- *= require leaflet.zoom
  */
 
 /* 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 +30,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;
 }