Parcourir la source

Add loading indicator style

Denis K il y a 8 ans
Parent
commit
ff1dc882a1
1 fichiers modifiés avec 14 ajouts et 0 suppressions
  1. 14 0
      jet/static/jet/css/_content.scss

+ 14 - 0
jet/static/jet/css/_content.scss

@@ -280,3 +280,17 @@ img[src$="admin/img/icon-yes.gif"] + span, img[src$="admin/img/icon-yes.svg"] +
 img[src$="admin/img/icon-no.gif"] + span, img[src$="admin/img/icon-no.svg"] + span {
   color: $warning-text-color;
 }
+
+/* LOADING INDOCATOR */
+
+.loading-indicator {
+  display: inline-block;
+  font-size: 32px;
+  color: $button-hover-background-color;
+  animation: spin 4s linear infinite;
+
+  &-wrapper {
+    text-align: center;
+    padding: 40px 0;
+  }
+}