jquery-colorbox-rails 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/jquery-colorbox-rails/engine.rb +4 -0
- data/lib/jquery-colorbox-rails/version.rb +1 -1
- data/vendor/assets/images/colorbox/example1/border.png +0 -0
- data/vendor/assets/images/colorbox/example1/controls.png +0 -0
- data/vendor/assets/images/colorbox/example1/loading.gif +0 -0
- data/vendor/assets/images/colorbox/example1/loading_background.png +0 -0
- data/vendor/assets/images/colorbox/example1/overlay.png +0 -0
- data/vendor/assets/images/colorbox/example2/controls.png +0 -0
- data/vendor/assets/images/colorbox/example2/loading.gif +0 -0
- data/vendor/assets/images/colorbox/example3/loading.gif +0 -0
- data/vendor/assets/images/colorbox/example4/border1.png +0 -0
- data/vendor/assets/images/colorbox/example4/border2.png +0 -0
- data/vendor/assets/images/colorbox/example4/loading.gif +0 -0
- data/vendor/assets/images/colorbox/example5/border.png +0 -0
- data/vendor/assets/images/colorbox/example5/controls.png +0 -0
- data/vendor/assets/images/colorbox/example5/loading.gif +0 -0
- data/vendor/assets/images/colorbox/example5/loading_background.png +0 -0
- data/vendor/assets/javascripts/jquery.colorbox.js +4 -3
- data/vendor/assets/stylesheets/jquery.colorbox-example1.css.scss +1 -1
- data/vendor/assets/stylesheets/jquery.colorbox-example2.css.scss +1 -1
- data/vendor/assets/stylesheets/jquery.colorbox-example3.css.scss +1 -1
- data/vendor/assets/stylesheets/jquery.colorbox-example4.css.scss +1 -1
- data/vendor/assets/stylesheets/jquery.colorbox-example5.css.scss +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf6fce529198c2b7ae98d98ab0eb99f8ce2901c9
|
4
|
+
data.tar.gz: 58a611a4cf100629dcc8705fd4416dcf698ee3c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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`
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
Colorbox v1.5.
|
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:
|
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.
|
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-
|
11
|
+
date: 2014-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|