2 Version: @@ver@@ Timestamp: @@timestamp@@
7 /* inline-block for ie7 */
16 .select2-search input{
18 Force border-box so that % widths fit the parent
19 container without overlap because of margin/padding.
21 More Info : http://www.quirksmode.org/css/box.html
23 -moz-box-sizing: border-box; /* firefox */
24 -ms-box-sizing: border-box; /* ie */
25 -webkit-box-sizing: border-box; /* webkit */
26 -khtml-box-sizing: border-box; /* konqueror */
27 box-sizing: border-box; /* css3 */
30 .select2-container .select2-choice {
31 background-color: #fff;
32 background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eeeeee), color-stop(0.5, white));
33 background-image: -webkit-linear-gradient(center bottom, #eeeeee 0%, white 50%);
34 background-image: -moz-linear-gradient(center bottom, #eeeeee 0%, white 50%);
35 background-image: -o-linear-gradient(bottom, #eeeeee 0%, #ffffff 50%);
36 background-image: -ms-linear-gradient(top, #eeeeee 0%, #ffffff 50%);
37 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#eeeeee', endColorstr = '#ffffff', GradientType = 0);
38 background-image: linear-gradient(top, #eeeeee 0%, #ffffff 50%);
39 -webkit-border-radius: 4px;
40 -moz-border-radius: 4px;
42 -moz-background-clip: padding;
43 -webkit-background-clip: padding-box;
44 background-clip: padding-box;
45 border: 1px solid #aaa;
54 text-decoration: none;
57 .select2-container.select2-drop-above .select2-choice
59 border-bottom-color: #aaa;
60 -webkit-border-radius:0px 0px 4px 4px;
61 -moz-border-radius:0px 0px 4px 4px;
62 border-radius:0px 0px 4px 4px;
63 background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eeeeee), color-stop(0.9, white));
64 background-image: -webkit-linear-gradient(center bottom, #eeeeee 0%, white 90%);
65 background-image: -moz-linear-gradient(center bottom, #eeeeee 0%, white 90%);
66 background-image: -o-linear-gradient(bottom, #eeeeee 0%, white 90%);
67 background-image: -ms-linear-gradient(top, #eeeeee 0%,#ffffff 90%);
68 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#ffffff',GradientType=0 );
69 background-image: linear-gradient(top, #eeeeee 0%,#ffffff 90%);
72 .select2-container .select2-choice span {
77 -o-text-overflow: ellipsis;
78 -ms-text-overflow: ellipsis;
79 text-overflow: ellipsis;
82 .select2-container .select2-choice abbr {
90 background: url('select2.png') right top no-repeat;
92 text-decoration: none;
96 .select2-container .select2-choice abbr:hover {
97 background-position: right -11px;
104 border: 1px solid #aaa;
108 -webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
109 -moz-box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
110 -o-box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
111 box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
116 -webkit-border-radius: 0 0 4px 4px;
117 -moz-border-radius: 0 0 4px 4px;
118 border-radius: 0 0 4px 4px;
121 .select2-drop.select2-drop-above {
122 -webkit-border-radius: 4px 4px 0px 0px;
123 -moz-border-radius: 4px 4px 0px 0px;
124 border-radius: 4px 4px 0px 0px;
126 border-top: 1px solid #aaa;
129 -webkit-box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
130 -moz-box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
131 -o-box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
132 box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
135 .select2-container .select2-choice div {
136 -webkit-border-radius: 0 4px 4px 0;
137 -moz-border-radius: 0 4px 4px 0;
138 border-radius: 0 4px 4px 0;
139 -moz-background-clip: padding;
140 -webkit-background-clip: padding-box;
141 background-clip: padding-box;
143 background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #ccc), color-stop(0.6, #eee));
144 background-image: -webkit-linear-gradient(center bottom, #ccc 0%, #eee 60%);
145 background-image: -moz-linear-gradient(center bottom, #ccc 0%, #eee 60%);
146 background-image: -o-linear-gradient(bottom, #ccc 0%, #eee 60%);
147 background-image: -ms-linear-gradient(top, #cccccc 0%, #eeeeee 60%);
148 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#cccccc', endColorstr = '#eeeeee', GradientType = 0);
149 background-image: linear-gradient(top, #cccccc 0%, #eeeeee 60%);
150 border-left: 1px solid #aaa;
159 .select2-container .select2-choice div b {
160 background: url('select2.png') no-repeat 0 1px;
167 display: inline-block;
177 .select2-search-hidden {
183 .select2-search input {
184 background: #fff url('select2.png') no-repeat 100% -22px;
185 background: url('select2.png') no-repeat 100% -22px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, white), color-stop(0.99, #eeeeee));
186 background: url('select2.png') no-repeat 100% -22px, -webkit-linear-gradient(center bottom, white 85%, #eeeeee 99%);
187 background: url('select2.png') no-repeat 100% -22px, -moz-linear-gradient(center bottom, white 85%, #eeeeee 99%);
188 background: url('select2.png') no-repeat 100% -22px, -o-linear-gradient(bottom, white 85%, #eeeeee 99%);
189 background: url('select2.png') no-repeat 100% -22px, -ms-linear-gradient(top, #ffffff 85%, #eeeeee 99%);
190 background: url('select2.png') no-repeat 100% -22px, linear-gradient(top, #ffffff 85%, #eeeeee 99%);
191 padding: 4px 20px 4px 5px;
193 border: 1px solid #aaa;
194 font-family: sans-serif;
198 height:auto !important;
200 -webkit-box-shadow: none;
201 -moz-box-shadow: none;
204 -moz-border-radius: 0;
205 -webkit-border-radius: 0;
208 .select2-drop.select2-drop-above .select2-search input
213 .select2-search input.select2-active {
214 background: #fff url('spinner.gif') no-repeat 100%;
215 background: url('spinner.gif') no-repeat 100%, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, white), color-stop(0.99, #eeeeee));
216 background: url('spinner.gif') no-repeat 100%, -webkit-linear-gradient(center bottom, white 85%, #eeeeee 99%);
217 background: url('spinner.gif') no-repeat 100%, -moz-linear-gradient(center bottom, white 85%, #eeeeee 99%);
218 background: url('spinner.gif') no-repeat 100%, -o-linear-gradient(bottom, white 85%, #eeeeee 99%);
219 background: url('spinner.gif') no-repeat 100%, -ms-linear-gradient(top, #ffffff 85%, #eeeeee 99%);
220 background: url('spinner.gif') no-repeat 100%, linear-gradient(top, #ffffff 85%, #eeeeee 99%);
224 .select2-container-active .select2-choice,
225 .select2-container-active .select2-choices {
226 -webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
227 -moz-box-shadow : 0 0 5px rgba(0,0,0,.3);
228 -o-box-shadow : 0 0 5px rgba(0,0,0,.3);
229 box-shadow : 0 0 5px rgba(0,0,0,.3);
230 border: 1px solid #5897fb;
234 .select2-dropdown-open .select2-choice {
235 border: 1px solid #aaa;
236 border-bottom-color: transparent;
237 -webkit-box-shadow: 0 1px 0 #fff inset;
238 -moz-box-shadow : 0 1px 0 #fff inset;
239 -o-box-shadow : 0 1px 0 #fff inset;
240 box-shadow : 0 1px 0 #fff inset;
241 background-color: #eee;
242 background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, white), color-stop(0.5, #eeeeee));
243 background-image: -webkit-linear-gradient(center bottom, white 0%, #eeeeee 50%);
244 background-image: -moz-linear-gradient(center bottom, white 0%, #eeeeee 50%);
245 background-image: -o-linear-gradient(bottom, white 0%, #eeeeee 50%);
246 background-image: -ms-linear-gradient(top, #ffffff 0%,#eeeeee 50%);
247 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eeeeee',GradientType=0 );
248 background-image: linear-gradient(top, #ffffff 0%,#eeeeee 50%);
249 -webkit-border-bottom-left-radius : 0;
250 -webkit-border-bottom-right-radius: 0;
251 -moz-border-radius-bottomleft : 0;
252 -moz-border-radius-bottomright: 0;
253 border-bottom-left-radius : 0;
254 border-bottom-right-radius: 0;
257 .select2-dropdown-open .select2-choice div {
258 background: transparent;
261 .select2-dropdown-open .select2-choice div b {
262 background-position: -18px 1px;
267 margin: 4px 4px 4px 0;
275 .select2-results ul.select2-result-sub {
279 .select2-results ul.select2-result-sub > li .select2-result-label { padding-left: 20px }
280 .select2-results ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 40px }
281 .select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 60px }
282 .select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 80px }
283 .select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 100px }
284 .select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 110px }
285 .select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 120px }
287 .select2-results li {
292 .select2-results li.select2-result-with-children > .select2-result-label {
296 .select2-results .select2-result-label {
297 padding: 3px 7px 4px;
302 .select2-results .select2-highlighted {
306 .select2-results li em {
310 .select2-results .select2-highlighted em {
311 background: transparent;
313 .select2-results .select2-no-results,
314 .select2-results .select2-searching,
315 .select2-results .select2-selection-limit {
321 disabled look for already selected choices in the results dropdown
322 .select2-results .select2-disabled.select2-highlighted {
328 .select2-results .select2-disabled {
334 .select2-results .select2-disabled {
338 .select2-more-results.select2-active {
339 background: #f4f4f4 url('spinner.gif') no-repeat 100%;
342 .select2-more-results {
347 /* disabled styles */
349 .select2-container.select2-container-disabled .select2-choice {
350 background-color: #f4f4f4;
351 background-image: none;
352 border: 1px solid #ddd;
356 .select2-container.select2-container-disabled .select2-choice div {
357 background-color: #f4f4f4;
358 background-image: none;
365 .select2-container-multi .select2-choices {
366 background-color: #fff;
367 background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
368 background-image: -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
369 background-image: -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
370 background-image: -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
371 background-image: -ms-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
372 background-image: linear-gradient(top, #eeeeee 1%, #ffffff 15%);
373 border: 1px solid #aaa;
378 height: auto !important;
383 .select2-container-multi .select2-choices {
387 .select2-container-multi.select2-container-active .select2-choices {
388 -webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
389 -moz-box-shadow : 0 0 5px rgba(0,0,0,.3);
390 -o-box-shadow : 0 0 5px rgba(0,0,0,.3);
391 box-shadow : 0 0 5px rgba(0,0,0,.3);
392 border: 1px solid #5897fb;
395 .select2-container-multi .select2-choices li {
399 .select2-container-multi .select2-choices .select2-search-field {
405 .select2-container-multi .select2-choices .select2-search-field input {
407 background: transparent !important;
408 font-family: sans-serif;
415 -webkit-box-shadow: none;
416 -moz-box-shadow : none;
417 -o-box-shadow : none;
421 .select2-container-multi .select2-choices .select2-search-field input.select2-active {
422 background: #fff url('spinner.gif') no-repeat 100% !important;
426 color: #999 !important;
429 .select2-container-multi .select2-choices .select2-search-choice {
430 -webkit-border-radius: 3px;
431 -moz-border-radius : 3px;
433 -moz-background-clip : padding;
434 -webkit-background-clip: padding-box;
435 background-clip : padding-box;
436 background-color: #e4e4e4;
437 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f4f4', endColorstr='#eeeeee', GradientType=0 );
438 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));
439 background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
440 background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
441 background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
442 background-image: -ms-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
443 background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
444 -webkit-box-shadow: 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
445 -moz-box-shadow : 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
446 box-shadow : 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
448 border: 1px solid #aaaaaa;
450 padding: 3px 5px 3px 18px;
451 margin: 3px 0 3px 5px;
455 .select2-container-multi .select2-choices .select2-search-choice span {
458 .select2-container-multi .select2-choices .select2-search-choice-focus {
462 .select2-search-choice-close {
470 background: url('select2.png') right top no-repeat;
474 .select2-container-multi .select2-search-choice-close {
479 .select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover {
480 background-position: right -11px;
482 .select2-container-multi .select2-choices .select2-search-choice-focus .select2-search-choice-close {
483 background-position: right -11px;
486 /* disabled styles */
488 .select2-container-multi.select2-container-disabled .select2-choices{
489 background-color: #f4f4f4;
490 background-image: none;
491 border: 1px solid #ddd;
495 .select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice {
496 background-image: none;
497 background-color: #f4f4f4;
498 border: 1px solid #ddd;
499 padding: 3px 5px 3px 5px;
502 .select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice .select2-search-choice-close {
505 /* end multiselect */
507 .select2-result-selectable .select2-match,
508 .select2-result-unselectable .select2-result-selectable .select2-match { text-decoration: underline; }
509 .select2-result-unselectable .select2-match { text-decoration: none; }
511 .select2-offscreen { position: absolute; left: -10000px; }
513 /* Retina-ize icons */
515 @media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
516 .select2-search input, .select2-search-choice-close, .select2-container .select2-choice abbr, .select2-container .select2-choice div b {
517 background-image: url(select2x2.png) !important;
518 background-repeat: no-repeat !important;
519 background-size: 60px 40px !important;
521 .select2-search input {
522 background-position: 100% -21px !important;