lightbox2-rails 2.8.2 → 2.8.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 41d269c9d0d7a48a4d35abb45166ac601f4867f8
4
- data.tar.gz: b3bb6321cf086d445078abccd10614cb9ecfdce8
3
+ metadata.gz: 68d0a07e0b2b3ba113b698b5137d8c0dc5cf8079
4
+ data.tar.gz: c0aff44b79e35e323f1ab0d27d3d879a1c775750
5
5
  SHA512:
6
- metadata.gz: 848d16ce55eeded42d818bbfb2f69b866668ab00b203046c26d296e8fa33d01a8d382fede1fa03e36160cf38600d3c615fc6231eb893e1af924262b6e7a3a514
7
- data.tar.gz: 34b643a0b3f44bf084120483e3b265aeae9895d0c9a6040ba336b5c11d77b373ba173a86577394706c2a9ef29a19fd16e5472f8fe6b2741e88e2a732fadee57e
6
+ metadata.gz: 637c10e6eba0d7b49f3d123008e38631f2e5270a0117cbea81a285e89a29ee52ebc72450ee3a14f05cba09dce6496446ca6815fb7a13345b44dad0b781540f08
7
+ data.tar.gz: 9494b61440d20f0563f1bffea5b237136b95e5fb8585b6916957717d0eda6afacc6e6656319be2795ab433f72f465b640782355338ca5ba07b7843a66292ad80
data/README.md CHANGED
@@ -47,13 +47,17 @@
47
47
  Or in `app/assets/javascripts/application.css.scss` / `app/assets/javascripts/application.css.sass`:
48
48
 
49
49
  ```scss
50
- @import lightbox;
50
+ @import 'lightbox';
51
51
  ```
52
52
 
53
53
  ```sass
54
54
  @import lightbox
55
55
  ```
56
56
 
57
+ 5. Changing default options (Optional)
58
+
59
+ Please refer to [Lightbox2 project page](http://lokeshdhakar.com/projects/lightbox2/#options).
60
+
57
61
  ## Acknowledgements
58
62
 
59
63
  [Lightbox2](http://lokeshdhakar.com/projects/lightbox2) created by Lokesh Dhakar, licensed under the [Creative Commons Attribution 2.5 License](http://creativecommons.org/licenses/by/2.5/)
@@ -1,5 +1,5 @@
1
1
  module Lightbox2
2
2
  module Rails
3
- VERSION = '2.8.2'
3
+ VERSION = '2.8.2.1'
4
4
  end
5
5
  end
@@ -1,6 +1,6 @@
1
1
  /* Preload images */
2
2
  body:after {
3
- content: url(image_path('/close.png')) url(image_path('/loading.gif')) url(image_path('/prev.png')) url(image_path('/next.png'));
3
+ content: url(image_path('lightbox/close.png')) url(image_path('lightbox/loading.gif')) url(image_path('lightbox/prev.png')) url(image_path('lightbox/next.png'));
4
4
  display: none;
5
5
  }
6
6
 
@@ -75,7 +75,7 @@ body.lb-disable-scrolling {
75
75
  width: 32px;
76
76
  height: 32px;
77
77
  margin: 0 auto;
78
- background: url(image_path('/loading.gif')) no-repeat;
78
+ background: url(image_path('lightbox/loading.gif')) no-repeat;
79
79
  }
80
80
 
81
81
  .lb-nav {
@@ -106,7 +106,7 @@ body.lb-disable-scrolling {
106
106
  width: 34%;
107
107
  left: 0;
108
108
  float: left;
109
- background: url(image_path('/prev.png')) left 48% no-repeat;
109
+ background: url(image_path('lightbox/prev.png')) left 48% no-repeat;
110
110
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
111
111
  opacity: 0;
112
112
  -webkit-transition: opacity 0.6s;
@@ -124,7 +124,7 @@ body.lb-disable-scrolling {
124
124
  width: 64%;
125
125
  right: 0;
126
126
  float: right;
127
- background: url(image_path('/next.png')) right 48% no-repeat;
127
+ background: url(image_path('lightbox/next.png')) right 48% no-repeat;
128
128
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
129
129
  opacity: 0;
130
130
  -webkit-transition: opacity 0.6s;
@@ -188,7 +188,7 @@ body.lb-disable-scrolling {
188
188
  float: right;
189
189
  width: 30px;
190
190
  height: 30px;
191
- background: url(image_path('/close.png')) top right no-repeat;
191
+ background: url(image_path('lightbox/close.png')) top right no-repeat;
192
192
  text-align: right;
193
193
  outline: none;
194
194
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lightbox2-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.2
4
+ version: 2.8.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gavin Lam
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-27 00:00:00.000000000 Z
11
+ date: 2016-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties