Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Adjust colors

Taylor Gunnoe4f478c604f3e
diff --git a/web/css/wv.sidebar.css b/web/css/wv.sidebar.css
index 3b053da2a..6b6aae9f3 100644
--- a/web/css/wv.sidebar.css
+++ b/web/css/wv.sidebar.css
@@ -124,39 +124,20 @@ 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;
- */
- /*
- 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;
+ background: #DACF00;
+ cursor: default;
+ display:none;
}
.productsitem div.zot:hover{
- border: 1px solid #fff;
+ background: #fff200;
}
.productsitem div.zot b {
- /*
text-align: center;
height: 20px;
line-height: 20px;
@@ -165,19 +146,6 @@ i.wv-layers-options-icon{
left: 0;
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{
@@ -225,9 +193,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.js
index 4c4aeb949..0fa0bb409 100644
--- a/web/js/layers/wv.layers.active.js
+++ b/web/js/layers/wv.layers.active.js
@@ -152,11 +152,12 @@ wv.layers.active = wv.layers.active || function(models, ui, config) {
$visibleButton.trigger('click');
});
-
$visibleButton.append($visibleImage);
$layer.append($visibleButton);
-
+ $layer.append($("<div></div>")
+ .addClass('zot')
+ .append('<b>!</b>'));
if ( !layer.visible ) {
$visibleButton
@@ -202,14 +203,9 @@ 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));