jquery-colorbox-rails 0.1.8 → 0.1.9

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.
Files changed (26) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/jquery-colorbox-rails/engine.rb +4 -0
  4. data/lib/jquery-colorbox-rails/version.rb +1 -1
  5. data/vendor/assets/images/colorbox/example1/border.png +0 -0
  6. data/vendor/assets/images/colorbox/example1/controls.png +0 -0
  7. data/vendor/assets/images/colorbox/example1/loading.gif +0 -0
  8. data/vendor/assets/images/colorbox/example1/loading_background.png +0 -0
  9. data/vendor/assets/images/colorbox/example1/overlay.png +0 -0
  10. data/vendor/assets/images/colorbox/example2/controls.png +0 -0
  11. data/vendor/assets/images/colorbox/example2/loading.gif +0 -0
  12. data/vendor/assets/images/colorbox/example3/loading.gif +0 -0
  13. data/vendor/assets/images/colorbox/example4/border1.png +0 -0
  14. data/vendor/assets/images/colorbox/example4/border2.png +0 -0
  15. data/vendor/assets/images/colorbox/example4/loading.gif +0 -0
  16. data/vendor/assets/images/colorbox/example5/border.png +0 -0
  17. data/vendor/assets/images/colorbox/example5/controls.png +0 -0
  18. data/vendor/assets/images/colorbox/example5/loading.gif +0 -0
  19. data/vendor/assets/images/colorbox/example5/loading_background.png +0 -0
  20. data/vendor/assets/javascripts/jquery.colorbox.js +4 -3
  21. data/vendor/assets/stylesheets/jquery.colorbox-example1.css.scss +1 -1
  22. data/vendor/assets/stylesheets/jquery.colorbox-example2.css.scss +1 -1
  23. data/vendor/assets/stylesheets/jquery.colorbox-example3.css.scss +1 -1
  24. data/vendor/assets/stylesheets/jquery.colorbox-example4.css.scss +1 -1
  25. data/vendor/assets/stylesheets/jquery.colorbox-example5.css.scss +1 -1
  26. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3942876f4c5a57b1629a3954585ea5799b634a25
4
- data.tar.gz: 8a251ac4ab46aeb9a3d2477a9d2712d307cf6ad8
3
+ metadata.gz: cf6fce529198c2b7ae98d98ab0eb99f8ce2901c9
4
+ data.tar.gz: 58a611a4cf100629dcc8705fd4416dcf698ee3c1
5
5
  SHA512:
6
- metadata.gz: a9c6313e0b7e39dbdfe5c2df705441ee305b9bb7de8324992633db04e748d711bef97a96c9e6b465b1b2e2e76ffeab3a0130ba19cafd527854042dd676521a5a
7
- data.tar.gz: 4928ed7ed5f1d502547368be51914d3f3f611891560d904ebe7554b41efd331f205efb6b654d3df6164d2647694659a39abc8acf7ecc95aa4bd806d88c68cd2d
6
+ metadata.gz: 0e090d7bd917b1706cd12abf0107d038d5c1123cc2ec5dae11c5416acdc2117cce9a08cea6d526591e08d7149436b4ac8fefa0fbb84dc39e1f3af711a601b748
7
+ data.tar.gz: 1738598969118177133e59493ceacaf74833dbacaffe058d423efff425bc8627b570bac3a60d30bbbe7ed2e34d285af0acd058b8f5f5f2d403a95feaf6fafb1f
data/README.md CHANGED
@@ -2,14 +2,14 @@
2
2
 
3
3
  jquery-colorbox-rails integrates [jquery.colorbox](https://github.com/jackmoore/colorbox) with rails 3.1+ asset pipeline.
4
4
 
5
- Colorbox version: <b id="colorbox-version">1.5.10</b>
5
+ Colorbox version: <b id="colorbox-version">1.5.13</b>
6
6
 
7
7
  ### Installation
8
8
 
9
9
  Add
10
10
 
11
11
  ``` ruby
12
- gem 'jquery-colorbox-rails'`
12
+ gem 'jquery-colorbox-rails'
13
13
  ```
14
14
 
15
15
  to your `Gemfile`
@@ -1,4 +1,8 @@
1
1
  module JqueryColorboxRails
2
2
  class Engine < ::Rails::Engine
3
+ config.assets.precompile += %w(
4
+ colorbox/*.png
5
+ colorbox/*.gif
6
+ )
3
7
  end
4
8
  end
@@ -1,3 +1,3 @@
1
1
  module JqueryColorboxRails
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Colorbox v1.5.10 - 2014-06-26
2
+ Colorbox v1.5.13 - 2014-08-04
3
3
  jQuery lightbox and modal window plugin
4
4
  (c) 2014 Jack Moore - http://www.jacklmoore.com/colorbox
5
5
  license: http://www.opensource.org/licenses/mit-license.php
@@ -415,8 +415,9 @@
415
415
  }
416
416
  }
417
417
 
418
+ var opacity = parseFloat(settings.get('opacity'));
418
419
  $overlay.css({
419
- opacity: parseFloat(settings.get('opacity')) || '',
420
+ opacity: opacity === opacity ? opacity : '',
420
421
  cursor: settings.get('overlayClose') ? 'pointer' : '',
421
422
  visibility: 'visible'
422
423
  }).show();
@@ -696,7 +697,7 @@
696
697
  }, 1);
697
698
  }
698
699
 
699
- if (loadedCallback) {
700
+ if ($.isFunction(loadedCallback)) {
700
701
  loadedCallback();
701
702
  }
702
703
  },
@@ -20,7 +20,7 @@
20
20
  Change the following styles to modify the appearance of Colorbox. They are
21
21
  ordered & tabbed in a way that represents the nesting of the generated HTML.
22
22
  */
23
- #cboxOverlay{background:image-url('colorbox/example1/overlay.png') repeat 0 0;}
23
+ #cboxOverlay{background:image-url('colorbox/example1/overlay.png') repeat 0 0; opacity: 0.9; filter: alpha(opacity = 90);}
24
24
  #colorbox{outline:0;}
25
25
  #cboxTopLeft{width:21px; height:21px; background:image-url('colorbox/example1/controls.png') no-repeat -101px 0;}
26
26
  #cboxTopRight{width:21px; height:21px; background:image-url('colorbox/example1/controls.png') no-repeat -130px 0;}
@@ -20,7 +20,7 @@
20
20
  Change the following styles to modify the appearance of Colorbox. They are
21
21
  ordered & tabbed in a way that represents the nesting of the generated HTML.
22
22
  */
23
- #cboxOverlay{background:#fff;}
23
+ #cboxOverlay{background:#fff; opacity: 0.9; filter: alpha(opacity = 90);}
24
24
  #colorbox{outline:0;}
25
25
  #cboxContent{margin-top:32px; overflow:visible; background:#000;}
26
26
  .cboxIframe{background:#fff;}
@@ -20,7 +20,7 @@
20
20
  Change the following styles to modify the appearance of Colorbox. They are
21
21
  ordered & tabbed in a way that represents the nesting of the generated HTML.
22
22
  */
23
- #cboxOverlay{background:#000;}
23
+ #cboxOverlay{background:#000; opacity: 0.9; filter: alpha(opacity = 90);}
24
24
  #colorbox{outline:0;}
25
25
  #cboxContent{margin-top:20px;background:#000;}
26
26
  .cboxIframe{background:#fff;}
@@ -20,7 +20,7 @@
20
20
  Change the following styles to modify the appearance of Colorbox. They are
21
21
  ordered & tabbed in a way that represents the nesting of the generated HTML.
22
22
  */
23
- #cboxOverlay{background:#fff;}
23
+ #cboxOverlay{background:#fff; opacity: 0.9; filter: alpha(opacity = 90);}
24
24
  #colorbox{outline:0;}
25
25
  #cboxTopLeft{width:25px; height:25px; background:image-url('colorbox/example4/border1.png') no-repeat 0 0;}
26
26
  #cboxTopCenter{height:25px; background:image-url('colorbox/example4/border1.png') repeat-x 0 -50px;}
@@ -20,7 +20,7 @@
20
20
  Change the following styles to modify the appearance of Colorbox. They are
21
21
  ordered & tabbed in a way that represents the nesting of the generated HTML.
22
22
  */
23
- #cboxOverlay{background:#000;}
23
+ #cboxOverlay{background:#000; opacity: 0.9; filter: alpha(opacity = 90);}
24
24
  #colorbox{outline:0;}
25
25
  #cboxTopLeft{width:14px; height:14px; background:image-url('colorbox/example5/controls.png') no-repeat 0 0;}
26
26
  #cboxTopCenter{height:14px; background:image-url('colorbox/example5/border.png') repeat-x top left;}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jquery-colorbox-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Krzysztof Knapik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-07 00:00:00.000000000 Z
11
+ date: 2014-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties