You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
530 B
36 lines
530 B
<template>
|
|
<div class="overlay">
|
|
<throbber :text="text" class="throbber"/>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import throbber from "@/components/throbber";
|
|
export default {
|
|
name: "throbberOverlay",
|
|
components:{
|
|
throbber
|
|
},
|
|
props: {
|
|
text: String
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped>
|
|
.throbber{
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
.overlay{
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
background-color: #111d;
|
|
user-select: none;
|
|
}
|
|
</style> |