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