This repository has been archived by the owner on Feb 2, 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.
Use same throbber styles as Spartacus (bug 1066100)
- Loading branch information
1 parent
29e922f
commit 2278231
Showing
4 changed files
with
10 additions
and
35 deletions.
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
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,55 +1,29 @@ | ||
.throbber { | ||
// This will normally be overlaid hence it needs it's own background. | ||
background: rgba(244, 244, 244, 0.9); | ||
bottom: 0; | ||
min-height: 100%; | ||
grain(); | ||
left: 0; | ||
padding-top: 90px; | ||
padding-top: 80px; | ||
position: fixed; | ||
right: 0; | ||
top: 0; | ||
width: 100%; | ||
z-index: 10; | ||
|
||
&:before { | ||
// embedurl will embed as base64. | ||
background-image: embedurl('throbber.png'); | ||
background: transparent embedurl('throbber-53.gif') no-repeat 50% 50%; | ||
content: ''; | ||
display: block; | ||
height: 53px; | ||
margin: 0 auto; | ||
width: 50px; | ||
height: 50px; | ||
animation(unquote('.9s spin infinite linear')); | ||
width: 53px; | ||
} | ||
|
||
span { | ||
display: block; | ||
margin-top: 1em; | ||
margin: 0 auto; | ||
max-width: 320px; | ||
text-align: center; | ||
margin-top: 1em; | ||
} | ||
} | ||
|
||
@-webkit-keyframes spin { | ||
from { | ||
-webkit-transform: rotate(0deg); | ||
} | ||
to { | ||
-webkit-transform: rotate(365deg); | ||
} | ||
} | ||
@-moz-keyframes spin { | ||
from { | ||
-moz-transform: rotate(0deg); | ||
} | ||
to { | ||
-moz-transform: rotate(365deg); | ||
} | ||
} | ||
@keyframes spin { | ||
from { | ||
transform: rotate(0deg); | ||
} | ||
to { | ||
transform: rotate(365deg); | ||
} | ||
} | ||
|
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