Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Attempted refactor to merge redundant styles; ie, mobile and desktop controls for zoom should now be the same.

Ryan Boller255ec5e47a63
diff --git a/css/map.css b/css/map.css
index 0f18b8cb6..3e218ae71 100644
--- a/css/map.css
+++ b/css/map.css
@@ -1,30 +1,3 @@
-/* CSS for mobile */
-div.olControlZoomPanel {
-height: 108px;
-width: 36px;
-position: relative !important;
-float:right;
-margin:0 20px 0 0;
-
-}
-div.olControlZoomPanel div {
- width: 36px;
- height: 36px;
-/* background-image: url(../js/ext/openlayers-2.11/examples/img/mobile-zoombar.png);*/
- left: 0;
-}
-div.olControlZoomPanel .olControlZoomInItemInactive {
- top: 0;
- background-position: 0 0;
-}
-div.olControlZoomPanel .olControlZoomToMaxExtentItemInactive {
- top: 36px;
- background-position: 0 -36px;
-}
-div.olControlZoomPanel .olControlZoomOutItemInactive {
- top: 72px;
- background-position: 0 -72px;
-}
div.olControlPermalink {
right: 10px;
@@ -73,16 +46,34 @@ div.olMap {
background-color: #FFFFFF;
}
+
+
+div.olControlZoomPanel {
+ height: 108px;
+ width: 36px;
+ position: relative !important;
+ float:right;
+ margin:0 20px 0 0;
+}
+div.olControlZoomPanel div {
+ width: 36px;
+ height: 36px;
+ left: 0;
+}
+
div.olControlZoomPanel .olControlZoomInItemInactive,
div.olControlZoomPanel .olControlZoomOutItemInactive {
- /*background: rgba(0,0,0,0.4);*/
background-color:rgba(38,38,38,0.7);
position: absolute;
}
div.olControlZoomPanel .olControlZoomInItemInactive {
+ top: 0;
+ background-position: 0 0;
border-radius: 5px 5px 0 0;
}
div.olControlZoomPanel .olControlZoomOutItemInactive {
+ top: 72px;
+ background-position: 0 -72px;
border-radius: 0 0 5px 5px ;
top: 37px;
}
@@ -101,9 +92,13 @@ div.olControlZoomPanel .olControlZoomOutItemInactive:after{
line-height: 0.9em;
padding: 0 8px;
}
+
div.olControlZoomPanel .olControlZoomToMaxExtentItemInactive {
+ top: 36px;
+ background-position: 0 -36px;
display: none;
}
+
#title, #tags, #shortdesc {
display: none;
}