pace_rails 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/barber-shop.css +66 -0
- data/app/assets/stylesheets/big-counter.css +30 -0
- data/app/assets/stylesheets/bounce.css +230 -0
- data/app/assets/stylesheets/corner-indicator.css +69 -0
- data/app/assets/stylesheets/fill-left.css +16 -0
- data/app/assets/stylesheets/flash.css +75 -0
- data/app/assets/stylesheets/flat-top.css +27 -0
- data/app/assets/stylesheets/mac-osx.css +76 -0
- data/app/assets/stylesheets/minimal.css +12 -0
- data/lib/pace_rails/version.rb +1 -1
- data/pace_rails.gemspec +1 -1
- metadata +12 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1a82d204f25bbde8280bfb7c3844c06489249c5
|
4
|
+
data.tar.gz: 6657c181b3c5f043ce7c70bb8de40c19e3a6880d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e452545a5d24ea0d9948550521827daeebddb8616fca75dd34393bf704ef63b46b36b3cfbd90d3d354c7d7b1ff60850e1936c8f68f2a0564d8c39bdce0e7cbb3
|
7
|
+
data.tar.gz: 054296aa3a24886e6f92945b7b83fc0394e52e6469bfd4ed08e73894d79412658e7b33e50da7392c96be0f773e61ca03f4ea94c8145cec8bcdb5cac9fdc3388a
|
@@ -0,0 +1,66 @@
|
|
1
|
+
.pace {
|
2
|
+
-webkit-pointer-events: none;
|
3
|
+
pointer-events: none;
|
4
|
+
-webkit-user-select: none;
|
5
|
+
-moz-user-select: none;
|
6
|
+
user-select: none;
|
7
|
+
}
|
8
|
+
|
9
|
+
.pace-inactive {
|
10
|
+
display: none;
|
11
|
+
}
|
12
|
+
|
13
|
+
.pace .pace-progress {
|
14
|
+
background-color: #29d;
|
15
|
+
position: fixed;
|
16
|
+
z-index: 2000;
|
17
|
+
top: 0;
|
18
|
+
left: 0;
|
19
|
+
height: 12px;
|
20
|
+
overflow: hidden;
|
21
|
+
}
|
22
|
+
|
23
|
+
.pace .pace-progress-inner {
|
24
|
+
position: absolute;
|
25
|
+
top: 0;
|
26
|
+
left: 0;
|
27
|
+
right: -32px;
|
28
|
+
bottom: 0;
|
29
|
+
|
30
|
+
background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.2)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.2)), color-stop(0.75, rgba(255, 255, 255, 0.2)), color-stop(0.75, transparent), to(transparent));
|
31
|
+
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
|
32
|
+
background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
|
33
|
+
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
|
34
|
+
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
|
35
|
+
-webkit-background-size: 32px 32px;
|
36
|
+
-moz-background-size: 32px 32px;
|
37
|
+
-o-background-size: 32px 32px;
|
38
|
+
background-size: 32px 32px;
|
39
|
+
|
40
|
+
-webkit-animation: pace-stripe-animation 500ms linear infinite;
|
41
|
+
-moz-animation: pace-stripe-animation 500ms linear infinite;
|
42
|
+
-ms-animation: pace-stripe-animation 500ms linear infinite;
|
43
|
+
-o-animation: pace-stripe-animation 500ms linear infinite;
|
44
|
+
animation: pace-stripe-animation 500ms linear infinite;
|
45
|
+
}
|
46
|
+
|
47
|
+
@-webkit-keyframes pace-stripe-animation {
|
48
|
+
0% { -webkit-transform: none; transform: none; }
|
49
|
+
100% { -webkit-transform: translate(-32px, 0); transform: translate(-32px, 0); }
|
50
|
+
}
|
51
|
+
@-moz-keyframes pace-stripe-animation {
|
52
|
+
0% { -moz-transform: none; transform: none; }
|
53
|
+
100% { -moz-transform: translate(-32px, 0); transform: translate(-32px, 0); }
|
54
|
+
}
|
55
|
+
@-o-keyframes pace-stripe-animation {
|
56
|
+
0% { -o-transform: none; transform: none; }
|
57
|
+
100% { -o-transform: translate(-32px, 0); transform: translate(-32px, 0); }
|
58
|
+
}
|
59
|
+
@-ms-keyframes pace-stripe-animation {
|
60
|
+
0% { -ms-transform: none; transform: none; }
|
61
|
+
100% { -ms-transform: translate(-32px, 0); transform: translate(-32px, 0); }
|
62
|
+
}
|
63
|
+
@keyframes pace-stripe-animation {
|
64
|
+
0% { transform: none; transform: none; }
|
65
|
+
100% { transform: translate(-32px, 0); transform: translate(-32px, 0); }
|
66
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
.pace {
|
2
|
+
-webkit-pointer-events: none;
|
3
|
+
pointer-events: none;
|
4
|
+
-webkit-user-select: none;
|
5
|
+
-moz-user-select: none;
|
6
|
+
user-select: none;
|
7
|
+
}
|
8
|
+
|
9
|
+
.pace .pace-progress {
|
10
|
+
position: fixed;
|
11
|
+
z-index: 2000;
|
12
|
+
top: 0;
|
13
|
+
right: 0;
|
14
|
+
height: 5rem;
|
15
|
+
width: 5rem;
|
16
|
+
}
|
17
|
+
|
18
|
+
.pace .pace-progress:after {
|
19
|
+
display: block;
|
20
|
+
position: absolute;
|
21
|
+
top: 0;
|
22
|
+
right: .5rem;
|
23
|
+
content: attr(data-progress);
|
24
|
+
font-family: "Helvetica Neue", sans-serif;
|
25
|
+
font-weight: 100;
|
26
|
+
font-size: 5rem;
|
27
|
+
line-height: 1;
|
28
|
+
text-align: right;
|
29
|
+
color: rgba(0, 0, 0, 0.19999999999999996);
|
30
|
+
}
|
@@ -0,0 +1,230 @@
|
|
1
|
+
.pace {
|
2
|
+
width: 140px;
|
3
|
+
height: 300px;
|
4
|
+
position: fixed;
|
5
|
+
top: -90px;
|
6
|
+
right: -20px;
|
7
|
+
z-index: 2000;
|
8
|
+
-webkit-transform: scale(0);
|
9
|
+
-moz-transform: scale(0);
|
10
|
+
-ms-transform: scale(0);
|
11
|
+
-o-transform: scale(0);
|
12
|
+
transform: scale(0);
|
13
|
+
opacity: 0;
|
14
|
+
-webkit-transition: all 2s linear 0s;
|
15
|
+
-moz-transition: all 2s linear 0s;
|
16
|
+
transition: all 2s linear 0s;
|
17
|
+
}
|
18
|
+
|
19
|
+
.pace.pace-active {
|
20
|
+
-webkit-transform: scale(.25);
|
21
|
+
-moz-transform: scale(.25);
|
22
|
+
-ms-transform: scale(.25);
|
23
|
+
-o-transform: scale(.25);
|
24
|
+
transform: scale(.25);
|
25
|
+
opacity: 1;
|
26
|
+
}
|
27
|
+
|
28
|
+
.pace .pace-activity {
|
29
|
+
width: 140px;
|
30
|
+
height: 140px;
|
31
|
+
border-radius: 70px;
|
32
|
+
background: #29d;
|
33
|
+
position: absolute;
|
34
|
+
top: 0;
|
35
|
+
z-index: 1911;
|
36
|
+
-webkit-animation: pace-bounce 1s infinite;
|
37
|
+
-moz-animation: pace-bounce 1s infinite;
|
38
|
+
-o-animation: pace-bounce 1s infinite;
|
39
|
+
-ms-animation: pace-bounce 1s infinite;
|
40
|
+
animation: pace-bounce 1s infinite;
|
41
|
+
}
|
42
|
+
|
43
|
+
.pace .pace-progress {
|
44
|
+
position: absolute;
|
45
|
+
display: block;
|
46
|
+
left: 50%;
|
47
|
+
bottom: 0;
|
48
|
+
z-index: 1910;
|
49
|
+
margin-left: -30px;
|
50
|
+
width: 60px;
|
51
|
+
height: 75px;
|
52
|
+
background: rgba(20, 20, 20, .1);
|
53
|
+
box-shadow: 0 0 20px 35px rgba(20, 20, 20, .1);
|
54
|
+
border-radius: 30px / 40px;
|
55
|
+
-webkit-transform: scaleY(.3);
|
56
|
+
-moz-transform: scaleY(.3);
|
57
|
+
-ms-transform: scaleY(.3);
|
58
|
+
-o-transform: scaleY(.3);
|
59
|
+
transform: scaleY(.3);
|
60
|
+
-webkit-animation: pace-compress .5s infinite alternate;
|
61
|
+
-moz-animation: pace-compress .5s infinite alternate;
|
62
|
+
-o-animation: pace-compress .5s infinite alternate;
|
63
|
+
-ms-animation: pace-compress .5s infinite alternate;
|
64
|
+
animation: pace-compress .5s infinite alternate;
|
65
|
+
}
|
66
|
+
|
67
|
+
@-webkit-keyframes pace-bounce {
|
68
|
+
0% {
|
69
|
+
top: 0;
|
70
|
+
-webkit-animation-timing-function: ease-in;
|
71
|
+
}
|
72
|
+
40% {}
|
73
|
+
50% {
|
74
|
+
top: 140px;
|
75
|
+
height: 140px;
|
76
|
+
-webkit-animation-timing-function: ease-out;
|
77
|
+
}
|
78
|
+
55% {
|
79
|
+
top: 160px;
|
80
|
+
height: 120px;
|
81
|
+
border-radius: 70px / 60px;
|
82
|
+
-webkit-animation-timing-function: ease-in;
|
83
|
+
}
|
84
|
+
65% {
|
85
|
+
top: 120px;
|
86
|
+
height: 140px;
|
87
|
+
border-radius: 70px;
|
88
|
+
-webkit-animation-timing-function: ease-out;
|
89
|
+
}
|
90
|
+
95% {
|
91
|
+
top: 0;
|
92
|
+
-webkit-animation-timing-function: ease-in;
|
93
|
+
}
|
94
|
+
100% {
|
95
|
+
top: 0;
|
96
|
+
-webkit-animation-timing-function: ease-in;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
@-moz-keyframes pace-bounce {
|
101
|
+
0% {
|
102
|
+
top: 0;
|
103
|
+
-moz-animation-timing-function: ease-in;
|
104
|
+
}
|
105
|
+
40% {}
|
106
|
+
50% {
|
107
|
+
top: 140px;
|
108
|
+
height: 140px;
|
109
|
+
-moz-animation-timing-function: ease-out;
|
110
|
+
}
|
111
|
+
55% {
|
112
|
+
top: 160px;
|
113
|
+
height: 120px;
|
114
|
+
border-radius: 70px / 60px;
|
115
|
+
-moz-animation-timing-function: ease-in;
|
116
|
+
}
|
117
|
+
65% {
|
118
|
+
top: 120px;
|
119
|
+
height: 140px;
|
120
|
+
border-radius: 70px;
|
121
|
+
-moz-animation-timing-function: ease-out;}
|
122
|
+
95% {
|
123
|
+
top: 0;
|
124
|
+
-moz-animation-timing-function: ease-in;
|
125
|
+
}
|
126
|
+
100% {top: 0;
|
127
|
+
-moz-animation-timing-function: ease-in;
|
128
|
+
}
|
129
|
+
}
|
130
|
+
|
131
|
+
@keyframes pace-bounce {
|
132
|
+
0% {
|
133
|
+
top: 0;
|
134
|
+
animation-timing-function: ease-in;
|
135
|
+
}
|
136
|
+
50% {
|
137
|
+
top: 140px;
|
138
|
+
height: 140px;
|
139
|
+
animation-timing-function: ease-out;
|
140
|
+
}
|
141
|
+
55% {
|
142
|
+
top: 160px;
|
143
|
+
height: 120px;
|
144
|
+
border-radius: 70px / 60px;
|
145
|
+
animation-timing-function: ease-in;
|
146
|
+
}
|
147
|
+
65% {
|
148
|
+
top: 120px;
|
149
|
+
height: 140px;
|
150
|
+
border-radius: 70px;
|
151
|
+
animation-timing-function: ease-out;
|
152
|
+
}
|
153
|
+
95% {
|
154
|
+
top: 0;
|
155
|
+
animation-timing-function: ease-in;
|
156
|
+
}
|
157
|
+
100% {
|
158
|
+
top: 0;
|
159
|
+
animation-timing-function: ease-in;
|
160
|
+
}
|
161
|
+
}
|
162
|
+
|
163
|
+
@-webkit-keyframes pace-compress {
|
164
|
+
0% {
|
165
|
+
bottom: 0;
|
166
|
+
margin-left: -30px;
|
167
|
+
width: 60px;
|
168
|
+
height: 75px;
|
169
|
+
background: rgba(20, 20, 20, .1);
|
170
|
+
box-shadow: 0 0 20px 35px rgba(20, 20, 20, .1);
|
171
|
+
border-radius: 30px / 40px;
|
172
|
+
-webkit-animation-timing-function: ease-in;
|
173
|
+
}
|
174
|
+
100% {
|
175
|
+
bottom: 30px;
|
176
|
+
margin-left: -10px;
|
177
|
+
width: 20px;
|
178
|
+
height: 5px;
|
179
|
+
background: rgba(20, 20, 20, .3);
|
180
|
+
box-shadow: 0 0 20px 35px rgba(20, 20, 20, .3);
|
181
|
+
border-radius: 20px / 20px;
|
182
|
+
-webkit-animation-timing-function: ease-out;
|
183
|
+
}
|
184
|
+
}
|
185
|
+
|
186
|
+
@-moz-keyframes pace-compress {
|
187
|
+
0% {
|
188
|
+
bottom: 0;
|
189
|
+
margin-left: -30px;
|
190
|
+
width: 60px;
|
191
|
+
height: 75px;
|
192
|
+
background: rgba(20, 20, 20, .1);
|
193
|
+
box-shadow: 0 0 20px 35px rgba(20, 20, 20, .1);
|
194
|
+
border-radius: 30px / 40px;
|
195
|
+
-moz-animation-timing-function: ease-in;
|
196
|
+
}
|
197
|
+
100% {
|
198
|
+
bottom: 30px;
|
199
|
+
margin-left: -10px;
|
200
|
+
width: 20px;
|
201
|
+
height: 5px;
|
202
|
+
background: rgba(20, 20, 20, .3);
|
203
|
+
box-shadow: 0 0 20px 35px rgba(20, 20, 20, .3);
|
204
|
+
border-radius: 20px / 20px;
|
205
|
+
-moz-animation-timing-function: ease-out;
|
206
|
+
}
|
207
|
+
}
|
208
|
+
|
209
|
+
@keyframes pace-compress {
|
210
|
+
0% {
|
211
|
+
bottom: 0;
|
212
|
+
margin-left: -30px;
|
213
|
+
width: 60px;
|
214
|
+
height: 75px;
|
215
|
+
background: rgba(20, 20, 20, .1);
|
216
|
+
box-shadow: 0 0 20px 35px rgba(20, 20, 20, .1);
|
217
|
+
border-radius: 30px / 40px;
|
218
|
+
animation-timing-function: ease-in;
|
219
|
+
}
|
220
|
+
100% {
|
221
|
+
bottom: 30px;
|
222
|
+
margin-left: -10px;
|
223
|
+
width: 20px;
|
224
|
+
height: 5px;
|
225
|
+
background: rgba(20, 20, 20, .3);
|
226
|
+
box-shadow: 0 0 20px 35px rgba(20, 20, 20, .3);
|
227
|
+
border-radius: 20px / 20px;
|
228
|
+
animation-timing-function: ease-out;
|
229
|
+
}
|
230
|
+
}
|
@@ -0,0 +1,69 @@
|
|
1
|
+
.pace {
|
2
|
+
-webkit-pointer-events: none;
|
3
|
+
pointer-events: none;
|
4
|
+
-webkit-user-select: none;
|
5
|
+
-moz-user-select: none;
|
6
|
+
user-select: none;
|
7
|
+
}
|
8
|
+
|
9
|
+
.pace .pace-activity {
|
10
|
+
display: block;
|
11
|
+
position: fixed;
|
12
|
+
z-index: 2000;
|
13
|
+
top: 0;
|
14
|
+
right: 0;
|
15
|
+
width: 300px;
|
16
|
+
height: 300px;
|
17
|
+
background: #29d;
|
18
|
+
-webkit-transition: -webkit-transform 0.3s;
|
19
|
+
transition: transform 0.3s;
|
20
|
+
-webkit-transform: translateX(100%) translateY(-100%) rotate(45deg);
|
21
|
+
transform: translateX(100%) translateY(-100%) rotate(45deg);
|
22
|
+
pointer-events: none;
|
23
|
+
}
|
24
|
+
|
25
|
+
.pace.pace-active .pace-activity {
|
26
|
+
-webkit-transform: translateX(50%) translateY(-50%) rotate(45deg);
|
27
|
+
transform: translateX(50%) translateY(-50%) rotate(45deg);
|
28
|
+
}
|
29
|
+
|
30
|
+
.pace .pace-activity::before,
|
31
|
+
.pace .pace-activity::after {
|
32
|
+
position: absolute;
|
33
|
+
bottom: 30px;
|
34
|
+
left: 50%;
|
35
|
+
display: block;
|
36
|
+
border: 5px solid #fff;
|
37
|
+
border-radius: 50%;
|
38
|
+
content: '';
|
39
|
+
}
|
40
|
+
|
41
|
+
.pace .pace-activity::before {
|
42
|
+
margin-left: -40px;
|
43
|
+
width: 80px;
|
44
|
+
height: 80px;
|
45
|
+
border-right-color: rgba(0, 0, 0, .2);
|
46
|
+
border-left-color: rgba(0, 0, 0, .2);
|
47
|
+
-webkit-animation: pace-rotation 3s linear infinite;
|
48
|
+
animation: pace-rotation 3s linear infinite;
|
49
|
+
}
|
50
|
+
|
51
|
+
.pace .pace-activity::after {
|
52
|
+
bottom: 50px;
|
53
|
+
margin-left: -20px;
|
54
|
+
width: 40px;
|
55
|
+
height: 40px;
|
56
|
+
border-top-color: rgba(0, 0, 0, .2);
|
57
|
+
border-bottom-color: rgba(0, 0, 0, .2);
|
58
|
+
-webkit-animation: pace-rotation 1s linear infinite;
|
59
|
+
animation: pace-rotation 1s linear infinite;
|
60
|
+
}
|
61
|
+
|
62
|
+
@-webkit-keyframes pace-rotation {
|
63
|
+
0% { -webkit-transform: rotate(0deg); }
|
64
|
+
100% { -webkit-transform: rotate(359deg); }
|
65
|
+
}
|
66
|
+
@keyframes pace-rotation {
|
67
|
+
0% { transform: rotate(0deg); }
|
68
|
+
100% { transform: rotate(359deg); }
|
69
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
.pace {
|
2
|
+
-webkit-pointer-events: none;
|
3
|
+
pointer-events: none;
|
4
|
+
-webkit-user-select: none;
|
5
|
+
-moz-user-select: none;
|
6
|
+
user-select: none;
|
7
|
+
}
|
8
|
+
|
9
|
+
.pace .pace-progress {
|
10
|
+
background-color: rgba(0, 0, 0, 0.19999999999999996);
|
11
|
+
position: fixed;
|
12
|
+
z-index: -1;
|
13
|
+
top: 0;
|
14
|
+
left: 0;
|
15
|
+
bottom: 0;
|
16
|
+
}
|
@@ -0,0 +1,75 @@
|
|
1
|
+
.pace {
|
2
|
+
-webkit-pointer-events: none;
|
3
|
+
pointer-events: none;
|
4
|
+
-webkit-user-select: none;
|
5
|
+
-moz-user-select: none;
|
6
|
+
user-select: none;
|
7
|
+
}
|
8
|
+
|
9
|
+
.pace-inactive {
|
10
|
+
display: none;
|
11
|
+
}
|
12
|
+
|
13
|
+
.pace .pace-progress {
|
14
|
+
background: #29d;
|
15
|
+
position: fixed;
|
16
|
+
z-index: 2000;
|
17
|
+
top: 0;
|
18
|
+
left: 0;
|
19
|
+
height: 2px;
|
20
|
+
}
|
21
|
+
|
22
|
+
.pace .pace-progress-inner {
|
23
|
+
display: block;
|
24
|
+
position: absolute;
|
25
|
+
right: 0px;
|
26
|
+
width: 100px;
|
27
|
+
height: 100%;
|
28
|
+
box-shadow: 0 0 10px #29d, 0 0 5px #29d;
|
29
|
+
opacity: 1.0;
|
30
|
+
-webkit-transform: rotate(3deg) translate(0px, -4px);
|
31
|
+
-moz-transform: rotate(3deg) translate(0px, -4px);
|
32
|
+
-ms-transform: rotate(3deg) translate(0px, -4px);
|
33
|
+
-o-transform: rotate(3deg) translate(0px, -4px);
|
34
|
+
transform: rotate(3deg) translate(0px, -4px);
|
35
|
+
}
|
36
|
+
|
37
|
+
.pace .pace-activity {
|
38
|
+
display: block;
|
39
|
+
position: fixed;
|
40
|
+
z-index: 2000;
|
41
|
+
top: 15px;
|
42
|
+
right: 15px;
|
43
|
+
width: 14px;
|
44
|
+
height: 14px;
|
45
|
+
border: solid 2px transparent;
|
46
|
+
border-top-color: #29d;
|
47
|
+
border-left-color: #29d;
|
48
|
+
border-radius: 10px;
|
49
|
+
-webkit-animation: pace-spinner 400ms linear infinite;
|
50
|
+
-moz-animation: pace-spinner 400ms linear infinite;
|
51
|
+
-ms-animation: pace-spinner 400ms linear infinite;
|
52
|
+
-o-animation: pace-spinner 400ms linear infinite;
|
53
|
+
animation: pace-spinner 400ms linear infinite;
|
54
|
+
}
|
55
|
+
|
56
|
+
@-webkit-keyframes pace-spinner {
|
57
|
+
0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
|
58
|
+
100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
|
59
|
+
}
|
60
|
+
@-moz-keyframes pace-spinner {
|
61
|
+
0% { -moz-transform: rotate(0deg); transform: rotate(0deg); }
|
62
|
+
100% { -moz-transform: rotate(360deg); transform: rotate(360deg); }
|
63
|
+
}
|
64
|
+
@-o-keyframes pace-spinner {
|
65
|
+
0% { -o-transform: rotate(0deg); transform: rotate(0deg); }
|
66
|
+
100% { -o-transform: rotate(360deg); transform: rotate(360deg); }
|
67
|
+
}
|
68
|
+
@-ms-keyframes pace-spinner {
|
69
|
+
0% { -ms-transform: rotate(0deg); transform: rotate(0deg); }
|
70
|
+
100% { -ms-transform: rotate(360deg); transform: rotate(360deg); }
|
71
|
+
}
|
72
|
+
@keyframes pace-spinner {
|
73
|
+
0% { transform: rotate(0deg); transform: rotate(0deg); }
|
74
|
+
100% { transform: rotate(360deg); transform: rotate(360deg); }
|
75
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
.pace {
|
2
|
+
-webkit-pointer-events: none;
|
3
|
+
pointer-events: none;
|
4
|
+
-webkit-user-select: none;
|
5
|
+
-moz-user-select: none;
|
6
|
+
user-select: none;
|
7
|
+
}
|
8
|
+
|
9
|
+
.pace .pace-progress {
|
10
|
+
display: block;
|
11
|
+
position: fixed;
|
12
|
+
z-index: 2000;
|
13
|
+
top: 0;
|
14
|
+
left: 0;
|
15
|
+
height: 12px;
|
16
|
+
background: #29d;
|
17
|
+
-webkit-transition: -webkit-transform 0.3s;
|
18
|
+
transition: transform 0.3s;
|
19
|
+
-webkit-transform: translateY(-50px);
|
20
|
+
transform: translateY(-50px);
|
21
|
+
pointer-events: none;
|
22
|
+
}
|
23
|
+
|
24
|
+
.pace.pace-active .pace-progress {
|
25
|
+
-webkit-transform: translateY(0);
|
26
|
+
transform: translateY(0);
|
27
|
+
}
|
@@ -0,0 +1,76 @@
|
|
1
|
+
.pace {
|
2
|
+
-webkit-pointer-events: none;
|
3
|
+
pointer-events: none;
|
4
|
+
-webkit-user-select: none;
|
5
|
+
-moz-user-select: none;
|
6
|
+
user-select: none;
|
7
|
+
}
|
8
|
+
|
9
|
+
.pace-inactive {
|
10
|
+
display: none;
|
11
|
+
}
|
12
|
+
|
13
|
+
.pace .pace-progress {
|
14
|
+
background-color: #78c0f0;
|
15
|
+
|
16
|
+
color: #CBE7F9;
|
17
|
+
position: fixed;
|
18
|
+
z-index: 2000;
|
19
|
+
top: 0;
|
20
|
+
left: 0;
|
21
|
+
height: 12px;
|
22
|
+
overflow: hidden;
|
23
|
+
-webkit-border-radius: 0 0 4px 0;
|
24
|
+
-moz-border-radius: 0 0 4px 0;
|
25
|
+
-o-border-radius: 0 0 4px 0;
|
26
|
+
border-radius: 0 0 4px 0;
|
27
|
+
-webkit-box-shadow: inset -1px 0 rgba(0, 0, 0, 0.3), inset 0 -1px rgba(0, 0, 0, 0.3), inset 0 2px rgba(255, 255, 255, 0.5), inset 0 6px rgba(255, 255, 255, 0.3);
|
28
|
+
-moz-box-shadow: inset -1px 0 rgba(0, 0, 0, 0.3), inset 0 -1px rgba(0, 0, 0, 0.3), inset 0 2px rgba(255, 255, 255, 0.5), inset 0 6px rgba(255, 255, 255, 0.3);
|
29
|
+
-o-box-shadow: inset -1px 0 rgba(0, 0, 0, 0.3), inset 0 -1px rgba(0, 0, 0, 0.3), inset 0 2px rgba(255, 255, 255, 0.5), inset 0 6px rgba(255, 255, 255, 0.3);
|
30
|
+
box-shadow: inset -1px 0 rgba(0, 0, 0, 0.3), inset 0 -1px rgba(0, 0, 0, 0.3), inset 0 2px rgba(255, 255, 255, 0.5), inset 0 6px rgba(255, 255, 255, 0.3);
|
31
|
+
}
|
32
|
+
|
33
|
+
.pace .pace-progress-inner {
|
34
|
+
position: absolute;
|
35
|
+
top: 0;
|
36
|
+
left: 0;
|
37
|
+
right: -28px;
|
38
|
+
bottom: 0;
|
39
|
+
|
40
|
+
background-image: -o-radial-gradient(rgba(25, 147, 228, 0.6) 0%, rgba(120, 192, 240, 0) 100%);
|
41
|
+
background-image: -moz-radial-gradient(rgba(25, 147, 228, 0.6) 0%, rgba(120, 192, 240, 0) 100%);
|
42
|
+
background-image: -webkit-radial-gradient(rgba(25, 147, 228, 0.6) 0%, rgba(120, 192, 240, 0) 100%);
|
43
|
+
background-image: radial-gradient(rgba(25, 147, 228, 0.6) 0%, rgba(120, 192, 240, 0) 100%);
|
44
|
+
|
45
|
+
|
46
|
+
-webkit-background-size: 28px 100%;
|
47
|
+
-moz-background-size: 28px 100%;
|
48
|
+
-o-background-size: 28px 100%;
|
49
|
+
background-size: 28px 100%;
|
50
|
+
-webkit-animation: pace-stripe-animation 500ms linear infinite;
|
51
|
+
-moz-animation: pace-stripe-animation 500ms linear infinite;
|
52
|
+
-ms-animation: pace-stripe-animation 500ms linear infinite;
|
53
|
+
-o-animation: pace-stripe-animation 500ms linear infinite;
|
54
|
+
animation: pace-stripe-animation 500ms linear infinite;
|
55
|
+
}
|
56
|
+
|
57
|
+
@-webkit-keyframes pace-stripe-animation {
|
58
|
+
0% { -webkit-transform: none; transform: none; }
|
59
|
+
100% { -webkit-transform: translate(-28px, 0); transform: translate(-28px, 0); }
|
60
|
+
}
|
61
|
+
@-moz-keyframes pace-stripe-animation {
|
62
|
+
0% { -moz-transform: none; transform: none; }
|
63
|
+
100% { -moz-transform: translate(-28px, 0); transform: translate(-28px, 0); }
|
64
|
+
}
|
65
|
+
@-o-keyframes pace-stripe-animation {
|
66
|
+
0% { -o-transform: none; transform: none; }
|
67
|
+
100% { -o-transform: translate(-28px, 0); transform: translate(-28px, 0); }
|
68
|
+
}
|
69
|
+
@-ms-keyframes pace-stripe-animation {
|
70
|
+
0% { -ms-transform: none; transform: none; }
|
71
|
+
100% { -ms-transform: translate(-28px, 0); transform: translate(-28px, 0); }
|
72
|
+
}
|
73
|
+
@keyframes pace-stripe-animation {
|
74
|
+
0% { transform: none; transform: none; }
|
75
|
+
100% { transform: translate(-28px, 0); transform: translate(-28px, 0); }
|
76
|
+
}
|
data/lib/pace_rails/version.rb
CHANGED
data/pace_rails.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["techmaxed.net@gmail.com"]
|
11
11
|
spec.description = %q{This is a gem for Pace. It's based on version 0.4.3.}
|
12
12
|
spec.summary = %q{Automatic page load progress bar}
|
13
|
-
spec.homepage = ""
|
13
|
+
spec.homepage = "https://github.com/arvind-naidu/pace_rails"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files`.split($/)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pace_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- arvind-naidu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-09-
|
11
|
+
date: 2013-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -79,10 +79,19 @@ files:
|
|
79
79
|
- README.md
|
80
80
|
- Rakefile
|
81
81
|
- app/assets/javascripts/pace.js
|
82
|
+
- app/assets/stylesheets/barber-shop.css
|
83
|
+
- app/assets/stylesheets/big-counter.css
|
84
|
+
- app/assets/stylesheets/bounce.css
|
85
|
+
- app/assets/stylesheets/corner-indicator.css
|
86
|
+
- app/assets/stylesheets/fill-left.css
|
87
|
+
- app/assets/stylesheets/flash.css
|
88
|
+
- app/assets/stylesheets/flat-top.css
|
89
|
+
- app/assets/stylesheets/mac-osx.css
|
90
|
+
- app/assets/stylesheets/minimal.css
|
82
91
|
- lib/pace_rails.rb
|
83
92
|
- lib/pace_rails/version.rb
|
84
93
|
- pace_rails.gemspec
|
85
|
-
homepage:
|
94
|
+
homepage: https://github.com/arvind-naidu/pace_rails
|
86
95
|
licenses:
|
87
96
|
- MIT
|
88
97
|
metadata: {}
|