This repository has been archived by the owner on Feb 8, 2018. It is now read-only.
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 #2215 from gittip/loading-indicator
Add a loading indicator to team members tab
- Loading branch information
Showing
7 changed files
with
59 additions
and
2 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,15 @@ | ||
@mixin animation($animation...) { | ||
-webkit-animation: $animation; | ||
animation: $animation; | ||
} | ||
|
||
@mixin keyframes($name) { | ||
@-webkit-keyframes #{$name} { | ||
@content; | ||
} | ||
|
||
@keyframes #{$name} { | ||
@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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
.loading-indicator { | ||
position: relative; | ||
margin: 0 auto 25px; | ||
width: 128px; | ||
height: 128px; | ||
overflow: hidden; | ||
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100%25" height="100%25" viewBox="0 -128 1536 1536"><circle cx="767" cy="640" r="767" fill="%23dddddd" /></svg>') no-repeat; | ||
|
||
&:after { | ||
content: ''; | ||
position: absolute; | ||
display: block; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100%25" height="100%25" viewBox="0 -128 1536 1536"><path d="M 763,1046 413,573 q -16,-22 -24.5,-59 -8.5,-37 6,-85 14.5,-48 61.5,-79 40,-26 83,-25.5 43,0.5 73.5,17.5 30.5,17 54.5,45 36,40 96,40 59,0 95,-40 24,-28 54.5,-45 30.5,-17 73.5,-17.5 43,-0.5 84,25.5 46,31 60.5,79 14.5,48 6,85 -8.5,37 -24.5,59 z" fill="%23ffffff" /></svg>') no-repeat; | ||
|
||
@include animation(heartbeat 1.5s infinite ease-in-out); | ||
} | ||
} | ||
|
||
@include keyframes(heartbeat) { | ||
10% { width: 125%; height: 125%; top: -12.5%; left: -12.5% } | ||
20% { width: 100%; height: 100%; top: 0; left: 0 } | ||
30% { width: 125%; height: 125%; top: -12.5%; left: -12.5% } | ||
40% { width: 100%; height: 100%; top: 0; left: 0 } | ||
} |
Binary file not shown.
Binary file not shown.