diff --git a/content/multipledataset.html b/content/multipledataset.html index 495ebee2..97998c57 100644 --- a/content/multipledataset.html +++ b/content/multipledataset.html @@ -328,4 +328,4 @@ draft: false
- \ No newline at end of file +{{< waitModal >}} \ No newline at end of file diff --git a/content/onedataset.html b/content/onedataset.html index f50ae34a..43d8077a 100644 --- a/content/onedataset.html +++ b/content/onedataset.html @@ -200,4 +200,4 @@ draft: false

- \ No newline at end of file + {{< waitModal >}} \ No newline at end of file diff --git a/layouts/shortcodes/waitModal.html b/layouts/shortcodes/waitModal.html new file mode 100644 index 00000000..0d45f270 --- /dev/null +++ b/layouts/shortcodes/waitModal.html @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/static/css/modal.css b/static/css/modal.css index 31fc8fa9..ca8f618a 100644 --- a/static/css/modal.css +++ b/static/css/modal.css @@ -27,4 +27,11 @@ body.loading .modal { body.loading .modal { display: block; cursor: wait +} +.modal .content { + position: absolute; + left: 50%; + top: 50%; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); } \ No newline at end of file