Added new loading modal window. Phase 1.
Phase 2 will include metadata, currently it needs to be rewritten to allow it.
Also removed some redundant loading animations.
Change-Id: I1dce75460a0d61d14ec1de43b250b1cb27801c65
diff --git a/client/catalog/css/cubeLoader.css b/client/catalog/css/cubeLoader.css
deleted file mode 100644
index 008b846..0000000
--- a/client/catalog/css/cubeLoader.css
+++ /dev/null
@@ -1,61 +0,0 @@
-.sk-cube-grid {
- width: 40px;
- height: 40px;
- margin: 100px auto;
-}
-
-.sk-cube-grid .sk-cube {
- width: 33%;
- height: 33%;
- background-color: #333;
- float: left;
- -webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
- animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
-}
-.sk-cube-grid .sk-cube1 {
- -webkit-animation-delay: 0.2s;
- animation-delay: 0.2s; }
-.sk-cube-grid .sk-cube2 {
- -webkit-animation-delay: 0.3s;
- animation-delay: 0.3s; }
-.sk-cube-grid .sk-cube3 {
- -webkit-animation-delay: 0.4s;
- animation-delay: 0.4s; }
-.sk-cube-grid .sk-cube4 {
- -webkit-animation-delay: 0.1s;
- animation-delay: 0.1s; }
-.sk-cube-grid .sk-cube5 {
- -webkit-animation-delay: 0.2s;
- animation-delay: 0.2s; }
-.sk-cube-grid .sk-cube6 {
- -webkit-animation-delay: 0.3s;
- animation-delay: 0.3s; }
-.sk-cube-grid .sk-cube7 {
- -webkit-animation-delay: 0s;
- animation-delay: 0s; }
-.sk-cube-grid .sk-cube8 {
- -webkit-animation-delay: 0.1s;
- animation-delay: 0.1s; }
-.sk-cube-grid .sk-cube9 {
- -webkit-animation-delay: 0.2s;
- animation-delay: 0.2s; }
-
-@-webkit-keyframes sk-cubeGridScaleDelay {
- 0%, 70%, 100% {
- -webkit-transform: scale3D(1, 1, 1);
- transform: scale3D(1, 1, 1);
- } 35% {
- -webkit-transform: scale3D(0, 0, 1);
- transform: scale3D(0, 0, 1);
- }
-}
-
-@keyframes sk-cubeGridScaleDelay {
- 0%, 70%, 100% {
- -webkit-transform: scale3D(1, 1, 1);
- transform: scale3D(1, 1, 1);
- } 35% {
- -webkit-transform: scale3D(0, 0, 1);
- transform: scale3D(0, 0, 1);
- }
-}
diff --git a/client/catalog/css/style.css b/client/catalog/css/style.css
index 0146b6e..d8be5c1 100644
--- a/client/catalog/css/style.css
+++ b/client/catalog/css/style.css
@@ -8,8 +8,6 @@
background-attachment: fixed;
}
-body#body {}
-
.sidebar {
height: 100%;
max-height: 100%;
@@ -170,7 +168,7 @@
content: "[=]"
}
-#popup {
+.popup {
top: 0;
left: 0;
position: fixed;
@@ -183,23 +181,15 @@
pointer-events: none;
}
-#popup > * {
+.popup > * {
display: none;
pointer-events: auto;
}
-.modal-open, #request {
+.modal-open, #request, #loading {
padding-right: 0 !important;
}
-.sk-cube-grid {
- display: none;
-}
-
-table:empty ~ .sk-cube-grid {
- display: block;
-}
-
#requestForm {
max-width: 500px;
/* min-height: 300px; */
@@ -267,3 +257,11 @@
#direct-download-list:empty:before {
content: "No names in the selection are available for direct download...";
}
+
+#loading.loading #cancel-text {
+ display: none;
+}
+
+#loading.cancelled #loading-text {
+ display: none;
+}