]> git.0d.be Git - panikweb.git/blobdiff - panikweb_templates/static/css/_specifics.scss
add loading bar
[panikweb.git] / panikweb_templates / static / css / _specifics.scss
index 4abb12b0bead7eec9dc5ecac6d3c335c7608a604..bdcdb30133416268a3c0ad8db2b4e422545b7299 100644 (file)
@@ -2381,3 +2381,25 @@ div#grid table {
        max-width: 1000px;
        margin: 0 auto;
 }
+
+div#loading-page {
+       position: fixed;
+       top: 0;
+       left: 0;
+       right: 0;
+       height: 5px;
+       background: $secondary;
+       z-index: 100;
+       animation-name: load_animation;
+       animation-duration: 6000ms;
+       animation-timing-function: ease-out;
+       transition: opacity 200ms linear;
+       &.fade {
+               opacity: 0;
+       }
+}
+
+@keyframes load_animation {
+       0% { right: 100%; }
+       100% { right: 0%; }
+}