jquery-colorbox-rails 0.1.3 → 0.1.4
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 +4 -4
- data/README.md +1 -1
- data/lib/jquery-colorbox-rails/version.rb +1 -1
- data/vendor/assets/javascripts/jquery.colorbox-ca.js +13 -0
- data/vendor/assets/javascripts/jquery.colorbox.js +4 -4
- data/vendor/assets/stylesheets/jquery.colorbox-example1.css.scss +1 -0
- data/vendor/assets/stylesheets/jquery.colorbox-example2.css.scss +1 -0
- data/vendor/assets/stylesheets/jquery.colorbox-example3.css.scss +1 -0
- data/vendor/assets/stylesheets/jquery.colorbox-example4.css.scss +1 -0
- data/vendor/assets/stylesheets/jquery.colorbox-example5.css.scss +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bdeeb673b3597387cc7a87ee93906954399bb559
|
4
|
+
data.tar.gz: c3121a4def045ce380ac4d8a84040156f27ed5c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5e0e620a210e508a56a9aea9320d2bc96526a57b5e5d6344f274a72968a744ec27bec3506077ac950f0da511b721e203e481e056db9d534fe156c2ca2dd7d05
|
7
|
+
data.tar.gz: da4f3eb0a979594bf1c1e090bb037514b2a4428f98b8234c885d9c5f5a560734f7794ddd2a3c6a839e5834d879952fbe42561d3319ce291f7420b2c5863d0b87
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
jquery-colorbox-rails integrates [jquery.colorbox](https://github.com/jackmoore/colorbox) with rails 3.1+ asset pipeline.
|
4
4
|
|
5
|
-
Integrated colorbox version: <b id="colorbox-version">1.4.
|
5
|
+
Integrated colorbox version: <b id="colorbox-version">1.4.33</b>
|
6
6
|
|
7
7
|
### Installation
|
8
8
|
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/*
|
2
|
+
jQuery Colorbox language configuration
|
3
|
+
language: Catala (ca)
|
4
|
+
translated by: eduard salla
|
5
|
+
*/
|
6
|
+
jQuery.extend(jQuery.colorbox.settings, {
|
7
|
+
current: "Imatge {current} de {total}",
|
8
|
+
previous: "Anterior",
|
9
|
+
next: "Següent",
|
10
|
+
close: "Tancar",
|
11
|
+
xhrError: "Error en la càrrega del contingut.",
|
12
|
+
imgError: "Error en la càrrega de la imatge."
|
13
|
+
});
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
Colorbox v1.4.
|
2
|
+
Colorbox v1.4.33 - 2013-10-31
|
3
3
|
jQuery lightbox and modal window plugin
|
4
4
|
(c) 2013 Jack Moore - http://www.jacklmoore.com/colorbox
|
5
5
|
license: http://www.opensource.org/licenses/mit-license.php
|
@@ -115,7 +115,7 @@
|
|
115
115
|
$prev,
|
116
116
|
$close,
|
117
117
|
$groupControls,
|
118
|
-
$events = $('<a/>'),
|
118
|
+
$events = $('<a/>'), // $([]) would be prefered, but there is an issue with jQuery 1.4.2
|
119
119
|
|
120
120
|
// Variables for cached values or use across multiple functions
|
121
121
|
settings,
|
@@ -227,7 +227,7 @@
|
|
227
227
|
$(document).trigger(event);
|
228
228
|
|
229
229
|
// for internal use
|
230
|
-
$events.
|
230
|
+
$events.triggerHandler(event);
|
231
231
|
|
232
232
|
if ($.isFunction(callback)) {
|
233
233
|
callback.call(element);
|
@@ -463,7 +463,7 @@
|
|
463
463
|
)
|
464
464
|
).find('div div').css({'float': 'left'});
|
465
465
|
|
466
|
-
$loadingBay = $tag(div, false, 'position:absolute; width:9999px; visibility:hidden; display:none');
|
466
|
+
$loadingBay = $tag(div, false, 'position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;');
|
467
467
|
|
468
468
|
$groupControls = $next.add($prev).add($current).add($slideshow);
|
469
469
|
|
@@ -3,6 +3,7 @@
|
|
3
3
|
The following CSS is consistent between example themes and should not be altered.
|
4
4
|
*/
|
5
5
|
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
|
6
|
+
#cboxWrapper {max-width:none;}
|
6
7
|
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
7
8
|
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
8
9
|
#cboxContent{position:relative;}
|
@@ -3,6 +3,7 @@
|
|
3
3
|
The following CSS is consistent between example themes and should not be altered.
|
4
4
|
*/
|
5
5
|
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
|
6
|
+
#cboxWrapper {max-width:none;}
|
6
7
|
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
7
8
|
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
8
9
|
#cboxContent{position:relative;}
|
@@ -3,6 +3,7 @@
|
|
3
3
|
The following CSS is consistent between example themes and should not be altered.
|
4
4
|
*/
|
5
5
|
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
|
6
|
+
#cboxWrapper {max-width:none;}
|
6
7
|
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
7
8
|
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
8
9
|
#cboxContent{position:relative;}
|
@@ -3,6 +3,7 @@
|
|
3
3
|
The following CSS is consistent between example themes and should not be altered.
|
4
4
|
*/
|
5
5
|
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
|
6
|
+
#cboxWrapper {max-width:none;}
|
6
7
|
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
7
8
|
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
8
9
|
#cboxContent{position:relative;}
|
@@ -3,6 +3,7 @@
|
|
3
3
|
The following CSS is consistent between example themes and should not be altered.
|
4
4
|
*/
|
5
5
|
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
|
6
|
+
#cboxWrapper {max-width:none;}
|
6
7
|
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
7
8
|
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
8
9
|
#cboxContent{position:relative;}
|
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.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Krzysztof Knapik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -50,6 +50,7 @@ files:
|
|
50
50
|
- vendor/assets/images/colorbox/example5/loading_background.png
|
51
51
|
- vendor/assets/javascripts/jquery.colorbox-ar.js
|
52
52
|
- vendor/assets/javascripts/jquery.colorbox-bg.js
|
53
|
+
- vendor/assets/javascripts/jquery.colorbox-ca.js
|
53
54
|
- vendor/assets/javascripts/jquery.colorbox-cs.js
|
54
55
|
- vendor/assets/javascripts/jquery.colorbox-da.js
|
55
56
|
- vendor/assets/javascripts/jquery.colorbox-de.js
|