-
Notifications
You must be signed in to change notification settings - Fork 0
/
onionmap.css
63 lines (61 loc) · 1.55 KB
/
onionmap.css
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#map {
position: relative;
height: 500px;
}
#map.loading {}
#map.loading::before {
content: " ";
display: block;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.2);
z-index: 1;
}
#map.loading::after {
content: " ";
display: block;
position: absolute;
z-index: 2;
top: 50%;
left: 50%;
margin: -5.5em 0 0 -5.5em;
font-size: 10px;
text-indent: -9999em;
width: 11em;
height: 11em;
border-radius: 50%;
background: #fff;
background: -moz-linear-gradient(left, #fff 10%, rgba(255, 255, 255, 0) 42%);
background: -webkit-linear-gradient(left, #fff 10%, rgba(255, 255, 255, 0) 42%);
background: -o-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
background: -ms-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
background: linear-gradient(to right, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
-webkit-animation: loading 1.4s infinite linear;
animation: loading 1.4s infinite linear;
-webkit-transform: translateZ(0);
-ms-transform: translateZ(0);
transform: translateZ(0);
}
@-webkit-keyframes loading {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes loading {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}