fancybox2-rails 0.2.5 → 0.2.6

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.
@@ -1,6 +1,6 @@
1
1
  module Fancybox2
2
2
  module Rails
3
- VERSION = "0.2.5"
3
+ VERSION = "0.2.6"
4
4
  FANCYBOX_VERSION = "2.1.4"
5
5
  end
6
6
  end
@@ -47,7 +47,7 @@
47
47
  height: 30px;
48
48
  text-indent: -9999px;
49
49
  background-color: transparent;
50
- background-image: url('fancybox_buttons.png');
50
+ background-image: url(<%= asset_path 'fancybox_buttons.png' %>);
51
51
  background-repeat: no-repeat;
52
52
  outline: none;
53
53
  opacity: 0.8;
@@ -94,4 +94,4 @@
94
94
  #fancybox-buttons a.btnDisabled {
95
95
  opacity : 0.4;
96
96
  cursor: default;
97
- }
97
+ }
@@ -76,7 +76,7 @@
76
76
  }
77
77
 
78
78
  #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
79
- background-image: url('fancybox_sprite.png');
79
+ background-image: url(<%= asset_path 'fancybox_sprite.png' %>);
80
80
  }
81
81
 
82
82
  #fancybox-loading {
@@ -94,7 +94,7 @@
94
94
  #fancybox-loading div {
95
95
  width: 44px;
96
96
  height: 44px;
97
- background: url('fancybox_loading.gif') center center no-repeat;
97
+ background: url(<%= asset_path 'fancybox_loading.gif' %>) center center no-repeat;
98
98
  }
99
99
 
100
100
  .fancybox-close {
@@ -114,7 +114,7 @@
114
114
  height: 100%;
115
115
  cursor: pointer;
116
116
  text-decoration: none;
117
- background: transparent url('blank.gif'); /* helps IE */
117
+ background: transparent url(<%= asset_path 'blank.gif' %>); /* helps IE */
118
118
  -webkit-tap-highlight-color: rgba(0,0,0,0);
119
119
  z-index: 8040;
120
120
  }
@@ -184,7 +184,7 @@
184
184
  overflow: hidden;
185
185
  display: none;
186
186
  z-index: 8010;
187
- background: url('fancybox_overlay.png');
187
+ background: url(<%= asset_path 'fancybox_overlay.png' %>);
188
188
  }
189
189
 
190
190
  .fancybox-overlay-fixed {
@@ -263,12 +263,12 @@
263
263
  only screen and (min-device-pixel-ratio: 1.5){
264
264
 
265
265
  #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
266
- background-image: url('fancybox_sprite@2x.png');
266
+ background-image: url(<%= asset_path 'fancybox_sprite@2x.png' %>);
267
267
  background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
268
268
  }
269
269
 
270
270
  #fancybox-loading div {
271
- background-image: url('fancybox_loading@2x.gif');
271
+ background-image: url(<%= asset_path 'fancybox_loading@2x.gif' %>);
272
272
  background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
273
273
  }
274
- }
274
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fancybox2-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
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: 2013-10-03 00:00:00.000000000 Z
12
+ date: 2014-02-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -151,13 +151,6 @@ files:
151
151
  - lib/fancybox2/rails/version.rb
152
152
  - lib/fancybox2/rails.rb
153
153
  - lib/fancybox2-rails.rb
154
- - vendor/assets/images/blank.gif
155
- - vendor/assets/images/fancybox_buttons.png
156
- - vendor/assets/images/fancybox_loading.gif
157
- - vendor/assets/images/fancybox_loading@2x.gif
158
- - vendor/assets/images/fancybox_overlay.png
159
- - vendor/assets/images/fancybox_sprite.png
160
- - vendor/assets/images/fancybox_sprite@2x.png
161
154
  - vendor/assets/javascripts/fancybox.js
162
155
  - vendor/assets/javascripts/jquery.fancybox-buttons.js
163
156
  - vendor/assets/javascripts/jquery.fancybox-media.js
Binary file