Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Adjusted UI slightly

Taylor Gunnoe794a46b1ba80
diff --git a/src/css/map-ol2.css b/src/css/map-ol2.css
index a42433902..046edaf77 100644
--- a/src/css/map-ol2.css
+++ b/src/css/map-ol2.css
@@ -84,6 +84,9 @@ div.olControlScaleLineCustom {
position: absolute;
z-index:10000;
}
+.wv-map-zoom .ui-button-text{
+ padding:1em;
+}
.wv-map-zoom.ui-state-default{
background:none rgba(40,40,40,0.85);
border:1px solid #333;
@@ -96,9 +99,13 @@ div.olControlScaleLineCustom {
.wv-map-zoom-in {
top: 135px;
+ border-top-left-radius:10px;
+ border-top-right-radius:10px;
}
.wv-map-zoom-out {
- top: 170px;
+ top: 180px;
+ border-bottom-left-radius:10px;
+ border-bottom-right-radius:10px;
}
.olLayerGrid .olTileImage {
diff --git a/src/css/new-ui.css b/src/css/new-ui.css
index e32858881..76ffe92e9 100644
--- a/src/css/new-ui.css
+++ b/src/css/new-ui.css
@@ -14,7 +14,7 @@
background: rgba(40,40,40,0.9); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#c2c2c2',GradientType=0 ); /* IE6-9 */
min-width:286px;
-
+ border-radius:5px;
}
#timeline-footer text{
font-size:14px;
@@ -76,7 +76,7 @@
}
.x.axis > .tick > .subtick > .tick > line{
fill:none;
- stroke:#333;
+ stroke:#444;
stroke-width:2;
stroke-linecap:butt;
stroke-linejoin:miter;
diff --git a/src/css/products.css b/src/css/products.css
index 2a6005fae..f7dcbd76a 100644
--- a/src/css/products.css
+++ b/src/css/products.css
@@ -11,7 +11,7 @@
background: rgba(40,40,40,0.85);
border-radius:0;
left:10px;
- top:65px;
+ top:68px;
-webkit-box-sizing:border-box;
-o-box-sizing:border-box;
-moz-box-sizing:border-box;
diff --git a/src/css/wv.main.css b/src/css/wv.main.css
index cdda62f0c..8345ff2cd 100644
--- a/src/css/wv.main.css
+++ b/src/css/wv.main.css
@@ -9,7 +9,7 @@
* All Rights Reserved.
*/
-html,body, div, ul, li, p, h1, h2, h3, h4, h5, h6 {display:block; margin:0; padding:0; font: 100 11px/11px "Lucida Console",Monaco, monospace;}
+html,body, div, ul, li, p, h1, h2, h3, h4, h5, h6 {display:block; margin:0; padding:0; font: 100 13px/13px "Lucida Sans",Monaco, monospace;}
html, body {
width: 100%;
@@ -136,7 +136,8 @@ div.horizontalContainer {width:100%; display:block; float:left; position:absolu
top:10px;
left:10px;
border:1px solid #333;
- border-bottom:0;
+ border-top-right-radius:5px;
+ border-top-left-radius:5px;
z-index:10000;
-webkit-box-sizing:border-box;
-o-box-sizing:border-box;
@@ -149,15 +150,21 @@ div.horizontalContainer {width:100%; display:block; float:left; position:absolu
right:10px;
top:10px;
z-index:10000;
- background:rgba(40,40,40,0.85);
+
border-radius:0;
- border:1px solid #333;
+
}
#wv-toolbar li{
display:inline-block;
+ margin:0;
+ background:rgba(40,40,40,0.85);
+ border:1px solid #333;
+ border-radius:5px;
}
+
#wv-toolbar li label {
- border-radius:0;
+ border-radius:5px;
+ margin:0;
border:0;
}
#wv-toolbar li .ui-state-default{
diff --git a/src/css/wv.sidebar.css b/src/css/wv.sidebar.css
index 8840ae1e0..399726164 100644
--- a/src/css/wv.sidebar.css
+++ b/src/css/wv.sidebar.css
@@ -11,7 +11,8 @@
#productsHolder {
border: 1px solid #333;
- border-top:0;
+ border-bottom-left-radius:5px;
+ border-bottom-right-radius:5px;
}
#productsHoldertabs {
diff --git a/src/js/layers/wv.layers.active.js b/src/js/layers/wv.layers.active.js
index 6e1905ea6..4f95ea39c 100644
--- a/src/js/layers/wv.layers.active.js
+++ b/src/js/layers/wv.layers.active.js
@@ -182,13 +182,16 @@ wv.layers.active = wv.layers.active || function(models, ui, config) {
wv.layers.options(config, models, layer);
});
$layer.append($gearButton);
-
+
var names = models.layers.getTitles(layer.id);
- $layer.append($("<h4></h4>").html(names.title));
- $layer.append($("<p></p>").html(names.subtitle));
+ $layer.append($('<div></div>')
+ .addClass('layer-main')
+ .append($("<h4></h4>").html(names.title))
+ .append($("<p></p>").html(names.subtitle))
+ );
if ( layer.palette ) {
- renderLegend($layer, group, layer);
+ renderLegend($layer.find('.layer-main'), group, layer);
}
if ( top ) {
$parent.prepend($layer);