chosen-rails 0.13.0 → 0.13.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ad66d71162136204ed73e3c857e02c9e00500e88
4
- data.tar.gz: c085f626780bd1706795bfe8e6b65ae4280de151
3
+ metadata.gz: 6222dc6d7ceb3d9f0d9748c1baebaabc772d0a7e
4
+ data.tar.gz: b42278a607b331fdac768b70648eebf92910ef3a
5
5
  SHA512:
6
- metadata.gz: 81c8187eba3ba107e464e8fb4f7f5e4dfa75da9d1bfc0e5c5e055cbb54cb8c4d2d96fc91497405415a39d9dc875165d62851a9ef675167cb8514662e7c4cc01f
7
- data.tar.gz: 5a3425b486c0dc90608c7b7dc3c7bef1a95578837bc8067b941a855c796a9215c2c9425f3708567331f1b77984940c34dcdb48b7e563a1582c4613f6fc9508fb
6
+ metadata.gz: fc27d0b197bc8ba622cbbf21f46bc109d689f36e0d773313367e8308b921733f6d0c21c376eba3d05fbbc13eef76633cc624e1e32443c9bc559a7d4905d9a039
7
+ data.tar.gz: dfc395e938608b60b2b8459f0021605ef36adf2ce30734fe8d9e3cf94a4ef0b0734b13693be9d6fb109839520553390c8eab1f0d4e118104c39f08c2ed6199f8
@@ -1,6 +1,6 @@
1
1
  module Chosen
2
2
  module Rails
3
- VERSION = '0.13.0'
3
+ VERSION = '0.13.1'
4
4
  CHOSEN_VERSION = '0.13.0'
5
5
  end
6
6
  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.13.0
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tse-Ching Ho
@@ -137,7 +137,6 @@ files:
137
137
  - vendor/assets/javascripts/chosen.proto.coffee
138
138
  - vendor/assets/javascripts/lib/abstract-chosen.coffee
139
139
  - vendor/assets/javascripts/lib/select-parser.coffee
140
- - vendor/assets/stylesheets/chosen.css.sass
141
140
  - vendor/assets/stylesheets/chosen.css.scss
142
141
  homepage: https://github.com/tsechingho/chosen-rails
143
142
  licenses: []
@@ -1,458 +0,0 @@
1
- /* @group Base
2
-
3
- .chzn-container
4
- font-size: 13px
5
- position: relative
6
- display: inline-block
7
- vertical-align: middle
8
- zoom: 1
9
- *display: inline
10
- .chzn-drop
11
- background: #fff
12
- border: 1px solid #aaa
13
- border-top: 0
14
- position: absolute
15
- top: 100%
16
- left: -9999px
17
- -webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15)
18
- -moz-box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15)
19
- box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15)
20
- z-index: 1010
21
- width: 100%
22
- -moz-box-sizing: border-box
23
- -ms-box-sizing: border-box
24
- -webkit-box-sizing: border-box
25
- -khtml-box-sizing: border-box
26
- box-sizing: border-box
27
- &.chzn-with-drop .chzn-drop
28
- left: 0
29
-
30
- /* @end
31
-
32
- /* @group Single Chosen
33
-
34
- .chzn-container-single
35
- .chzn-single
36
- background-color: #ffffff
37
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0 )
38
- 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))
39
- background-image: -webkit-linear-gradient(top, white 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%)
40
- background-image: -moz-linear-gradient(top, white 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%)
41
- background-image: -o-linear-gradient(top, white 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%)
42
- background-image: linear-gradient(white 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%)
43
- -webkit-border-radius: 5px
44
- -moz-border-radius: 5px
45
- border-radius: 5px
46
- -moz-background-clip: padding
47
- -webkit-background-clip: padding-box
48
- background-clip: padding-box
49
- border: 1px solid #aaaaaa
50
- -webkit-box-shadow: 0 0 3px white inset, 0 1px 1px rgba(0, 0, 0, 0.1)
51
- -moz-box-shadow: 0 0 3px white inset, 0 1px 1px rgba(0, 0, 0, 0.1)
52
- box-shadow: 0 0 3px white inset, 0 1px 1px rgba(0, 0, 0, 0.1)
53
- display: block
54
- overflow: hidden
55
- white-space: nowrap
56
- position: relative
57
- height: 23px
58
- line-height: 24px
59
- padding: 0 0 0 8px
60
- color: #444444
61
- text-decoration: none
62
- .chzn-default
63
- color: #999
64
- .chzn-single span
65
- margin-right: 26px
66
- display: block
67
- overflow: hidden
68
- white-space: nowrap
69
- -o-text-overflow: ellipsis
70
- -ms-text-overflow: ellipsis
71
- text-overflow: ellipsis
72
- .chzn-single-with-deselect span
73
- margin-right: 38px
74
- .chzn-single abbr
75
- display: block
76
- position: absolute
77
- right: 26px
78
- top: 6px
79
- width: 12px
80
- height: 12px
81
- font-size: 1px
82
- background: image-url('chosen-sprite.png') -42px 1px no-repeat
83
- &:hover
84
- background-position: -42px -10px
85
- &.chzn-disabled .chzn-single abbr:hover
86
- background-position: -42px -10px
87
- .chzn-single div
88
- position: absolute
89
- right: 0
90
- top: 0
91
- display: block
92
- height: 100%
93
- width: 18px
94
- b
95
- background: image-url('chosen-sprite.png') no-repeat 0px 2px
96
- display: block
97
- width: 100%
98
- height: 100%
99
- .chzn-search
100
- padding: 3px 4px
101
- position: relative
102
- margin: 0
103
- white-space: nowrap
104
- z-index: 1010
105
- input
106
- background: white image-url('chosen-sprite.png') no-repeat 100% -20px
107
- background: image-url('chosen-sprite.png') no-repeat 100% -20px, -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, white))
108
- background: image-url('chosen-sprite.png') no-repeat 100% -20px, -webkit-linear-gradient(top, #eeeeee 1%, white 15%)
109
- background: image-url('chosen-sprite.png') no-repeat 100% -20px, -moz-linear-gradient(top, #eeeeee 1%, white 15%)
110
- background: image-url('chosen-sprite.png') no-repeat 100% -20px, -o-linear-gradient(top, #eeeeee 1%, white 15%)
111
- background: image-url('chosen-sprite.png') no-repeat 100% -20px, linear-gradient(#eeeeee 1%, white 15%)
112
- margin: 1px 0
113
- padding: 4px 20px 4px 5px
114
- outline: 0
115
- border: 1px solid #aaa
116
- font-family: sans-serif
117
- font-size: 1em
118
- width: 100%
119
- -moz-box-sizing: border-box
120
- -ms-box-sizing: border-box
121
- -webkit-box-sizing: border-box
122
- -khtml-box-sizing: border-box
123
- box-sizing: border-box
124
- .chzn-drop
125
- margin-top: -1px
126
- -webkit-border-radius: 0 0 4px 4px
127
- -moz-border-radius: 0 0 4px 4px
128
- border-radius: 0 0 4px 4px
129
- -moz-background-clip: padding
130
- -webkit-background-clip: padding-box
131
- background-clip: padding-box
132
-
133
- .chzn-container-single-nosearch .chzn-search
134
- position: absolute
135
- left: -9999px
136
-
137
- /* @end
138
-
139
- /* @group Multi Chosen
140
-
141
- .chzn-container-multi .chzn-choices
142
- background-color: #fff
143
- background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, white))
144
- background-image: -webkit-linear-gradient(top, #eeeeee 1%, white 15%)
145
- background-image: -moz-linear-gradient(top, #eeeeee 1%, white 15%)
146
- background-image: -o-linear-gradient(top, #eeeeee 1%, white 15%)
147
- background-image: linear-gradient(#eeeeee 1%, white 15%)
148
- border: 1px solid #aaa
149
- margin: 0
150
- padding: 0
151
- cursor: text
152
- overflow: hidden
153
- height: auto !important
154
- height: 1%
155
- position: relative
156
- width: 100%
157
- -moz-box-sizing: border-box
158
- -ms-box-sizing: border-box
159
- -webkit-box-sizing: border-box
160
- -khtml-box-sizing: border-box
161
- box-sizing: border-box
162
- li
163
- float: left
164
- list-style: none
165
- .search-field
166
- white-space: nowrap
167
- margin: 0
168
- padding: 0
169
- input
170
- color: #666
171
- background: transparent !important
172
- border: 0 !important
173
- font-family: sans-serif
174
- font-size: 100%
175
- height: 15px
176
- padding: 5px
177
- margin: 1px 0
178
- outline: 0
179
- -webkit-box-shadow: none
180
- -moz-box-shadow: none
181
- box-shadow: none
182
- .default
183
- color: #999
184
- .search-choice
185
- -webkit-border-radius: 3px
186
- -moz-border-radius: 3px
187
- border-radius: 3px
188
- -moz-background-clip: padding
189
- -webkit-background-clip: padding-box
190
- background-clip: padding-box
191
- background-color: #e4e4e4
192
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f4f4f4', endColorstr='#eeeeee', GradientType=0 )
193
- 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))
194
- background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%)
195
- background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%)
196
- background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%)
197
- background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%)
198
- -webkit-box-shadow: 0 0 2px white inset, 0 1px 0 rgba(0, 0, 0, 0.05)
199
- -moz-box-shadow: 0 0 2px white inset, 0 1px 0 rgba(0, 0, 0, 0.05)
200
- box-shadow: 0 0 2px white inset, 0 1px 0 rgba(0, 0, 0, 0.05)
201
- color: #333
202
- border: 1px solid #aaaaaa
203
- line-height: 13px
204
- padding: 3px 20px 3px 5px
205
- margin: 3px 0 3px 5px
206
- position: relative
207
- cursor: default
208
- &.search-choice-disabled
209
- background-color: #e4e4e4
210
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f4f4f4', endColorstr='#eeeeee', GradientType=0 )
211
- 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))
212
- background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%)
213
- background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%)
214
- background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%)
215
- background-image: -ms-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%)
216
- background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%)
217
- color: #666
218
- border: 1px solid #cccccc
219
- padding-right: 5px
220
- .search-choice-focus
221
- background: #d4d4d4
222
- .search-choice .search-choice-close
223
- display: block
224
- position: absolute
225
- right: 3px
226
- top: 4px
227
- width: 12px
228
- height: 12px
229
- font-size: 1px
230
- background: image-url('chosen-sprite.png') -42px 1px no-repeat
231
- &:hover
232
- background-position: -42px -10px
233
- .search-choice-focus .search-choice-close
234
- background-position: -42px -10px
235
-
236
- /* @end
237
-
238
- /* @group Results
239
-
240
- .chzn-container .chzn-results
241
- margin: 0 4px 4px 0
242
- max-height: 240px
243
- padding: 0 0 0 4px
244
- position: relative
245
- overflow-x: hidden
246
- overflow-y: auto
247
- -webkit-overflow-scrolling: touch
248
-
249
- .chzn-container-multi .chzn-results
250
- margin: 0
251
- padding: 0
252
-
253
- .chzn-container .chzn-results
254
- li
255
- display: none
256
- line-height: 15px
257
- padding: 5px 6px
258
- margin: 0
259
- list-style: none
260
- .active-result
261
- cursor: pointer
262
- display: list-item
263
- .disabled-result
264
- color: #ccc
265
- cursor: default
266
- display: list-item
267
- em
268
- background: transparent
269
- .highlighted
270
- background-color: #3875d7
271
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3875d7', endColorstr='#2a62bc', GradientType=0 )
272
- background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, #3875d7), color-stop(90%, #2a62bc))
273
- background-image: -webkit-linear-gradient(top, #3875d7 20%, #2a62bc 90%)
274
- background-image: -moz-linear-gradient(top, #3875d7 20%, #2a62bc 90%)
275
- background-image: -o-linear-gradient(top, #3875d7 20%, #2a62bc 90%)
276
- background-image: linear-gradient(#3875d7 20%, #2a62bc 90%)
277
- color: #fff
278
- li em
279
- background: #feffde
280
- font-style: normal
281
- .highlighted em
282
- background: transparent
283
- .no-results
284
- background: #f4f4f4
285
- display: list-item
286
- .group-result
287
- cursor: default
288
- color: #999
289
- font-weight: bold
290
- display: list-item
291
- .group-option
292
- padding-left: 15px
293
-
294
- .chzn-container-multi .chzn-drop .result-selected
295
- color: #ccc
296
- cursor: default
297
- display: list-item
298
- em
299
- background: transparent
300
-
301
- .chzn-container
302
- .chzn-results-scroll
303
- background: white
304
- margin: 0 4px
305
- position: absolute
306
- text-align: center
307
- width: 321px
308
- /* This should by dynamic with js
309
- z-index: 1
310
- span
311
- display: inline-block
312
- height: 17px
313
- text-indent: -5000px
314
- width: 9px
315
- .chzn-results-scroll-down
316
- bottom: 0
317
- span
318
- background: image-url('chosen-sprite.png') no-repeat -4px -3px
319
- .chzn-results-scroll-up span
320
- background: image-url('chosen-sprite.png') no-repeat -22px -3px
321
-
322
- /* @end
323
-
324
- /* @group Active
325
-
326
- .chzn-container-active
327
- .chzn-single
328
- -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3)
329
- -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3)
330
- box-shadow: 0 0 5px rgba(0, 0, 0, 0.3)
331
- border: 1px solid #5897fb
332
- &.chzn-with-drop .chzn-single
333
- border: 1px solid #aaa
334
- -webkit-box-shadow: 0 1px 0 #fff inset
335
- -moz-box-shadow: 0 1px 0 #fff inset
336
- box-shadow: 0 1px 0 #fff inset
337
- background-color: #eee
338
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0 )
339
- background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, #eeeeee), color-stop(80%, white))
340
- background-image: -webkit-linear-gradient(top, #eeeeee 20%, white 80%)
341
- background-image: -moz-linear-gradient(top, #eeeeee 20%, white 80%)
342
- background-image: -o-linear-gradient(top, #eeeeee 20%, white 80%)
343
- background-image: linear-gradient(#eeeeee 20%, white 80%)
344
- -webkit-border-bottom-left-radius: 0
345
- -webkit-border-bottom-right-radius: 0
346
- -moz-border-radius-bottomleft: 0
347
- -moz-border-radius-bottomright: 0
348
- border-bottom-left-radius: 0
349
- border-bottom-right-radius: 0
350
- div
351
- background: transparent
352
- border-left: none
353
- b
354
- background-position: -18px 2px
355
- .chzn-choices
356
- -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3)
357
- -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3)
358
- box-shadow: 0 0 5px rgba(0, 0, 0, 0.3)
359
- border: 1px solid #5897fb
360
- .search-field input
361
- color: #111 !important
362
-
363
- /* @end
364
-
365
- /* @group Disabled Support
366
-
367
- .chzn-disabled
368
- cursor: default
369
- opacity: 0.5 !important
370
- .chzn-single, .chzn-choices .search-choice .search-choice-close
371
- cursor: default
372
-
373
- /* @group Right to Left
374
-
375
- .chzn-rtl
376
- text-align: right
377
- .chzn-single
378
- padding: 0 8px 0 0
379
- overflow: visible
380
- span
381
- margin-left: 26px
382
- margin-right: 0
383
- direction: rtl
384
- .chzn-single-with-deselect span
385
- margin-left: 38px
386
- .chzn-single
387
- div
388
- left: 3px
389
- right: auto
390
- abbr
391
- left: 26px
392
- right: auto
393
- .chzn-choices
394
- .search-field input
395
- direction: rtl
396
- li
397
- float: right
398
- .search-choice
399
- padding: 3px 5px 3px 19px
400
- margin: 3px 5px 3px 0
401
- .search-choice-close
402
- left: 4px
403
- right: auto
404
- .chzn-container-single-nosearch .chzn-search, .chzn-drop
405
- left: 9999px
406
- &.chzn-container-single .chzn-results
407
- margin: 0 0 4px 4px
408
- padding: 0 4px 0 0
409
- .chzn-results .group-option
410
- padding-left: 0
411
- padding-right: 15px
412
- &.chzn-container-active.chzn-with-drop .chzn-single div
413
- border-right: none
414
- .chzn-search input
415
- background: white image-url('chosen-sprite.png') no-repeat -30px -20px
416
- background: image-url('chosen-sprite.png') no-repeat -30px -20px, -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, white))
417
- background: image-url('chosen-sprite.png') no-repeat -30px -20px, -webkit-linear-gradient(top, #eeeeee 1%, white 15%)
418
- background: image-url('chosen-sprite.png') no-repeat -30px -20px, -moz-linear-gradient(top, #eeeeee 1%, white 15%)
419
- background: image-url('chosen-sprite.png') no-repeat -30px -20px, -o-linear-gradient(top, #eeeeee 1%, white 15%)
420
- background: image-url('chosen-sprite.png') no-repeat -30px -20px, linear-gradient(#eeeeee 1%, white 15%)
421
- padding: 4px 5px 4px 20px
422
- direction: rtl
423
-
424
- .chzn-container-single.chzn-rtl
425
- .chzn-single div b
426
- background-position: 6px 2px
427
- &.chzn-with-drop .chzn-single div b
428
- background-position: -12px 2px
429
-
430
- /* @end
431
-
432
- /* @group Retina compatibility
433
- @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 144dpi)
434
- .chzn-rtl .chzn-search input
435
- background-image: image-url('chosen-sprite@2x.png') !important
436
- background-repeat: no-repeat !important
437
- background-size: 52px 37px !important
438
- .chzn-container-single
439
- .chzn-single
440
- abbr, div b
441
- background-image: image-url('chosen-sprite@2x.png') !important
442
- background-repeat: no-repeat !important
443
- background-size: 52px 37px !important
444
- .chzn-search input
445
- background-image: image-url('chosen-sprite@2x.png') !important
446
- background-repeat: no-repeat !important
447
- background-size: 52px 37px !important
448
- .chzn-container-multi .chzn-choices .search-choice .search-choice-close
449
- background-image: image-url('chosen-sprite@2x.png') !important
450
- background-repeat: no-repeat !important
451
- background-size: 52px 37px !important
452
- .chzn-container
453
- .chzn-results-scroll-down span, .chzn-results-scroll-up span
454
- background-image: image-url('chosen-sprite@2x.png') !important
455
- background-repeat: no-repeat !important
456
- background-size: 52px 37px !important
457
-
458
- /* @end