chosen-rails 0.9.7 → 0.9.7.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/chosen-rails/version.rb +1 -1
- data/vendor/assets/stylesheets/chosen.css.sass +58 -59
- metadata +12 -12
data/lib/chosen-rails/version.rb
CHANGED
@@ -26,13 +26,13 @@
|
|
26
26
|
.chzn-container-single
|
27
27
|
.chzn-single
|
28
28
|
background-color: #ffffff
|
29
|
-
|
30
|
-
background-image: -webkit-
|
31
|
-
background-image: -
|
32
|
-
background-image: -
|
33
|
-
background-image: -
|
34
|
-
|
35
|
-
background-image: linear-gradient(top,
|
29
|
+
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))
|
31
|
+
background-image: -webkit-linear-gradient(top, white 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%)
|
32
|
+
background-image: -moz-linear-gradient(top, white 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%)
|
33
|
+
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%)
|
36
36
|
-webkit-border-radius: 5px
|
37
37
|
-moz-border-radius: 5px
|
38
38
|
border-radius: 5px
|
@@ -91,12 +91,12 @@
|
|
91
91
|
z-index: 1010
|
92
92
|
input
|
93
93
|
background: white image-url('chosen-sprite.png') no-repeat 100% -22px
|
94
|
-
background: image-url('chosen-sprite.png') no-repeat 100% -22px, -webkit-gradient(linear,
|
95
|
-
background: image-url('chosen-sprite.png') no-repeat 100% -22px, -webkit-linear-gradient(
|
96
|
-
background: image-url('chosen-sprite.png') no-repeat 100% -22px, -moz-linear-gradient(
|
97
|
-
background: image-url('chosen-sprite.png') no-repeat 100% -22px, -o-linear-gradient(
|
98
|
-
background: image-url('chosen-sprite.png') no-repeat 100% -22px, -ms-linear-gradient(top,
|
99
|
-
background: image-url('chosen-sprite.png') no-repeat 100% -22px, linear-gradient(top,
|
94
|
+
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))
|
95
|
+
background: image-url('chosen-sprite.png') no-repeat 100% -22px, -webkit-linear-gradient(top, #eeeeee 1%, white 15%)
|
96
|
+
background: image-url('chosen-sprite.png') no-repeat 100% -22px, -moz-linear-gradient(top, #eeeeee 1%, white 15%)
|
97
|
+
background: image-url('chosen-sprite.png') no-repeat 100% -22px, -o-linear-gradient(top, #eeeeee 1%, white 15%)
|
98
|
+
background: image-url('chosen-sprite.png') no-repeat 100% -22px, -ms-linear-gradient(top, #eeeeee 1%, white 15%)
|
99
|
+
background: image-url('chosen-sprite.png') no-repeat 100% -22px, linear-gradient(top, #eeeeee 1%, white 15%)
|
100
100
|
margin: 1px 0
|
101
101
|
padding: 4px 20px 4px 5px
|
102
102
|
outline: 0
|
@@ -121,13 +121,12 @@
|
|
121
121
|
|
122
122
|
.chzn-container-multi .chzn-choices
|
123
123
|
background-color: #fff
|
124
|
-
background-image: -webkit-gradient(linear,
|
125
|
-
background-image: -webkit-linear-gradient(
|
126
|
-
background-image: -moz-linear-gradient(
|
127
|
-
background-image: -o-linear-gradient(
|
128
|
-
background-image: -ms-linear-gradient(top,
|
129
|
-
|
130
|
-
background-image: linear-gradient(top, white 85%, #eeeeee 99%)
|
124
|
+
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eeeeee), color-stop(15%, white))
|
125
|
+
background-image: -webkit-linear-gradient(top, #eeeeee 1%, white 15%)
|
126
|
+
background-image: -moz-linear-gradient(top, #eeeeee 1%, white 15%)
|
127
|
+
background-image: -o-linear-gradient(top, #eeeeee 1%, white 15%)
|
128
|
+
background-image: -ms-linear-gradient(top, #eeeeee 1%, white 15%)
|
129
|
+
background-image: linear-gradient(top, #eeeeee 1%, white 15%)
|
131
130
|
border: 1px solid #aaa
|
132
131
|
margin: 0
|
133
132
|
padding: 0
|
@@ -167,13 +166,13 @@
|
|
167
166
|
-webkit-background-clip: padding-box
|
168
167
|
background-clip: padding-box
|
169
168
|
background-color: #e4e4e4
|
170
|
-
|
171
|
-
background-image: -webkit-
|
172
|
-
background-image: -
|
173
|
-
background-image: -
|
174
|
-
background-image: -
|
175
|
-
|
176
|
-
background-image: linear-gradient(top, #
|
169
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f4f4f4', endColorstr='#eeeeee', GradientType=0 )
|
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))
|
171
|
+
background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%)
|
172
|
+
background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%)
|
173
|
+
background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%)
|
174
|
+
background-image: -ms-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%)
|
175
|
+
background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%)
|
177
176
|
-webkit-box-shadow: 0 0 2px white inset, 0 1px 0 rgba(0, 0, 0, 0.05)
|
178
177
|
-moz-box-shadow: 0 0 2px white inset, 0 1px 0 rgba(0, 0, 0, 0.05)
|
179
178
|
box-shadow: 0 0 2px white inset, 0 1px 0 rgba(0, 0, 0, 0.05)
|
@@ -183,8 +182,7 @@
|
|
183
182
|
padding: 3px 20px 3px 5px
|
184
183
|
margin: 3px 0 3px 5px
|
185
184
|
position: relative
|
186
|
-
|
187
|
-
cursor: default
|
185
|
+
cursor: default
|
188
186
|
.search-choice-focus
|
189
187
|
background: #d4d4d4
|
190
188
|
.search-choice .search-choice-close
|
@@ -229,13 +227,13 @@
|
|
229
227
|
display: list-item
|
230
228
|
.highlighted
|
231
229
|
background-color: #3875d7
|
232
|
-
|
233
|
-
background-image: -webkit-
|
234
|
-
background-image: -
|
235
|
-
background-image: -
|
236
|
-
background-image: -
|
237
|
-
|
238
|
-
background-image: linear-gradient(top, #
|
230
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3875d7', endColorstr='#2a62bc', GradientType=0 )
|
231
|
+
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #3875d7), color-stop(90%, #2a62bc))
|
232
|
+
background-image: -webkit-linear-gradient(top, #3875d7 20%, #2a62bc 90%)
|
233
|
+
background-image: -moz-linear-gradient(top, #3875d7 20%, #2a62bc 90%)
|
234
|
+
background-image: -o-linear-gradient(top, #3875d7 20%, #2a62bc 90%)
|
235
|
+
background-image: -ms-linear-gradient(top, #3875d7 20%, #2a62bc 90%)
|
236
|
+
background-image: linear-gradient(top, #3875d7 20%, #2a62bc 90%)
|
239
237
|
color: #fff
|
240
238
|
li em
|
241
239
|
background: #feffde
|
@@ -258,7 +256,7 @@
|
|
258
256
|
.chzn-container
|
259
257
|
.chzn-results-scroll
|
260
258
|
background: white
|
261
|
-
margin:
|
259
|
+
margin: 0 4px
|
262
260
|
position: absolute
|
263
261
|
text-align: center
|
264
262
|
width: 321px
|
@@ -294,13 +292,13 @@
|
|
294
292
|
-o-box-shadow: 0 1px 0 #fff inset
|
295
293
|
box-shadow: 0 1px 0 #fff inset
|
296
294
|
background-color: #eee
|
297
|
-
|
298
|
-
background-image: -webkit-
|
299
|
-
background-image: -
|
300
|
-
background-image: -
|
301
|
-
background-image: -
|
302
|
-
|
303
|
-
background-image: linear-gradient(top,
|
295
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0 )
|
296
|
+
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #eeeeee), color-stop(80%, white))
|
297
|
+
background-image: -webkit-linear-gradient(top, #eeeeee 20%, white 80%)
|
298
|
+
background-image: -moz-linear-gradient(top, #eeeeee 20%, white 80%)
|
299
|
+
background-image: -o-linear-gradient(top, #eeeeee 20%, white 80%)
|
300
|
+
background-image: -ms-linear-gradient(top, #eeeeee 20%, white 80%)
|
301
|
+
background-image: linear-gradient(top, #eeeeee 20%, white 80%)
|
304
302
|
-webkit-border-bottom-left-radius: 0
|
305
303
|
-webkit-border-bottom-right-radius: 0
|
306
304
|
-moz-border-radius-bottomleft: 0
|
@@ -334,14 +332,14 @@
|
|
334
332
|
/* @group Right to Left
|
335
333
|
|
336
334
|
.chzn-rtl
|
337
|
-
direction: rtl
|
338
335
|
text-align: right
|
339
336
|
.chzn-single
|
340
|
-
padding
|
341
|
-
|
337
|
+
padding: 0 8px 0 0
|
338
|
+
overflow: visible
|
342
339
|
span
|
343
340
|
margin-left: 26px
|
344
341
|
margin-right: 0
|
342
|
+
direction: rtl
|
345
343
|
div
|
346
344
|
left: 3px
|
347
345
|
right: auto
|
@@ -349,6 +347,8 @@
|
|
349
347
|
left: 26px
|
350
348
|
right: auto
|
351
349
|
.chzn-choices
|
350
|
+
.search-field input
|
351
|
+
direction: rtl
|
352
352
|
li
|
353
353
|
float: right
|
354
354
|
.search-choice
|
@@ -359,23 +359,22 @@
|
|
359
359
|
right: auto
|
360
360
|
background-position: right top
|
361
361
|
&.chzn-container-single .chzn-results
|
362
|
-
margin
|
363
|
-
|
364
|
-
padding-left: 0
|
365
|
-
padding-right: 4px
|
362
|
+
margin: 0 0 4px 4px
|
363
|
+
padding: 0 4px 0 0
|
366
364
|
.chzn-results .group-option
|
367
365
|
padding-left: 0
|
368
|
-
padding-right:
|
366
|
+
padding-right: 15px
|
369
367
|
&.chzn-container-active .chzn-single-with-drop div
|
370
368
|
border-right: none
|
371
369
|
.chzn-search input
|
372
|
-
background: image-url('chosen-sprite.png') no-repeat -38px -22px
|
373
|
-
background: image-url('chosen-sprite.png') no-repeat -38px -22px, -webkit-gradient(linear,
|
374
|
-
background: image-url('chosen-sprite.png') no-repeat -38px -22px, -webkit-linear-gradient(
|
375
|
-
background: image-url('chosen-sprite.png') no-repeat -38px -22px, -moz-linear-gradient(
|
376
|
-
background: image-url('chosen-sprite.png') no-repeat -38px -22px, -o-linear-gradient(
|
377
|
-
background: image-url('chosen-sprite.png') no-repeat -38px -22px, -ms-linear-gradient(top,
|
378
|
-
background: image-url('chosen-sprite.png') no-repeat -38px -22px, linear-gradient(top,
|
370
|
+
background: white image-url('chosen-sprite.png') no-repeat -38px -22px
|
371
|
+
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))
|
372
|
+
background: image-url('chosen-sprite.png') no-repeat -38px -22px, -webkit-linear-gradient(top, #eeeeee 1%, white 15%)
|
373
|
+
background: image-url('chosen-sprite.png') no-repeat -38px -22px, -moz-linear-gradient(top, #eeeeee 1%, white 15%)
|
374
|
+
background: image-url('chosen-sprite.png') no-repeat -38px -22px, -o-linear-gradient(top, #eeeeee 1%, white 15%)
|
375
|
+
background: image-url('chosen-sprite.png') no-repeat -38px -22px, -ms-linear-gradient(top, #eeeeee 1%, white 15%)
|
376
|
+
background: image-url('chosen-sprite.png') no-repeat -38px -22px, linear-gradient(top, #eeeeee 1%, white 15%)
|
379
377
|
padding: 4px 5px 4px 20px
|
378
|
+
direction: rtl
|
380
379
|
|
381
380
|
/* @end
|
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.7
|
4
|
+
version: 0.9.7.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,12 +9,12 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-02-
|
12
|
+
date: 2012-02-26 00:00:00.000000000 +08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: railties
|
17
|
-
requirement: &
|
17
|
+
requirement: &70140411288040 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ~>
|
@@ -22,10 +22,10 @@ dependencies:
|
|
22
22
|
version: '3.0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *70140411288040
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: thor
|
28
|
-
requirement: &
|
28
|
+
requirement: &70140411287540 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
@@ -33,10 +33,10 @@ dependencies:
|
|
33
33
|
version: '0.14'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *70140411287540
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: bundler
|
39
|
-
requirement: &
|
39
|
+
requirement: &70140411287020 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
42
|
- - ~>
|
@@ -44,10 +44,10 @@ dependencies:
|
|
44
44
|
version: '1.0'
|
45
45
|
type: :development
|
46
46
|
prerelease: false
|
47
|
-
version_requirements: *
|
47
|
+
version_requirements: *70140411287020
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: rails
|
50
|
-
requirement: &
|
50
|
+
requirement: &70140411286480 !ruby/object:Gem::Requirement
|
51
51
|
none: false
|
52
52
|
requirements:
|
53
53
|
- - ~>
|
@@ -55,10 +55,10 @@ dependencies:
|
|
55
55
|
version: '3.0'
|
56
56
|
type: :development
|
57
57
|
prerelease: false
|
58
|
-
version_requirements: *
|
58
|
+
version_requirements: *70140411286480
|
59
59
|
- !ruby/object:Gem::Dependency
|
60
60
|
name: sass
|
61
|
-
requirement: &
|
61
|
+
requirement: &70140411286000 !ruby/object:Gem::Requirement
|
62
62
|
none: false
|
63
63
|
requirements:
|
64
64
|
- - ~>
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
version: '3.1'
|
67
67
|
type: :development
|
68
68
|
prerelease: false
|
69
|
-
version_requirements: *
|
69
|
+
version_requirements: *70140411286000
|
70
70
|
description: Chosen is a javascript library of select box enhancer for jQuery and
|
71
71
|
Protoype. This gem integrates Chosen with Rails asset pipeline for easy of use.
|
72
72
|
email:
|