]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/leaflet-all.css.scss
Customize and style map zoom controls
[rails.git] / app / assets / stylesheets / leaflet-all.css.scss
index a32e24dd1488950540cd1762fec973e650514298..95f89bd2b496f87d86bf249f3b42f2f3f383a453 100644 (file)
@@ -1,13 +1,10 @@
 /*
  *= require leaflet
  *= require leaflet.locationfilter
+ *= require map-ui
  */
 
 /* Override to serve images through the asset pipeline. */
-.leaflet-control-layers-toggle {
-  background-image: image-url("images/layers.png");
-}
-
 div.leaflet-marker-icon.location-filter.resize-marker {
   background-image: image-url("img/resize-handle.png");
 }
@@ -16,13 +13,6 @@ div.leaflet-marker-icon.location-filter.move-marker {
   background-image: image-url("img/move-handle.png");
 }
 
-/* Override to better match the pan/zoom control. */
-.leaflet-control-layers {
-  box-shadow: 0px 0px 3px #666;
-  background: #fff;
-  border-radius: 3px;
-}
-
 /* Override some conflicting styles.
    https://github.com/openstreetmap/openstreetmap-website/pull/121#issuecomment-10206946 */
 .leaflet-popup-content img.user_thumbnail {
@@ -33,10 +23,6 @@ div.leaflet-marker-icon.location-filter.move-marker {
   margin: 0 !important;
 }
 
-.site .leaflet-container a {
-  color: #00f;
-}
-
 .site .leaflet-popup p {
   margin: 0 0 20px 0;
 }