Nuxt/packages/vue-app/template/views/loading/cube-grid.html

88 lines
2.2 KiB
HTML
Raw Normal View History

2017-08-18 10:26:19 +00:00
<style>
body, html, #<%= globals.id %> {
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
}
.sk-cube-grid {
width: 40px;
height: 40px;
}
.sk-cube-grid .sk-cube {
width: 33%;
height: 33%;
background-color: <%= options.color %>;
float: left;
-webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
2017-08-18 13:43:50 +00:00
animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
2017-08-18 10:26:19 +00:00
}
.sk-cube-grid .sk-cube1 {
-webkit-animation-delay: 0.2s;
animation-delay: 0.2s; }
.sk-cube-grid .sk-cube2 {
-webkit-animation-delay: 0.3s;
animation-delay: 0.3s; }
.sk-cube-grid .sk-cube3 {
-webkit-animation-delay: 0.4s;
animation-delay: 0.4s; }
.sk-cube-grid .sk-cube4 {
-webkit-animation-delay: 0.1s;
animation-delay: 0.1s; }
.sk-cube-grid .sk-cube5 {
-webkit-animation-delay: 0.2s;
animation-delay: 0.2s; }
.sk-cube-grid .sk-cube6 {
-webkit-animation-delay: 0.3s;
animation-delay: 0.3s; }
.sk-cube-grid .sk-cube7 {
-webkit-animation-delay: 0s;
animation-delay: 0s; }
.sk-cube-grid .sk-cube8 {
-webkit-animation-delay: 0.1s;
animation-delay: 0.1s; }
.sk-cube-grid .sk-cube9 {
-webkit-animation-delay: 0.2s;
animation-delay: 0.2s; }
@-webkit-keyframes sk-cubeGridScaleDelay {
0%, 70%, 100% {
-webkit-transform: scale3D(1, 1, 1);
transform: scale3D(1, 1, 1);
} 35% {
-webkit-transform: scale3D(0, 0, 1);
2017-08-18 13:43:50 +00:00
transform: scale3D(0, 0, 1);
2017-08-18 10:26:19 +00:00
}
}
@keyframes sk-cubeGridScaleDelay {
0%, 70%, 100% {
-webkit-transform: scale3D(1, 1, 1);
transform: scale3D(1, 1, 1);
} 35% {
-webkit-transform: scale3D(0, 0, 1);
transform: scale3D(0, 0, 1);
2017-08-18 13:43:50 +00:00
}
2017-08-18 10:26:19 +00:00
}
</style>
<div class="sk-cube-grid">
<div class="sk-cube sk-cube1"></div>
<div class="sk-cube sk-cube2"></div>
<div class="sk-cube sk-cube3"></div>
<div class="sk-cube sk-cube4"></div>
<div class="sk-cube sk-cube5"></div>
<div class="sk-cube sk-cube6"></div>
<div class="sk-cube sk-cube7"></div>
<div class="sk-cube sk-cube8"></div>
<div class="sk-cube sk-cube9"></div>
</div>
2018-03-25 18:35:13 +00:00
<%= options.dev ? '<!-- http://tobiasahlin.com/spinkit -->' : '' %>