| 1 |
/** |
| 2 |
* Mixin to generate a transition |
| 3 |
* |
| 4 |
* @param {string} $transitionProperties... The properties to animate |
| 5 |
* |
| 6 |
* @return {void} |
| 7 |
*/ |
| 8 |
/** |
| 9 |
* Spin for WebKit |
| 10 |
*/ |
| 11 |
@-webkit-keyframes spin { |
| 12 |
0% { |
| 13 |
-webkit-transform: rotate(0deg); |
| 14 |
transform: rotate(0deg); } |
| 15 |
50% { |
| 16 |
-webkit-transform: rotate(180deg); |
| 17 |
transform: rotate(180deg); } |
| 18 |
100% { |
| 19 |
-webkit-transform: rotate(360deg); |
| 20 |
transform: rotate(360deg); } } |
| 21 |
/** |
| 22 |
* Spin for Firefox |
| 23 |
*/ |
| 24 |
@-moz-keyframes spin { |
| 25 |
0% { |
| 26 |
-moz-transform: rotate(0deg); |
| 27 |
transform: rotate(0deg); } |
| 28 |
50% { |
| 29 |
-moz-transform: rotate(180deg); |
| 30 |
transform: rotate(180deg); } |
| 31 |
100% { |
| 32 |
-moz-transform: rotate(360deg); |
| 33 |
transform: rotate(360deg); } } |
| 34 |
/** |
| 35 |
* Spin for Opera (who's still using this?) |
| 36 |
*/ |
| 37 |
@-o-keyframes spin { |
| 38 |
0% { |
| 39 |
-o-transform: rotate(0deg); |
| 40 |
transform: rotate(0deg); } |
| 41 |
50% { |
| 42 |
-o-transform: rotate(180deg); |
| 43 |
transform: rotate(180deg); } |
| 44 |
100% { |
| 45 |
-o-transform: rotate(360deg); |
| 46 |
transform: rotate(360deg); } } |
| 47 |
/** |
| 48 |
* Spin for generic stuff |
| 49 |
*/ |
| 50 |
@keyframes spin { |
| 51 |
0% { |
| 52 |
transform: rotate(0deg); } |
| 53 |
50% { |
| 54 |
transform: rotate(180deg); } |
| 55 |
100% { |
| 56 |
transform: rotate(360deg); } } |
| 57 |
.notice { |
| 58 |
opacity: 1; |
| 59 |
-webkit-transition: opacity 500ms; |
| 60 |
-moz-transition: opacity 500ms; |
| 61 |
-ms-transition: opacity 500ms; |
| 62 |
-o-transition: opacity 500ms; |
| 63 |
transition: opacity 500ms; } |
| 64 |
.notice.notice-invisible { |
| 65 |
opacity: 0; } |
| 66 |
.notice.notice-hidden { |
| 67 |
display: none; } |
| 68 |
|
| 69 |
.site-refresh-inner { |
| 70 |
padding: 10px; |
| 71 |
text-align: center; |
| 72 |
border: 1px solid #d8d8d8; |
| 73 |
background-color: #fff; |
| 74 |
-webkit-backface-visibility: hidden; } |
| 75 |
.site-refresh-inner .logo { |
| 76 |
font-size: 40px; |
| 77 |
width: 40px; |
| 78 |
height: 40px; } |
| 79 |
.site-refresh-inner .logo.logo-spin { |
| 80 |
-webkit-animation-name: spin; |
| 81 |
-moz-animation-name: spin; |
| 82 |
animation-name: spin; |
| 83 |
-webkit-animation-duration: 1s; |
| 84 |
-moz-animation-duration: 1s; |
| 85 |
animation-duration: 1s; |
| 86 |
-webkit-animation-timing-function: linear; |
| 87 |
-moz-animation-timing-function: linear; |
| 88 |
animation-timing-function: linear; |
| 89 |
-webkit-animation-iteration-count: 1; |
| 90 |
-moz-animation-iteration-count: 1; |
| 91 |
animation-iteration-count: 1; } |
| 92 |
.site-refresh-inner .button { |
| 93 |
font-size: 20px; |
| 94 |
display: inline; |
| 95 |
cursor: pointer; } |
| 96 |
|