chosen-rails 0.9.8.1 → 0.9.8.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -30,7 +30,7 @@ Add to your `app/assets/stylesheets/application.css`
30
30
 
31
31
  *= require chosen
32
32
 
33
- ## Gem maintainance
33
+ ## Gem maintenance
34
34
 
35
35
  Maintain `chosen-rails` gem with `Rake` commands.
36
36
 
@@ -1,6 +1,6 @@
1
1
  module Chosen
2
2
  module Rails
3
- VERSION = "0.9.8.1"
3
+ VERSION = "0.9.8.2"
4
4
  EDITOR_VERSION = "0.9.8"
5
5
  end
6
6
  end
@@ -15,7 +15,6 @@
15
15
  left: 0
16
16
  -webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15)
17
17
  -moz-box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15)
18
- -o-box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15)
19
18
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15)
20
19
  z-index: 1010
21
20
 
@@ -27,12 +26,11 @@
27
26
  .chzn-single
28
27
  background-color: #ffffff
29
28
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0 )
30
- background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, white), color-stop(50%, #f6f6f6), color-stop(52%, #eeeeee), color-stop(100%, #f4f4f4))
29
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, white), color-stop(50%, #f6f6f6), color-stop(52%, #eeeeee), color-stop(100%, #f4f4f4))
31
30
  background-image: -webkit-linear-gradient(top, white 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%)
32
31
  background-image: -moz-linear-gradient(top, white 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%)
33
32
  background-image: -o-linear-gradient(top, white 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%)
34
- background-image: -ms-linear-gradient(top, white 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%)
35
- background-image: linear-gradient(top, white 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%)
33
+ background-image: linear-gradient(white 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%)
36
34
  -webkit-border-radius: 5px
37
35
  -moz-border-radius: 5px
38
36
  border-radius: 5px
@@ -74,7 +72,7 @@
74
72
  background: image-url('chosen-sprite.png') right top no-repeat
75
73
  &:hover
76
74
  background-position: right -11px
77
- &.chzn-disabled abbr:hover
75
+ &.chzn-disabled .chzn-single abbr:hover
78
76
  background-position: right top
79
77
  .chzn-single div
80
78
  position: absolute
@@ -96,12 +94,11 @@
96
94
  z-index: 1010
97
95
  input
98
96
  background: white image-url('chosen-sprite.png') no-repeat 100% -22px
99
- background: image-url('chosen-sprite.png') no-repeat 100% -22px, -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eeeeee), color-stop(15%, white))
97
+ background: image-url('chosen-sprite.png') no-repeat 100% -22px, -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, white))
100
98
  background: image-url('chosen-sprite.png') no-repeat 100% -22px, -webkit-linear-gradient(top, #eeeeee 1%, white 15%)
101
99
  background: image-url('chosen-sprite.png') no-repeat 100% -22px, -moz-linear-gradient(top, #eeeeee 1%, white 15%)
102
100
  background: image-url('chosen-sprite.png') no-repeat 100% -22px, -o-linear-gradient(top, #eeeeee 1%, white 15%)
103
- background: image-url('chosen-sprite.png') no-repeat 100% -22px, -ms-linear-gradient(top, #eeeeee 1%, white 15%)
104
- background: image-url('chosen-sprite.png') no-repeat 100% -22px, linear-gradient(top, #eeeeee 1%, white 15%)
101
+ background: image-url('chosen-sprite.png') no-repeat 100% -22px, linear-gradient(#eeeeee 1%, white 15%)
105
102
  margin: 1px 0
106
103
  padding: 4px 20px 4px 5px
107
104
  outline: 0
@@ -118,7 +115,7 @@
118
115
 
119
116
  /* @end
120
117
 
121
- .chzn-container-single-nosearch input
118
+ .chzn-container-single-nosearch .chzn-search input
122
119
  position: absolute
123
120
  left: -9000px
124
121
 
@@ -126,12 +123,11 @@
126
123
 
127
124
  .chzn-container-multi .chzn-choices
128
125
  background-color: #fff
129
- background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eeeeee), color-stop(15%, white))
126
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, white))
130
127
  background-image: -webkit-linear-gradient(top, #eeeeee 1%, white 15%)
131
128
  background-image: -moz-linear-gradient(top, #eeeeee 1%, white 15%)
132
129
  background-image: -o-linear-gradient(top, #eeeeee 1%, white 15%)
133
- background-image: -ms-linear-gradient(top, #eeeeee 1%, white 15%)
134
- background-image: linear-gradient(top, #eeeeee 1%, white 15%)
130
+ background-image: linear-gradient(#eeeeee 1%, white 15%)
135
131
  border: 1px solid #aaa
136
132
  margin: 0
137
133
  padding: 0
@@ -159,7 +155,6 @@
159
155
  outline: 0
160
156
  -webkit-box-shadow: none
161
157
  -moz-box-shadow: none
162
- -o-box-shadow: none
163
158
  box-shadow: none
164
159
  .default
165
160
  color: #999
@@ -172,12 +167,11 @@
172
167
  background-clip: padding-box
173
168
  background-color: #e4e4e4
174
169
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f4f4f4', endColorstr='#eeeeee', GradientType=0 )
175
- background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee))
170
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee))
176
171
  background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%)
177
172
  background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%)
178
173
  background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%)
179
- background-image: -ms-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%)
180
- background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%)
174
+ background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%)
181
175
  -webkit-box-shadow: 0 0 2px white inset, 0 1px 0 rgba(0, 0, 0, 0.05)
182
176
  -moz-box-shadow: 0 0 2px white inset, 0 1px 0 rgba(0, 0, 0, 0.05)
183
177
  box-shadow: 0 0 2px white inset, 0 1px 0 rgba(0, 0, 0, 0.05)
@@ -234,12 +228,11 @@
234
228
  .highlighted
235
229
  background-color: #3875d7
236
230
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3875d7', endColorstr='#2a62bc', GradientType=0 )
237
- background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #3875d7), color-stop(90%, #2a62bc))
231
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, #3875d7), color-stop(90%, #2a62bc))
238
232
  background-image: -webkit-linear-gradient(top, #3875d7 20%, #2a62bc 90%)
239
233
  background-image: -moz-linear-gradient(top, #3875d7 20%, #2a62bc 90%)
240
234
  background-image: -o-linear-gradient(top, #3875d7 20%, #2a62bc 90%)
241
- background-image: -ms-linear-gradient(top, #3875d7 20%, #2a62bc 90%)
242
- background-image: linear-gradient(top, #3875d7 20%, #2a62bc 90%)
235
+ background-image: linear-gradient(#3875d7 20%, #2a62bc 90%)
243
236
  color: #fff
244
237
  li em
245
238
  background: #feffde
@@ -256,7 +249,7 @@
256
249
  .group-option
257
250
  padding-left: 15px
258
251
 
259
- .chzn-container-multi .result-selected
252
+ .chzn-container-multi .chzn-drop .result-selected
260
253
  display: none
261
254
 
262
255
  .chzn-container
@@ -288,23 +281,20 @@
288
281
  .chzn-single
289
282
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3)
290
283
  -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3)
291
- -o-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3)
292
284
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3)
293
285
  border: 1px solid #5897fb
294
286
  .chzn-single-with-drop
295
287
  border: 1px solid #aaa
296
288
  -webkit-box-shadow: 0 1px 0 #fff inset
297
289
  -moz-box-shadow: 0 1px 0 #fff inset
298
- -o-box-shadow: 0 1px 0 #fff inset
299
290
  box-shadow: 0 1px 0 #fff inset
300
291
  background-color: #eee
301
292
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0 )
302
- background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #eeeeee), color-stop(80%, white))
293
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, #eeeeee), color-stop(80%, white))
303
294
  background-image: -webkit-linear-gradient(top, #eeeeee 20%, white 80%)
304
295
  background-image: -moz-linear-gradient(top, #eeeeee 20%, white 80%)
305
296
  background-image: -o-linear-gradient(top, #eeeeee 20%, white 80%)
306
- background-image: -ms-linear-gradient(top, #eeeeee 20%, white 80%)
307
- background-image: linear-gradient(top, #eeeeee 20%, white 80%)
297
+ background-image: linear-gradient(#eeeeee 20%, white 80%)
308
298
  -webkit-border-bottom-left-radius: 0
309
299
  -webkit-border-bottom-right-radius: 0
310
300
  -moz-border-radius-bottomleft: 0
@@ -319,7 +309,6 @@
319
309
  .chzn-choices
320
310
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3)
321
311
  -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3)
322
- -o-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3)
323
312
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3)
324
313
  border: 1px solid #5897fb
325
314
  .search-field input
@@ -332,7 +321,7 @@
332
321
  .chzn-disabled
333
322
  cursor: default
334
323
  opacity: 0.5 !important
335
- .chzn-single, .chzn-choices .search-choice-close
324
+ .chzn-single, .chzn-choices .search-choice .search-choice-close
336
325
  cursor: default
337
326
 
338
327
  /* @group Right to Left
@@ -370,16 +359,15 @@
370
359
  .chzn-results .group-option
371
360
  padding-left: 0
372
361
  padding-right: 15px
373
- &.chzn-container-active div
362
+ &.chzn-container-active .chzn-single-with-drop div
374
363
  border-right: none
375
364
  .chzn-search input
376
365
  background: white image-url('chosen-sprite.png') no-repeat -38px -22px
377
- background: image-url('chosen-sprite.png') no-repeat -38px -22px, -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eeeeee), color-stop(15%, white))
366
+ background: image-url('chosen-sprite.png') no-repeat -38px -22px, -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, white))
378
367
  background: image-url('chosen-sprite.png') no-repeat -38px -22px, -webkit-linear-gradient(top, #eeeeee 1%, white 15%)
379
368
  background: image-url('chosen-sprite.png') no-repeat -38px -22px, -moz-linear-gradient(top, #eeeeee 1%, white 15%)
380
369
  background: image-url('chosen-sprite.png') no-repeat -38px -22px, -o-linear-gradient(top, #eeeeee 1%, white 15%)
381
- background: image-url('chosen-sprite.png') no-repeat -38px -22px, -ms-linear-gradient(top, #eeeeee 1%, white 15%)
382
- background: image-url('chosen-sprite.png') no-repeat -38px -22px, linear-gradient(top, #eeeeee 1%, white 15%)
370
+ background: image-url('chosen-sprite.png') no-repeat -38px -22px, linear-gradient(#eeeeee 1%, white 15%)
383
371
  padding: 4px 5px 4px 20px
384
372
  direction: rtl
385
373
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chosen-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.8.1
4
+ version: 0.9.8.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-07-04 00:00:00.000000000 Z
12
+ date: 2012-08-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -130,12 +130,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
130
130
  - - ! '>='
131
131
  - !ruby/object:Gem::Version
132
132
  version: '0'
133
+ segments:
134
+ - 0
135
+ hash: 1777641325023975397
133
136
  required_rubygems_version: !ruby/object:Gem::Requirement
134
137
  none: false
135
138
  requirements:
136
139
  - - ! '>='
137
140
  - !ruby/object:Gem::Version
138
141
  version: '0'
142
+ segments:
143
+ - 0
144
+ hash: 1777641325023975397
139
145
  requirements: []
140
146
  rubyforge_project:
141
147
  rubygems_version: 1.8.24