-
Notifications
You must be signed in to change notification settings - Fork 0
/
ws-wating.css
96 lines (86 loc) · 1.76 KB
/
ws-wating.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
/* CSS LOADING */
.ws-wating {
/*display: none;*/
position: fixed;
top: 0;
left: 0;
height: 100%;
width: 100%;
background-color: rgba(0, 0, 0, 0.2);
z-index: 999999;
}
.ws-wating-content {
position: absolute;
top: calc(50% - 30px);
left: 0;
right: 0;
margin-left: auto;
margin-right: auto;
width: 60px;
height: 60px;
background-color: #0075ff;
border: 3px solid #FFF;
border-radius: 50%;
display: -moz-flex;
display: -ms-flex;
display: -o-flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-ms-align-items: center;
align-items: center;
}
.ws-wating-load {
position: absolute;
top: 20px;
width: 100%;
display: -moz-flex;
display: -ms-flex;
display: -o-flex;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-animation: aniWaiting 1.2s linear infinite;
animation: aniWaiting 1.2s linear infinite;
}
.ws-wating-load:before {
content: "";
width: 10px;
height: 20px;
background-color: #FFFFFF;
border-radius: 50%;
}
.ws-wating-text {
font-size: 11px;
color: #FFF;
text-align: center;
}
.ws-wating-text p {
margin: 0;
line-height: 0;
height: 100%;
position: absolute;
width: 100%;
top: 50%;
}
@-webkit-keyframes aniWaiting {
from {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes aniWaiting {
from {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
/* END CSS LOADING */