Interactive interface for browsing global, full-resolution satellite imagery
WV-856: All links now have hover action, fixed title bar and with in unavailable download dialog
Mike McGanndb962dfc75e8
diff --git a/web/css/wv.main.css b/web/css/wv.main.cssindex 2f07730f7..7e6580d72 100644--- a/web/css/wv.main.css+++ b/web/css/wv.main.css@@ -235,18 +235,16 @@ border-radius:0;color: #000;}-a {- color: #8cf;- text-decoration: none;-}-+.link,+a,.ui-widget-content a {- color: #8cf;- text-docoration: none;+ color: #7bf;+ text-decoration: none;}+.link:hover,a:hover {- color: #8cf;+ color: #9df;}.ui-menu-item a {diff --git a/web/css/wv.sidebar.css b/web/css/wv.sidebar.cssindex 8ff4c20dd..b587389ba 100644--- a/web/css/wv.sidebar.css+++ b/web/css/wv.sidebar.css@@ -17,7 +17,7 @@-o-box-sizing:border-box;border-left:1px solid #333;border-right:1px solid #333;-+}#products, #selectorbox, #selectorboxcontent{margin-bottom:-10px;@@ -143,7 +143,7 @@ i.wv-layers-options-button{position:relative;cursor:pointer;-+}.bank li.item.productsitem:hover a.button.close{display:block;@@ -178,7 +178,7 @@ i.wv-layers-options-button{margin-left:31px;cursor:pointer;min-height:40px;-+}.productsitem.layer-hidden .layer-main, .productsitem.layer-hidden a.hdanchor {@@ -195,4 +195,8 @@ i.wv-layers-options-button{}.bank .layer-main h4, .bank .layer-main p{padding:0;-}\ No newline at end of file+}++.bank li.layer-hidden a {+ color: #999;+}diff --git a/web/js/data/wv.data.model.js b/web/js/data/wv.data.model.jsindex 79bb23bfc..1c241ab7d 100644--- a/web/js/data/wv.data.model.js+++ b/web/js/data/wv.data.model.js@@ -24,7 +24,7 @@ wv.data.model = wv.data.model || function(models, config) {var NO_PRODUCT_ID = "__NO_PRODUCT";var NO_PRODUCT = {- name: "Not available for download <span>(?)</span>",+ name: "Not available for download <span class='link'>(?)</span>",notSelectable: true};diff --git a/web/js/data/wv.data.ui.js b/web/js/data/wv.data.ui.jsindex 33b84dea1..1ac58f571 100644--- a/web/js/data/wv.data.ui.js+++ b/web/js/data/wv.data.ui.js@@ -350,10 +350,13 @@ wv.data.ui = wv.data.ui || function(models, ui, config) {var headerMsg = "<h3 class='wv-data-unavailable-header'>Why are these layers not available for downloading?</h3>";var bodyMsg = 'Some layers in Worldview do not have corresponding source data products available for download. These include National Boundaries, Orbit Tracks, Earth at Night, and MODIS Corrected Reflectance products.<br><br>For a downloadable product similar to MODIS Corrected Reflectance, please try the MODIS Land Surface Reflectance layers available in Worldview. If you would like to generate MODIS Corrected Reflectance imagery yourself, please see the following document: <a href="https://earthdata.nasa.gov/sites/default/files/field/document/MODIS_True_Color.pdf" target="_blank">https://earthdata.nasa.gov/sites/default/files/field/document/MODIS_True_Color.pdf</a><br><br>If you would like to download only an image, please use the "camera" icon in the upper right.';+ wv.ui.notify(headerMsg + bodyMsg, "Notice", 600);+ /*wv.ui.notify(headerMsg + bodyMsg, {width: 600,height: 275});+ */};init();diff --git a/web/pages/css/wv.document.css b/web/pages/css/wv.document.cssindex 36508b616..9a9e3de85 100644--- a/web/pages/css/wv.document.css+++ b/web/pages/css/wv.document.css@@ -54,17 +54,17 @@}.wv-document a {- color: #8cf;+ color: #7bf;text-decoration: none;}.wv-document a:visted {- color: #8cf;+ color: #7bf;text-decoration: none;}.wv-document a:hover {- color: #8cf;+ color: #7df;text-decoration: none;}