mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-04-14 09:08:32 +00:00
improved loading animation
This commit is contained in:
parent
cee1040bcb
commit
703ac6d861
3 changed files with 11 additions and 6 deletions
web-frontend
|
@ -149,6 +149,10 @@
|
||||||
</a>
|
</a>
|
||||||
<a href="#" class="button button-large button-ghost">Go back</a>
|
<a href="#" class="button button-large button-ghost">Go back</a>
|
||||||
</div>
|
</div>
|
||||||
|
<div style="margin-bottom: 20px">
|
||||||
|
<a href="#" class="button button-large button-loading">Loading</a>
|
||||||
|
<a href="#" class="button button-loading">Loading</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -23,14 +23,14 @@
|
||||||
|
|
||||||
@keyframes spin {
|
@keyframes spin {
|
||||||
0% {
|
0% {
|
||||||
transform: rotate(0deg);
|
transform:rotate(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
40% {
|
50% {
|
||||||
transform: rotate(360deg);
|
transform:rotate(360deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
transform: rotate(720deg);
|
transform:rotate(720deg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -78,8 +78,9 @@
|
||||||
width: 1.4em;
|
width: 1.4em;
|
||||||
height: 1.4em;
|
height: 1.4em;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
border: 0.25em solid #fff;
|
border: 0.25em solid;
|
||||||
border-color: #fff transparent #fff transparent;
|
border-color: #fff transparent #fff transparent;
|
||||||
animation: spin 1.8s linear infinite;
|
animation: spin infinite 1800ms;
|
||||||
|
animation-timing-function: cubic-bezier(.785, .135, .15, .86);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue