/
loading.css
119 lines (109 loc) · 2.14 KB
/
loading.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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
#ui-loading-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
opacity: 1;
-webkit-transition: all 0.3s linear;
-moz-transition: all 0.3s linear;
transition: all 0.3s linear;
}
#ui-loading-container.inactive {
opacity: 0;
}
.ui-loading-timer-container {
position: relative;
}
.ui-loading-timer {
width: 5em;
height: 5em;
display: flex;
align-items: center;
justify-content: center;
border: .5em solid #f5f5f5;
border-radius: 100%;
position: relative;
}
.ui-loading-timer:before, .ui-loading-timer:after {
content: '';
display: block;
position: absolute;
}
.ui-loading-timer:before {
height: .5em;
width: .5em;
top: -1.48em;
border-radius: 100%;
left: 50%;
margin-left: -0.75em;
background: #666666;
border: .5em solid #f5f5f5;
}
.ui-loading-timer:after {
width: 1em;
height: 1em;
background: #f5f5f5;
right: 0;
top: -0.25em;
border-radius: 100%;
}
.ui-loading-hand {
background: #666666;
height: 1em;
width: 1em;
position: relative;
display: flex;
justify-content: center;
border-radius: 100%;
border: 1.3em solid #f5f5f5;
}
.ui-loading-hand:before, .ui-loading-hand:after {
content: '';
display: block;
position: relative;
}
.ui-loading-hand:before {
width: .325em;
height: 1.5em;
top: -1.35em;
background: #666666;
-webkit-animation: countdown 5s linear infinite;
-webkit-transform-origin: 50% 125%;
-moz-animation: countdown 5s linear infinite;
-moz-transform-origin: 50% 125%;
}
@-webkit-keyframes countdown {
0% {
-webkit-transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
}
}
@-moz-keyframes countdown {
0% {
-moz-transform: rotate(0deg);
}
100% {
-moz-transform: rotate(360deg);
}
}
.ui-loading-indicator-container {
position: relative;
width: 250px;
height: 50px;
margin: 40px 0 0;
background: rgba(0, 0, 0, 0.1);
pointer-events: none;
overflow: hidden;
}
.ui-loading-indicator-bar {
position: absolute;
height: 100%;
width: 100%;
background: #f5f5f5;
-webkit-transform: translate3d(-100%, 0, 0);
transform: translate3d(-100%, 0, 0);
-webkit-transition: -webkit-transform 0.5s linear;
transition: transform 0.5s linear;
}