promethee 1.7.12 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/lib/promethee/rails/version.rb +1 -1
  3. data/node_modules/@fancyapps/fancybox/README.md +1 -1
  4. data/node_modules/@fancyapps/fancybox/dist/jquery.fancybox.css +162 -161
  5. data/node_modules/@fancyapps/fancybox/dist/jquery.fancybox.js +1281 -790
  6. data/node_modules/@fancyapps/fancybox/dist/jquery.fancybox.min.css +1 -1
  7. data/node_modules/@fancyapps/fancybox/dist/jquery.fancybox.min.js +4 -3
  8. data/node_modules/@fancyapps/fancybox/docs/index.html +1398 -1321
  9. data/node_modules/@fancyapps/fancybox/package.json +52 -43
  10. data/node_modules/@fancyapps/fancybox/src/css/core.css +144 -142
  11. data/node_modules/@fancyapps/fancybox/src/css/thumbs.css +20 -23
  12. data/node_modules/@fancyapps/fancybox/src/js/core.js +883 -536
  13. data/node_modules/@fancyapps/fancybox/src/js/fullscreen.js +67 -64
  14. data/node_modules/@fancyapps/fancybox/src/js/guestures.js +114 -78
  15. data/node_modules/@fancyapps/fancybox/src/js/hash.js +13 -18
  16. data/node_modules/@fancyapps/fancybox/src/js/media.js +118 -29
  17. data/node_modules/@fancyapps/fancybox/src/js/share.js +8 -6
  18. data/node_modules/@fancyapps/fancybox/src/js/slideshow.js +55 -32
  19. data/node_modules/@fancyapps/fancybox/src/js/thumbs.js +22 -26
  20. data/node_modules/@fancyapps/fancybox/src/js/wheel.js +1 -1
  21. metadata +2 -46
  22. data/node_modules/fancybox/CHANGELOG.md +0 -125
  23. data/node_modules/fancybox/README.md +0 -249
  24. data/node_modules/fancybox/bower.json +0 -24
  25. data/node_modules/fancybox/demo/1_b.jpg +0 -0
  26. data/node_modules/fancybox/demo/1_s.jpg +0 -0
  27. data/node_modules/fancybox/demo/2_b.jpg +0 -0
  28. data/node_modules/fancybox/demo/2_s.jpg +0 -0
  29. data/node_modules/fancybox/demo/3_b.jpg +0 -0
  30. data/node_modules/fancybox/demo/3_s.jpg +0 -0
  31. data/node_modules/fancybox/demo/4_b.jpg +0 -0
  32. data/node_modules/fancybox/demo/4_s.jpg +0 -0
  33. data/node_modules/fancybox/demo/5_b.jpg +0 -0
  34. data/node_modules/fancybox/demo/5_s.jpg +0 -0
  35. data/node_modules/fancybox/demo/ajax.txt +0 -15
  36. data/node_modules/fancybox/demo/iframe.html +0 -26
  37. data/node_modules/fancybox/demo/index.html +0 -312
  38. data/node_modules/fancybox/dist/css/jquery.fancybox.css +0 -222
  39. data/node_modules/fancybox/dist/helpers/css/jquery.fancybox-buttons.css +0 -82
  40. data/node_modules/fancybox/dist/helpers/css/jquery.fancybox-thumbs.css +0 -46
  41. data/node_modules/fancybox/dist/helpers/img/fancybox_buttons.png +0 -0
  42. data/node_modules/fancybox/dist/helpers/js/jquery.fancybox-buttons.cjs.js +0 -121
  43. data/node_modules/fancybox/dist/helpers/js/jquery.fancybox-buttons.js +0 -122
  44. data/node_modules/fancybox/dist/helpers/js/jquery.fancybox-media.cjs.js +0 -199
  45. data/node_modules/fancybox/dist/helpers/js/jquery.fancybox-media.js +0 -199
  46. data/node_modules/fancybox/dist/helpers/js/jquery.fancybox-thumbs.cjs.js +0 -164
  47. data/node_modules/fancybox/dist/helpers/js/jquery.fancybox-thumbs.js +0 -165
  48. data/node_modules/fancybox/dist/helpers/scss/jquery.fancybox-buttons.scss +0 -100
  49. data/node_modules/fancybox/dist/helpers/scss/jquery.fancybox-thumbs.scss +0 -55
  50. data/node_modules/fancybox/dist/img/blank.gif +0 -0
  51. data/node_modules/fancybox/dist/img/fancybox_loading.gif +0 -0
  52. data/node_modules/fancybox/dist/img/fancybox_loading@2x.gif +0 -0
  53. data/node_modules/fancybox/dist/img/fancybox_overlay.png +0 -0
  54. data/node_modules/fancybox/dist/img/fancybox_sprite.png +0 -0
  55. data/node_modules/fancybox/dist/img/fancybox_sprite@2x.png +0 -0
  56. data/node_modules/fancybox/dist/js/jquery.fancybox.cjs.js +0 -2027
  57. data/node_modules/fancybox/dist/js/jquery.fancybox.js +0 -2018
  58. data/node_modules/fancybox/dist/js/jquery.fancybox.pack.js +0 -46
  59. data/node_modules/fancybox/dist/scss/jquery.fancybox.scss +0 -276
  60. data/node_modules/fancybox/fancybox.jquery.json +0 -31
  61. data/node_modules/fancybox/lib/jquery-1.10.2.min.js +0 -6
  62. data/node_modules/fancybox/lib/jquery.mousewheel.pack.js +0 -14
  63. data/node_modules/fancybox/package.json +0 -32
  64. data/node_modules/fancybox/sprite.psd +0 -0
  65. data/node_modules/fancybox/test.js +0 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5af05a6070c13a1fdcab3f2b577af498f7c7984c
4
- data.tar.gz: 9377ba86551fae4503340c9cc2b1210570e1f9e6
3
+ metadata.gz: 6ed7302107cecc5eab612a897c95b753f67119ae
4
+ data.tar.gz: c8f080096f4a75604f9234c504f790171b2e36f2
5
5
  SHA512:
6
- metadata.gz: 03230104d2b5aaf6777da84fd79e3829df1f8d61b3469db50ccc2c3f6e97ee752cec9e19727d1a9c8f45d764a03cd32ca2070f4fb27268251dac111ee4a3eb23
7
- data.tar.gz: cdcf829810c7d367cb68d2ebe97f2fd794bbfde802036f54d97a467c2ef70e846a498d20063d7bc4dc8a654cc85371be1770f646e72a4b47cdb24d775adc90a6
6
+ metadata.gz: 0d2e1ae3fc7f21345661e34525aba8509590078f9d92711e4023cc81438f8764492200d1e154b07e4f34b95efff376bfa555fc17e36fb6d4e53abb0165dda08f
7
+ data.tar.gz: 564eb5087b2c4ec773b23e86674a903dc79cac2458cfbc389f92c3a6e30cc1ac1bae01a56154d50575cb89b91e3f09aff78c6dacc868489caac1c5966f04c3e7
@@ -1,5 +1,5 @@
1
1
  module Promethee
2
2
  module Rails
3
- VERSION = '1.7.12'
3
+ VERSION = '1.8.0'
4
4
  end
5
5
  end
@@ -41,7 +41,7 @@ Follow [@thefancyapps](//twitter.com/thefancyapps) for updates.
41
41
  fancyBox is licensed under the [GPLv3](http://choosealicense.com/licenses/gpl-3.0) license for all open source applications.
42
42
  A commercial license is required for all commercial applications (including sites, themes and apps you plan to sell).
43
43
 
44
- [Read more about fancyBox license](http://fancyapps.com/fancybox/#license).
44
+ [Read more about fancyBox license](http://fancyapps.com/fancybox/3/#license).
45
45
 
46
46
  ## Bugs and feature requests
47
47
 
@@ -13,13 +13,14 @@ body.compensate-for-scrollbar {
13
13
 
14
14
  .fancybox-container {
15
15
  -webkit-backface-visibility: hidden;
16
- backface-visibility: hidden;
17
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji',
18
16
  'Segoe UI Emoji', 'Segoe UI Symbol';
19
17
  height: 100%;
20
18
  left: 0;
19
+ outline: none;
21
20
  position: fixed;
22
21
  -webkit-tap-highlight-color: transparent;
23
22
  top: 0;
23
+ -ms-touch-action: manipulation;
24
+ touch-action: manipulation;
24
25
  -webkit-transform: translateZ(0);
25
26
  transform: translateZ(0);
26
27
  width: 100%;
@@ -50,7 +51,7 @@ body.compensate-for-scrollbar {
50
51
  transition-timing-function: cubic-bezier(0.47, 0, 0.74, 0.71); }
51
52
 
52
53
  .fancybox-is-open .fancybox-bg {
53
- opacity: .87;
54
+ opacity: .9;
54
55
  transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1); }
55
56
 
56
57
  .fancybox-infobar,
@@ -60,7 +61,7 @@ body.compensate-for-scrollbar {
60
61
  direction: ltr;
61
62
  opacity: 0;
62
63
  position: absolute;
63
- transition: opacity .25s, visibility 0s linear .25s;
64
+ transition: opacity .25s ease, visibility 0s ease .25s;
64
65
  visibility: hidden;
65
66
  z-index: 99997; }
66
67
 
@@ -69,7 +70,7 @@ body.compensate-for-scrollbar {
69
70
  .fancybox-show-caption .fancybox-caption,
70
71
  .fancybox-show-nav .fancybox-navigation .fancybox-button {
71
72
  opacity: 1;
72
- transition: opacity .25s, visibility 0s;
73
+ transition: opacity .25s ease 0s, visibility 0s ease 0s;
73
74
  visibility: visible; }
74
75
 
75
76
  .fancybox-infobar {
@@ -83,7 +84,6 @@ body.compensate-for-scrollbar {
83
84
  mix-blend-mode: difference;
84
85
  padding: 0 10px;
85
86
  pointer-events: none;
86
- text-align: center;
87
87
  top: 0;
88
88
  -webkit-touch-callout: none;
89
89
  -webkit-user-select: none;
@@ -98,7 +98,8 @@ body.compensate-for-scrollbar {
98
98
  .fancybox-stage {
99
99
  direction: ltr;
100
100
  overflow: visible;
101
- -webkit-transform: translate3d(0, 0, 0);
101
+ -webkit-transform: translateZ(0);
102
+ transform: translateZ(0);
102
103
  z-index: 99994; }
103
104
 
104
105
  .fancybox-is-open .fancybox-stage {
@@ -106,7 +107,7 @@ body.compensate-for-scrollbar {
106
107
 
107
108
  .fancybox-slide {
108
109
  -webkit-backface-visibility: hidden;
109
- backface-visibility: hidden;
110
+ /* Using without prefix would break IE11 */
110
111
  display: none;
111
112
  height: 100%;
112
113
  left: 0;
@@ -127,8 +128,8 @@ body.compensate-for-scrollbar {
127
128
  .fancybox-slide::before {
128
129
  content: '';
129
130
  display: inline-block;
131
+ font-size: 0;
130
132
  height: 100%;
131
- margin-right: -.25em;
132
133
  vertical-align: middle;
133
134
  width: 0; }
134
135
 
@@ -138,30 +139,24 @@ body.compensate-for-scrollbar {
138
139
  .fancybox-slide--next {
139
140
  display: block; }
140
141
 
141
- .fancybox-slide--next {
142
- z-index: 99995; }
143
-
144
142
  .fancybox-slide--image {
145
- overflow: visible;
143
+ overflow: hidden;
146
144
  padding: 44px 0; }
147
145
 
148
146
  .fancybox-slide--image::before {
149
147
  display: none; }
150
148
 
151
149
  .fancybox-slide--html {
152
- padding: 6px 6px 0 6px; }
153
-
154
- .fancybox-slide--iframe {
155
- padding: 44px 44px 0; }
150
+ padding: 6px; }
156
151
 
157
152
  .fancybox-content {
158
153
  background: #fff;
159
154
  display: inline-block;
160
- margin: 0 0 6px 0;
155
+ margin: 0;
161
156
  max-width: 100%;
162
157
  overflow: auto;
163
- padding: 0;
164
- padding: 24px;
158
+ -webkit-overflow-scrolling: touch;
159
+ padding: 44px;
165
160
  position: relative;
166
161
  text-align: left;
167
162
  vertical-align: middle; }
@@ -170,12 +165,10 @@ body.compensate-for-scrollbar {
170
165
  -webkit-animation-timing-function: cubic-bezier(0.5, 0, 0.14, 1);
171
166
  animation-timing-function: cubic-bezier(0.5, 0, 0.14, 1);
172
167
  -webkit-backface-visibility: hidden;
173
- backface-visibility: hidden;
174
168
  background: transparent;
175
169
  background-repeat: no-repeat;
176
170
  background-size: 100% 100%;
177
171
  left: 0;
178
- margin: 0;
179
172
  max-width: none;
180
173
  overflow: visible;
181
174
  padding: 0;
@@ -201,11 +194,12 @@ body.compensate-for-scrollbar {
201
194
  cursor: -webkit-zoom-in;
202
195
  cursor: zoom-in; }
203
196
 
204
- .fancybox-can-drag .fancybox-content {
197
+ .fancybox-can-swipe .fancybox-content,
198
+ .fancybox-can-pan .fancybox-content {
205
199
  cursor: -webkit-grab;
206
200
  cursor: grab; }
207
201
 
208
- .fancybox-is-dragging .fancybox-content {
202
+ .fancybox-is-grabbing .fancybox-content {
209
203
  cursor: -webkit-grabbing;
210
204
  cursor: grabbing; }
211
205
 
@@ -233,14 +227,11 @@ body.compensate-for-scrollbar {
233
227
  .fancybox-spaceball {
234
228
  z-index: 1; }
235
229
 
236
- .fancybox-slide--html .fancybox-content {
237
- margin-bottom: 6px; }
238
-
239
230
  .fancybox-slide--video .fancybox-content,
240
231
  .fancybox-slide--map .fancybox-content,
232
+ .fancybox-slide--pdf .fancybox-content,
241
233
  .fancybox-slide--iframe .fancybox-content {
242
234
  height: 100%;
243
- margin: 0;
244
235
  overflow: visible;
245
236
  padding: 0;
246
237
  width: 100%; }
@@ -252,22 +243,24 @@ body.compensate-for-scrollbar {
252
243
  background: #e5e3df; }
253
244
 
254
245
  .fancybox-slide--iframe .fancybox-content {
255
- background: #fff;
256
- height: calc(100% - 44px);
257
- margin-bottom: 44px; }
246
+ background: #fff; }
258
247
 
259
248
  .fancybox-video,
260
249
  .fancybox-iframe {
261
250
  background: transparent;
262
251
  border: 0;
252
+ display: block;
263
253
  height: 100%;
264
254
  margin: 0;
265
255
  overflow: hidden;
266
256
  padding: 0;
267
257
  width: 100%; }
268
258
 
259
+ /* Fix iOS */
269
260
  .fancybox-iframe {
270
- vertical-align: top; }
261
+ left: 0;
262
+ position: absolute;
263
+ top: 0; }
271
264
 
272
265
  .fancybox-error {
273
266
  background: #fff;
@@ -288,14 +281,16 @@ body.compensate-for-scrollbar {
288
281
  background: rgba(30, 30, 30, 0.6);
289
282
  border: 0;
290
283
  border-radius: 0;
284
+ box-shadow: none;
291
285
  cursor: pointer;
292
286
  display: inline-block;
293
287
  height: 44px;
294
288
  margin: 0;
295
- outline: none;
296
289
  padding: 10px;
290
+ position: relative;
297
291
  transition: color .2s;
298
292
  vertical-align: top;
293
+ visibility: inherit;
299
294
  width: 44px; }
300
295
 
301
296
  .fancybox-button,
@@ -303,128 +298,129 @@ body.compensate-for-scrollbar {
303
298
  .fancybox-button:link {
304
299
  color: #ccc; }
305
300
 
306
- .fancybox-button:focus,
307
301
  .fancybox-button:hover {
308
302
  color: #fff; }
309
303
 
310
- .fancybox-button.disabled,
311
- .fancybox-button.disabled:hover,
304
+ .fancybox-button:focus {
305
+ outline: none; }
306
+
307
+ .fancybox-button.fancybox-focus {
308
+ outline: 1px dotted; }
309
+
312
310
  .fancybox-button[disabled],
313
311
  .fancybox-button[disabled]:hover {
314
312
  color: #888;
315
- cursor: default; }
313
+ cursor: default;
314
+ outline: none; }
315
+
316
+ /* Fix IE11 */
317
+ .fancybox-button div {
318
+ height: 100%; }
316
319
 
317
320
  .fancybox-button svg {
318
321
  display: block;
322
+ height: 100%;
319
323
  overflow: visible;
320
324
  position: relative;
321
- shape-rendering: geometricPrecision; }
325
+ width: 100%; }
322
326
 
323
327
  .fancybox-button svg path {
324
- fill: transparent;
325
- stroke: currentColor;
326
- stroke-linejoin: round;
327
- stroke-width: 3; }
328
+ fill: currentColor;
329
+ stroke-width: 0; }
328
330
 
329
- .fancybox-button--play svg path:nth-child(2) {
331
+ .fancybox-button--play svg:nth-child(2),
332
+ .fancybox-button--fsenter svg:nth-child(2) {
330
333
  display: none; }
331
334
 
332
- .fancybox-button--pause svg path:nth-child(1) {
335
+ .fancybox-button--pause svg:nth-child(1),
336
+ .fancybox-button--fsexit svg:nth-child(1) {
333
337
  display: none; }
334
338
 
335
- .fancybox-button--play svg path,
336
- .fancybox-button--share svg path,
337
- .fancybox-button--thumbs svg path {
338
- fill: currentColor; }
339
-
340
- .fancybox-button--share svg path {
341
- stroke-width: 1; }
342
-
343
- /* Navigation arrows */
344
- .fancybox-navigation .fancybox-button {
345
- height: 38px;
346
- opacity: 0;
347
- padding: 6px;
348
- position: absolute;
349
- top: 50%;
350
- width: 38px; }
351
-
352
- .fancybox-show-nav .fancybox-navigation .fancybox-button {
353
- transition: opacity .25s, visibility 0s, color .25s; }
354
-
355
- .fancybox-navigation .fancybox-button::after {
356
- content: '';
357
- left: -25px;
358
- padding: 50px;
339
+ .fancybox-progress {
340
+ background: #ff5268;
341
+ height: 2px;
342
+ left: 0;
359
343
  position: absolute;
360
- top: -25px; }
361
-
362
- .fancybox-navigation .fancybox-button--arrow_left {
363
- left: 6px; }
364
-
365
- .fancybox-navigation .fancybox-button--arrow_right {
366
- right: 6px; }
344
+ right: 0;
345
+ top: 0;
346
+ -webkit-transform: scaleX(0);
347
+ -ms-transform: scaleX(0);
348
+ transform: scaleX(0);
349
+ -webkit-transform-origin: 0;
350
+ -ms-transform-origin: 0;
351
+ transform-origin: 0;
352
+ transition-property: -webkit-transform;
353
+ transition-property: transform;
354
+ transition-property: transform, -webkit-transform;
355
+ transition-timing-function: linear;
356
+ z-index: 99998; }
367
357
 
368
358
  /* Close button on the top right corner of html content */
369
359
  .fancybox-close-small {
370
360
  background: transparent;
371
361
  border: 0;
372
362
  border-radius: 0;
373
- color: #555;
363
+ color: #ccc;
374
364
  cursor: pointer;
375
- height: 44px;
376
- margin: 0;
377
- padding: 6px;
378
- position: absolute;
379
- right: 0;
380
- top: 0;
381
- width: 44px;
382
- z-index: 10; }
383
-
384
- .fancybox-close-small svg {
385
- fill: transparent;
386
365
  opacity: .8;
387
- stroke: currentColor;
388
- stroke-width: 1.5;
389
- transition: stroke .1s; }
390
-
391
- .fancybox-close-small:focus {
392
- outline: none; }
366
+ padding: 8px;
367
+ position: absolute;
368
+ right: -12px;
369
+ top: -44px;
370
+ z-index: 401; }
393
371
 
394
- .fancybox-close-small:hover svg {
372
+ .fancybox-close-small:hover {
373
+ color: #fff;
395
374
  opacity: 1; }
396
375
 
397
- .fancybox-slide--image .fancybox-close-small,
398
- .fancybox-slide--video .fancybox-close-small,
399
- .fancybox-slide--iframe .fancybox-close-small {
400
- color: #ccc;
401
- padding: 5px;
402
- right: -12px;
403
- top: -44px; }
376
+ .fancybox-slide--html .fancybox-close-small {
377
+ color: currentColor;
378
+ padding: 10px;
379
+ right: 0;
380
+ top: 0; }
404
381
 
405
- .fancybox-slide--image .fancybox-close-small:hover svg,
406
- .fancybox-slide--video .fancybox-close-small:hover svg,
407
- .fancybox-slide--iframe .fancybox-close-small:hover svg {
408
- background: transparent;
409
- color: #fff; }
382
+ .fancybox-slide--image.fancybox-is-scaling .fancybox-content {
383
+ overflow: hidden; }
410
384
 
411
385
  .fancybox-is-scaling .fancybox-close-small,
412
- .fancybox-is-zoomable.fancybox-can-drag .fancybox-close-small {
386
+ .fancybox-is-zoomable.fancybox-can-pan .fancybox-close-small {
413
387
  display: none; }
414
388
 
389
+ /* Navigation arrows */
390
+ .fancybox-navigation .fancybox-button {
391
+ background-clip: content-box;
392
+ height: 100px;
393
+ opacity: 0;
394
+ position: absolute;
395
+ top: calc(50% - 50px);
396
+ width: 70px; }
397
+
398
+ .fancybox-navigation .fancybox-button div {
399
+ padding: 7px; }
400
+
401
+ .fancybox-navigation .fancybox-button--arrow_left {
402
+ left: 0;
403
+ padding: 31px 26px 31px 6px; }
404
+
405
+ .fancybox-navigation .fancybox-button--arrow_right {
406
+ padding: 31px 6px 31px 26px;
407
+ right: 0; }
408
+
415
409
  /* Caption */
416
410
  .fancybox-caption {
417
411
  bottom: 0;
418
- color: #fff;
412
+ color: #eee;
419
413
  font-size: 14px;
420
414
  font-weight: 400;
421
415
  left: 0;
422
416
  line-height: 1.5;
423
417
  padding: 25px 44px 25px 44px;
424
- right: 0; }
418
+ right: 0;
419
+ text-align: center;
420
+ z-index: 99996; }
425
421
 
426
422
  .fancybox-caption::before {
427
- background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAEtCAQAAABjBcL7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHRJREFUKM+Vk8EOgDAIQ0vj/3+xBw8qIZZueFnIKC90MCAI8DlrkHGeqqGIU6lVigrBtpCWqeRWoHDNqs0F7VNVBVxmHRlvoVqjaYkdnDIaivH2HqZ5+oZj3JUzWB+cOz4G48Bg+tsJ/tqu4dLC/4Xb+0GcF5BwBC0AA53qAAAAAElFTkSuQmCC);
423
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAD6CAQAAADKSeXYAAAAYklEQVQoz42RwQ3AMAgDjfcfup8WoRykfBAK5mQHKSz5rbXJPis1hjiV3CIqgG0hLZPkVkA4p4x5oR1bVeDrdCLrW2Q0D5bcwY3TGMHbdw3mPRuOtaspYP1w//G1OIcW148H0DMCqI/3mMMAAAAASUVORK5CYII=);
428
424
  background-repeat: repeat-x;
429
425
  background-size: contain;
430
426
  bottom: 0;
@@ -434,18 +430,9 @@ body.compensate-for-scrollbar {
434
430
  pointer-events: none;
435
431
  position: absolute;
436
432
  right: 0;
437
- top: -25px;
433
+ top: -44px;
438
434
  z-index: -1; }
439
435
 
440
- .fancybox-caption::after {
441
- border-bottom: 1px solid rgba(255, 255, 255, 0.3);
442
- content: '';
443
- display: block;
444
- left: 44px;
445
- position: absolute;
446
- right: 44px;
447
- top: 0; }
448
-
449
436
  .fancybox-caption a,
450
437
  .fancybox-caption a:link,
451
438
  .fancybox-caption a:visited {
@@ -458,37 +445,31 @@ body.compensate-for-scrollbar {
458
445
 
459
446
  /* Loading indicator */
460
447
  .fancybox-loading {
461
- -webkit-animation: fancybox-rotate .8s infinite linear;
462
- animation: fancybox-rotate .8s infinite linear;
448
+ -webkit-animation: fancybox-rotate 1s linear infinite;
449
+ animation: fancybox-rotate 1s linear infinite;
463
450
  background: transparent;
464
- border: 6px solid rgba(100, 100, 100, 0.5);
465
- border-radius: 100%;
466
- border-top-color: #fff;
467
- height: 60px;
451
+ border: 4px solid #888;
452
+ border-bottom-color: #fff;
453
+ border-radius: 50%;
454
+ height: 50px;
468
455
  left: 50%;
469
- margin: -30px 0 0 -30px;
470
- opacity: .6;
456
+ margin: -25px 0 0 -25px;
457
+ opacity: .7;
471
458
  padding: 0;
472
459
  position: absolute;
473
460
  top: 50%;
474
- width: 60px;
461
+ width: 50px;
475
462
  z-index: 99999; }
476
463
 
477
464
  @-webkit-keyframes fancybox-rotate {
478
- from {
479
- -webkit-transform: rotate(0deg);
480
- transform: rotate(0deg); }
481
- to {
482
- -webkit-transform: rotate(359deg);
483
- transform: rotate(359deg); } }
465
+ 100% {
466
+ -webkit-transform: rotate(360deg);
467
+ transform: rotate(360deg); } }
484
468
 
485
469
  @keyframes fancybox-rotate {
486
- from {
487
- -webkit-transform: rotate(0deg);
488
- transform: rotate(0deg); }
489
- to {
490
- -webkit-transform: rotate(359deg);
491
- transform: rotate(359deg); } }
470
+ 100% {
471
+ -webkit-transform: rotate(360deg);
472
+ transform: rotate(360deg); } }
492
473
 
493
474
  /* Transition effects */
494
475
  .fancybox-animated {
@@ -583,6 +564,27 @@ body.compensate-for-scrollbar {
583
564
  -webkit-transform: translate3d(0, 0, 0) scale(1);
584
565
  transform: translate3d(0, 0, 0) scale(1); }
585
566
 
567
+ /* Styling for Small-Screen Devices */
568
+ @media all and (max-height: 576px) {
569
+ .fancybox-caption {
570
+ padding: 12px; }
571
+ .fancybox-slide {
572
+ padding-left: 6px;
573
+ padding-right: 6px; }
574
+ .fancybox-slide--image {
575
+ padding: 6px 0; }
576
+ .fancybox-close-small {
577
+ right: -6px; }
578
+ .fancybox-slide--image .fancybox-close-small {
579
+ background: #4e4e4e;
580
+ color: #f2f4f6;
581
+ height: 36px;
582
+ opacity: 1;
583
+ padding: 6px;
584
+ right: 0;
585
+ top: 0;
586
+ width: 36px; } }
587
+
586
588
  /* Share */
587
589
  .fancybox-share {
588
590
  background: #f4f4f4;
@@ -669,7 +671,7 @@ body.compensate-for-scrollbar {
669
671
 
670
672
  /* Thumbs */
671
673
  .fancybox-thumbs {
672
- background: #fff;
674
+ background: #ddd;
673
675
  bottom: 0;
674
676
  display: none;
675
677
  margin: 0;
@@ -693,7 +695,7 @@ body.compensate-for-scrollbar {
693
695
  .fancybox-show-thumbs .fancybox-inner {
694
696
  right: 212px; }
695
697
 
696
- .fancybox-thumbs > ul {
698
+ .fancybox-thumbs__list {
697
699
  font-size: 0;
698
700
  height: 100%;
699
701
  list-style: none;
@@ -706,24 +708,28 @@ body.compensate-for-scrollbar {
706
708
  white-space: nowrap;
707
709
  width: 100%; }
708
710
 
709
- .fancybox-thumbs-x > ul {
711
+ .fancybox-thumbs-x .fancybox-thumbs__list {
710
712
  overflow: hidden; }
711
713
 
712
- .fancybox-thumbs-y > ul::-webkit-scrollbar {
714
+ .fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar {
713
715
  width: 7px; }
714
716
 
715
- .fancybox-thumbs-y > ul::-webkit-scrollbar-track {
717
+ .fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar-track {
716
718
  background: #fff;
717
719
  border-radius: 10px;
718
720
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); }
719
721
 
720
- .fancybox-thumbs-y > ul::-webkit-scrollbar-thumb {
722
+ .fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar-thumb {
721
723
  background: #2a2a2a;
722
724
  border-radius: 10px; }
723
725
 
724
- .fancybox-thumbs > ul > li {
726
+ .fancybox-thumbs__list a {
725
727
  -webkit-backface-visibility: hidden;
726
728
  backface-visibility: hidden;
729
+ background-color: rgba(0, 0, 0, 0.1);
730
+ background-position: center center;
731
+ background-repeat: no-repeat;
732
+ background-size: cover;
727
733
  cursor: pointer;
728
734
  float: left;
729
735
  height: 75px;
@@ -737,16 +743,8 @@ body.compensate-for-scrollbar {
737
743
  -webkit-tap-highlight-color: transparent;
738
744
  width: 100px; }
739
745
 
740
- .fancybox-thumbs-loading {
741
- background: rgba(0, 0, 0, 0.1); }
742
-
743
- .fancybox-thumbs > ul > li {
744
- background-position: center center;
745
- background-repeat: no-repeat;
746
- background-size: cover; }
747
-
748
- .fancybox-thumbs > ul > li:before {
749
- border: 4px solid #4ea7f9;
746
+ .fancybox-thumbs__list a::before {
747
+ border: 6px solid #ff5268;
750
748
  bottom: 0;
751
749
  content: '';
752
750
  left: 0;
@@ -757,14 +755,17 @@ body.compensate-for-scrollbar {
757
755
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
758
756
  z-index: 99991; }
759
757
 
760
- .fancybox-thumbs .fancybox-thumbs-active:before {
758
+ .fancybox-thumbs__list a:focus::before {
759
+ opacity: .5; }
760
+
761
+ .fancybox-thumbs__list a.fancybox-thumbs-active::before {
761
762
  opacity: 1; }
762
763
 
763
764
  /* Styling for Small-Screen Devices */
764
- @media all and (max-width: 800px) {
765
+ @media all and (max-width: 576px) {
765
766
  .fancybox-thumbs {
766
767
  width: 110px; }
767
768
  .fancybox-show-thumbs .fancybox-inner {
768
769
  right: 110px; }
769
- .fancybox-thumbs > ul > li {
770
+ .fancybox-thumbs__list a {
770
771
  max-width: calc(100% - 10px); } }