Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Add modal css transistions

ZachTRice808942b30d06
diff --git a/web/css/tour.css b/web/css/tour.css
index 157fb921b..0f2ff51ce 100644
--- a/web/css/tour.css
+++ b/web/css/tour.css
@@ -59,6 +59,11 @@
margin-bottom: 0;
}
+.tour-start .modal.fade .modal-dialog {
+ transform: translate(0, 0);
+ -webkit-transform: translate(0, 0);
+}
+
.tour-start .modal-content {
background-color: #eee;
border: 0;
@@ -212,6 +217,17 @@
max-width: 248px;
}
+.tour-in-progress .modal.fade .modal-dialog {
+ transform: translate(100%, 0);
+ -webkit-transform: translate(100%, 0);
+ transition: transform 0.5s ease-out;
+}
+
+.tour-in-progress .modal.show .modal-dialog {
+ transform: translate(0, 0);
+ -webkit-transform: translate(0, 0);
+}
+
.tour-in-progress .modal-content {
min-width: 248px;
max-height: 357px;
@@ -510,6 +526,11 @@
border: 1px solid #333;
}
+.tour-complete .modal.fade .modal-dialog {
+ transform: translate(0, 0);
+ -webkit-transform: translate(0, 0);
+}
+
.tour-complete .modal-content {
border: 0;
border-radius: 0;
@@ -664,4 +685,4 @@
.tour-start .modal {
height: auto;
}
-}
\ No newline at end of file
+}