Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Adjusted scalebar sizing again, centered zoom out message

Taylor Gunnoe0377843f8564
diff --git a/src/css/indicator.css b/src/css/indicator.css
index a5b746c28..8f22e6f83 100644
--- a/src/css/indicator.css
+++ b/src/css/indicator.css
@@ -17,7 +17,9 @@
background: #262b31;
color: #ffffff;
width: 200px;
+ box-sizing:border-box;
height: 52px;
+ line-height:52px;
left: 50%;
top: 150px;
margin: -75px 0 0 -75px;
@@ -29,8 +31,4 @@
width: 32px;
height: 32px;
vertical-align: middle;
-}
-
-#indicator .message {
-
-}
+}
\ No newline at end of file
diff --git a/src/css/map.css b/src/css/map.css
index 78583168d..a4218dcc3 100644
--- a/src/css/map.css
+++ b/src/css/map.css
@@ -14,14 +14,14 @@ div.olControlMousePosition, div.olControlScaleLineCustomBottom,div.olControlScal
1px -1px 0 #000,
-1px 1px 0 #000,
1px 1px 0 #000;
- font-size: 1.1em;
+ font-size: 0.9em;
font-weight:bold;
}
div.olControlScaleLineCustomBottom, div.olControlScaleLineCustomTop{
background-color:rgba(38,38,38,0.4);
float:right;
text-align:right;
- padding:3px 10px;
+ padding:3px 10px 3px 0;
box-sizing:border-box;
}
div.olControlMousePosition {
diff --git a/src/js/Worldview/Map/MapSet.js b/src/js/Worldview/Map/MapSet.js
index 2cfa20e22..42a09c017 100644
--- a/src/js/Worldview/Map/MapSet.js
+++ b/src/js/Worldview/Map/MapSet.js
@@ -478,7 +478,7 @@ Worldview.Map.MapSet = function(containerId, mapConfig, component) {
controls.push(new OpenLayers.Control.Attribution());
controls.push(new OpenLayers.Control.ScaleLine({
displayClass: mapClass + "olControlScaleLineCustom",
- maxWidth: 200,
+ maxWidth: 175,
}));
var coordinateControl =
diff --git a/src/js/Worldview/Permalink.js b/src/js/Worldview/Permalink.js
index bda43c3b0..a520b5e99 100644
--- a/src/js/Worldview/Permalink.js
+++ b/src/js/Worldview/Permalink.js
@@ -192,6 +192,6 @@ $(function() {
encoded = encoded.replace(exception.match, exception.replace);
});
return encoded;
- }
+ };
});