mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-12 17:34:16 -04:00
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:
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;
|
||||
}
|
||||
}
|
||||
@@ -66,6 +66,7 @@ $path: '/static/images/';
|
||||
@import 'components/preview-pane';
|
||||
@import 'components/task-list';
|
||||
@import 'components/vendor/govuk-back-link';
|
||||
@import 'components/loading-indicator';
|
||||
|
||||
@import 'views/dashboard';
|
||||
@import 'views/users';
|
||||
|
||||
Reference in New Issue
Block a user