Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Restore tour pagination and fix styles - Restore step page indicator - Fix styles related to modal arrow and button hover state

ZachTRicede3b25113ea9
diff --git a/web/css/tour.css b/web/css/tour.css
index 471500e53..6588ddaa3 100644
--- a/web/css/tour.css
+++ b/web/css/tour.css
@@ -22,6 +22,10 @@
width: 450px;
}
+.joyride-close-tip {
+ color: rgba(38, 43, 49, 0.4) !important;
+}
+
.tour h3 {
color: rgb(38, 43, 49);
font: 18px 'Open Sans', sans-serif;
@@ -279,6 +283,7 @@ button.done:hover {
.joyride-tip-guide {
z-index: 293;
background: rgb(175, 181, 196);
+ padding-bottom: 32px;
}
.joyride-tip-guide[data-index="0"] {
@@ -311,6 +316,19 @@ button.done:hover {
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#f4f5f5, endColorstr=#dfdddd);
}
+.joyride-tip-guide .joyride-next-tip:hover {
+ border: 1px solid #bfc4c4 !important;
+ background-color: #d9dddd;
+ color: #000;
+ background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #d9dddd), color-stop(100%, #c6c3c3));
+ background-image: -webkit-linear-gradient(top, #d9dddd, #c6c3c3);
+ background-image: -moz-linear-gradient(top, #d9dddd, #c6c3c3);
+ background-image: -ms-linear-gradient(top, #d9dddd, #c6c3c3);
+ background-image: -o-linear-gradient(top, #d9dddd, #c6c3c3);
+ background-image: linear-gradient(to bottom, #d9dddd, #c6c3c3);
+ filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#d9dddd, endColorstr=#c6c3c3);
+}
+
table.splash td.splash-info {
vertical-align: top;
}
@@ -324,9 +342,13 @@ table.splash td.splash-info {
}
p.wv-tour-page-count {
- text-align: right;
- margin-top: 7px;
font: 400 13px/16px 'Open Sans', sans-serif;
+ color: #262b31;
+ text-align: right;
+ position: absolute;
+ bottom: 0;
+ right: 0;
+ margin: 12px;
}
.wv-tour-visible-icon {
@@ -399,9 +421,30 @@ p.wv-tour-page-count {
pointer-events: none;
}
+.joyride-tip-guide span.joyride-nub.top {
+ border-color: #afb5c4 !important;
+ border-top-color: transparent !important;
+ border-left-color: transparent !important;
+ border-right-color: transparent !important;
+}
+
+.joyride-tip-guide span.joyride-nub.right {
+ border-color: #afb5c4 !important;
+ border-top-color: transparent !important;
+ border-right-color: transparent !important;
+ border-bottom-color: transparent !important;
+}
+
.joyride-tip-guide span.joyride-nub.bottom {
border-color: #afb5c4 !important;
border-bottom-color: transparent !important;
border-left-color: transparent !important;
border-right-color: transparent !important;
}
+
+.joyride-tip-guide span.joyride-nub.left {
+ border-color: #afb5c4 !important;
+ border-top-color: transparent !important;
+ border-left-color: transparent !important;
+ border-bottom-color: transparent !important;
+}
diff --git a/web/pages/tour.html b/web/pages/tour.html
index 286d81e8a..2c284082b 100644
--- a/web/pages/tour.html
+++ b/web/pages/tour.html
@@ -119,6 +119,7 @@
<li>Change the interval to "Days" and explore the imagery for that month.</li>
</ul>
</div>
+ <p class="wv-tour-page-count">(page 1 of 6)</p>
</li>
<!-- Timeline - Continued -->
@@ -152,6 +153,7 @@
<li>Click on the day text, type in "23", and press the return key.</li>
</ul>
</div>
+ <p class="wv-tour-page-count">(page 2 of 6)</p>
</li>
<!-- Layer Picker - Base Layers -->
@@ -183,6 +185,7 @@
<li>Drag "Corrected Reflectance (True Color) Aqua / MODIS" back to the top of the list.</li>
</ul>
</div>
+ <p class="wv-tour-page-count">(page 3 of 6)</p>
</li>
<!-- Layer Picker - Continued -->
@@ -225,6 +228,7 @@
tab to see the layers that have been added.</li>
</ul>
</div>
+ <p class="wv-tour-page-count">(page 4 of 6)</p>
</li>
<!-- Map -->
@@ -254,6 +258,7 @@
</p>
<img src="images/tour-fire-location.png" alt="Location" class="wv-tour-map"/>
</div>
+ <p class="wv-tour-page-count">(page 5 of 6)</p>
</li>
<!-- Toolbar -->
@@ -299,6 +304,7 @@
</table>
</div>
</li>
+ <p class="wv-tour-page-count">(page 6 of 6)</p>
</ol>