Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Adjust modal to overflow properly & add all story background images

ZachTRice91ea13f3f264
diff --git a/web/css/tour.css b/web/css/tour.css
index c205e6b42..157fb921b 100644
--- a/web/css/tour.css
+++ b/web/css/tour.css
@@ -45,11 +45,18 @@
/* .tour-start */
.tour-start .modal {
overflow-y: auto;
+ height: 794px;
+ width: 635px;
+ margin-left: auto;
+ margin-right: auto;
+ top: 20px;
}
.tour-start .modal-dialog {
overflow-y: initial;
border: 1px solid #333;
+ margin-top: 0;
+ margin-bottom: 0;
}
.tour-start .modal-content {
@@ -652,3 +659,9 @@
max-width: 572px;
}
}
+
+@media (max-height: 815px) {
+ .tour-start .modal {
+ height: auto;
+ }
+}
\ No newline at end of file
diff --git a/web/stories/explore_the_earth_at_night_2012_2016/background.png b/web/stories/explore_the_earth_at_night_2012_2016/background.png
new file mode 100644
index 000000000..b114ad6f4
Binary files /dev/null and b/web/stories/explore_the_earth_at_night_2012_2016/background.png differ
diff --git a/web/stories/hurricane_florence_september_2018/background.png b/web/stories/hurricane_florence_september_2018/background.png
new file mode 100644
index 000000000..2c336a22d
Binary files /dev/null and b/web/stories/hurricane_florence_september_2018/background.png differ
diff --git a/web/stories/hurricane_maria_september_2017/background.png b/web/stories/hurricane_maria_september_2017/background.png
new file mode 100644
index 000000000..42b0305a8
Binary files /dev/null and b/web/stories/hurricane_maria_september_2017/background.png differ
diff --git a/web/stories/larsen_c_ice_shelf_iceberg_a68a_july_2017/background.png b/web/stories/larsen_c_ice_shelf_iceberg_a68a_july_2017/background.png
new file mode 100644
index 000000000..9275640cd
Binary files /dev/null and b/web/stories/larsen_c_ice_shelf_iceberg_a68a_july_2017/background.png differ
diff --git a/web/stories/saharan_dust_storms_2018/background.png b/web/stories/saharan_dust_storms_2018/background.png
new file mode 100644
index 000000000..9d925f783
Binary files /dev/null and b/web/stories/saharan_dust_storms_2018/background.png differ
diff --git a/web/stories/shrinking_aral_sea_2001_2018/background.png b/web/stories/shrinking_aral_sea_2001_2018/background.png
new file mode 100644
index 000000000..17fda406d
Binary files /dev/null and b/web/stories/shrinking_aral_sea_2001_2018/background.png differ
diff --git a/web/stories/stories.json b/web/stories/stories.json
index 21aa0ed1e..3920240a4 100644
--- a/web/stories/stories.json
+++ b/web/stories/stories.json
@@ -4,7 +4,7 @@
"type": "severe-storm",
"title": "Hurricane Florence (September 2018)",
"description": "Hurricane Florence wrecked havoc on the Carolinas. Use the A|B tool to see a before and after of the coast.",
- "backgroundImage": "",
+ "backgroundImage": "background.png",
"backgroundImageHover": "",
"readMoreLink": "",
"steps": [
@@ -73,8 +73,8 @@
{
"id": "california_british_columbia_wildfires_summer_2018",
"type": "wildfire",
- "title": "California Wildfires & British Columbia Wildfires (Summer 2018)",
- "description": "Explore the Larsen C Ice Shelf using different map projections, zoom levels and layers. Use the event tab to quickly acess other events.",
+ "title": "California & British Columbia Wildfires (Summer 2018)",
+ "description": "Use different layers to look at the wildfires on the west North American coasts. See how smoke from the wildfire travels eastward.",
"backgroundImage": "background.png",
"backgroundImageHover": "",
"readMoreLink": "",
@@ -217,7 +217,7 @@
"type": "dust-and-haze",
"title": "Saharan Dust Storms (2018)",
"description": "Did you know dust from the African Sahara can travel across the ocean to North America? See for yourself!",
- "backgroundImage": "",
+ "backgroundImage": "background.png",
"backgroundImageHover": "",
"readMoreLink": "",
"steps": [
@@ -359,7 +359,7 @@
"type": "severe-storm",
"title": "Hurricane Maria (September 2017)",
"description": "Hurricane Maria devastated Puerto Rico. Follow the storm as it forms from a tropical depression to a category 4 hurricane.",
- "backgroundImage": "",
+ "backgroundImage": "background.png",
"backgroundImageHover": "",
"readMoreLink": "",
"steps": [
@@ -430,6 +430,8 @@
"type": "iceberg",
"title": "Larsen C Ice Shelf / Iceberg A68A - July 2017",
"description": "Explore the Larsen C Ice Shelf using different map projections, zoom levels and layers. Use the event tab to quickly acess other events.",
+ "backgroundImage": "background.png",
+ "backgroundImageHover": "",
"readMoreLink": "https://earthdata.nasa.gov/larsen-c-ice-shelf-calving",
"steps": [
{
@@ -499,7 +501,7 @@
"type": "default",
"title": "Explore The Earth at Night (2012 - 2016)",
"description": "Use various layers to explore regions of the earth at night!",
- "backgroundImage": "",
+ "backgroundImage": "background.png",
"backgroundImageHover": "",
"readMoreLink": "",
"steps": [
@@ -570,7 +572,7 @@
"type": "man-made",
"title": "Shrinking Aral Sea (2001 - 2018)",
"description": "See how decades of water diversion, coupled with regional droughts, have caused the Aral Sea basic to dry out.",
- "backgroundImage": "",
+ "backgroundImage": "background.png",
"backgroundImageHover": "",
"readMoreLink": "",
"steps": [