Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Adjusted colors and look of timeline ticks/data bars

Taylor Gunnoe238bfdf011a1
diff --git a/web/css/new-ui.css b/web/css/new-ui.css
index e6c0fbe59..def80b1d6 100644
--- a/web/css/new-ui.css
+++ b/web/css/new-ui.css
@@ -71,7 +71,7 @@
}
.x.axis > .tick > line{
fill:none;
- stroke:#555;
+ stroke:#9B9b9b;
stroke-width:1;
stroke-linecap:butt;
stroke-linejoin:miter;
@@ -84,18 +84,18 @@
stroke-width:1;
stroke-miterlimit:4;
stroke-dasharray:0;
- stroke:#888888;
+ stroke:#fff;
stroke-linecap:butt;
stroke-linejoin:miter;
stroke-miterlimit:4;
}
.x.axis>.tick>line.tick-week{
- stroke:#888;
+ stroke:#cfc;
stroke-width:1;
stroke-dasharray:0;
}
g.plot rect.data-bar {
- fill:#999;
+ fill:#4e5e87;
stroke:transparent;
stroke-width:1px;
@@ -151,15 +151,14 @@ g.plot rect.data-bar-invisible{
}
@media all{
#timeline-header input::selection{
- background:#ffffff;
- color:#999;
+
}
#timeline-header input::-moz-selection{
background:#ffffff;
color:#999;
}
#timeline-header input::-webkit-selection{
- background:#ffffff;
+
}
}
diff --git a/web/js/date/wv.date.timeline.js b/web/js/date/wv.date.timeline.js
index 5941b3e54..b8c09b485 100644
--- a/web/js/date/wv.date.timeline.js
+++ b/web/js/date/wv.date.timeline.js
@@ -109,7 +109,7 @@ wv.date.timeline = wv.date.timeline || function(models, config, ui) {
y = d3.scale.ordinal()
.domain(activeLayersTitles) //loaded product data goes here
- .rangeBands([5,height-5]);
+ .rangeBands([5,height-12]);
yAxis = d3.svg.axis()
.scale(y)
@@ -156,7 +156,7 @@ wv.date.timeline = wv.date.timeline || function(models, config, ui) {
});
dataBars.selectAll('rect')
- .attr('height',(height-15)/layerCount);
+ .attr('height',(height-22)/layerCount);
if(verticalAxis){
verticalAxis.call(yAxis);