Interactive interface for browsing global, full-resolution satellite imagery
Ensure PS updates when large date range is toggled
ZachTRice993a9e1a7ce7
diff --git a/web/css/layers.css b/web/css/layers.cssindex d4d509409..6f1a514c2 100644--- a/web/css/layers.css+++ b/web/css/layers.css@@ -497,6 +497,16 @@margin-bottom: 6px;}+.layer-description .layer-date-ranges-button,+.layer-description .layer-date-ranges-button:not([href]):not([tabindex]) {+ color: #7bf;+}++.layer-description .layer-date-ranges-button:hover,+.layer-description .layer-date-ranges-button:not([href]):not([tabindex]):hover {+ color: #9df;+}+.layer-description .layer-title,.layer-modal .source-metadata h3 {display: block;diff --git a/web/css/palettes.css b/web/css/palettes.cssindex eafbc2715..2f193df51 100644--- a/web/css/palettes.css+++ b/web/css/palettes.css@@ -176,7 +176,7 @@.sidebar-panel .wv-palettes-colorbar {width: 100%;- height: 10px;+ height: 12px;border: 1px solid #404040;margin-bottom: 13px;}diff --git a/web/css/sidebar.css b/web/css/sidebar.cssindex 70adc3f8b..9a1d3b665 100644--- a/web/css/sidebar.css+++ b/web/css/sidebar.css@@ -23,6 +23,7 @@padding: 5px 0 0;position: relative;border: 1px solid transparent;+ margin-bottom: 36px;}#productsHolder ul#overlays {@@ -30,8 +31,10 @@}#productsHolder footer {- bottom: 0;+ bottom: -36px;padding: 2px 5px 5px;+ position: absolute;+ background-color: transparent;}#productsHolder footer p {diff --git a/web/js/layers/info.js b/web/js/layers/info.jsindex e6fa2cc6d..287e4c40f 100644--- a/web/js/layers/info.js+++ b/web/js/layers/info.js@@ -164,8 +164,6 @@ export function layersInfo(config, models, layer) {$layerDateRangesButton.click(function(e) {var text = $(this).text();e.preventDefault();- $('#wv-layers-info-dialog')- .perfectScrollbar('update');if (text === '*Show All Date Ranges') {$layerDateRangesButton.text('*Hide All Date Ranges');$layerDateRanges.css('display', 'block');@@ -173,6 +171,7 @@ export function layersInfo(config, models, layer) {$layerDateRangesButton.text('*Show All Date Ranges');$layerDateRanges.css('display', 'none');}+ $('#wv-layers-info-dialog').perfectScrollbar('update');});}}