forked from zgrossbart/jdd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
throbber.css
67 lines (67 loc) · 1.56 KB
/
throbber.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
@-moz-keyframes throbber-loader {
0% {
background: #dde2e7;
}
10% {
background: #6b9dc8;
}
40% {
background: #dde2e7;
}
}
@-webkit-keyframes throbber-loader {
0% {
background: #dde2e7;
}
10% {
background: #6b9dc8;
}
40% {
background: #dde2e7;
}
}
@keyframes throbber-loader {
0% {
background: #dde2e7;
}
10% {
background: #6b9dc8;
}
40% {
background: #dde2e7;
}
}
/* :not(:required) hides these rules from IE9 and below */
.throbber-loader:not(:required) {
-moz-animation: throbber-loader 2000ms 300ms infinite ease-out;
-webkit-animation: throbber-loader 2000ms 300ms infinite ease-out;
animation: throbber-loader 2000ms 300ms infinite ease-out;
background: #dde2e7;
display: inline-block;
position: relative;
text-indent: -9999px;
width: 0.9em;
height: 1.5em;
margin: 0 1.6em;
}
.throbber-loader:not(:required):before, .throbber-loader:not(:required):after {
background: #dde2e7;
content: '\x200B';
display: inline-block;
width: 0.9em;
height: 1.5em;
position: absolute;
top: 0;
}
.throbber-loader:not(:required):before {
-moz-animation: throbber-loader 2000ms 150ms infinite ease-out;
-webkit-animation: throbber-loader 2000ms 150ms infinite ease-out;
animation: throbber-loader 2000ms 150ms infinite ease-out;
left: -1.6em;
}
.throbber-loader:not(:required):after {
-moz-animation: throbber-loader 2000ms 450ms infinite ease-out;
-webkit-animation: throbber-loader 2000ms 450ms infinite ease-out;
animation: throbber-loader 2000ms 450ms infinite ease-out;
right: -1.6em;
}