]> 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 f983149daf30e8730026d804f77471e8b4de6b3f..a32e24dd1488950540cd1762fec973e650514298 100644 (file)
@@ -1,8 +1,6 @@
 /*
  *= require leaflet
  *= require leaflet.locationfilter
- *= require leaflet.pan
- *= require leaflet.zoom
  */
 
 /* Override to serve images through the asset pipeline. */
@@ -32,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;
 }