-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The file download is relatively quick but the there's a freeze or slowdown when dialog is being shown -- that's why it's not a progress bar. The UI is essentially frozen while the text is loaded into the edit dialog so there's no good way to do a progress bar.
- Loading branch information
Jason F
committed
Dec 23, 2017
1 parent
a1280fb
commit 6b86d05
Showing
16 changed files
with
119 additions
and
35 deletions.
There are no files selected for viewing
Empty file.
Empty file.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
|
||
.loading { | ||
font-size: 40px; | ||
position: fixed; | ||
top: 50%; | ||
left: 50%; | ||
transform: translate(-50%, -50%); | ||
} | ||
|
||
.loading span { | ||
/** | ||
* Use the blink animation, which is defined above | ||
*/ | ||
animation-name: blink; | ||
/** | ||
* The animation should take 1.4 seconds | ||
*/ | ||
animation-duration: 1.4s; | ||
/** | ||
* It will repeat itself forever | ||
*/ | ||
animation-iteration-count: infinite; | ||
/** | ||
* This makes sure that the starting style (opacity: .2) | ||
* of the animation is applied before the animation starts. | ||
* Otherwise we would see a short flash or would have | ||
* to set the default styling of the dots to the same | ||
* as the animation. Same applies for the ending styles. | ||
*/ | ||
animation-fill-mode: both; | ||
} | ||
|
||
.loading span:nth-child(2) { | ||
/** | ||
* Starts the animation of the third dot | ||
* with a delay of .2s, otherwise all dots | ||
* would animate at the same time | ||
*/ | ||
animation-delay: .2s; | ||
} | ||
|
||
.loading span:nth-child(3) { | ||
/** | ||
* Starts the animation of the third dot | ||
* with a delay of .4s, otherwise all dots | ||
* would animate at the same time | ||
*/ | ||
animation-delay: .4s; | ||
} | ||
|
||
@keyframes blink { | ||
/** | ||
* At the start of the animation the dot | ||
* has an opacity of .2 | ||
*/ | ||
0% { | ||
opacity: .2; | ||
} | ||
/** | ||
* At 20% the dot is fully visible and | ||
* then fades out slowly | ||
*/ | ||
20% { | ||
opacity: 1; | ||
} | ||
/** | ||
* Until it reaches an opacity of .2 and | ||
* the animation can start again | ||
*/ | ||
100% { | ||
opacity: .2; | ||
} | ||
} |
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
Empty file.
Empty file.
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
Empty file.