top: 15px;
}
-/* Rules for OpenLayers maps */
+/* Rules for Leaflet maps */
#map {
margin: 0px;
padding: 0px;
}
-.olControlAttribution {
- bottom: 15px !important;
- left: 0px !important;
- right: 0px !important;
- text-align: center;
-}
-
#permalink {
z-index: 10000;
position: absolute;
padding: 5px;
}
-.site-index #map .SimpleLayerSwitcher,
-.site-index #map .olControlSimplePanZoom,
-.site-export #map .SimpleLayerSwitcher,
-.site-export #map .olControlSimplePanZoom {
- top: 40px !important;
+.site-index .leaflet-top .leaflet-control,
+.site-export .leaflet-top .leaflet-control {
+ margin-top: 40px !important;
}
/* Rules for edit menu */
/* Rules for the user map */
-.user_map .olControlSimplePanZoom {
- display: none;
-}
-
-.user_map .olControlZoom {
- display: block;
-}
-
/* Rules for user popups on maps */
.user_popup p {
border: 0;
}
-.olControlSimplePanZoom {
- display: none;
-}
-
-.site-index #map .olControlZoom,
-.site-index #map .SimpleLayerSwitcher,
-.site-export #map .olControlZoom,
-.site-export #map .SimpleLayerSwitcher {
- top: 8px !important;
+.site-index .leaflet-top .leaflet-control,
+.site-export .leaflet-top .leaflet-control {
+ margin-top: 10px !important;
}
/* Rules for the main content area */