paricafe/src/client/components/loading.vue

47 lines
693 B
Vue
Raw Normal View History

<template>
<div class="yxspomdl">
2020-02-10 05:44:59 -06:00
<div class="ring"></div>
</div>
</template>
<script lang="ts">
import Vue from 'vue';
export default Vue.extend({
});
</script>
<style lang="scss" scoped>
2020-02-10 05:44:59 -06:00
@keyframes ring {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.yxspomdl {
padding: 32px;
text-align: center;
2020-02-10 05:44:59 -06:00
> .ring {
display: inline-block;
opacity: 0.7;
2020-02-11 11:35:03 -06:00
vertical-align: middle;
2020-02-10 05:44:59 -06:00
}
> .ring:after {
content: " ";
display: block;
2020-02-11 11:35:03 -06:00
box-sizing: border-box;
width: 48px;
height: 48px;
2020-02-10 05:44:59 -06:00
border-radius: 50%;
2020-02-11 11:35:03 -06:00
border: solid 4px;
border-color: currentColor transparent transparent transparent;
2020-02-10 05:44:59 -06:00
animation: ring 0.5s linear infinite;
}
}
</style>