Summary Files Commits Branches @commit @diff @stats
path: root / src / utilities.less
diff options
context:
space:
mode:
1 files changed, 25 insertions, 0 deletions
-rw-r--r--src/utilities.less25
diff --git a/src/utilities.less b/src/utilities.less
index ded95e7..a088eb0 100644
--- a/src/utilities.less
+++ b/src/utilities.less
@@ -160,6 +160,31 @@
border-radius: 50%;
}
+// Loading
+.loading {
+ min-height: 1.6rem;
+ color: transparent !important;
+ position: relative;
+ pointer-events: none;
+
+ &::after {
+ border: .2rem solid @core-color;
+ border-right-color: transparent;
+ border-top-color: transparent;
+ border-radius: .8rem;
+ content: "";
+ position: absolute;
+ left: 50%;
+ top: 50%;
+ margin-left: -.8rem;
+ margin-top: -.8rem;
+ display: block;
+ width: 1.6rem;
+ height: 1.6rem;
+ animation: loading 500ms infinite linear;
+ }
+}
+
// Animations
@keyframes loading {
0%{transform: rotate(0deg);}