Qrbox.wxss
921 Bytes
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
34
35
36
37
38
39
40
41
42
43
/* components/Qrbox.wxss */
.qr-box {
display: flex;
justify-content: center;
align-items: center;
min-height: var(--fontSize400);
margin-bottom: var(--fontSize14);
}
.qr-box .qrImg {
width: var(--fontSize400);
height: var(--fontSize400);
display: inline-block;
}
.loadingBox {
width: var(--fontSize400);
height: var(--fontSize400);
position: relative;
}
.loader {
border-top:0.2em solid rgba(0,0,0,0.1);
border-right:0.2em solid rgba(0,0,0,0.1);
border-bottom:0.2em solid rgba(0,0,0,0.1);
border-left:0.2em solid #555;
transform:translateZ(0);
animation:loader 500ms infinite linear;
transition:all 500ms ease;
}
.loader,.loader:after {
border-radius:50%;
width:1.5em;
height:1.5em;
}
@keyframes loader {
0% {
-webkit-transform:rotate(0deg);
transform:rotate(0deg);
}
100% {
-webkit-transform:rotate(360deg);
transform:rotate(360deg);
}
}