assets-rails 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-version +1 -1
  3. data/README.md +13 -9
  4. data/assets-rails.gemspec +2 -0
  5. data/lib/assets-rails/engine.rb +3 -1
  6. data/lib/assets-rails/version.rb +1 -1
  7. data/vendor/assets/fonts/lightgallery/Slide-icons.dev.svg +33 -0
  8. data/vendor/assets/fonts/lightgallery/Slide-icons.eot +0 -0
  9. data/vendor/assets/fonts/lightgallery/Slide-icons.svg +33 -0
  10. data/vendor/assets/fonts/lightgallery/Slide-icons.ttf +0 -0
  11. data/vendor/assets/fonts/lightgallery/Slide-icons.woff +0 -0
  12. data/vendor/assets/fonts/photoswipe/v4.0.0/default-skin/default-skin.svg +38 -0
  13. data/vendor/assets/fonts/photoswipe/v4.0.2/default-skin/default-skin.svg +1 -0
  14. data/vendor/assets/images/jquery.share/social-icons-sprite.png +0 -0
  15. data/vendor/assets/images/jquery.share/social-icons.png +0 -0
  16. data/vendor/assets/images/lightgallery/loading.gif +0 -0
  17. data/vendor/assets/images/photoswipe/v4.0.0/default-skin/default-skin.png +0 -0
  18. data/vendor/assets/images/photoswipe/v4.0.0/default-skin/preloader.gif +0 -0
  19. data/vendor/assets/images/photoswipe/v4.0.2/default-skin/default-skin.png +0 -0
  20. data/vendor/assets/images/photoswipe/v4.0.2/default-skin/preloader.gif +0 -0
  21. data/vendor/assets/javascripts/imagesloaded/v3.1.8.js +1 -1
  22. data/vendor/assets/javascripts/imagesloaded/v3.1.8/imagesloaded.js +561 -3
  23. data/vendor/assets/javascripts/jquery.cookie/v1.4.1.js +2 -0
  24. data/vendor/assets/javascripts/jquery.cookie/v1.4.1/jquery.cookie.js +117 -0
  25. data/vendor/assets/javascripts/jquery.share.js +1 -0
  26. data/vendor/assets/javascripts/jquery.share/jquery.share.js +137 -0
  27. data/vendor/assets/javascripts/jquery.zoom/v1.7.13.js +1 -0
  28. data/vendor/assets/javascripts/jquery.zoom/v1.7.13/jquery.zoom.js +233 -0
  29. data/vendor/assets/javascripts/lightgallery/v1.1.4.js +1 -0
  30. data/vendor/assets/javascripts/lightgallery/v1.1.4/lightgallery.min.js +11 -0
  31. data/vendor/assets/javascripts/photoswipe/v4.0.0.js +2 -0
  32. data/vendor/assets/javascripts/photoswipe/v4.0.0/photoswipe-ui-default.js +824 -0
  33. data/vendor/assets/javascripts/photoswipe/v4.0.0/photoswipe.js +3647 -0
  34. data/vendor/assets/javascripts/photoswipe/v4.0.2.js +2 -0
  35. data/vendor/assets/javascripts/photoswipe/v4.0.2/photoswipe-ui-default.js +792 -0
  36. data/vendor/assets/javascripts/photoswipe/v4.0.2/photoswipe.js +3589 -0
  37. data/vendor/assets/stylesheets/font-awesome/v4.2.0/_variables.scss +1 -1
  38. data/vendor/assets/stylesheets/jquery.collageplus/v0.3.3/transitions.css +202 -0
  39. data/vendor/assets/stylesheets/jquery.share.css +3 -0
  40. data/vendor/assets/stylesheets/jquery.share/jquery.share.scss +215 -0
  41. data/vendor/assets/stylesheets/lightgallery/v1.1.4/lightgallery.scss +629 -0
  42. data/vendor/assets/stylesheets/photoswipe/v4.0.0.css +3 -0
  43. data/vendor/assets/stylesheets/photoswipe/v4.0.0/default-skin.scss +418 -0
  44. data/vendor/assets/stylesheets/photoswipe/v4.0.0/photoswipe.css +125 -0
  45. data/vendor/assets/stylesheets/photoswipe/v4.0.2.css +3 -0
  46. data/vendor/assets/stylesheets/photoswipe/v4.0.2/default-skin.scss +390 -0
  47. data/vendor/assets/stylesheets/photoswipe/v4.0.2/photoswipe.css +148 -0
  48. metadata +43 -5
@@ -0,0 +1,3 @@
1
+ /*
2
+ *= require photoswipe/v4.0.0/photoswipe
3
+ */
@@ -0,0 +1,418 @@
1
+ /**
2
+ * Default PhotoSwipe UI CSS file, http://photoswipe.com
3
+ * @author Dmitry Semenov
4
+ */
5
+ .pswp__ui {
6
+ -webkit-font-smoothing: auto;
7
+ visibility: visible;
8
+ opacity: 1;
9
+ z-index: 1050; }
10
+
11
+ .pswp__top-bar {
12
+ position: absolute;
13
+ left: 0;
14
+ top: 0;
15
+ height: 44px;
16
+ width: 100%; }
17
+
18
+ /**
19
+ * Loading indicator, aka preloader.
20
+ * You can play with preloader is here: http://codepen.io/dimsemenov/pen/yyBWoR
21
+ */
22
+ .pswp__preloader {
23
+ width: 44px;
24
+ height: 44px;
25
+ position: absolute;
26
+ top: 0;
27
+ left: 50%;
28
+ margin-left: -22px;
29
+ z-index: 20;
30
+ opacity: 0;
31
+ position: relative;
32
+ -webkit-transition: opacity 0.25s ease-out;
33
+ transition: opacity 0.25s ease-out;
34
+ will-change: opacity; }
35
+
36
+ .pswp__preloader__icn {
37
+ width: 20px;
38
+ height: 20px;
39
+ margin: 12px; }
40
+
41
+ .pswp__preloader--active {
42
+ opacity: 1; }
43
+ .pswp__preloader--active .pswp__preloader__icn {
44
+ background: asset-url('photoswipe/v4.0.0/default-skin/preloader.gif') 0 0 no-repeat; }
45
+
46
+ .pswp--css_animation .pswp__preloader--active {
47
+ opacity: 1; }
48
+ .pswp--css_animation .pswp__preloader--active .pswp__preloader__icn {
49
+ -webkit-animation: clockwise 500ms linear infinite;
50
+ animation: clockwise 500ms linear infinite; }
51
+ .pswp--css_animation .pswp__preloader--active .pswp__preloader__donut {
52
+ -webkit-animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite;
53
+ animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite; }
54
+ .pswp--css_animation .pswp__preloader__icn {
55
+ background: none;
56
+ opacity: 0.75;
57
+ width: 14px;
58
+ height: 14px;
59
+ position: absolute;
60
+ left: 15px;
61
+ top: 15px;
62
+ margin: 0; }
63
+ .pswp--css_animation .pswp__preloader__cut {
64
+ position: relative;
65
+ width: 7px;
66
+ height: 14px;
67
+ overflow: hidden; }
68
+ .pswp--css_animation .pswp__preloader__donut {
69
+ box-sizing: border-box;
70
+ width: 14px;
71
+ height: 14px;
72
+ border: 2px solid white;
73
+ border-radius: 50%;
74
+ border-left-color: transparent;
75
+ border-bottom-color: transparent;
76
+ position: absolute;
77
+ top: 0;
78
+ left: 0;
79
+ background: none;
80
+ margin: 0; }
81
+
82
+ @-webkit-keyframes clockwise {
83
+ 0% {
84
+ -webkit-transform: rotate(0deg); }
85
+
86
+ 100% {
87
+ -webkit-transform: rotate(360deg); } }
88
+
89
+ @keyframes clockwise {
90
+ 0% {
91
+ transform: rotate(0deg); }
92
+
93
+ 100% {
94
+ transform: rotate(360deg); } }
95
+
96
+ @-webkit-keyframes donut-rotate {
97
+ 0% {
98
+ -webkit-transform: rotate(0); }
99
+
100
+ 50% {
101
+ -webkit-transform: rotate(-140deg); }
102
+
103
+ 100% {
104
+ -webkit-transform: rotate(0); } }
105
+
106
+ @keyframes donut-rotate {
107
+ 0% {
108
+ transform: rotate(0); }
109
+
110
+ 50% {
111
+ transform: rotate(-140deg); }
112
+
113
+ 100% {
114
+ transform: rotate(0); } }
115
+
116
+ .pswp__error-msg {
117
+ position: absolute;
118
+ left: 0;
119
+ top: 50%;
120
+ width: 100%;
121
+ text-align: center;
122
+ color: white;
123
+ font-size: 14px;
124
+ line-height: 16px;
125
+ margin-top: -8px;
126
+ color: white;
127
+ opacity: 0.7; }
128
+
129
+ .pswp__error-msg a {
130
+ color: white;
131
+ text-decoration: underline; }
132
+
133
+ .pswp__button {
134
+ width: 44px;
135
+ height: 44px;
136
+ position: relative;
137
+ background: none;
138
+ cursor: pointer;
139
+ overflow: visible;
140
+ border: 0;
141
+ -webkit-appearance: none;
142
+ display: block;
143
+ outline: none;
144
+ padding: 0;
145
+ margin: 0;
146
+ -webkit-box-shadow: none;
147
+ box-shadow: none;
148
+ float: right;
149
+ opacity: 0.75;
150
+ -webkit-transition: opacity 0.25s;
151
+ transition: opacity 0.25s; }
152
+ .pswp__button:focus, .pswp__button:hover {
153
+ opacity: 1; }
154
+ .pswp__button:active {
155
+ opacity: 0.9; }
156
+ .pswp__button::-moz-focus-inner {
157
+ padding: 0;
158
+ border: 0; }
159
+
160
+ .pswp--animated-in .pswp__button {
161
+ -webkit-transition: opacity 0.25s;
162
+ transition: opacity 0.25s; }
163
+
164
+ .pswp__ui--over-close .pswp__button--close {
165
+ opacity: 1; }
166
+
167
+ .pswp__button, .pswp__button--arrow--left:before, .pswp__button--arrow--right:before {
168
+ background: asset-url('photoswipe/v4.0.0/default-skin/default-skin.png') 0 0 no-repeat;
169
+ background-size: 264px 88px;
170
+ width: 44px;
171
+ height: 44px; }
172
+
173
+ @media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 105dpi), (min-resolution: 1.1dppx) {
174
+ .pswp--svg .pswp__button, .pswp--svg .pswp__button--arrow--left:before, .pswp--svg .pswp__button--arrow--right:before {
175
+ background-image: asset-url('photoswipe/v4.0.0/default-skin/default-skin.svg'); }
176
+ .pswp--svg .pswp__button--arrow--left, .pswp--svg .pswp__button--arrow--right {
177
+ background: none; } }
178
+
179
+ .pswp__counter, .pswp__share-modal {
180
+ -webkit-user-select: none;
181
+ -moz-user-select: none;
182
+ user-select: none; }
183
+
184
+ .pswp__share-modal {
185
+ display: block;
186
+ background: rgba(0, 0, 0, 0.5);
187
+ width: 100%;
188
+ height: 100%;
189
+ top: 0;
190
+ left: 0;
191
+ padding: 10px;
192
+ position: absolute;
193
+ z-index: 1450;
194
+ opacity: 0;
195
+ -webkit-transition: opacity 0.25s ease-out;
196
+ transition: opacity 0.25s ease-out;
197
+ will-change: opacity;
198
+ -webkit-backface-visibility: hidden; }
199
+
200
+ .pswp__share-modal--hidden {
201
+ display: none; }
202
+
203
+ .pswp__share-tooltip {
204
+ z-index: 1550;
205
+ position: absolute;
206
+ background: white;
207
+ top: 56px;
208
+ border-radius: 2px;
209
+ display: block;
210
+ width: auto;
211
+ right: 44px;
212
+ -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
213
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
214
+ -webkit-transform: translateY(6px);
215
+ transform: translateY(6px);
216
+ -webkit-transition: -webkit-transform 0.25s;
217
+ transition: transform 0.25s;
218
+ will-change: transform;
219
+ -webkit-backface-visibility: hidden; }
220
+ .pswp__share-tooltip a {
221
+ display: block;
222
+ padding: 8px 12px;
223
+ color: black;
224
+ text-decoration: none;
225
+ font-size: 14px;
226
+ line-height: 18px; }
227
+ .pswp__share-tooltip a:hover {
228
+ text-decoration: none;
229
+ color: black; }
230
+
231
+ .pswp__share-modal--fade-in {
232
+ opacity: 1; }
233
+ .pswp__share-modal--fade-in .pswp__share-tooltip {
234
+ -webkit-transform: translateY(0);
235
+ transform: translateY(0); }
236
+
237
+ .pswp--touch .pswp__share-tooltip a {
238
+ padding: 16px 12px; }
239
+
240
+ a.pswp__share--facebook:before {
241
+ content: '';
242
+ display: block;
243
+ width: 0;
244
+ height: 0;
245
+ position: absolute;
246
+ top: -12px;
247
+ right: 15px;
248
+ border: 6px solid rgba(0, 0, 0, 0);
249
+ border-bottom-color: white;
250
+ -webkit-pointer-events: none;
251
+ -moz-pointer-events: none;
252
+ pointer-events: none; }
253
+ a.pswp__share--facebook:hover {
254
+ background: #3e5c9a;
255
+ color: white; }
256
+ a.pswp__share--facebook:hover:before {
257
+ border-bottom-color: #3e5c9a; }
258
+
259
+ a.pswp__share--twitter:hover {
260
+ background: #55acee;
261
+ color: white; }
262
+
263
+ a.pswp__share--pinterest:hover {
264
+ background: #cccccc;
265
+ color: #ce272d; }
266
+
267
+ a.pswp__share--download:hover {
268
+ background: #dddddd; }
269
+
270
+ .pswp__button--close {
271
+ background-position: 0 -44px; }
272
+
273
+ .pswp__button--share {
274
+ background-position: -44px -44px; }
275
+
276
+ .pswp__button--fs {
277
+ display: none; }
278
+
279
+ .pswp--supports-fs .pswp__button--fs {
280
+ display: block; }
281
+
282
+ .pswp--fs .pswp__button--fs {
283
+ background-position: -44px 0; }
284
+
285
+ .pswp__button--zoom {
286
+ display: none;
287
+ background-position: -88px 0; }
288
+
289
+ .pswp--zoom-allowed .pswp__button--zoom {
290
+ display: block; }
291
+
292
+ .pswp--zoomed-in .pswp__button--zoom {
293
+ background-position: -132px 0; }
294
+
295
+ .pswp__button--arrow--left, .pswp__button--arrow--right {
296
+ background: none;
297
+ top: 50%;
298
+ margin-top: -50px;
299
+ width: 70px;
300
+ height: 100px;
301
+ position: absolute; }
302
+
303
+ .pswp__top-bar, .pswp__button--arrow--left, .pswp__button--arrow--right {
304
+ -webkit-backface-visibility: hidden;
305
+ will-change: opacity; }
306
+
307
+ .pswp--touch .pswp__button--arrow--left, .pswp--touch .pswp__button--arrow--right {
308
+ visibility: hidden; }
309
+
310
+ .pswp__button--arrow--left {
311
+ left: 0; }
312
+
313
+ .pswp__button--arrow--right {
314
+ right: 0; }
315
+
316
+ .pswp__button--arrow--left:before, .pswp__button--arrow--right:before {
317
+ content: '';
318
+ top: 35px;
319
+ background-color: rgba(0, 0, 0, 0.3);
320
+ height: 30px;
321
+ width: 32px;
322
+ position: absolute; }
323
+
324
+ .pswp__button--arrow--left:before {
325
+ left: 6px;
326
+ background-position: -138px -44px; }
327
+
328
+ .pswp__button--arrow--right:before {
329
+ right: 6px;
330
+ background-position: -94px -44px; }
331
+
332
+ .pswp__counter {
333
+ position: absolute;
334
+ left: 0;
335
+ top: 0;
336
+ height: 44px;
337
+ font-size: 13px;
338
+ line-height: 44px;
339
+ color: white;
340
+ opacity: 0.75;
341
+ padding: 0 10px; }
342
+
343
+ @media screen and (max-width: 1024px) {
344
+ .pswp_scroll-wrap {
345
+ top: 0;
346
+ bottom: 0; }
347
+ .pswp__caption {
348
+ margin-top: 0; }
349
+ .pswp__preloader {
350
+ position: relative;
351
+ left: auto;
352
+ top: auto;
353
+ margin: 0;
354
+ float: right; } }
355
+
356
+ .pswp__caption {
357
+ position: absolute;
358
+ left: 0;
359
+ bottom: 0;
360
+ color: white;
361
+ width: 100%;
362
+ min-height: 44px; }
363
+ .pswp__caption small {
364
+ font-size: 11px;
365
+ color: #bbbbbb; }
366
+
367
+ .pswp__caption__center {
368
+ text-align: left;
369
+ max-width: 420px;
370
+ margin: 0 auto;
371
+ color: white;
372
+ font-size: 13px;
373
+ padding: 10px;
374
+ line-height: 20px;
375
+ color: #cccccc; }
376
+
377
+ .pswp__caption--empty {
378
+ display: none; }
379
+
380
+ .pswp__caption--fake {
381
+ visibility: hidden; }
382
+
383
+ .pswp__bg, .pswp__caption, .pswp__top-bar, .pswp--has_mouse .pswp__button--arrow--left, .pswp--has_mouse .pswp__button--arrow--right {
384
+ will-change: opacity;
385
+ -webkit-transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
386
+ transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }
387
+
388
+ .pswp--animated-in .pswp__bg, .pswp--animated-in .pswp__zoom-wrap {
389
+ -webkit-transition: none;
390
+ transition: none; }
391
+
392
+ .pswp--has_mouse .pswp__button--arrow--left, .pswp--has_mouse .pswp__button--arrow--right {
393
+ visibility: visible; }
394
+
395
+ .pswp__top-bar, .pswp__caption {
396
+ background-color: rgba(0, 0, 0, 0.5); }
397
+
398
+ .pswp__ui--fit .pswp__top-bar, .pswp__ui--fit .pswp__caption {
399
+ background-color: rgba(0, 0, 0, 0.3); }
400
+
401
+ .pswp__ui--hidden .pswp__top-bar, .pswp__ui--hidden .pswp__caption, .pswp__ui--hidden .pswp__button--arrow--left, .pswp__ui--hidden .pswp__button--arrow--right {
402
+ opacity: 0; }
403
+
404
+ .pswp__ui--idle .pswp__top-bar {
405
+ opacity: 0; }
406
+ .pswp__ui--idle .pswp__button--arrow--left, .pswp__ui--idle .pswp__button--arrow--right {
407
+ opacity: 0; }
408
+
409
+ .pswp__ui--hidden .pswp__top-bar, .pswp__ui--hidden .pswp__caption, .pswp__ui--hidden .pswp__bg, .pswp__ui--hidden .pswp__button--arrow--left, .pswp__ui--hidden .pswp__button--arrow--right {
410
+ opacity: 0.001; }
411
+
412
+ .pswp__element--disabled {
413
+ display: none !important; }
414
+
415
+ .pswp--minimal--dark .pswp__top-bar {
416
+ background: none; }
417
+ .pswp--minimal--dark .pswp__button--arrow--left, .pswp--minimal--dark .pswp__button--arrow--right {
418
+ background: none; }
@@ -0,0 +1,125 @@
1
+ /**
2
+ * Core PhotoSwipe CSS file, http://photoswipe.com
3
+ * @author Dmitry Semenov
4
+ */
5
+ .pswp {
6
+ display: none;
7
+ position: absolute;
8
+ width: 100%;
9
+ height: 100%;
10
+ left: 0;
11
+ top: 0;
12
+ overflow: hidden;
13
+ -ms-touch-action: none;
14
+ z-index: 500;
15
+ -webkit-text-size-adjust: 100%;
16
+ -webkit-backface-visibility: hidden;
17
+ outline: none; }
18
+ .pswp * {
19
+ -webkit-box-sizing: border-box;
20
+ -moz-box-sizing: border-box;
21
+ box-sizing: border-box; }
22
+ .pswp img {
23
+ max-width: none; }
24
+
25
+ .pswp--animate_opacity {
26
+ opacity: 0;
27
+ will-change: opacity;
28
+ -webkit-transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
29
+ transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }
30
+
31
+ .pswp--open {
32
+ display: block; }
33
+
34
+ .pswp--zoom-allowed .pswp__img {
35
+ cursor: -webkit-zoom-in;
36
+ cursor: -moz-zoom-in;
37
+ cursor: zoom-in; }
38
+
39
+ .pswp--zoomed-in .pswp__img {
40
+ cursor: -webkit-grab;
41
+ cursor: -moz-grab;
42
+ cursor: grap; }
43
+
44
+ .pswp--dragging .pswp__img {
45
+ cursor: -webkit-grabbing;
46
+ cursor: -moz-grabbing;
47
+ cursor: grabbing; }
48
+
49
+ .pswp__bg {
50
+ position: absolute;
51
+ left: 0;
52
+ top: 0;
53
+ width: 100%;
54
+ height: 100%;
55
+ background: black;
56
+ opacity: 0;
57
+ -webkit-backface-visibility: hidden;
58
+ will-change: opacity; }
59
+
60
+ .pswp__scroll-wrap {
61
+ position: absolute;
62
+ left: 0;
63
+ top: 0;
64
+ width: 100%;
65
+ height: 100%;
66
+ -webkit-backface-visibility: hidden;
67
+ will-change: transform; }
68
+
69
+ .pswp__container, .pswp__zoom-wrap {
70
+ -ms-touch-action: none;
71
+ touch-action: none;
72
+ position: absolute;
73
+ left: 0;
74
+ right: 0;
75
+ top: 0;
76
+ bottom: 0; }
77
+
78
+ .pswp__container, .pswp__img {
79
+ -webkit-user-select: none;
80
+ -moz-user-select: none;
81
+ -ms-user-select: none;
82
+ user-select: none;
83
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
84
+ -webkit-touch-callout: none; }
85
+
86
+ .pswp__zoom-wrap {
87
+ position: absolute;
88
+ width: 100%;
89
+ -webkit-transform-origin: left top;
90
+ -moz-transform-origin: left top;
91
+ -ms-transform-origin: left top;
92
+ transform-origin: left top;
93
+ -webkit-transition: -webkit-transform 333ms cubic-bezier(0.4, 0, 0.22, 1);
94
+ transition: transform 333ms cubic-bezier(0.4, 0, 0.22, 1); }
95
+
96
+ .pswp__container, .pswp__zoom-wrap {
97
+ -webkit-backface-visibility: hidden;
98
+ will-change: transform; }
99
+
100
+ .pswp__item {
101
+ position: absolute;
102
+ left: 0;
103
+ right: 0;
104
+ top: 0;
105
+ bottom: 0;
106
+ overflow: hidden; }
107
+
108
+ .pswp__img {
109
+ position: absolute;
110
+ width: auto;
111
+ height: auto;
112
+ -webkit-transition: opacity 0.15s;
113
+ transition: opacity 0.15s; }
114
+
115
+ .pswp__img--placeholder {
116
+ -webkit-backface-visibility: hidden; }
117
+
118
+ .pswp__img--placeholder--blank {
119
+ background: #222222; }
120
+
121
+ .pswp--ie .pswp__img {
122
+ width: 100%;
123
+ height: 100%;
124
+ left: 0;
125
+ top: 0; }