-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change design of loading indicator (#13251)
* Change design of loading indicator * Adapt tests to new loading indicator class name
- Loading branch information
Showing
7 changed files
with
98 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 7 additions & 8 deletions
15
frontend/src/app/shared/components/toaster/toast.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 14 additions & 16 deletions
30
frontend/src/global_styles/content/_loading_indicator.lsg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,25 @@ | ||
# Loading indicator | ||
|
||
``` | ||
<div class="loading-indicator"> | ||
<div class="block-1"></div> | ||
<div class="block-2"></div> | ||
<div class="block-3"></div> | ||
<div class="block-4"></div> | ||
<div class="block-5"></div> | ||
</div> | ||
```html | ||
<svg class="op-loading-indicator"> | ||
<rect rx="4px"/> | ||
<rect rx="4px"/> | ||
<rect rx="4px"/> | ||
<rect rx="2px"/> | ||
</svg> | ||
``` | ||
|
||
|
||
To block the entire page, wrap the element in a div.loading-indicator--background | ||
To block the entire page, wrap the element in a `div.loading-indicator--background` | ||
|
||
|
||
``` html | ||
<div class="loading-indicator--background"> | ||
<div class="loading-indicator"> | ||
<div class="block-1"></div> | ||
<div class="block-2"></div> | ||
<div class="block-3"></div> | ||
<div class="block-4"></div> | ||
<div class="block-5"></div> | ||
</div> | ||
<svg class="op-loading-indicator"> | ||
<rect rx="4px"/> | ||
<rect rx="4px"/> | ||
<rect rx="4px"/> | ||
<rect rx="2px"/> | ||
</svg> | ||
</div> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters