Add a loading indicator component

This will let us design a page which tells the user they need to wait.
This commit is contained in:
Chris Hill-Scott
2019-05-15 15:29:47 +01:00
parent e4b1759b3b
commit 5b4edc92fd
2 changed files with 19 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
@keyframes ellipsis {
to {
width: 1.25em;
}
}
.loading-indicator {
&:after {
overflow: hidden;
display: inline-block;
vertical-align: bottom;
animation: ellipsis steps(4,end) 1.5s infinite;
content: "\2026"; // ellipsis
width: 0;
position: relative;
left: -0.15em;
}
}