Interactive interface for browsing global, full-resolution satellite imagery
@use "variables";
.tour {
a {
color: #00457b;
font-weight: 400;
&:hover {
color: #2276ac;
text-decoration: none;
}
}
.modal-body {
h1,
h2,
h3,
h4 {
margin-bottom: 15px;
}
}
}
.tour-close-btn {
color: #eee;
border: none;
background: transparent;
font-size: 30px;
}
.about-page-modal,
.tour-start,
.tour-complete {
.modal-header {
position: relative;
background-color: #0a3d91;
padding: 6px 8px;
.close {
font-size: 30px;
padding: 12px 14px;
color: #ddd;
text-shadow: 1px 1px 0 #333;
&:hover {
color: #fff;
}
}
}
.modal-title {
color: #fff;
font-size: 24px;
line-height: 22px;
font-family: Inter, sans-serif;
font-weight: 500;
}
.modal-body {
border-radius: 0;
}
}
/* TOUR START */
.tour-start {
.modal {
overflow-y: auto;
margin-left: auto;
margin-right: auto;
}
.modal-dialog {
overflow-y: initial;
border: 1px solid #333;
}
.modal.fade .modal-dialog {
transform: translate(0, 0);
}
.modal-dialog .modal-content {
border: 0;
}
.modal-body {
padding: 4px;
background-color: #eee;
}
.scrollbar-visible .modal-body {
padding-right: 10px;
}
.modal-footer {
background: #eee;
padding: 0 4px 4px;
.wv-checkbox span {
font-size: 14px;
margin-left: 5px;
}
}
.tour-box {
position: relative;
background: url("../images/tour/tour-box-background.jpg");
background-size: cover;
background-repeat: no-repeat;
background-position: center;
height: 200px;
width: 100%;
margin: 4px auto 0;
text-decoration: none;
border: 1px solid #333;
.tour-box-gradient {
order: 2;
height: 16px;
background: linear-gradient(transparent, #000);
}
.tour-box-header {
width: 100%;
color: #fff;
background-color: #000;
text-align: center;
padding: 4px;
order: 1;
}
.tour-box-title {
line-height: 16px;
padding: 6px;
text-align: left;
margin-bottom: 0;
font-weight: 500;
}
.tour-box-content {
height: 198px;
display: flex;
flex-flow: column-reverse nowrap;
justify-content: flex-start;
overflow: hidden;
}
.tour-box-description {
display: none;
p {
font-size: 12px;
font-weight: 200;
}
}
&:hover .tour-box-description {
display: block;
cursor: pointer;
color: #fff;
background-color: #000;
padding: 0 10px 10px;
order: 0;
margin-top: -10px;
z-index: 1;
}
.tour-box-icon {
background-color: #fff;
background-image: url("../images/natural-events/icon-default.svg");
background-position: -1px -1px;
background-repeat: no-repeat;
background-size: 40px 40px;
border: 1px solid #fff;
border-radius: 50%;
height: 40px;
position: absolute;
right: 10px;
top: 10px;
width: 40px;
z-index: 3;
}
&.wildfire .tour-box-icon {
background-position: -4px -4px;
background-size: 46px 46px;
background-image: url("../images/natural-events/icon-wildfires.svg");
}
&.volcano .tour-box-icon {
background-position: -4px -4px;
background-size: 46px 46px;
background-image: url("../images/natural-events/icon-volcanoes.svg");
}
&.snow .tour-box-icon {
background-position: -4px -4px;
background-size: 46px 46px;
background-image: url("../images/natural-events/icon-snow.svg");
}
&.sea-and-lake-ice .tour-box-icon {
background-position: -4px -4px;
background-size: 46px 46px;
background-image: url("../images/natural-events/icon-sea-and-lake-ice.svg");
}
&.iceberg .tour-box-icon {
background-position: -4px -4px;
background-size: 46px 46px;
background-image: url("../images/natural-events/icon-icebergs.svg");
}
&.water-color .tour-box-icon {
background-position: -4px -4px;
background-size: 46px 46px;
background-image: url("../images/natural-events/icon-water-color.svg");
}
&.dust-and-haze .tour-box-icon {
background-position: -4px -4px;
background-size: 46px 46px;
background-image: url("../images/natural-events/icon-dust-and-haze.svg");
}
&.severe-storm .tour-box-icon {
background-position: -4px -4px;
background-size: 46px 46px;
background-image: url("../images/natural-events/icon-severe-storms.svg");
}
&.man-made .tour-box-icon {
background-position: -4px -4px;
background-size: 46px 46px;
background-image: url("../images/natural-events/icon-manmade.svg");
}
&.critical .tour-box-icon {
background-position: -4px -4px;
background-size: 46px 46px;
background-image: url("../images/natural-events/icon-critical.svg");
}
}
.tour-intro {
background-color: #fff;
border: 1px solid #333;
padding: 15px;
}
.modal-body .tour-intro p {
font-size: 16px;
line-height: 24px;
color: #000;
}
.tour-intro .start-link {
color: #000;
font-weight: 600;
transition: color 0.4s ease;
}
.tour-intro a:hover {
color: #00457b;
text-decoration: underline;
}
.tour-intro .start-link:hover {
color: #2e2d32;
text-decoration: none;
.intro-arrow {
color: #b6010a;
}
}
.tour-box-row {
display: flex;
flex-flow: row wrap;
}
.tour-intro .intro-arrow {
margin-top: -3px;
margin-left: 4px;
color: #f64137;
transition: color 0.4s ease;
}
}
/* TOUR IN PROGRESS */
.tour-in-progress {
.end-tour-close-btn {
color: #ddd;
border: none;
background: transparent;
font-size: 24px;
padding: 0;
margin: 0;
width: 1px;
height: 1px;
font-weight: bold;
-webkit-text-stroke: 1px black;
}
.end-tour-close-btn:hover {
color: #fff;
}
.modal {
inset: auto 0 343px auto;
width: 248px;
height: 200px;
overflow: visible;
}
.modal-dialog {
position: absolute;
width: 248px;
right: 0;
top: 0;
padding: 0;
margin: 0;
border: none;
}
.modal-content {
height: 350px;
}
.modal-dialog .modal-content {
min-width: 248px;
max-height: 357px;
background-color: rgb(255 255 255 / 85%);
border-radius: 8px 0 0 8px;
border: none;
}
.modal.fade .modal-dialog {
transform: translate(100%, 0);
transition: transform 0.5s ease-out;
}
.modal.show .modal-dialog {
transform: translate(0, 0);
}
.modal-header {
display: block;
position: relative;
color: #fff;
border-radius: 8px 0 0;
background-color: rgb(0 69 123);
padding: 8px 20px 8px 16px;
border-bottom: 1px solid #fff;
.close {
position: absolute;
padding: 0;
margin: 0;
top: 11px;
right: 9px;
font-size: 24px;
}
}
.modal-body {
color: #fff;
padding: 0;
overflow-y: auto;
flex: 1 1 25px;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
p {
font-size: 13px;
line-height: 20px;
font-weight: 400;
margin-bottom: 10px;
}
> div {
padding: 12px 8px 6px 12px;
}
a {
text-decoration: underline;
}
ul {
padding-left: 16px;
line-height: 16px;
}
li {
margin-bottom: 4px;
line-height: 16px;
}
strong {
font-weight: 600;
}
}
.modal-footer {
border-radius: 0 0 0 8px;
padding: 0;
min-height: 52px;
justify-content: center;
}
.feature .modal-header {
background-color: rgb(213 78 33);
}
.wildfire .modal-header {
background-color: rgb(141 59 54);
}
.volcano .modal-header {
background-color: rgb(165 115 75);
}
.snow .modal-header {
background-color: rgb(90 119 132);
}
.sea-and-lake-ice .modal-header {
background-color: rgb(50 134 151);
}
.iceberg .modal-header {
background-color: rgb(56 137 173);
}
.water-color .modal-header {
background-color: rgb(69 125 115);
}
.dust-and-haze .modal-header {
background-color: rgb(160 151 88);
}
.severe-storm .modal-header {
background-color: rgb(70 90 100);
}
.man-made .modal-header {
background-color: rgb(62 62 62);
}
.critical .modal-header {
background-color: rgb(88 88 88);
}
.modal-title {
font-size: 16px;
line-height: 24px;
font-weight: 300;
padding-left: 28px;
}
.modal-icon {
position: absolute;
top: -9px;
left: -20px;
height: 60px;
width: 60px;
z-index: 3;
background-color: #fff;
border-radius: 50%;
background-image: url("../images/natural-events/icon-default.svg");
background-size: 64px 64px;
background-position: -2px -2px;
}
.feature .modal-icon {
background-color: #d54e21;
background-size: 68px 68px;
background-position: 0;
background-image: none;
font-size: 32px;
padding-top: 14px;
padding-left: 8px;
font-weight: 900;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
display: inline-block;
font-style: normal;
font-feature-settings: normal;
font-variant: normal;
text-rendering: auto;
line-height: 1;
}
.feature .modal-icon::before {
content: "\F1D8";
}
.wildfire .modal-icon {
background-color: transparent;
background-size: 68px 68px;
background-position: -4px -4px;
background-image: url("../images/natural-events/icon-wildfires.svg");
}
.volcano .modal-icon {
background-color: transparent;
background-size: 68px 68px;
background-position: -4px -4px;
background-image: url("../images/natural-events/icon-volcanoes.svg");
}
.snow .modal-icon {
background-color: transparent;
background-size: 68px 68px;
background-position: -4px -4px;
background-image: url("../images/natural-events/icon-snow.svg");
}
.sea-and-lake-ice .modal-icon {
background-color: transparent;
background-size: 68px 68px;
background-position: -4px -4px;
background-image: url("../images/natural-events/icon-sea-and-lake-ice.svg");
}
.iceberg .modal-icon {
background-color: transparent;
background-size: 68px 68px;
background-position: -4px -4px;
background-image: url("../images/natural-events/icon-icebergs.svg");
}
.water-color .modal-icon {
background-color: transparent;
background-size: 68px 68px;
background-position: -4px -4px;
background-image: url("../images/natural-events/icon-water-color.svg");
}
.dust-and-haze .modal-icon {
background-color: transparent;
background-size: 68px 68px;
background-position: -4px -4px;
background-image: url("../images/natural-events/icon-dust-and-haze.svg");
}
.severe-storm .modal-icon {
background-color: transparent;
background-size: 68px 68px;
background-position: -4px -4px;
background-image: url("../images/natural-events/icon-severe-storms.svg");
}
.man-made .modal-icon {
background-color: transparent;
background-size: 68px 68px;
background-position: -4px -4px;
background-image: url("../images/natural-events/icon-manmade.svg");
}
.critical .modal-icon {
background-color: transparent;
background-size: 68px 68px;
background-position: -4px -4px;
background-image: url("../images/natural-events/icon-critical.svg");
}
.modal-body,
.modal-footer {
background-color: rgb(0 69 123 / 80%);
}
.feature .modal-body,
.feature .modal-footer {
background-color: rgb(213 78 33 / 80%);
}
.wildfire .modal-body,
.wildfire .modal-footer {
background-color: rgb(141 59 54 / 80%);
}
.volcano .modal-body,
.volcano .modal-footer {
background-color: rgb(165 115 75 / 80%);
}
.snow .modal-body,
.snow .modal-footer {
background-color: rgb(90 119 132 / 80%);
}
.sea-and-lake-ice .modal-body,
.sea-and-lake-ice .modal-footer {
background-color: rgb(50 134 151 / 80%);
}
.iceberg .modal-body,
.iceberg .modal-footer {
background-color: rgb(56 137 173 / 80%);
}
.water-color .modal-body,
.water-color .modal-footer {
background-color: rgb(69 125 115 / 80%);
}
.dust-and-haze .modal-body,
.dust-and-haze .modal-footer {
background-color: rgb(160 151 88 / 80%);
}
.severe-storm .modal-body,
.severe-storm .modal-footer {
background-color: rgb(70 90 100 / 80%);
}
.man-made .modal-body,
.man-made .modal-footer {
background-color: rgb(62 62 62 / 80%);
}
.critical .modal-body,
.critical .modal-footer {
background-color: rgb(88 88 88 / 80%);
}
.default .modal-body a,
.wildfire .modal-body a {
color: #7bf;
font-weight: 400;
text-decoration: none;
}
.default .modal-body a:hover,
.wildfire .modal-body a:hover {
color: #9df;
}
.step-container {
display: flex;
height: 40px;
width: 220px;
flex-flow: row wrap;
justify-content: space-between;
}
.step-previous {
color: #fff;
font-size: 40px;
height: 40px;
width: 40px;
margin: auto;
padding: 0;
border: none;
background: none;
}
.step-counter {
color: #fff;
width: 132px;
margin: 6px auto;
text-align: center;
p {
font-size: 22px;
line-height: 24px;
font-weight: 300;
}
}
.step-next {
color: #fff;
font-size: 40px;
height: 40px;
width: 40px;
margin: auto;
padding: 0;
border: none;
background: none;
}
.step-previous:not([href]):not([tabindex]):hover,
.step-previous:not([tabindex]):hover,
.step-previous:hover,
.step-next:not([href]):not([tabindex]):hover,
.step-next:not([tabindex]):hover,
.step-next:hover {
color: #fff;
opacity: 0.75;
}
.step-previous.disabled:not([href]):not([tabindex]):hover,
.step-previous.disabled:not([href]):not([tabindex]):focus,
.step-previous.disabled:not([tabindex]):hover,
.step-previous.disabled:not([tabindex]):focus,
.step-previous.disabled:hover,
.step-previous.disabled:focus,
.step-previous.disabled,
.step-next.disabled:not([href]):not([tabindex]):hover,
.step-next.disabled:not([href]):not([tabindex]):focus,
.step-next.disabled:not([tabindex]):hover,
.step-next.disabled:not([tabindex]):focus,
.step-next.disabled:hover,
.step-next.disabled:focus,
.step-next.disabled {
cursor: default;
color: #ddd;
opacity: 0.5;
}
}
/* TOUR-COMPLETE */
.tour-complete {
.modal-dialog {
border: 1px solid #333;
}
.modal.fade .modal-dialog {
transform: translate(0, 0);
}
.modal-dialog .modal-content {
border: 0;
}
.modal-body {
padding: 15px 15px 0;
background-color: #eee;
}
.modal-footer {
background-color: #eee;
display: block;
border-top: none;
padding: 8px 15px 15px;
}
.feature .modal-header {
background-color: rgb(213 78 33);
}
.wildfire .modal-header {
background-color: rgb(141 59 54);
}
.volcano .modal-header {
background-color: rgb(165 115 75);
}
.snow .modal-header {
background-color: rgb(90 119 132);
}
.sea-and-lake-ice .modal-header {
background-color: rgb(50 134 151);
}
.iceberg .modal-header {
background-color: rgb(56 137 173);
}
.water-color .modal-header {
background-color: rgb(69 125 115);
}
.dust-and-haze .modal-header {
background-color: rgb(160 151 88);
}
.severe-storm .modal-header {
background-color: rgb(70 90 100);
}
.man-made .modal-header {
background-color: rgb(62 62 62);
}
.critical .modal-header {
background-color: rgb(88 88 88);
}
}
.tour-complete .modal-body p {
color: #333;
font-size: 16px;
line-height: 24px;
margin-bottom: 16px;
}
.tour-complete .modal-body ul {
font-size: 16px;
line-height: 24px;
margin-top: -8px;
margin-left: 8px;
margin-bottom: 16px;
padding-left: 16px;
}
.tour-complete .modal-body ul li {
font-size: 16px;
line-height: 20px;
margin-bottom: 4px;
}
.tour-complete .modal-footer .btn {
font-size: 18px;
line-height: 24px;
font-weight: 300;
padding: 2px 25px 4px;
border-radius: 0;
margin: 0 0 4px;
width: 100%;
}
.tour-complete .modal-footer .btn-primary {
background-color: #133f90;
border-color: #133f90;
}
.tour-complete .modal-footer .btn-primary:hover,
.tour-complete .modal-footer .btn-primary:focus {
background-color: #133f77;
border-color: #133f77;
}
.tour-complete .modal-footer .btn-secondary {
background-color: #f15521;
border-color: #f15521;
}
.tour-complete .modal-footer .btn-secondary:hover,
.tour-complete .modal-footer .btn-secondary:focus {
background-color: #d54e21;
border-color: #d54e21;
}
/* Breakpoint: Small (576px to 767px) */
@media (min-width: 576px) {
.tour-complete .modal-footer {
display: flex;
justify-content: center;
}
.tour-complete .modal-footer .btn {
width: auto;
margin-bottom: 0;
}
.tour-complete .modal-footer > :not(:last-child) {
margin-right: 10px;
}
.tour-complete .modal-footer > :not(:first-child) {
margin-left: 10px;
}
}
@media (min-width: variables.$tablet-min-width) {
.tour {
display: block;
}
.tour-start .modal-dialog {
max-width: 624px;
}
.tour-start .modal-body .tour-box {
flex: none;
width: 200px;
}
.tour-start .modal-body .tour-box-float {
margin: 4px 4px 0 0;
}
.tour-complete .modal-dialog {
max-width: 572px;
}
}
@media (max-height: 815px) {
.tour-start .modal {
height: auto;
}
}
@media (max-height: 776px) {
.tour-in-progress .modal {
bottom: 290px;
}
.tour-in-progress .modal-content {
height: 300px;
}
}
@media (max-height: 720px) {
.tour-in-progress .modal {
right: 55px;
.modal-dialog {
box-shadow: variables.$wv-modal-shadow;
.modal-content {
border-radius: 8px;
}
.modal-header {
border-top-right-radius: 8px;
border-top-left-radius: 8px;
}
.modal-footer {
border-bottom-right-radius: 8px;
border-bottom-left-radius: 8px;
}
}
}
}
@media (max-height: 550px) {
.tour-in-progress .modal {
bottom: calc(var(--vh, 1vh) * 100 - 265px);
}
}
@media (min-height: 450px) {
.tour {
display: block;
}
}