-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #613 from plebbit/development
Development
- Loading branch information
Showing
6 changed files
with
193 additions
and
70 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
50 changes: 40 additions & 10 deletions
50
src/components/loading-ellipsis/loading-ellipsis.module.css
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,22 +1,52 @@ | ||
.nowrap { | ||
white-space: nowrap; | ||
} | ||
|
||
.ellipsis { | ||
display: inline-block; | ||
width: 4ch; | ||
} | ||
|
||
.ellipsis:after { | ||
overflow: hidden; | ||
display: inline-block; | ||
position: absolute; | ||
vertical-align: bottom; | ||
-webkit-animation: ellipsis steps(4,end) 1500ms infinite; | ||
animation: ellipsis steps(4,end) 1500ms infinite; | ||
content: "\2026"; /* ascii code for the ellipsis character */ | ||
width: 0px; | ||
-webkit-animation: ellipsis 1500ms steps(4, end) infinite; | ||
animation: ellipsis 1500ms steps(4, end) infinite; | ||
content: ""; | ||
} | ||
|
||
@keyframes ellipsis { | ||
to { | ||
width: 1.25em; | ||
0% { | ||
content: ""; | ||
} | ||
25% { | ||
content: "."; | ||
} | ||
50% { | ||
content: ".."; | ||
} | ||
75% { | ||
content: "..."; | ||
} | ||
100% { | ||
content: ""; | ||
} | ||
} | ||
|
||
@-webkit-keyframes ellipsis { | ||
to { | ||
width: 1.25em; | ||
0% { | ||
content: ""; | ||
} | ||
25% { | ||
content: "."; | ||
} | ||
50% { | ||
content: ".."; | ||
} | ||
75% { | ||
content: "..."; | ||
} | ||
100% { | ||
content: ""; | ||
} | ||
} |
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
Oops, something went wrong.