Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Added styling for scale line

Ryan Bollera2e03a15f925
diff --git a/css/map.css b/css/map.css
index 5291469f1..b3bb191cc 100644
--- a/css/map.css
+++ b/css/map.css
@@ -9,11 +9,32 @@ div.olControlLayerSwitcher {
top: 150px;
}
-div.olControlScaleLine {
- left: 10px;
- bottom: 10px;
+div.olControlScaleLineCustom {
+ position: absolute;
+ right: 12px;
+ bottom: 160px;
+ z-index: 2000;
+
+ display: block;
+ font-size: xx-small;
+ color: #EEEEEE;
+}
+
+.olControlScaleLineCustomBottom {
+ border: solid 2px black;
+ border-bottom: none;
+ margin-top:-2px;
+ text-align: center;
+ background-color:rgba(38,38,38,0.4);
+}
+.olControlScaleLineCustomTop {
+ border: solid 2px black;
+ border-top: none;
+ text-align: center;
+ background-color:rgba(38,38,38,0.4);
}
+
/* CSS for full-screen map div and mobile device support */
html, body {
margin : 0;