]> git.openstreetmap.org Git - rails.git/commitdiff
Merge branch 'leaflet'
authorTom Hughes <tom@compton.nu>
Fri, 23 Nov 2012 10:41:45 +0000 (10:41 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 23 Nov 2012 10:41:45 +0000 (10:41 +0000)
1  2 
app/assets/stylesheets/common.css.scss
app/assets/stylesheets/small.css.scss
config/locales/en.yml

index 2837270fdf654fd035841a0b6b29dc08c7cab25c,606cdd47da9dbc294c33532263e0791fb68b9d13..217bb0c669c341463fea61a90296d7e466bad1b6
@@@ -427,10 -413,9 +427,10 @@@ body.site-export #tabnav a#exportancho
    z-index: 20000000;
    position: absolute;
    top: 15px;
 +  left: 15px;
  }
  
- /* Rules for OpenLayers maps */
+ /* Rules for Leaflet maps */
  
  #map {
    margin: 0px;
    padding: 5px;
  }
  
- .site-index #map .SimpleLayerSwitcher,
- .site-index #map .olControlSimplePanZoom,
- .site-export #map .SimpleLayerSwitcher,
- .site-export #map .olControlSimplePanZoom {
+ .site-index .leaflet-top,
+ .site-export .leaflet-top {
    top: 40px !important;
+   .leaflet-control {
+     margin-top: 0px !important;
+   }
  }
  
 +.site-index #map .olControlScaleLine,
 +.site-export #map .olControlScaleLine {
 +  left: 10px !important;
 +}
 +
  /* Rules for edit menu */
  
  .menuicon {
Simple merge
Simple merge