2017-08-18 10:26:19 +00:00
|
|
|
<style>
|
2018-10-09 12:07:23 +00:00
|
|
|
body, html, #<%= globals.id %> {
|
2018-08-08 16:15:15 +00:00
|
|
|
background: <%= options.background %>;
|
2017-08-18 10:26:19 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2017-08-18 13:43:50 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2017-08-18 10:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.spinner {
|
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
|
|
|
background-color: <%= options.color %>;
|
|
|
|
|
|
|
|
-webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
|
|
|
|
animation: sk-rotateplane 1.2s infinite ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
@-webkit-keyframes sk-rotateplane {
|
|
|
|
0% { -webkit-transform: perspective(120px) }
|
|
|
|
50% { -webkit-transform: perspective(120px) rotateY(180deg) }
|
|
|
|
100% { -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg) }
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes sk-rotateplane {
|
2017-08-18 13:43:50 +00:00
|
|
|
0% {
|
2017-08-18 10:26:19 +00:00
|
|
|
transform: perspective(120px) rotateX(0deg) rotateY(0deg);
|
2017-08-18 13:43:50 +00:00
|
|
|
-webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
|
|
|
|
} 50% {
|
2017-08-18 10:26:19 +00:00
|
|
|
transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
|
2017-08-18 13:43:50 +00:00
|
|
|
-webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
|
|
|
|
} 100% {
|
2017-08-18 10:26:19 +00:00
|
|
|
transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
|
|
|
|
-webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<div class="spinner"></div>
|
|
|
|
|
2018-03-25 18:35:13 +00:00
|
|
|
<%= options.dev ? '<!-- http://tobiasahlin.com/spinkit -->' : '' %>
|