Bläddra i källkod

Merge branch 'bug-preloader'

n1474335 8 år sedan
förälder
incheckning
bb45ff0515
2 ändrade filer med 9 tillägg och 5 borttagningar
  1. 1 1
      src/web/App.js
  2. 8 4
      src/web/stylesheets/preloader.css

+ 1 - 1
src/web/App.js

@@ -73,7 +73,7 @@ App.prototype.loaded = function() {
     }, 1000);
 
     // Clear the loading message interval
-    clearInterval(window.loadingMsgInt);
+    clearInterval(window.loadingMsgsInt);
 };
 
 

+ 8 - 4
src/web/stylesheets/preloader.css

@@ -37,20 +37,24 @@
 #preloader:after {
     content: "";
     position: absolute;
-    top: 5px;
-    left: 5px;
-    right: 5px;
-    bottom: 5px;
     border: 3px solid transparent;
     border-radius: 50%;
 }
 
 #preloader:before {
+    top: 5px;
+    left: 5px;
+    right: 5px;
+    bottom: 5px;
     border-top-color: #e74c3c;
     animation: spin 3s linear infinite;
 }
 
 #preloader:after {
+    top: 13px;
+    left: 13px;
+    right: 13px;
+    bottom: 13px;
     border-top-color: #f9c922;
     animation: spin 1.5s linear infinite;
 }