]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/leaflet-all.css.scss
Basic framework for map UI
[rails.git] / app / assets / stylesheets / leaflet-all.css.scss
index f983149daf30e8730026d804f77471e8b4de6b3f..dd84f6cff46dac7ec22e5e0cec1d0e0de96f5acd 100644 (file)
@@ -1,8 +1,7 @@
 /*
  *= require leaflet
  *= require leaflet.locationfilter
- *= require leaflet.pan
- *= require leaflet.zoom
+ *= require map-ui
  */
 
 /* Override to serve images through the asset pipeline. */
@@ -32,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;
 }