|
@@ -5,16 +5,73 @@ |
|
@@ -5,16 +5,73 @@ |
5
|
bottom: 0;
|
5
|
bottom: 0;
|
6
|
right: 0;
|
6
|
right: 0;
|
7
|
left: 0;
|
7
|
left: 0;
|
|
|
8
|
+
|
|
|
9
|
+ @-webkit-keyframes scale {
|
|
|
10
|
+ 0% {
|
|
|
11
|
+ -webkit-transform: scale(1);
|
|
|
12
|
+ transform: scale(1);
|
|
|
13
|
+ opacity: 1;
|
|
|
14
|
+ }
|
|
|
15
|
+
|
|
|
16
|
+ 45% {
|
|
|
17
|
+ -webkit-transform: scale(0.1);
|
|
|
18
|
+ transform: scale(0.1);
|
|
|
19
|
+ opacity: 0.7;
|
|
|
20
|
+ }
|
|
|
21
|
+
|
|
|
22
|
+ 80% {
|
|
|
23
|
+ -webkit-transform: scale(1);
|
|
|
24
|
+ transform: scale(1);
|
|
|
25
|
+ opacity: 1;
|
|
|
26
|
+ }
|
|
|
27
|
+ }
|
|
|
28
|
+
|
|
|
29
|
+ @keyframes scale {
|
|
|
30
|
+ 0% {
|
|
|
31
|
+ -webkit-transform: scale(1);
|
|
|
32
|
+ transform: scale(1);
|
|
|
33
|
+ opacity: 1;
|
|
|
34
|
+ }
|
|
|
35
|
+
|
|
|
36
|
+ 45% {
|
|
|
37
|
+ -webkit-transform: scale(0.1);
|
|
|
38
|
+ transform: scale(0.1);
|
|
|
39
|
+ opacity: 0.7;
|
|
|
40
|
+ }
|
|
|
41
|
+
|
|
|
42
|
+ 80% {
|
|
|
43
|
+ -webkit-transform: scale(1);
|
|
|
44
|
+ transform: scale(1);
|
|
|
45
|
+ opacity: 1;
|
|
|
46
|
+ }
|
|
|
47
|
+ }
|
8
|
|
48
|
|
9
|
.loading {
|
49
|
.loading {
|
10
|
position: absolute;
|
50
|
position: absolute;
|
11
|
- width: 100rem / $pxConvertRem;
|
|
|
12
|
- height: 40rem / $pxConvertRem;
|
|
|
13
|
- background: image-url('loading.gif') no-repeat;
|
|
|
14
|
- background-size: 100% 100%;
|
51
|
+ width: 60px;
|
|
|
52
|
+ height: 20px;
|
15
|
top: 50%;
|
53
|
top: 50%;
|
16
|
left: 50%;
|
54
|
left: 50%;
|
17
|
- margin-left: -50rem / $pxConvertRem;
|
|
|
18
|
- margin-top: -20rem / $pxConvertRem;
|
55
|
+ margin-top: -10px;
|
|
|
56
|
+ margin-left: -30px;
|
|
|
57
|
+
|
|
|
58
|
+ > div {
|
|
|
59
|
+ display: inline-block;
|
|
|
60
|
+ background: #fff;
|
|
|
61
|
+ width: 15px;
|
|
|
62
|
+ height: 15px;
|
|
|
63
|
+ @include border-radius(100%);
|
|
|
64
|
+ margin: 2px;
|
|
|
65
|
+
|
|
|
66
|
+ $init: 0.12;
|
|
|
67
|
+ @for $i from 1 through 3 {
|
|
|
68
|
+ &:nth-child(#{$i}) {
|
|
|
69
|
+ -webkit-animation: scale .75s #{$init}s infinite cubic-bezier(.2,.68,.18,1.08);
|
|
|
70
|
+ animation: scale .75s #{$init}s infinite cubic-bezier(.2,.68,.18,1.08);
|
|
|
71
|
+ }
|
|
|
72
|
+
|
|
|
73
|
+ $init: ($i + 1) * 0.12;
|
|
|
74
|
+ }
|
|
|
75
|
+ }
|
19
|
}
|
76
|
}
|
20
|
} |
77
|
} |