blob: 37cc5a56f6e4749194102c8868f9eb6b7251903c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
<template>
<div class="loader-wrapper">
<div class="loader is-loading" />
</div>
</template>
<style lang="scss" scoped>
.loader-wrapper {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
background: #fff;
opacity: 0;
z-index: -1;
transition: opacity .3s;
display: flex;
justify-content: center;
align-items: center;
border-radius: 6px;
.loader {
height: 80px;
width: 80px;
}
&.is-active {
opacity: 1;
z-index: 1;
}
}
</style>
|