mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 00:07:02 -04:00
Merge pull request #2971 from alphagov/loading-indicator
Add a loading indicator component
This commit is contained in:
18
app/assets/stylesheets/components/loading-indicator.scss
Normal file
18
app/assets/stylesheets/components/loading-indicator.scss
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user