2 Version: 3.4.8 Timestamp: Thu May 1 09:50:32 EDT 2014
7 /*display: inline-block;*/
8 /* inline-block for ie7 */
11 vertical-align: middle;
17 .select2-search input {
19 Force border-box so that % widths fit the parent
20 container without overlap because of margin/padding.
21 More Info : http://www.quirksmode.org/css/box.html
23 -webkit-box-sizing: border-box; /* webkit */
24 -moz-box-sizing: border-box; /* firefox */
25 box-sizing: border-box; /* css3 */
28 .select2-container .select2-choice {
35 border: 1px solid #aaa;
39 text-decoration: none;
43 background-clip: padding-box;
45 -webkit-touch-callout: none;
46 -webkit-user-select: none;
47 -moz-user-select: none;
48 -ms-user-select: none;
51 background-color: #fff;
52 background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eee), color-stop(0.5, #fff));
53 background-image: -webkit-linear-gradient(center bottom, #eee 0%, #fff 50%);
54 background-image: -moz-linear-gradient(center bottom, #eee 0%, #fff 50%);
55 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#ffffff', endColorstr = '#eeeeee', GradientType = 0);
56 background-image: linear-gradient(to top, #eee 0%, #fff 50%);
59 .select2-container.select2-drop-above .select2-choice {
60 border-bottom-color: #aaa;
62 border-radius: 0 0 4px 4px;
64 background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eee), color-stop(0.9, #fff));
65 background-image: -webkit-linear-gradient(center bottom, #eee 0%, #fff 90%);
66 background-image: -moz-linear-gradient(center bottom, #eee 0%, #fff 90%);
67 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0);
68 background-image: linear-gradient(to bottom, #eee 0%, #fff 90%);
71 .select2-container.select2-allowclear .select2-choice .select2-chosen {
75 .select2-container .select2-choice > .select2-chosen {
82 text-overflow: ellipsis;
87 .select2-container .select2-choice abbr {
96 text-decoration: none;
99 background: url('../images/select2/select2.png') right top no-repeat;
104 .select2-container.select2-allowclear .select2-choice abbr {
105 display: inline-block;
108 .select2-container .select2-choice abbr:hover {
109 background-position: right -11px;
126 /* styles required for IE to work */
127 background-color: #fff;
128 filter: alpha(opacity=0);
140 border: 1px solid #aaa;
143 border-radius: 0 0 4px 4px;
145 -webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
146 box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
149 .select2-drop.select2-drop-above {
151 border-top: 1px solid #aaa;
154 border-radius: 4px 4px 0 0;
156 -webkit-box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
157 box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
160 .select2-drop-active {
161 border: 1px solid #5897fb;
165 .select2-drop.select2-drop-above.select2-drop-active {
166 border-top: 1px solid #5897fb;
169 .select2-drop-auto-width {
170 border-top: 1px solid #aaa;
174 .select2-drop-auto-width .select2-search {
178 .select2-container .select2-choice .select2-arrow {
179 display: inline-block;
186 border-left: 1px solid #aaa;
187 border-radius: 0 4px 4px 0;
189 background-clip: padding-box;
192 background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #ccc), color-stop(0.6, #eee));
193 background-image: -webkit-linear-gradient(center bottom, #ccc 0%, #eee 60%);
194 background-image: -moz-linear-gradient(center bottom, #ccc 0%, #eee 60%);
195 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#eeeeee', endColorstr = '#cccccc', GradientType = 0);
196 background-image: linear-gradient(to top, #ccc 0%, #eee 60%);
199 .select2-container .select2-choice .select2-arrow b {
203 background: url('../images/select2/select2.png') no-repeat 0 1px;
207 display: inline-block;
220 .select2-search input {
222 height: auto !important;
224 padding: 4px 20px 4px 5px;
228 font-family: sans-serif;
231 border: 1px solid #aaa;
234 -webkit-box-shadow: none;
237 background: #fff url('../images/select2/select2.png') no-repeat 100% -22px;
238 background: url('../images/select2/select2.png') no-repeat 100% -22px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));
239 background: url('../images/select2/select2.png') no-repeat 100% -22px, -webkit-linear-gradient(center bottom, #fff 85%, #eee 99%);
240 background: url('../images/select2/select2.png') no-repeat 100% -22px, -moz-linear-gradient(center bottom, #fff 85%, #eee 99%);
241 background: url('../images/select2/select2.png') no-repeat 100% -22px, linear-gradient(to bottom, #fff 85%, #eee 99%) 0 0;
244 .select2-drop.select2-drop-above .select2-search input {
248 .select2-search input.select2-active {
249 background: #fff url('../images/select2/select2-spinner.gif') no-repeat 100%;
250 background: url('../images/select2/select2-spinner.gif') no-repeat 100%, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));
251 background: url('../images/select2/select2-spinner.gif') no-repeat 100%, -webkit-linear-gradient(center bottom, #fff 85%, #eee 99%);
252 background: url('../images/select2/select2-spinner.gif') no-repeat 100%, -moz-linear-gradient(center bottom, #fff 85%, #eee 99%);
253 background: url('../images/select2/select2-spinner.gif') no-repeat 100%, linear-gradient(to bottom, #fff 85%, #eee 99%) 0 0;
256 .select2-container-active .select2-choice,
257 .select2-container-active .select2-choices {
258 border: 1px solid #5897fb;
261 -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .3);
262 box-shadow: 0 0 5px rgba(0, 0, 0, .3);
265 .select2-dropdown-open .select2-choice {
266 border-bottom-color: transparent;
267 -webkit-box-shadow: 0 1px 0 #fff inset;
268 box-shadow: 0 1px 0 #fff inset;
270 border-bottom-left-radius: 0;
271 border-bottom-right-radius: 0;
273 background-color: #eee;
274 background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #fff), color-stop(0.5, #eee));
275 background-image: -webkit-linear-gradient(center bottom, #fff 0%, #eee 50%);
276 background-image: -moz-linear-gradient(center bottom, #fff 0%, #eee 50%);
277 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);
278 background-image: linear-gradient(to top, #fff 0%, #eee 50%);
281 .select2-dropdown-open.select2-drop-above .select2-choice,
282 .select2-dropdown-open.select2-drop-above .select2-choices {
283 border: 1px solid #5897fb;
284 border-top-color: transparent;
286 background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(0.5, #eee));
287 background-image: -webkit-linear-gradient(center top, #fff 0%, #eee 50%);
288 background-image: -moz-linear-gradient(center top, #fff 0%, #eee 50%);
289 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);
290 background-image: linear-gradient(to bottom, #fff 0%, #eee 50%);
293 .select2-dropdown-open .select2-choice .select2-arrow {
294 background: transparent;
298 .select2-dropdown-open .select2-choice .select2-arrow b {
299 background-position: -18px 1px;
302 .select2-hidden-accessible {
317 margin: 4px 4px 4px 0;
321 -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
324 .select2-results ul.select2-result-sub {
329 .select2-results li {
332 background-image: none;
335 .select2-results li.select2-result-with-children > .select2-result-label {
339 .select2-results .select2-result-label {
340 padding: 3px 7px 4px;
346 -webkit-touch-callout: none;
347 -webkit-user-select: none;
348 -moz-user-select: none;
349 -ms-user-select: none;
353 .select2-results-dept-1 .select2-result-label { padding-left: 20px }
354 .select2-results-dept-2 .select2-result-label { padding-left: 40px }
355 .select2-results-dept-3 .select2-result-label { padding-left: 60px }
356 .select2-results-dept-4 .select2-result-label { padding-left: 80px }
357 .select2-results-dept-5 .select2-result-label { padding-left: 100px }
358 .select2-results-dept-6 .select2-result-label { padding-left: 110px }
359 .select2-results-dept-7 .select2-result-label { padding-left: 120px }
361 .select2-results .select2-highlighted {
366 .select2-results li em {
371 .select2-results .select2-highlighted em {
372 background: transparent;
375 .select2-results .select2-highlighted ul {
381 .select2-results .select2-no-results,
382 .select2-results .select2-searching,
383 .select2-results .select2-selection-limit {
390 disabled look for disabled choices in the results dropdown
392 .select2-results .select2-disabled.select2-highlighted {
398 .select2-results .select2-disabled {
404 .select2-results .select2-selected {
408 .select2-more-results.select2-active {
409 background: #f4f4f4 url('../images/select2/select2-spinner.gif') no-repeat 100%;
412 .select2-more-results {
417 /* disabled styles */
419 .select2-container.select2-container-disabled .select2-choice {
420 background-color: #f4f4f4;
421 background-image: none;
422 border: 1px solid #ddd;
426 .select2-container.select2-container-disabled .select2-choice .select2-arrow {
427 background-color: #f4f4f4;
428 background-image: none;
432 .select2-container.select2-container-disabled .select2-choice abbr {
439 .select2-container-multi .select2-choices {
440 height: auto !important;
446 border: 1px solid #aaa;
450 background-color: #fff;
451 background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eee), color-stop(15%, #fff));
452 background-image: -webkit-linear-gradient(top, #eee 1%, #fff 15%);
453 background-image: -moz-linear-gradient(top, #eee 1%, #fff 15%);
454 background-image: linear-gradient(to bottom, #eee 1%, #fff 15%);
458 padding: 3px 5px 3px 5px !important;
461 .select2-container-multi .select2-choices {
465 .select2-container-multi.select2-container-active .select2-choices {
466 border: 1px solid #5897fb;
469 -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .3);
470 box-shadow: 0 0 5px rgba(0, 0, 0, .3);
472 .select2-container-multi .select2-choices li {
476 html[dir="rtl"] .select2-container-multi .select2-choices li
480 .select2-container-multi .select2-choices .select2-search-field {
486 .select2-container-multi .select2-choices .select2-search-field input {
490 font-family: sans-serif;
495 -webkit-box-shadow: none;
497 background: transparent !important;
500 .select2-container-multi .select2-choices .select2-search-field input.select2-active {
501 background: #fff url('../images/select2/select2-spinner.gif') no-repeat 100% !important;
505 color: #999 !important;
508 .select2-container-multi .select2-choices .select2-search-choice {
509 padding: 3px 5px 3px 18px;
510 margin: 3px 0 3px 5px;
516 border: 1px solid #aaaaaa;
520 -webkit-box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
521 box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
523 background-clip: padding-box;
525 -webkit-touch-callout: none;
526 -webkit-user-select: none;
527 -moz-user-select: none;
528 -ms-user-select: none;
531 background-color: #e4e4e4;
532 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#f4f4f4', GradientType=0);
533 background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eee));
534 background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
535 background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
536 background-image: linear-gradient(to top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
538 html[dir="rtl"] .select2-container-multi .select2-choices .select2-search-choice
543 .select2-container-multi .select2-choices .select2-search-choice .select2-chosen {
546 .select2-container-multi .select2-choices .select2-search-choice-focus {
550 .select2-search-choice-close {
560 background: url('../images/select2/select2.png') right top no-repeat;
562 html[dir="rtl"] .select2-search-choice-close {
567 .select2-container-multi .select2-search-choice-close {
571 .select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover {
572 background-position: right -11px;
574 .select2-container-multi .select2-choices .select2-search-choice-focus .select2-search-choice-close {
575 background-position: right -11px;
578 /* disabled styles */
579 .select2-container-multi.select2-container-disabled .select2-choices {
580 background-color: #f4f4f4;
581 background-image: none;
582 border: 1px solid #ddd;
586 .select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice {
587 padding: 3px 5px 3px 5px;
588 border: 1px solid #ddd;
589 background-image: none;
590 background-color: #f4f4f4;
593 .select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice .select2-search-choice-close { display: none;
596 /* end multiselect */
599 .select2-result-selectable .select2-match,
600 .select2-result-unselectable .select2-match {
601 text-decoration: underline;
604 .select2-offscreen, .select2-offscreen:focus {
605 clip: rect(0 0 0 0) !important;
606 width: 1px !important;
607 height: 1px !important;
608 border: 0 !important;
609 margin: 0 !important;
610 padding: 0 !important;
611 overflow: hidden !important;
612 position: absolute !important;
613 outline: 0 !important;
614 left: 0px !important;
618 .select2-display-none {
622 .select2-measure-scrollbar {
631 /* Retina-ize icons */
633 @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 2dppx) {
634 .select2-search input,
635 .select2-search-choice-close,
636 .select2-container .select2-choice abbr,
637 .select2-container .select2-choice .select2-arrow b {
638 background-image: url('../images/select2/select2x2.png') !important;
639 background-repeat: no-repeat !important;
640 background-size: 60px 40px !important;
643 .select2-search input {
644 background-position: 100% -21px !important;