#left {
position: absolute;
- top: 0px;
+ top: 30px;
+ bottom: 0;
width: 185px;
font-size: 11px;
line-height: 12px;
min-width: 170px;
padding: 5px;
text-align: center;
- margin: 25px auto 5px auto;
+ margin: auto;
}
#logo img {
text-transform: capitalize;
padding-left: 0px;
padding-right: 0px;
- background: url(sprite.png);
+ background: image-url("sprite.png");
position: absolute;
top: 5px;
cursor: pointer;
border: 0px;
padding-left: 0px;
padding-right: 0px;
- background: url(sprite.png) 0 -30px no-repeat;
+ background: image-url("sprite.png") 0 -30px no-repeat;
position: absolute;
top: 8px;
}
/* Rules for tabbed navigation bar */
#top-bar {
- border-bottom: 1px solid #ccc;
+ position: absolute;
+ top: 0;
height: 29px;
+ border-bottom: 1px solid #ccc;
+ background: white;
}
#tabnav {
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;
}
-div.olControlZoom a {
- margin: 0 !important;
-}
-
-div.olControlZoom a.olControlZoomIn {
- border-bottom: 0;
+.site-index .leaflet-top,
+.site-export .leaflet-top {
+ margin-top: 40px !important;
}
/* Rules for edit menu */
#sidebar {
display: none;
position: absolute;
- margin: 0px;
+ margin: 30px 0px 0px 0px;
padding: 0px;
width: 30%;
top: 0px;
height: 29px;
font-size: 14px;
line-height: 15px;
- background: #bbb;
+ background: #ccc;
}
/* Rules for the map key which appears in the popout sidebar */
/* Rules for the main content area */
#content {
- padding: 10px;
- margin: 0px;
- position: absolute;
- bottom: 0px;
+ padding: 20px;
+ margin: 30px 0px 0px 0px;
}
-.site-index #content,
.site-edit #content,
+.site-index #content,
.site-export #content {
- border: 0px;
+ position: fixed;
+ margin-top: 0px;
+ left: 0px;
+ right: 0px;
+ top: 0px;
+ bottom: 0px;
padding: 0px;
}
+.site-edit #content {
+ top: 30px;
+}
+
#slim_container {
width: 100%;
}
/* Rules for the user map */
-.user_map .olControlSimplePanZoom {
+.user_map .leaflet-control-pan,
+.user_map .leaflet-control-zoomslider {
display: none;
}
-.user_map .olControlZoom {
+.user_map .leaflet-control-zoom {
display: block;
}
/* Rules for user popups on maps */
+.user_popup {
+ min-width: 200px;
+}
+
.user_popup p {
padding-top: 3px;
padding-bottom: 3px;