colorbox-on-rails 0.0.1 → 0.0.2
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.
data/MIT-LICENSE
CHANGED
data/README.md
CHANGED
@@ -8,7 +8,7 @@ Currently only support Rails 3.1
|
|
8
8
|
|
9
9
|
Add this line to `Gemfile`:
|
10
10
|
|
11
|
-
gem 'colorbox-on-rails'
|
11
|
+
gem 'colorbox-on-rails'
|
12
12
|
|
13
13
|
And then execute:
|
14
14
|
|
@@ -36,4 +36,4 @@ And invoke the colorbox in js file:
|
|
36
36
|
|
37
37
|
```js
|
38
38
|
$('a.colorbox').colorbox()
|
39
|
-
```
|
39
|
+
```
|
@@ -18,16 +18,16 @@
|
|
18
18
|
Change the following styles to modify the appearance of ColorBox. They are
|
19
19
|
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
20
20
|
*/
|
21
|
-
#cboxOverlay{background:url(
|
21
|
+
#cboxOverlay{background:image-url("overlay.png") repeat 0 0;}
|
22
22
|
#colorbox{}
|
23
|
-
#cboxTopLeft{width:21px; height:21px; background:url(controls.png) no-repeat -101px 0;}
|
24
|
-
#cboxTopRight{width:21px; height:21px; background:url(controls.png) no-repeat -130px 0;}
|
25
|
-
#cboxBottomLeft{width:21px; height:21px; background:url(controls.png) no-repeat -101px -29px;}
|
26
|
-
#cboxBottomRight{width:21px; height:21px; background:url(controls.png) no-repeat -130px -29px;}
|
27
|
-
#cboxMiddleLeft{width:21px; background:url(controls.png) left top repeat-y;}
|
28
|
-
#cboxMiddleRight{width:21px; background:url(controls.png) right top repeat-y;}
|
29
|
-
#cboxTopCenter{height:21px; background:url(border.png) 0 0 repeat-x;}
|
30
|
-
#cboxBottomCenter{height:21px; background:url(border.png) 0 -29px repeat-x;}
|
23
|
+
#cboxTopLeft{width:21px; height:21px; background:image-url("controls.png") no-repeat -101px 0;}
|
24
|
+
#cboxTopRight{width:21px; height:21px; background:image-url("controls.png") no-repeat -130px 0;}
|
25
|
+
#cboxBottomLeft{width:21px; height:21px; background:image-url("controls.png") no-repeat -101px -29px;}
|
26
|
+
#cboxBottomRight{width:21px; height:21px; background:image-url("controls.png") no-repeat -130px -29px;}
|
27
|
+
#cboxMiddleLeft{width:21px; background:image-url("controls.png") left top repeat-y;}
|
28
|
+
#cboxMiddleRight{width:21px; background:image-url("controls.png") right top repeat-y;}
|
29
|
+
#cboxTopCenter{height:21px; background:image-url("border.png") 0 0 repeat-x;}
|
30
|
+
#cboxBottomCenter{height:21px; background:image-url("border.png") 0 -29px repeat-x;}
|
31
31
|
#cboxContent{background:#fff; overflow:hidden;}
|
32
32
|
.cboxIframe{background:#fff;}
|
33
33
|
#cboxError{padding:50px; border:1px solid #ccc;}
|
@@ -35,13 +35,13 @@
|
|
35
35
|
#cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
|
36
36
|
#cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
|
37
37
|
#cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
|
38
|
-
#cboxPrevious{position:absolute; bottom:0; left:0; background:url(controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;}
|
38
|
+
#cboxPrevious{position:absolute; bottom:0; left:0; background:image-url("controls.png") no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;}
|
39
39
|
#cboxPrevious:hover{background-position:-75px -25px;}
|
40
|
-
#cboxNext{position:absolute; bottom:0; left:27px; background:url(controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;}
|
40
|
+
#cboxNext{position:absolute; bottom:0; left:27px; background:image-url("controls.png") no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;}
|
41
41
|
#cboxNext:hover{background-position:-50px -25px;}
|
42
|
-
#cboxLoadingOverlay{background:url(loading_background.png) no-repeat center center;}
|
43
|
-
#cboxLoadingGraphic{background:url(loading.gif) no-repeat center center;}
|
44
|
-
#cboxClose{position:absolute; bottom:0; right:0; background:url(controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;}
|
42
|
+
#cboxLoadingOverlay{background:image-url("loading_background.png") no-repeat center center;}
|
43
|
+
#cboxLoadingGraphic{background:image-url("loading.gif") no-repeat center center;}
|
44
|
+
#cboxClose{position:absolute; bottom:0; right:0; background:image-url("controls.png") no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;}
|
45
45
|
#cboxClose:hover{background-position:-25px -25px;}
|
46
46
|
|
47
47
|
/*
|
@@ -64,14 +64,14 @@
|
|
64
64
|
The following provides PNG transparency support for IE6
|
65
65
|
Feel free to remove this and the /ie6/ directory if you have dropped IE6 support.
|
66
66
|
*/
|
67
|
-
.cboxIE6 #cboxTopLeft{background:url(ie6/borderTopLeft.png);}
|
68
|
-
.cboxIE6 #cboxTopCenter{background:url(ie6/borderTopCenter.png);}
|
69
|
-
.cboxIE6 #cboxTopRight{background:url(ie6/borderTopRight.png);}
|
70
|
-
.cboxIE6 #cboxBottomLeft{background:url(ie6/borderBottomLeft.png);}
|
71
|
-
.cboxIE6 #cboxBottomCenter{background:url(ie6/borderBottomCenter.png);}
|
72
|
-
.cboxIE6 #cboxBottomRight{background:url(ie6/borderBottomRight.png);}
|
73
|
-
.cboxIE6 #cboxMiddleLeft{background:url(ie6/borderMiddleLeft.png);}
|
74
|
-
.cboxIE6 #cboxMiddleRight{background:url(ie6/borderMiddleRight.png);}
|
67
|
+
.cboxIE6 #cboxTopLeft{background:image-url("ie6/borderTopLeft.png");}
|
68
|
+
.cboxIE6 #cboxTopCenter{background:image-url("ie6/borderTopCenter.png");}
|
69
|
+
.cboxIE6 #cboxTopRight{background:image-url("ie6/borderTopRight.png");}
|
70
|
+
.cboxIE6 #cboxBottomLeft{background:image-url("ie6/borderBottomLeft.png");}
|
71
|
+
.cboxIE6 #cboxBottomCenter{background:image-url("ie6/borderBottomCenter.png");}
|
72
|
+
.cboxIE6 #cboxBottomRight{background:image-url("ie6/borderBottomRight.png");}
|
73
|
+
.cboxIE6 #cboxMiddleLeft{background:image-url("ie6/borderMiddleLeft.png");}
|
74
|
+
.cboxIE6 #cboxMiddleRight{background:image-url("ie6/borderMiddleRight.png");}
|
75
75
|
|
76
76
|
.cboxIE6 #cboxTopLeft,
|
77
77
|
.cboxIE6 #cboxTopCenter,
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: colorbox-on-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-05-01 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: An asset gem pack the ColorBox jQuery Plugin (http://www.jacklmoore.com/colorbox)
|
15
15
|
email:
|
@@ -43,7 +43,7 @@ files:
|
|
43
43
|
- vendor/assets/images/overlay.png
|
44
44
|
- vendor/assets/javascripts/.DS_Store
|
45
45
|
- vendor/assets/javascripts/jquery.colorbox.js
|
46
|
-
- vendor/assets/stylesheets/colorbox.css.scss
|
46
|
+
- vendor/assets/stylesheets/colorbox.css.scss
|
47
47
|
homepage: http://github.com/zetachang/colorbox-on-rails
|
48
48
|
licenses: []
|
49
49
|
post_install_message:
|