2 Chosen, a Select Box Enhancer for jQuery and Prototype
3 by Patrick Filler for Harvest, http://getharvest.com
6 Full source at https://github.com/harvesthq/chosen
7 Copyright (c) 2011-2017 Harvest http://getharvest.com
9 MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
10 This file is generated by `grunt build`, do not edit it by hand.
16 display: inline-block
;
17 vertical-align: middle
;
19 -webkit-user-select: none
;
20 -moz-user-select: none
;
21 -ms-user-select: none
;
26 -webkit-box-sizing: border-box
;
27 box-sizing: border-box
;
30 .chosen-container .chosen-drop {
35 border: 1px solid
#aaa;
38 -webkit-box-shadow: 0 4px 5px rgba
(0, 0, 0, 0.15);
39 box-shadow: 0 4px 5px rgba
(0, 0, 0, 0.15);
40 clip: rect
(0, 0, 0, 0);
43 .chosen-container.chosen-with-drop .chosen-drop {
51 .chosen-container .search-choice .group-name, .chosen-container .chosen-single .group-name {
55 text-overflow: ellipsis
;
60 .chosen-container .search-choice .group-name:after, .chosen-container .chosen-single .group-name:after {
67 /* @group Single Chosen */
68 .chosen-container-single .chosen-single {
74 border: 1px solid
#aaa;
76 background-color: #fff;
77 background: -webkit-gradient
(linear
, left top
, left bottom
, color-stop
(20%, #fff), color-stop
(50%, #f6f6f6), color-stop
(52%, #eee), to
(#f4f4f4));
78 background: linear-gradient
(#fff 20%, #f6f6f6 50%, #eee 52%, #f4f4f4 100%);
79 background-clip: padding-box
;
80 -webkit-box-shadow: 0 0 3px #fff inset
, 0 1px 1px rgba
(0, 0, 0, 0.1);
81 box-shadow: 0 0 3px #fff inset
, 0 1px 1px rgba
(0, 0, 0, 0.1);
83 text-decoration: none
;
88 .chosen-container-single .chosen-default {
92 .chosen-container-single .chosen-single span {
96 text-overflow: ellipsis
;
100 .chosen-container-single .chosen-single-with-deselect span {
104 .chosen-container-single .chosen-single abbr {
111 background: url
("chosen-sprite.png") -42px 1px no-repeat
;
115 .chosen-container-single .chosen-single abbr:hover {
116 background-position: -42px -10px;
119 .chosen-container-single.chosen-disabled .chosen-single abbr:hover {
120 background-position: -42px -10px;
123 .chosen-container-single .chosen-single div {
132 .chosen-container-single .chosen-single div b {
136 background: url
("chosen-sprite.png") no-repeat
0px 2px;
139 .chosen-container-single .chosen-search {
147 .chosen-container-single .chosen-search input[type="text"] {
149 padding: 4px 20px 4px 5px;
153 border: 1px solid
#aaa;
154 background: url
("chosen-sprite.png") no-repeat
100% -20px;
156 font-family: sans-serif
;
161 .chosen-container-single .chosen-drop {
163 border-radius: 0 0 4px 4px;
164 background-clip: padding-box
;
167 .chosen-container-single.chosen-container-single-nosearch .chosen-search {
169 clip: rect
(0, 0, 0, 0);
174 .chosen-container .chosen-results {
182 -webkit-overflow-scrolling: touch
;
185 .chosen-container .chosen-results li {
191 word-wrap: break-word
;
192 -webkit-touch-callout: none
;
195 .chosen-container .chosen-results li.active-result {
200 .chosen-container .chosen-results li.disabled-result {
206 .chosen-container .chosen-results li.highlighted {
207 background-color: #3875d7;
208 background-image: -webkit-gradient
(linear
, left top
, left bottom
, color-stop
(20%, #3875d7), color-stop
(90%, #2a62bc));
209 background-image: linear-gradient
(#3875d7 20%, #2a62bc 90%);
213 .chosen-container .chosen-results li.no-results {
219 .chosen-container .chosen-results li.group-result {
225 .chosen-container .chosen-results li.group-option {
229 .chosen-container .chosen-results li em {
231 text-decoration: underline
;
235 /* @group Multi Chosen */
236 .chosen-container-multi .chosen-choices {
243 border: 1px solid
#aaa;
244 background-color: #fff;
245 background-image: -webkit-gradient
(linear
, left top
, left bottom
, color-stop
(1%, #eee), color-stop
(15%, #fff));
246 background-image: linear-gradient
(#eee 1%, #fff 15%);
250 .chosen-container-multi .chosen-choices li {
255 .chosen-container-multi .chosen-choices li.search-field {
261 .chosen-container-multi .chosen-choices li.search-field input[type="text"] {
266 border: 0 !important
;
267 background: transparent
!important
;
268 -webkit-box-shadow: none
;
272 font-family: sans-serif
;
278 .chosen-container-multi .chosen-choices li.search-choice {
280 margin: 3px 5px 3px 0;
281 padding: 3px 20px 3px 5px;
282 border: 1px solid
#aaa;
285 background-color: #eeeeee;
286 background-image: -webkit-gradient
(linear
, left top
, left bottom
, color-stop
(20%, #f4f4f4), color-stop
(50%, #f0f0f0), color-stop
(52%, #e8e8e8), to
(#eee));
287 background-image: linear-gradient
(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
288 background-size: 100% 19px;
289 background-repeat: repeat-x
;
290 background-clip: padding-box
;
291 -webkit-box-shadow: 0 0 2px #fff inset
, 0 1px 0 rgba
(0, 0, 0, 0.05);
292 box-shadow: 0 0 2px #fff inset
, 0 1px 0 rgba
(0, 0, 0, 0.05);
298 .chosen-container-multi .chosen-choices li.search-choice span {
299 word-wrap: break-word
;
302 .chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
309 background: url
("chosen-sprite.png") -42px 1px no-repeat
;
313 .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover {
314 background-position: -42px -10px;
317 .chosen-container-multi .chosen-choices li.search-choice-disabled {
319 border: 1px solid
#ccc;
320 background-color: #e4e4e4;
321 background-image: -webkit-gradient
(linear
, left top
, left bottom
, color-stop
(20%, #f4f4f4), color-stop
(50%, #f0f0f0), color-stop
(52%, #e8e8e8), to
(#eee));
322 background-image: linear-gradient
(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
326 .chosen-container-multi .chosen-choices li.search-choice-focus {
330 .chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close {
331 background-position: -42px -10px;
334 .chosen-container-multi .chosen-results {
339 .chosen-container-multi .chosen-drop .result-selected {
347 .chosen-container-active .chosen-single {
348 border: 1px solid
#5897fb;
349 -webkit-box-shadow: 0 0 5px rgba
(0, 0, 0, 0.3);
350 box-shadow: 0 0 5px rgba
(0, 0, 0, 0.3);
353 .chosen-container-active.chosen-with-drop .chosen-single {
354 border: 1px solid
#aaa;
355 border-bottom-right-radius: 0;
356 border-bottom-left-radius: 0;
357 background-image: -webkit-gradient
(linear
, left top
, left bottom
, color-stop
(20%, #eee), color-stop
(80%, #fff));
358 background-image: linear-gradient
(#eee 20%, #fff 80%);
359 -webkit-box-shadow: 0 1px 0 #fff inset
;
360 box-shadow: 0 1px 0 #fff inset
;
363 .chosen-container-active.chosen-with-drop .chosen-single div {
365 background: transparent
;
368 .chosen-container-active.chosen-with-drop .chosen-single div b {
369 background-position: -18px 2px;
372 .chosen-container-active .chosen-choices {
373 border: 1px solid
#5897fb;
374 -webkit-box-shadow: 0 0 5px rgba
(0, 0, 0, 0.3);
375 box-shadow: 0 0 5px rgba
(0, 0, 0, 0.3);
378 .chosen-container-active .chosen-choices li.search-field input[type="text"] {
379 color: #222 !important
;
383 /* @group Disabled Support */
385 opacity: 0.5 !important
;
389 .chosen-disabled .chosen-single {
393 .chosen-disabled .chosen-choices .search-choice .search-choice-close {
398 /* @group Right to Left */
403 .chosen-rtl .chosen-single {
408 .chosen-rtl .chosen-single span {
414 .chosen-rtl .chosen-single-with-deselect span {
418 .chosen-rtl .chosen-single div {
423 .chosen-rtl .chosen-single abbr {
428 .chosen-rtl .chosen-choices li {
432 .chosen-rtl .chosen-choices li.search-field input[type="text"] {
436 .chosen-rtl .chosen-choices li.search-choice {
437 margin: 3px 5px 3px 0;
438 padding: 3px 5px 3px 19px;
441 .chosen-rtl .chosen-choices li.search-choice .search-choice-close {
446 .chosen-rtl.chosen-container-single .chosen-results {
451 .chosen-rtl .chosen-results li.group-option {
456 .chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div {
460 .chosen-rtl .chosen-search input[type="text"] {
461 padding: 4px 5px 4px 20px;
462 background: url
("chosen-sprite.png") no-repeat
-30px -20px;
466 .chosen-rtl.chosen-container-single .chosen-single div b {
467 background-position: 6px 2px;
470 .chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b {
471 background-position: -12px 2px;
475 /* @group Retina compatibility */
476 @media only screen and
(-webkit-min-device-pixel-ratio: 1.5), only screen and
(min-resolution: 144dpi), only screen and
(min-resolution: 1.5dppx) {
477 .chosen-rtl
.chosen-search input
[type
="text"],
478 .chosen-container-single
.chosen-single abbr
,
479 .chosen-container-single
.chosen-single div b
,
480 .chosen-container-single
.chosen-search input
[type
="text"],
481 .chosen-container-multi
.chosen-choices
.search-choice
.search-choice-close
,
482 .chosen-container
.chosen-results-scroll-down span
,
483 .chosen-container .chosen-results-scroll-up span {
484 background-image: url
("chosen-sprite@2x.png") !important
;
485 background-size: 52px 37px !important
;
486 background-repeat: no-repeat
!important
;