Interactive interface for browsing global, full-resolution satellite imagery
consistent basic modal styling
Jason Kent26fd3ff747eb
diff --git a/web/css/modal.css b/web/css/modal.cssindex c88a54c04..1c902ddea 100644--- a/web/css/modal.css+++ b/web/css/modal.css@@ -40,6 +40,34 @@}}+.modal-body .basic-modal {+ h1 {+ font-size: 18px;+ line-height: 18px;+ margin-bottom: 15px;+ }+ h2 {+ font-size: 16px;+ line-height: 16px;+ margin-bottom: 15px;+ }+ h3 {+ font-size: 14px;+ line-height: 14px;+ margin-bottom: 15px;+ }+ p, li {+ line-height: 18px;+ margin-bottom: 10px;+ margin-left: 5px;+ }+ ol li {+ margin-left: 20px;+ margin-top: 10px;+ line-height: 18px;+ }+}+.modal-content {border: none;border-radius: 6px;diff --git a/web/css/smart-handoff.css b/web/css/smart-handoff.cssindex 89a858675..856dbbb2e 100644--- a/web/css/smart-handoff.css+++ b/web/css/smart-handoff.css@@ -253,41 +253,6 @@ label[for='chk-crop-toggle'] span {display: inline-block;}-/** Granule alert modal */-.smart-handoff-granule-alert {- padding: 20px;-}--.smart-handoff-granule-alert hr {- border-color: #333;- margin: 25px 0;-}--.smart-handoff-granule-alert h1 {- font-weight: 900;- color: #fff;- font-size: 15px;- line-height: 20px;-}--.smart-handoff-granule-alert p {- line-height: 18px;- margin-top: 15px;- margin-bottom: 15px;- color: #ddd;-}--.smart-handoff-granule-alert ol {- margin: 15px 0;- color: #ddd;-}--.smart-handoff-granule-alert ol li {- margin-left: 30px;- margin-top: 10px;- line-height: 18px;-}-/** Overrides the modal component styles */#transferring-to-earthdata-search.modal-dialog .modal-body {background: #191a1b !important;diff --git a/web/js/components/compare/alert.js b/web/js/components/compare/alert.jsindex cbb82b630..78641ac52 100644--- a/web/js/components/compare/alert.js+++ b/web/js/components/compare/alert.js@@ -1,8 +1,8 @@import React from 'react';const CompareAlertModalBody = () => (- <div className="compare-dialog">- <p>How to get started?</p>+ <div className="basic-modal compare-dialog">+ <h1>How to get started?</h1><ul><li className="compare-dialog-list-item"><p>diff --git a/web/js/components/events/alert-body.js b/web/js/components/events/alert-body.jsindex 118b18584..a07d274ad 100644--- a/web/js/components/events/alert-body.js+++ b/web/js/components/events/alert-body.js@@ -1,10 +1,10 @@import React from 'react';const EventsAlertModalBody = () => (- <div className="event-alert-modal-body">- <h3 className="wv-data-unavailable-header">+ <div className="basic-modal event-alert-modal-body">+ <h1>Why can’t I see an event?- </h3>+ </h1><p>There are a variety of factors as to why you may not be seeing anevent in Worldview at the moment.diff --git a/web/js/components/smart-handoffs/smart-handoff-granule-alert.js b/web/js/components/smart-handoffs/smart-handoff-granule-alert.jsindex 7004566b2..8552f8be1 100644--- a/web/js/components/smart-handoffs/smart-handoff-granule-alert.js+++ b/web/js/components/smart-handoffs/smart-handoff-granule-alert.js@@ -1,9 +1,9 @@import React from 'react';const GranuleAlertModalBody = () => (- <div className="smart-handoff-granule-alert">+ <div className="basic-modal">- <h1 className="granule-unavailable-header">+ <h1>Why am I seeing NONE when data is being shown?</h1>@@ -29,7 +29,7 @@ const GranuleAlertModalBody = () => (<hr />- <h1 className="granule-unavailable-header">+ <h1>Why am I seeing "0 out of n" granules when there is imagery displayed on the map?</h1>