This repository has been archived by the owner on Apr 6, 2022. It is now read-only.
forked from sjovanovic/xpull
-
Notifications
You must be signed in to change notification settings - Fork 0
/
xpull.css
80 lines (70 loc) · 1.6 KB
/
xpull.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
/*
Xpull - pull to refresh jQuery plugin for iOS and Android
*/
.xpull {
display: none;
height: 40px;
margin: 0 auto;
position: relative;
text-align: center;
transform: translate3d(0, 0, 0) rotate(0deg);
}
.xpull_pulled .xpull__arrow {
top: 5px;
transform: rotate(180deg);
}
.xpull__start-msg-text {
margin-bottom: 5px;
}
.xpull__arrow {
position: relative;
width: 4px;
height: 10px;
margin: 0 auto 6px;
background-color: #cacaca;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
transition: transform 300ms ease;
}
.xpull__arrow::after {
content: '';
position: absolute;
top: 100%;
left: -3px;
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 6px solid #cacaca;
}
.xpull__spinner {
display: none;
padding-top: 10px;
}
.xpull__spinner-circle {
height: 25px;
width: 25px;
margin: 0 auto;
position: relative;
left: -4px;
animation: rotation 0.6s infinite linear;
border: 4px solid rgba(202, 202, 202, 0.15);
border-top: 4px solid rgba(202, 202, 202, 0.9);
border-radius: 100%;
}
@-webkit-keyframes rotation {
from {-webkit-transform: rotate(0deg);}
to {-webkit-transform: rotate(359deg);}
}
@-moz-keyframes rotation {
from {-moz-transform: rotate(0deg);}
to {-moz-transform: rotate(359deg);}
}
@-o-keyframes rotation {
from {-o-transform: rotate(0deg);}
to {-o-transform: rotate(359deg);}
}
@keyframes rotation {
from {transform: rotate(0deg);}
to {transform: rotate(359deg);}
}