materialpreloader_gem 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 8a3846d6955ea46fe7248b8ae2b12b94376074c3
|
4
|
+
data.tar.gz: 631dd6445d338daa9b54399ab2d91a0bb6022ccf
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 2e4eb3e894c7703568e76d5f0dce3c4cf7ba001d6b725aa557729321cfac18966ffb54ea2764a0ae80866f4425841538f783428eb8a7ba918795adc0f09a9609
|
7
|
+
data.tar.gz: a2cc4df9b21eb0bcfc71a5e38cb175c6320d568e9815db1ad532dacd7372f2003c840bb84bbc3305afbd5ea0843c9834f1f9981376520a4c1f5b8e842a4f27b0
|
@@ -0,0 +1,813 @@
|
|
1
|
+
.load-bar {
|
2
|
+
position:fixed;
|
3
|
+
bottom:0;
|
4
|
+
height:5px;
|
5
|
+
width:100%;
|
6
|
+
opacity: 1;
|
7
|
+
-webkit-transition: opacity 0.2s linear;
|
8
|
+
transition: opacity 0.2s linear;
|
9
|
+
}
|
10
|
+
|
11
|
+
.load-bar.invisible {
|
12
|
+
opacity: 0;
|
13
|
+
-webkit-transition: opacity 0.2s linear;
|
14
|
+
transition: opacity 0.2s linear;
|
15
|
+
}
|
16
|
+
|
17
|
+
.load-bar-container {
|
18
|
+
float:left;
|
19
|
+
width:50%;
|
20
|
+
height:100%;
|
21
|
+
overflow:hidden
|
22
|
+
}
|
23
|
+
|
24
|
+
.load-bar .load-bar-container:last-child {
|
25
|
+
float:right;
|
26
|
+
-moz-transform-origin:top right;
|
27
|
+
-ms-transform-origin:top right;
|
28
|
+
-webkit-transform-origin:top right
|
29
|
+
}
|
30
|
+
|
31
|
+
.load-bar-base {
|
32
|
+
float:left;
|
33
|
+
width:100%;
|
34
|
+
height:100%;
|
35
|
+
overflow:hidden;
|
36
|
+
position:relative;
|
37
|
+
background:#159756
|
38
|
+
}
|
39
|
+
|
40
|
+
.color {
|
41
|
+
width:100%;
|
42
|
+
height:100%;
|
43
|
+
float:left;
|
44
|
+
position:absolute
|
45
|
+
}
|
46
|
+
|
47
|
+
.base1 .red {
|
48
|
+
background:#da4733;
|
49
|
+
-webkit-animation:move_left_red 4s infinite linear;
|
50
|
+
-moz-animation:move_left_red 4s infinite linear;
|
51
|
+
-ms-animation:move_left_red 4s infinite linear;
|
52
|
+
animation:move_left_red 4s infinite linear
|
53
|
+
}
|
54
|
+
|
55
|
+
.base1 .blue {
|
56
|
+
background:#3b78e7;
|
57
|
+
-webkit-animation:move_left_blue 4s infinite linear;
|
58
|
+
-moz-animation:move_left_blue 4s infinite linear;
|
59
|
+
-ms-animation:move_left_blue 4s infinite linear;
|
60
|
+
animation:move_left_blue 4s infinite linear
|
61
|
+
}
|
62
|
+
|
63
|
+
.base1 .yellow {
|
64
|
+
background:#fdba2c;
|
65
|
+
-webkit-animation:move_left_yellow 4s infinite linear;
|
66
|
+
-moz-animation:move_left_yellow 4s infinite linear;
|
67
|
+
-ms-animation:move_left_yellow 4s infinite linear;
|
68
|
+
animation:move_left_yellow 4s infinite linear
|
69
|
+
}
|
70
|
+
|
71
|
+
.base1 .green {
|
72
|
+
background:#159756;
|
73
|
+
-webkit-animation:move_left_green 4s infinite linear;
|
74
|
+
-moz-animation:move_left_green 4s infinite linear;
|
75
|
+
-ms-animation:move_left_green 4s infinite linear;
|
76
|
+
animation:move_left_green 4s infinite linear
|
77
|
+
}
|
78
|
+
|
79
|
+
@-webkit-keyframes move_left_red {
|
80
|
+
0% {
|
81
|
+
-webkit-transform:translateX(100%)
|
82
|
+
}
|
83
|
+
|
84
|
+
25% {
|
85
|
+
-webkit-transform:translateX(0%)
|
86
|
+
}
|
87
|
+
|
88
|
+
50% {
|
89
|
+
-webkit-transform:translateX(0%)
|
90
|
+
}
|
91
|
+
|
92
|
+
75% {
|
93
|
+
-webkit-transform:translateX(0%)
|
94
|
+
}
|
95
|
+
|
96
|
+
100% {
|
97
|
+
-webkit-transform:translateX(0%)
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
@-moz-keyframes move_left_red {
|
102
|
+
0% {
|
103
|
+
-moz-transform:translateX(100%)
|
104
|
+
}
|
105
|
+
|
106
|
+
25% {
|
107
|
+
-moz-transform:translateX(0%)
|
108
|
+
}
|
109
|
+
|
110
|
+
50% {
|
111
|
+
-moz-transform:translateX(0%)
|
112
|
+
}
|
113
|
+
|
114
|
+
75% {
|
115
|
+
-moz-transform:translateX(0%)
|
116
|
+
}
|
117
|
+
|
118
|
+
100% {
|
119
|
+
-moz-transform:translateX(0%)
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
@-ms-keyframes move_left_red {
|
124
|
+
0% {
|
125
|
+
-ms-transform:translateX(100%)
|
126
|
+
}
|
127
|
+
|
128
|
+
25% {
|
129
|
+
-ms-transform:translateX(0%)
|
130
|
+
}
|
131
|
+
|
132
|
+
50% {
|
133
|
+
-ms-transform:translateX(0%)
|
134
|
+
}
|
135
|
+
|
136
|
+
75% {
|
137
|
+
-ms-transform:translateX(0%)
|
138
|
+
}
|
139
|
+
|
140
|
+
100% {
|
141
|
+
-ms-transform:translateX(0%)
|
142
|
+
}
|
143
|
+
}
|
144
|
+
|
145
|
+
@keyframes move_left_red {
|
146
|
+
0% {
|
147
|
+
transform:translateX(100%)
|
148
|
+
}
|
149
|
+
|
150
|
+
25% {
|
151
|
+
transform:translateX(0%)
|
152
|
+
}
|
153
|
+
|
154
|
+
50% {
|
155
|
+
transform:translateX(0%)
|
156
|
+
}
|
157
|
+
|
158
|
+
75% {
|
159
|
+
transform:translateX(0%)
|
160
|
+
}
|
161
|
+
|
162
|
+
100% {
|
163
|
+
transform:translateX(0%)
|
164
|
+
}
|
165
|
+
}
|
166
|
+
|
167
|
+
@-webkit-keyframes move_left_blue {
|
168
|
+
0% {
|
169
|
+
-webkit-transform:translateX(100%)
|
170
|
+
}
|
171
|
+
|
172
|
+
25% {
|
173
|
+
-webkit-transform:translateX(100%)
|
174
|
+
}
|
175
|
+
|
176
|
+
50% {
|
177
|
+
-webkit-transform:translateX(0%)
|
178
|
+
}
|
179
|
+
|
180
|
+
75% {
|
181
|
+
-webkit-transform:translateX(0%)
|
182
|
+
}
|
183
|
+
|
184
|
+
100% {
|
185
|
+
-webkit-transform:translateX(0%)
|
186
|
+
}
|
187
|
+
}
|
188
|
+
|
189
|
+
@-moz-keyframes move_left_blue {
|
190
|
+
0% {
|
191
|
+
-moz-transform:translateX(100%)
|
192
|
+
}
|
193
|
+
|
194
|
+
25% {
|
195
|
+
-moz-transform:translateX(100%)
|
196
|
+
}
|
197
|
+
|
198
|
+
50% {
|
199
|
+
-moz-transform:translateX(0%)
|
200
|
+
}
|
201
|
+
|
202
|
+
75% {
|
203
|
+
-moz-transform:translateX(0%)
|
204
|
+
}
|
205
|
+
|
206
|
+
100% {
|
207
|
+
-moz-transform:translateX(0%)
|
208
|
+
}
|
209
|
+
}
|
210
|
+
|
211
|
+
@-ms-keyframes move_left_blue {
|
212
|
+
0% {
|
213
|
+
-ms-transform:translateX(100%)
|
214
|
+
}
|
215
|
+
|
216
|
+
25% {
|
217
|
+
-ms-transform:translateX(100%)
|
218
|
+
}
|
219
|
+
|
220
|
+
50% {
|
221
|
+
-ms-transform:translateX(0%)
|
222
|
+
}
|
223
|
+
|
224
|
+
75% {
|
225
|
+
-ms-transform:translateX(0%)
|
226
|
+
}
|
227
|
+
|
228
|
+
100% {
|
229
|
+
-ms-transform:translateX(0%)
|
230
|
+
}
|
231
|
+
}
|
232
|
+
|
233
|
+
@keyframes move_left_blue {
|
234
|
+
0% {
|
235
|
+
transform:translateX(100%)
|
236
|
+
}
|
237
|
+
|
238
|
+
25% {
|
239
|
+
transform:translateX(100%)
|
240
|
+
}
|
241
|
+
|
242
|
+
50% {
|
243
|
+
transform:translateX(0%)
|
244
|
+
}
|
245
|
+
|
246
|
+
75% {
|
247
|
+
transform:translateX(0%)
|
248
|
+
}
|
249
|
+
|
250
|
+
100% {
|
251
|
+
transform:translateX(0%)
|
252
|
+
}
|
253
|
+
}
|
254
|
+
|
255
|
+
@-webkit-keyframes move_left_yellow {
|
256
|
+
0% {
|
257
|
+
-webkit-transform:translateX(100%)
|
258
|
+
}
|
259
|
+
|
260
|
+
25% {
|
261
|
+
-webkit-transform:translateX(100%)
|
262
|
+
}
|
263
|
+
|
264
|
+
50% {
|
265
|
+
-webkit-transform:translateX(100%)
|
266
|
+
}
|
267
|
+
|
268
|
+
75% {
|
269
|
+
-webkit-transform:translateX(0%)
|
270
|
+
}
|
271
|
+
|
272
|
+
100% {
|
273
|
+
-webkit-transform:translateX(0%)
|
274
|
+
}
|
275
|
+
}
|
276
|
+
|
277
|
+
@-moz-keyframes move_left_yellow {
|
278
|
+
0% {
|
279
|
+
-moz-transform:translateX(100%)
|
280
|
+
}
|
281
|
+
|
282
|
+
25% {
|
283
|
+
-moz-transform:translateX(100%)
|
284
|
+
}
|
285
|
+
|
286
|
+
50% {
|
287
|
+
-moz-transform:translateX(100%)
|
288
|
+
}
|
289
|
+
|
290
|
+
75% {
|
291
|
+
-moz-transform:translateX(0%)
|
292
|
+
}
|
293
|
+
|
294
|
+
100% {
|
295
|
+
-moz-transform:translateX(0%)
|
296
|
+
}
|
297
|
+
}
|
298
|
+
|
299
|
+
@-ms-keyframes move_left_yellow {
|
300
|
+
0% {
|
301
|
+
-ms-transform:translateX(100%)
|
302
|
+
}
|
303
|
+
|
304
|
+
25% {
|
305
|
+
-ms-transform:translateX(100%)
|
306
|
+
}
|
307
|
+
|
308
|
+
50% {
|
309
|
+
-ms-transform:translateX(100%)
|
310
|
+
}
|
311
|
+
|
312
|
+
75% {
|
313
|
+
-ms-transform:translateX(0%)
|
314
|
+
}
|
315
|
+
|
316
|
+
100% {
|
317
|
+
-ms-transform:translateX(0%)
|
318
|
+
}
|
319
|
+
}
|
320
|
+
|
321
|
+
@keyframes move_left_yellow {
|
322
|
+
0% {
|
323
|
+
transform:translateX(100%)
|
324
|
+
}
|
325
|
+
|
326
|
+
25% {
|
327
|
+
transform:translateX(100%)
|
328
|
+
}
|
329
|
+
|
330
|
+
50% {
|
331
|
+
transform:translateX(100%)
|
332
|
+
}
|
333
|
+
|
334
|
+
75% {
|
335
|
+
transform:translateX(0%)
|
336
|
+
}
|
337
|
+
|
338
|
+
100% {
|
339
|
+
transform:translateX(0%)
|
340
|
+
}
|
341
|
+
}
|
342
|
+
|
343
|
+
@-webkit-keyframes move_left_green {
|
344
|
+
0% {
|
345
|
+
-webkit-transform:translateX(100%)
|
346
|
+
}
|
347
|
+
|
348
|
+
25% {
|
349
|
+
-webkit-transform:translateX(100%)
|
350
|
+
}
|
351
|
+
|
352
|
+
50% {
|
353
|
+
-webkit-transform:translateX(100%)
|
354
|
+
}
|
355
|
+
|
356
|
+
75% {
|
357
|
+
-webkit-transform:translateX(100%)
|
358
|
+
}
|
359
|
+
|
360
|
+
100% {
|
361
|
+
-webkit-transform:translateX(0%)
|
362
|
+
}
|
363
|
+
}
|
364
|
+
|
365
|
+
@-moz-keyframes move_left_green {
|
366
|
+
0% {
|
367
|
+
-moz-transform:translateX(100%)
|
368
|
+
}
|
369
|
+
|
370
|
+
25% {
|
371
|
+
-moz-transform:translateX(100%)
|
372
|
+
}
|
373
|
+
|
374
|
+
50% {
|
375
|
+
-moz-transform:translateX(100%)
|
376
|
+
}
|
377
|
+
|
378
|
+
75% {
|
379
|
+
-moz-transform:translateX(100%)
|
380
|
+
}
|
381
|
+
|
382
|
+
100% {
|
383
|
+
-moz-transform:translateX(0%)
|
384
|
+
}
|
385
|
+
}
|
386
|
+
|
387
|
+
@-ms-keyframes move_left_green {
|
388
|
+
0% {
|
389
|
+
-ms-transform:translateX(100%)
|
390
|
+
}
|
391
|
+
|
392
|
+
25% {
|
393
|
+
-ms-transform:translateX(100%)
|
394
|
+
}
|
395
|
+
|
396
|
+
50% {
|
397
|
+
-ms-transform:translateX(100%)
|
398
|
+
}
|
399
|
+
|
400
|
+
75% {
|
401
|
+
-ms-transform:translateX(100%)
|
402
|
+
}
|
403
|
+
|
404
|
+
100% {
|
405
|
+
-ms-transform:translateX(0%)
|
406
|
+
}
|
407
|
+
}
|
408
|
+
|
409
|
+
@keyframes move_left_green {
|
410
|
+
0% {
|
411
|
+
transform:translateX(100%)
|
412
|
+
}
|
413
|
+
|
414
|
+
25% {
|
415
|
+
transform:translateX(100%)
|
416
|
+
}
|
417
|
+
|
418
|
+
50% {
|
419
|
+
transform:translateX(100%)
|
420
|
+
}
|
421
|
+
|
422
|
+
75% {
|
423
|
+
transform:translateX(100%)
|
424
|
+
}
|
425
|
+
|
426
|
+
100% {
|
427
|
+
transform:translateX(0%)
|
428
|
+
}
|
429
|
+
}
|
430
|
+
|
431
|
+
.base2 .red {
|
432
|
+
background:#da4733;
|
433
|
+
-webkit-animation:move_right_red 4s infinite linear;
|
434
|
+
-moz-animation:move_right_red 4s infinite linear;
|
435
|
+
-ms-animation:move_right_red 4s infinite linear;
|
436
|
+
animation:move_right_red 4s infinite linear
|
437
|
+
}
|
438
|
+
|
439
|
+
.base2 .blue {
|
440
|
+
background:#3b78e7;
|
441
|
+
-webkit-animation:move_right_blue 4s infinite linear;
|
442
|
+
-moz-animation:move_right_blue 4s infinite linear;
|
443
|
+
-ms-animation:move_right_blue 4s infinite linear;
|
444
|
+
animation:move_right_blue 4s infinite linear
|
445
|
+
}
|
446
|
+
|
447
|
+
.base2 .yellow {
|
448
|
+
background:#fdba2c;
|
449
|
+
-webkit-animation:move_right_yellow 4s infinite linear;
|
450
|
+
-moz-animation:move_right_yellow 4s infinite linear;
|
451
|
+
-ms-animation:move_right_yellow 4s infinite linear;
|
452
|
+
animation:move_right_yellow 4s infinite linear
|
453
|
+
}
|
454
|
+
|
455
|
+
.base2 .green {
|
456
|
+
background:#159756;
|
457
|
+
-webkit-animation:move_right_green 4s infinite linear;
|
458
|
+
-moz-animation:move_right_green 4s infinite linear;
|
459
|
+
-ms-animation:move_right_green 4s infinite linear;
|
460
|
+
animation:move_right_green 4s infinite linear
|
461
|
+
}
|
462
|
+
|
463
|
+
@-webkit-keyframes move_right_red {
|
464
|
+
0% {
|
465
|
+
-webkit-transform:translateX(-100%)
|
466
|
+
}
|
467
|
+
|
468
|
+
25% {
|
469
|
+
-webkit-transform:translateX(0%)
|
470
|
+
}
|
471
|
+
|
472
|
+
50% {
|
473
|
+
-webkit-transform:translateX(0%)
|
474
|
+
}
|
475
|
+
|
476
|
+
75% {
|
477
|
+
-webkit-transform:translateX(0%)
|
478
|
+
}
|
479
|
+
|
480
|
+
100% {
|
481
|
+
-webkit-transform:translateX(0%)
|
482
|
+
}
|
483
|
+
}
|
484
|
+
|
485
|
+
@-moz-keyframes move_right_red {
|
486
|
+
0% {
|
487
|
+
-moz-transform:translateX(-100%)
|
488
|
+
}
|
489
|
+
|
490
|
+
25% {
|
491
|
+
-moz-transform:translateX(0%)
|
492
|
+
}
|
493
|
+
|
494
|
+
50% {
|
495
|
+
-moz-transform:translateX(0%)
|
496
|
+
}
|
497
|
+
|
498
|
+
75% {
|
499
|
+
-moz-transform:translateX(0%)
|
500
|
+
}
|
501
|
+
|
502
|
+
100% {
|
503
|
+
-moz-transform:translateX(0%)
|
504
|
+
}
|
505
|
+
}
|
506
|
+
|
507
|
+
@-ms-keyframes move_right_red {
|
508
|
+
0% {
|
509
|
+
-ms-transform:translateX(-100%)
|
510
|
+
}
|
511
|
+
|
512
|
+
25% {
|
513
|
+
-ms-transform:translateX(0%)
|
514
|
+
}
|
515
|
+
|
516
|
+
50% {
|
517
|
+
-ms-transform:translateX(0%)
|
518
|
+
}
|
519
|
+
|
520
|
+
75% {
|
521
|
+
-ms-transform:translateX(0%)
|
522
|
+
}
|
523
|
+
|
524
|
+
100% {
|
525
|
+
-ms-transform:translateX(0%)
|
526
|
+
}
|
527
|
+
}
|
528
|
+
|
529
|
+
@keyframes move_right_red {
|
530
|
+
0% {
|
531
|
+
transform:translateX(-100%)
|
532
|
+
}
|
533
|
+
|
534
|
+
25% {
|
535
|
+
transform:translateX(0%)
|
536
|
+
}
|
537
|
+
|
538
|
+
50% {
|
539
|
+
transform:translateX(0%)
|
540
|
+
}
|
541
|
+
|
542
|
+
75% {
|
543
|
+
transform:translateX(0%)
|
544
|
+
}
|
545
|
+
|
546
|
+
100% {
|
547
|
+
transform:translateX(0%)
|
548
|
+
}
|
549
|
+
}
|
550
|
+
|
551
|
+
@-webkit-keyframes move_right_blue {
|
552
|
+
0% {
|
553
|
+
-webkit-transform:translateX(-100%)
|
554
|
+
}
|
555
|
+
|
556
|
+
25% {
|
557
|
+
-webkit-transform:translateX(-100%)
|
558
|
+
}
|
559
|
+
|
560
|
+
50% {
|
561
|
+
-webkit-transform:translateX(0%)
|
562
|
+
}
|
563
|
+
|
564
|
+
75% {
|
565
|
+
-webkit-transform:translateX(0%)
|
566
|
+
}
|
567
|
+
|
568
|
+
100% {
|
569
|
+
-webkit-transform:translateX(0%)
|
570
|
+
}
|
571
|
+
}
|
572
|
+
|
573
|
+
@-moz-keyframes move_right_blue {
|
574
|
+
0% {
|
575
|
+
-moz-transform:translateX(-100%)
|
576
|
+
}
|
577
|
+
|
578
|
+
25% {
|
579
|
+
-moz-transform:translateX(-100%)
|
580
|
+
}
|
581
|
+
|
582
|
+
50% {
|
583
|
+
-moz-transform:translateX(0%)
|
584
|
+
}
|
585
|
+
|
586
|
+
75% {
|
587
|
+
-moz-transform:translateX(0%)
|
588
|
+
}
|
589
|
+
|
590
|
+
100% {
|
591
|
+
-moz-transform:translateX(0%)
|
592
|
+
}
|
593
|
+
}
|
594
|
+
|
595
|
+
@-ms-keyframes move_right_blue {
|
596
|
+
0% {
|
597
|
+
-ms-transform:translateX(-100%)
|
598
|
+
}
|
599
|
+
|
600
|
+
25% {
|
601
|
+
-ms-transform:translateX(-100%)
|
602
|
+
}
|
603
|
+
|
604
|
+
50% {
|
605
|
+
-ms-transform:translateX(0%)
|
606
|
+
}
|
607
|
+
|
608
|
+
75% {
|
609
|
+
-ms-transform:translateX(0%)
|
610
|
+
}
|
611
|
+
|
612
|
+
100% {
|
613
|
+
-ms-transform:translateX(0%)
|
614
|
+
}
|
615
|
+
}
|
616
|
+
|
617
|
+
@keyframes move_right_blue {
|
618
|
+
0% {
|
619
|
+
transform:translateX(-100%)
|
620
|
+
}
|
621
|
+
|
622
|
+
25% {
|
623
|
+
transform:translateX(-100%)
|
624
|
+
}
|
625
|
+
|
626
|
+
50% {
|
627
|
+
transform:translateX(0%)
|
628
|
+
}
|
629
|
+
|
630
|
+
75% {
|
631
|
+
transform:translateX(0%)
|
632
|
+
}
|
633
|
+
|
634
|
+
100% {
|
635
|
+
transform:translateX(0%)
|
636
|
+
}
|
637
|
+
}
|
638
|
+
|
639
|
+
@-webkit-keyframes move_right_yellow {
|
640
|
+
0% {
|
641
|
+
-webkit-transform:translateX(-100%)
|
642
|
+
}
|
643
|
+
|
644
|
+
25% {
|
645
|
+
-webkit-transform:translateX(-100%)
|
646
|
+
}
|
647
|
+
|
648
|
+
50% {
|
649
|
+
-webkit-transform:translateX(-100%)
|
650
|
+
}
|
651
|
+
|
652
|
+
75% {
|
653
|
+
-webkit-transform:translateX(0%)
|
654
|
+
}
|
655
|
+
|
656
|
+
100% {
|
657
|
+
-webkit-transform:translateX(0%)
|
658
|
+
}
|
659
|
+
}
|
660
|
+
|
661
|
+
@-moz-keyframes move_right_yellow {
|
662
|
+
0% {
|
663
|
+
-moz-transform:translateX(-100%)
|
664
|
+
}
|
665
|
+
|
666
|
+
25% {
|
667
|
+
-moz-transform:translateX(-100%)
|
668
|
+
}
|
669
|
+
|
670
|
+
50% {
|
671
|
+
-moz-transform:translateX(-100%)
|
672
|
+
}
|
673
|
+
|
674
|
+
75% {
|
675
|
+
-moz-transform:translateX(0%)
|
676
|
+
}
|
677
|
+
|
678
|
+
100% {
|
679
|
+
-moz-transform:translateX(0%)
|
680
|
+
}
|
681
|
+
}
|
682
|
+
|
683
|
+
@-ms-keyframes move_right_yellow {
|
684
|
+
0% {
|
685
|
+
-ms-transform:translateX(-100%)
|
686
|
+
}
|
687
|
+
|
688
|
+
25% {
|
689
|
+
-ms-transform:translateX(-100%)
|
690
|
+
}
|
691
|
+
|
692
|
+
50% {
|
693
|
+
-ms-transform:translateX(-100%)
|
694
|
+
}
|
695
|
+
|
696
|
+
75% {
|
697
|
+
-ms-transform:translateX(0%)
|
698
|
+
}
|
699
|
+
|
700
|
+
100% {
|
701
|
+
-ms-transform:translateX(0%)
|
702
|
+
}
|
703
|
+
}
|
704
|
+
|
705
|
+
@keyframes move_right_yellow {
|
706
|
+
0% {
|
707
|
+
transform:translateX(-100%)
|
708
|
+
}
|
709
|
+
|
710
|
+
25% {
|
711
|
+
transform:translateX(-100%)
|
712
|
+
}
|
713
|
+
|
714
|
+
50% {
|
715
|
+
transform:translateX(-100%)
|
716
|
+
}
|
717
|
+
|
718
|
+
75% {
|
719
|
+
transform:translateX(0%)
|
720
|
+
}
|
721
|
+
|
722
|
+
100% {
|
723
|
+
transform:translateX(0%)
|
724
|
+
}
|
725
|
+
}
|
726
|
+
|
727
|
+
@-webkit-keyframes move_right_green {
|
728
|
+
0% {
|
729
|
+
-webkit-transform:translateX(-100%)
|
730
|
+
}
|
731
|
+
|
732
|
+
25% {
|
733
|
+
-webkit-transform:translateX(-100%)
|
734
|
+
}
|
735
|
+
|
736
|
+
50% {
|
737
|
+
-webkit-transform:translateX(-100%)
|
738
|
+
}
|
739
|
+
|
740
|
+
75% {
|
741
|
+
-webkit-transform:translateX(-100%)
|
742
|
+
}
|
743
|
+
|
744
|
+
100% {
|
745
|
+
-webkit-transform:translateX(0%)
|
746
|
+
}
|
747
|
+
}
|
748
|
+
|
749
|
+
@-moz-keyframes move_right_green {
|
750
|
+
0% {
|
751
|
+
-moz-transform:translateX(-100%)
|
752
|
+
}
|
753
|
+
|
754
|
+
25% {
|
755
|
+
-moz-transform:translateX(-100%)
|
756
|
+
}
|
757
|
+
|
758
|
+
50% {
|
759
|
+
-moz-transform:translateX(-100%)
|
760
|
+
}
|
761
|
+
|
762
|
+
75% {
|
763
|
+
-moz-transform:translateX(-100%)
|
764
|
+
}
|
765
|
+
|
766
|
+
100% {
|
767
|
+
-moz-transform:translateX(0%)
|
768
|
+
}
|
769
|
+
}
|
770
|
+
|
771
|
+
@-ms-keyframes move_right_green {
|
772
|
+
0% {
|
773
|
+
-ms-transform:translateX(-100%)
|
774
|
+
}
|
775
|
+
|
776
|
+
25% {
|
777
|
+
-ms-transform:translateX(-100%)
|
778
|
+
}
|
779
|
+
|
780
|
+
50% {
|
781
|
+
-ms-transform:translateX(-100%)
|
782
|
+
}
|
783
|
+
|
784
|
+
75% {
|
785
|
+
-ms-transform:translateX(-100%)
|
786
|
+
}
|
787
|
+
|
788
|
+
100% {
|
789
|
+
-ms-transform:translateX(0%)
|
790
|
+
}
|
791
|
+
}
|
792
|
+
|
793
|
+
@keyframes move_right_green {
|
794
|
+
0% {
|
795
|
+
transform:translateX(-100%)
|
796
|
+
}
|
797
|
+
|
798
|
+
25% {
|
799
|
+
transform:translateX(-100%)
|
800
|
+
}
|
801
|
+
|
802
|
+
50% {
|
803
|
+
transform:translateX(-100%)
|
804
|
+
}
|
805
|
+
|
806
|
+
75% {
|
807
|
+
transform:translateX(-100%)
|
808
|
+
}
|
809
|
+
|
810
|
+
100% {
|
811
|
+
transform:translateX(0%)
|
812
|
+
}
|
813
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
;
|
2
|
+
(function($) {
|
3
|
+
var defaults = {
|
4
|
+
position: 'bottom',
|
5
|
+
height: '5px',
|
6
|
+
col_1: '#159756',
|
7
|
+
col_2: '#da4733',
|
8
|
+
col_3: '#3b78e7',
|
9
|
+
col_4: '#fdba2c',
|
10
|
+
fadeIn: 200,
|
11
|
+
fadeOut: 200
|
12
|
+
}
|
13
|
+
$.materialPreloader = function(options) {
|
14
|
+
var settings = $.extend({}, defaults, options);
|
15
|
+
$template =
|
16
|
+
"<div id='materialPreloader' class='load-bar' style='height:" +
|
17
|
+
settings.height + ";display:none;" + settings.position +
|
18
|
+
":0px'><div class='load-bar-container'><div class='load-bar-base base1' style='background:" +
|
19
|
+
settings.col_1 +
|
20
|
+
"'><div class='color red' style='background:" + settings.col_2 +
|
21
|
+
"'></div><div class='color blue' style='background:" +
|
22
|
+
settings.col_3 +
|
23
|
+
"'></div><div class='color yellow' style='background:" +
|
24
|
+
settings.col_4 +
|
25
|
+
"'></div><div class='color green' style='background:" +
|
26
|
+
settings.col_1 +
|
27
|
+
"'></div></div></div> <div class='load-bar-container'><div class='load-bar-base base2' style='background:" +
|
28
|
+
settings.col_1 +
|
29
|
+
"'><div class='color red' style='background:" + settings.col_2 +
|
30
|
+
"'></div><div class='color blue' style='background:" +
|
31
|
+
settings.col_3 +
|
32
|
+
"'></div><div class='color yellow' style='background:" +
|
33
|
+
settings.col_4 +
|
34
|
+
"'></div> <div class='color green' style='background:" +
|
35
|
+
settings.col_1 + "'></div> </div> </div> </div>";
|
36
|
+
$('body').prepend($template);
|
37
|
+
this.on = function() {
|
38
|
+
$('#materialPreloader').fadeIn(settings.fadeIn);
|
39
|
+
}
|
40
|
+
this.off = function() {
|
41
|
+
$('#materialPreloader').fadeOut(settings.fadeOut);
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}(jQuery));
|
File without changes
|
metadata
ADDED
@@ -0,0 +1,93 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: materialpreloader_gem
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- urielhdz
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-04-13 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.8'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.8'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: railties
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.1'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.1'
|
55
|
+
description: Allows you to include http://git.aaronlumsden.com/material/ into your
|
56
|
+
Rails assets
|
57
|
+
email:
|
58
|
+
- uriel.hdzc@gmail.com
|
59
|
+
executables: []
|
60
|
+
extensions: []
|
61
|
+
extra_rdoc_files: []
|
62
|
+
files:
|
63
|
+
- lib/materialpreloader_gem.rb
|
64
|
+
- lib/materialpreloader_gem/version.rb
|
65
|
+
- vendor/assets/css/materialPreloader.css
|
66
|
+
- vendor/assets/javascripts/materialPreloader.js
|
67
|
+
- vendor/assets/javascripts/mpreloader.coffee
|
68
|
+
homepage: https://github.com/urielhdz/materialpreloader
|
69
|
+
licenses:
|
70
|
+
- MIT
|
71
|
+
metadata:
|
72
|
+
allowed_push_host: https://rubygems.org
|
73
|
+
post_install_message:
|
74
|
+
rdoc_options: []
|
75
|
+
require_paths:
|
76
|
+
- lib
|
77
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
82
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
|
+
requirements:
|
84
|
+
- - ">="
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: '0'
|
87
|
+
requirements: []
|
88
|
+
rubyforge_project:
|
89
|
+
rubygems_version: 2.4.5
|
90
|
+
signing_key:
|
91
|
+
specification_version: 4
|
92
|
+
summary: Rails gem to integrate Material Preloader
|
93
|
+
test_files: []
|