Interactive interface for browsing global, full-resolution satellite imagery
Zots customized
Taylor Gunnoe10b3a723d3e1
diff --git a/web/css/bank.css b/web/css/bank.cssindex ebf5d6bfd..aee952e57 100644--- a/web/css/bank.css+++ b/web/css/bank.css@@ -123,7 +123,13 @@ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b3ffffff', efont-size:0.85em;padding:0 3px;}-.bank li.item p {padding:0 3px; color:#222; font-size:0.78em; font-style:italic;}+.bank li.item p {+ padding:0 3px;+ color:#222;+ font-size:0.78em;+ font-style:italic;+ margin-top:1px+}.bank li.item span.palette {display:block; overflow:hidden; margin-top:5px; margin-left:5px;}.bank li.item ul.palette li {float:left;}.bank ul.category { overflow:auto; }diff --git a/web/css/wv.sidebar.css b/web/css/wv.sidebar.cssindex aaeddc914..3b053da2a 100644--- a/web/css/wv.sidebar.css+++ b/web/css/wv.sidebar.css@@ -124,15 +124,39 @@ i.wv-layers-options-icon{background-position: 0 -69px;}.productsitem div.zot {+ /*margin-left: 31px;position: absolute;top: 0;bottom: 0;width: 10px;background: #421414;- display:none;+ */+ /*+ position: relative;+ width: 15px;+ background: #2F2F2F;+ display: none;+ height: 15px;+ float: right;+ border-radius: 20px;+ margin: 2.5px;+ */+ position: relative;+ width: 10px;+ background: #c57f00;+ height: 10px;+ float: left;+ border-radius: 20px;+ margin: 1px 0 0 4px;+ border: 1px solid transparent;+ display:none;+}+.productsitem div.zot:hover{+ border: 1px solid #fff;}.productsitem div.zot b {+ /*text-align: center;height: 20px;line-height: 20px;@@ -142,7 +166,20 @@ i.wv-layers-options-icon{right: 0;margin-top: -10px;color: #fff+ */+ text-align: center;+ height: 10px;+ line-height: 10px;+ position: absolute;+ top: 50%;+ left: 0;+ right: 0;+ margin-top: -5px;+ /* color: #fff; */+ font-size: 80%;+ font-weight: normal;}+.productsitem.zotted div.zot{display: block;}@@ -188,9 +225,9 @@ i.wv-layers-options-icon{cursor:default;min-height:40px;}-.productsitem.zotted .layer-main{+/*.productsitem.zotted .layer-main{margin-left: 42px;-}+}*/.productsitem.layer-hidden .layer-main, .productsitem.layer-hidden a.hdanchor {background:rgba(255, 255, 255, 0.2);}diff --git a/web/js/layers/wv.layers.active.js b/web/js/layers/wv.layers.active.jsindex 880069cdb..4c4aeb949 100644--- a/web/js/layers/wv.layers.active.js+++ b/web/js/layers/wv.layers.active.js@@ -156,11 +156,7 @@ wv.layers.active = wv.layers.active || function(models, ui, config) {$visibleButton.append($visibleImage);$layer.append($visibleButton);- var $zot = $("<div></div>")- .addClass('zot')- .append('<b>!</b>');- $layer.append($zot);if ( !layer.visible ) {$visibleButton@@ -206,14 +202,17 @@ wv.layers.active = wv.layers.active || function(models, ui, config) {$layer.append($editButton);-++var $mainLayerDiv = $('<div></div>').addClass('layer-main').attr("data-layer", layer.id)+ .append($("<div></div>")+ .addClass('zot')+ .append('<b>!</b>')).append($('<h4></h4>').html(names.title).attr('title',names.title)).append($('<p></p>').html(names.subtitle));-$layer.hover(function(){d3.select('#timeline-footer svg g.plot rect[data-layer="'+ layer.id +'"]').classed('data-bar-hovered',true);