-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a spinner on the top middle, left of the precipitation slider, to be shown when the scenarios are polling. This uses a new spinner which is sleeker and faster than the usual fa-circle-o-notch used elsewhere in the app. Eventually, all of those should be replaced with this. squash! Add spinner on poll The spinner is now in the middle of the screen, rather than the top-right.
- Loading branch information
Showing
5 changed files
with
32 additions
and
0 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
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,21 @@ | ||
.spinner:after { | ||
content: ''; | ||
box-sizing: border-box; | ||
position: absolute; | ||
top: 22px; | ||
right: 14px; | ||
width: 20px; | ||
height: 20px; | ||
margin-top: -10px; | ||
margin-left: -10px; | ||
border-radius: 50%; | ||
border: 2px solid #ccc; | ||
border-top-color: #333; | ||
animation: spinner-animation 0.6s linear infinite; | ||
} | ||
|
||
@keyframes spinner-animation { | ||
to { | ||
transform: rotate(360deg); | ||
} | ||
} |
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