Nuxt/lib/app/views/loading/pulse.html

49 lines
926 B
HTML
Raw Normal View History

2017-08-18 10:26:19 +00:00
<style>
body, html, #__nuxt {
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 %>;
2017-08-18 13:43:50 +00:00
border-radius: 100%;
2017-08-18 10:26:19 +00:00
-webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
animation: sk-scaleout 1.0s infinite ease-in-out;
}
@-webkit-keyframes sk-scaleout {
0% { -webkit-transform: scale(0) }
100% {
-webkit-transform: scale(1.0);
opacity: 0;
}
}
@keyframes sk-scaleout {
2017-08-18 13:43:50 +00:00
0% {
2017-08-18 10:26:19 +00:00
-webkit-transform: scale(0);
transform: scale(0);
} 100% {
-webkit-transform: scale(1.0);
transform: scale(1.0);
opacity: 0;
}
}
</style>
<div class="spinner">
<div class="double-bounce1"></div>
<div class="double-bounce2"></div>
</div>
2018-03-25 18:35:13 +00:00
<%= options.dev ? '<!-- http://tobiasahlin.com/spinkit -->' : '' %>