pswp-rails 4.1.1 → 4.1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7142640f690bcd22c8144582e4f742a08fc75ebc
4
- data.tar.gz: 9fe21ec7ff372bf397a05a272b7e3393c043382d
3
+ metadata.gz: abfd50231537e928631fc5588235eebef51bf6c2
4
+ data.tar.gz: 361ad39aa733891fff06e72cb219d340fdb94980
5
5
  SHA512:
6
- metadata.gz: 1cabeea5f6917319e71ca2229d0378002d84787b46b817980d12220007f3c929a3dc4c927cb094d9e901b4e26607a4c1a41d7af3501e5b10fc7d28a1cd0e30d1
7
- data.tar.gz: 688848b624159dec7526e3e93a689ab056f3eb8d5dfb724796ad03860783be16b385539d6dcc9d96d50b96bec1d75089b86203ed8100af8bd3c55f617d58d104
6
+ metadata.gz: 064c25f6873e6fa8038caacb3ef7042917b7b28922cf49b5aca023544b637736e7ea4cad595191cc457904bdbe08d7d3a8b671195440b0056f2c584d4b55811c
7
+ data.tar.gz: 36b018927d06592f371a142f41fba1145ff5827c31567abb315b311c06a7e3aab940cddc6ad2c9825cd1906faf5d065fff38acff559a901ce4df6e06ad41b84f
@@ -1,3 +1,3 @@
1
1
  module PhotoSwipe
2
- VERSION = '4.1.1'.freeze
2
+ VERSION = '4.1.1.1'.freeze
3
3
  end
@@ -40,7 +40,7 @@
40
40
  /* style is added when JS option showHideOpacity is set to true */
41
41
  .pswp--animate_opacity {
42
42
  /* 0.001, because opacity:0 doesn't trigger Paint action, which causes lag at start of transition */
43
- @include opacity(0);
43
+ opacity: 0.001;
44
44
  will-change:opacity;
45
45
  /* for open/close transition */
46
46
  @include transition(opacity $pswp__show-hide-transition-duration cubic-bezier(.4,0,.22,1));
@@ -82,7 +82,7 @@
82
82
  width: 100%;
83
83
  height: 100%;
84
84
  background: $pswp__background-color;
85
- @include opacity(0);
85
+ opacity: 0;
86
86
  @include backface-visibility(hidden);
87
87
  will-change:opacity;
88
88
  }
@@ -40,18 +40,18 @@
40
40
  padding: 0;
41
41
  margin: 0;
42
42
  float: right;
43
- @include opacity(0.75);
43
+ opacity: 0.75;
44
44
  @include transition(opacity 0.2s);
45
45
  @include box-shadow(none);
46
46
 
47
47
  &:focus,
48
48
  &:hover {
49
- @include opacity(1);
49
+ opacity: 1;
50
50
  }
51
51
 
52
52
  &:active {
53
53
  outline: none;
54
- @include opacity(0.9);
54
+ opacity: 0.9;
55
55
  }
56
56
 
57
57
  &::-moz-focus-inner {
@@ -62,7 +62,7 @@
62
62
 
63
63
  /* pswp__ui--over-close class it added when mouse is over element that should close gallery */
64
64
  .pswp__ui--over-close .pswp__button--close {
65
- @include opacity(1);
65
+ opacity: 1;
66
66
  }
67
67
 
68
68
  .pswp__button,
@@ -194,7 +194,7 @@
194
194
  padding: 10px;
195
195
  position: absolute;
196
196
  z-index: $pswp__root-z-index + 100;
197
- @include opacity(0);
197
+ opacity: 0;
198
198
  @include transition(opacity 0.25s ease-out);
199
199
  @include backface-visibility(hidden);
200
200
  will-change: opacity;
@@ -245,7 +245,7 @@
245
245
  }
246
246
 
247
247
  .pswp__share-modal--fade-in {
248
- @include opacity(1);
248
+ opacity: 1;
249
249
 
250
250
  .pswp__share-tooltip {
251
251
  @include transform(translateY(0));
@@ -319,7 +319,7 @@ a.pswp__share--download {
319
319
  font-size: 13px;
320
320
  line-height: 44px;
321
321
  color: #FFF;
322
- @include opacity(0.75);
322
+ opacity: 0.75;
323
323
  padding: 0 10px;
324
324
  }
325
325
 
@@ -378,7 +378,7 @@ a.pswp__share--download {
378
378
  top: 0;
379
379
  left: 50%;
380
380
  margin-left: -22px;
381
- @include opacity(0);
381
+ opacity: 0;
382
382
  @include transition(opacity 0.25s ease-out);
383
383
  will-change: opacity;
384
384
  direction: ltr;
@@ -391,7 +391,7 @@ a.pswp__share--download {
391
391
  }
392
392
 
393
393
  .pswp__preloader--active {
394
- @include opacity(1);
394
+ opacity: 1;
395
395
 
396
396
  .pswp__preloader__icn {
397
397
  /* We use .gif in browsers that don't support CSS animation */
@@ -401,7 +401,7 @@ a.pswp__share--download {
401
401
 
402
402
  .pswp--css_animation {
403
403
  .pswp__preloader--active {
404
- @include opacity(1);
404
+ opacity: 1;
405
405
 
406
406
  .pswp__preloader__icn {
407
407
  @include animation(clockwise 500ms linear infinite);
@@ -414,7 +414,7 @@ a.pswp__share--download {
414
414
 
415
415
  .pswp__preloader__icn {
416
416
  background: none;
417
- @include opacity(0);
417
+ opacity: 0;
418
418
  width: 14px;
419
419
  height: 14px;
420
420
  position: absolute;
@@ -483,7 +483,7 @@ a.pswp__share--download {
483
483
  .pswp__ui {
484
484
  -webkit-font-smoothing: auto;
485
485
  visibility: visible;
486
- @include opacity(1);
486
+ opacity: 1;
487
487
  z-index: $pswp__root-z-index + 50;
488
488
  }
489
489
 
@@ -530,12 +530,12 @@ a.pswp__share--download {
530
530
 
531
531
  .pswp__ui--idle {
532
532
  .pswp__top-bar {
533
- @include opacity(0);
533
+ opacity: 0;
534
534
  }
535
535
 
536
536
  .pswp__button--arrow--left,
537
537
  .pswp__button--arrow--right {
538
- @include opacity(0);
538
+ opacity: 0;
539
539
  }
540
540
  }
541
541
 
@@ -549,7 +549,7 @@ a.pswp__share--download {
549
549
  .pswp__button--arrow--left,
550
550
  .pswp__button--arrow--right {
551
551
  /* Force paint & create composition layer for controls. */
552
- @include opacity(0.001);
552
+ opacity: 0.001;
553
553
  }
554
554
  }
555
555
 
@@ -40,7 +40,7 @@
40
40
  /* style is added when JS option showHideOpacity is set to true */
41
41
  .pswp--animate_opacity {
42
42
  /* 0.001, because opacity:0 doesn't trigger Paint action, which causes lag at start of transition */
43
- @include opacity(0);
43
+ opacity: 0.001;
44
44
  will-change:opacity;
45
45
  /* for open/close transition */
46
46
  @include transition(opacity $pswp__show-hide-transition-duration cubic-bezier(.4,0,.22,1));
@@ -73,7 +73,7 @@
73
73
  width: 100%;
74
74
  height: 100%;
75
75
  background: $pswp__background-color;
76
- @include opacity(0);
76
+ opacity: 0;
77
77
  @include backface-visibility(hidden);
78
78
  will-change:opacity;
79
79
  }
@@ -101,7 +101,7 @@
101
101
  /* Prevent selection and tap highlights */
102
102
  .pswp__container,
103
103
  .pswp__img {
104
- @include user-select(none);
104
+ @include noselect;
105
105
  -webkit-tap-highlight-color: rgba(0,0,0,0);
106
106
  -webkit-touch-callout: none;
107
107
  }
@@ -40,18 +40,18 @@
40
40
  padding: 0;
41
41
  margin: 0;
42
42
  float: right;
43
- @include opacity(0.75);
43
+ opacity: 0.75;
44
44
  @include transition(opacity 0.2s);
45
45
  @include box-shadow(none);
46
46
 
47
47
  &:focus,
48
48
  &:hover {
49
- @include opacity(1);
49
+ opacity: 1;
50
50
  }
51
51
 
52
52
  &:active {
53
53
  outline: none;
54
- @include opacity(0.9);
54
+ opacity: 0.9;
55
55
  }
56
56
 
57
57
  &::-moz-focus-inner {
@@ -62,7 +62,7 @@
62
62
 
63
63
  /* pswp__ui--over-close class it added when mouse is over element that should close gallery */
64
64
  .pswp__ui--over-close .pswp__button--close {
65
- @include opacity(1);
65
+ opacity: 1;
66
66
  }
67
67
 
68
68
  .pswp__button,
@@ -181,7 +181,7 @@
181
181
 
182
182
  .pswp__counter,
183
183
  .pswp__share-modal {
184
- @include user-select(none);
184
+ @include noselect;
185
185
  }
186
186
 
187
187
  .pswp__share-modal {
@@ -194,7 +194,7 @@
194
194
  padding: 10px;
195
195
  position: absolute;
196
196
  z-index: $pswp__root-z-index + 100;
197
- @include opacity(0);
197
+ opacity: 0;
198
198
  @include transition(opacity 0.25s ease-out);
199
199
  @include backface-visibility(hidden);
200
200
  will-change: opacity;
@@ -245,7 +245,7 @@
245
245
  }
246
246
 
247
247
  .pswp__share-modal--fade-in {
248
- @include opacity(1);
248
+ opacity: 1;
249
249
 
250
250
  .pswp__share-tooltip {
251
251
  @include transform(translateY(0));
@@ -317,7 +317,7 @@ a.pswp__share--download {
317
317
  font-size: 13px;
318
318
  line-height: 44px;
319
319
  color: #FFF;
320
- @include opacity(0.75);
320
+ opacity: 0.75;
321
321
  padding: 0 10px;
322
322
  }
323
323
 
@@ -376,7 +376,7 @@ a.pswp__share--download {
376
376
  top: 0;
377
377
  left: 50%;
378
378
  margin-left: -22px;
379
- @include opacity(0);
379
+ opacity: 0;
380
380
  @include transition(opacity 0.25s ease-out);
381
381
  will-change: opacity;
382
382
  direction: ltr;
@@ -389,7 +389,7 @@ a.pswp__share--download {
389
389
  }
390
390
 
391
391
  .pswp__preloader--active {
392
- @include opacity(1);
392
+ opacity: 1;
393
393
 
394
394
  .pswp__preloader__icn {
395
395
  /* We use .gif in browsers that don't support CSS animation */
@@ -399,7 +399,7 @@ a.pswp__share--download {
399
399
 
400
400
  .pswp--css_animation {
401
401
  .pswp__preloader--active {
402
- @include opacity(1);
402
+ opacity: 1;
403
403
 
404
404
  .pswp__preloader__icn {
405
405
  @include animation(clockwise 500ms linear infinite);
@@ -412,7 +412,7 @@ a.pswp__share--download {
412
412
 
413
413
  .pswp__preloader__icn {
414
414
  background: none;
415
- @include opacity(0);
415
+ opacity: 0;
416
416
  width: 14px;
417
417
  height: 14px;
418
418
  position: absolute;
@@ -481,7 +481,7 @@ a.pswp__share--download {
481
481
  .pswp__ui {
482
482
  @include font-smoothing(auto);
483
483
  visibility: visible;
484
- @include opacity(1);
484
+ opacity: 1;
485
485
  z-index: $pswp__root-z-index + 50;
486
486
  }
487
487
 
@@ -528,12 +528,12 @@ a.pswp__share--download {
528
528
 
529
529
  .pswp__ui--idle {
530
530
  .pswp__top-bar {
531
- @include opacity(0);
531
+ opacity: 0;
532
532
  }
533
533
 
534
534
  .pswp__button--arrow--left,
535
535
  .pswp__button--arrow--right {
536
- @include opacity(0);
536
+ opacity: 0;
537
537
  }
538
538
  }
539
539
 
@@ -547,7 +547,7 @@ a.pswp__share--download {
547
547
  .pswp__button--arrow--left,
548
548
  .pswp__button--arrow--right {
549
549
  /* Force paint & create composition layer for controls. */
550
- @include opacity(0.001);
550
+ opacity: 0.001;
551
551
  }
552
552
  }
553
553
 
@@ -396,7 +396,7 @@ a.pswp__share--download {
396
396
 
397
397
  .pswp__preloader__icn {
398
398
  /* We use .gif in browsers that don't support CSS animation */
399
- background: asset-data-url('photoswipe/preloader.gif') 0 0 no-repeat;
399
+ background: asset-data-url('photoswipe/default-skin/preloader.gif') 0 0 no-repeat;
400
400
  }
401
401
  }
402
402
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pswp-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.1
4
+ version: 4.1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yaroslav Konoplov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-23 00:00:00.000000000 Z
11
+ date: 2016-09-25 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: PhotoSwipe image gallery (github.com/dimsemenov/PhotoSwipe) integration
14
14
  with Rails asset pipeline.