Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

added camera icon to timeline

Benjamin507f544e1922
diff --git a/web/css/wv.timeline.css b/web/css/wv.timeline.css
index ba767dc31..076f0331e 100644
--- a/web/css/wv.timeline.css
+++ b/web/css/wv.timeline.css
@@ -125,7 +125,6 @@ g.plot rect.data-bar-invisible{
}
#timeline-header{
margin-top:2px;
- width:250px;
}
#timeline-header .input-wrapper{
background: transparent;
@@ -279,6 +278,14 @@ g.plot rect.data-bar-invisible{
#timeline-header,#timeline-footer,#timeline-zoom,#timeline-hide{
float:left;
}
+#timeline-header .wv-animate {
+ color: #fff;
+ font-size: 2.5em;
+ margin: 12px 0 0 2px;
+}
+#timeline-header .wv-animate:hover {
+ color: #1a1a1a;
+}
#timeline-footer{
height:65px;
border-left:1px solid #666;
diff --git a/web/index.html b/web/index.html
index 4665b6e93..8786b15fd 100644
--- a/web/index.html
+++ b/web/index.html
@@ -315,6 +315,10 @@
class="arrow"></path>
</svg>
</div>
+ <div class="button-action-group animate-button" id="animate-button" title="Setup animation">
+ <i id="wv-animate" class="fa fa-video-camera wv-animate"></i>
+ </div>
+
</div> <!--/timeline-header-->
<div id="timeline-footer">
diff --git a/web/js/date/wv.date.timeline.js b/web/js/date/wv.date.timeline.js
index c73c4917a..2a007c1f6 100644
--- a/web/js/date/wv.date.timeline.js
+++ b/web/js/date/wv.date.timeline.js
@@ -193,7 +193,7 @@ wv.date.timeline = wv.date.timeline || function(models, config, ui) {
drawContainers();
- $('#timeline-footer').css('margin-left',self.margin.left-1 + 'px');
+ $('#timeline-footer').css('margin-left','10px');
$('#timeline-footer').css('margin-right',self.margin.right-1 + 'px');
self.x = d3.time.scale.utc();