Interactive interface for browsing global, full-resolution satellite imagery
Updated to work with master branch
Taylor Gunnoe1528f7bb5d56
diff --git a/web/css/bank.css b/web/css/bank.cssindex 6b53600c6..136b7c3e7 100644--- a/web/css/bank.css+++ b/web/css/bank.css@@ -389,3 +389,27 @@ i.wv-layers-options-icon{background:rgba(220,220,0,0.3);height:42px;}++.bank li.item.productsitem.disabled.layer-hidden:hover {+ border-color:transparent;+}+.bank li.item.productsitem .layer-main:hover a.hdanchor i{+ background-position:5px -36px;+}+.layer-hidden a.hdanchor{++}+.disabled.layer-hidden a.hdanchor.hideReg i {+ width: 15px;+ height: 15px;+ margin-top: -7.5px;+ margin-left: -7.5px;+ background-position: 0 -54px;+}+.disabled.layer-hidden a.hdanchor:hover{+ background:rgba(255, 255, 255, 0.2);+ cursor:default;+}+.productsitem.disabled.layer-hidden a.hdanchor:hover i{+ background-position: 0 -54px;+}\ No newline at end of filediff --git a/web/css/wv.sidebar.css b/web/css/wv.sidebar.cssindex 1d256c619..f92a53964 100644--- a/web/css/wv.sidebar.css+++ b/web/css/wv.sidebar.css@@ -36,107 +36,6 @@position:relative;border:1px solid transparent;}-.bank li.item.productsitem:hover{- border-color:#fff;-}-.bank li.item.productsitem.disabled.layer-hidden:hover {- border-color:transparent;-}-.bank li.item.productsitem .layer-main:hover a.hdanchor i{- background-position:5px -36px;-}--.productsitem a.hdanchor.hideReg{- width:30px;- background-color:#ccc;- position:absolute;- top:0;- bottom:0;- cursor:pointer;-}-.productsitem.layer-visible a.hdanchor:hover {- background:#fff;-}-.productsitem.disabled.layer-hidden a.hdanchor{--}-.productsitem.disabled.layer-hidden a.hdanchor:hover{- background:rgba(255, 255, 255, 0.2);- cursor:default;-}-.productsitem a.hdanchor.hideReg i{- width:21px;- height:12px;- background:url('../images/wv.layers/show-hide.png?v=@BUILD_NONCE@') no-repeat 0 0 transparent;- position:absolute;- top:50%;- margin-top:-6px;- left:50%;- margin-left:-10.5px;- pointer-events:none;-}-.productsitem.layer-visible a.hdanchor.hideReg i{- background-position:0 0;-}-.productsitem.layer-hidden a.hdanchor.hideReg i{- background-position:-42px 0;-}-.productsitem.layer-hidden a.hdanchor.hideReg:hover i{- background-position:-63px 0;-}-.productsitem.disabled.layer-hidden a.hdanchor.hideReg i {- width: 15px;- height: 15px;- margin-top: -7.5px;- margin-left: -7.5px;- background-position: 0 -54px;-}-.productsitem a.wv-layers-options{- position:relative;- width:20px;- height:20px;- float:right;-}-.productsitem a.wv-layers-options:hover{- background:#fff;-}-i.wv-layers-options-icon{- background: url('../images/wv.layers/show-hide.png?v=@BUILD_NONCE@') no-repeat 0 -24px;- width: 12px;- height: 12px;- position:absolute;- top:50%;- margin-top:-6px;- left:50%;- margin-left:-6px;- background-position: 0 -69px;-}--.productsitem.layer-hidden a.wv-layers-options i.wv-layers-options-icon{- background-position: -21px -69px;-}-.productsitem.layer-hidden a.wv-layers-options:hover i.wv-layers-options-icon{- background-position: 0 -69px;-}-.productsitem a.button.close {- display:block;- float:right;- width:20px;- height:20px;- position:relative;- cursor:pointer;---}-.bank li.item.productsitem:hover a.button.close{- display:block;-}-.productsitem.layer-visible a.button.close:hover{- background-color:#fff;-}-.productsitem.layer-hidden a.button.close:hover{- background:#fff;-}#productsHolder ul#overlays{margin-bottom:10px;diff --git a/web/js/layers/wv.layers.active.js b/web/js/layers/wv.layers.active.jsindex 9e82a0a14..97a59c9b8 100644--- a/web/js/layers/wv.layers.active.js+++ b/web/js/layers/wv.layers.active.js@@ -149,24 +149,14 @@ wv.layers.active = wv.layers.active || function(models, ui, config) {(models.date.selected > new Date(layer.endDate)) ){$layer.addClass('disabled');$layer.addClass('layer-hidden');- }-- $layer.append($("<div></div>")- .addClass('zot')- .append('<b>!</b>'));-- if ( !layer.visible ) {- $visibleButton- .attr("title", "Show Layer")- .attr("data-action", "show")- .parent()- .addClass("layer-hidden");- } else {$visibleButton.attr("title", "No data on selected date for this layer");}- else {+ else {+ $layer.append($("<div></div>")+ .addClass('zot')+ .append('<b>!</b>'));if ( !layer.visible ) {$visibleButton.attr("title", "Show Layer")