2 Version: 3.4.5 Timestamp: Mon Nov 4 08:22:42 PST 2013
\r
7 display: inline-block;
\r
8 /* inline-block for ie7 */
\r
11 vertical-align: middle;
\r
17 .select2-search input {
\r
19 Force border-box so that % widths fit the parent
\r
20 container without overlap because of margin/padding.
\r
22 More Info : http://www.quirksmode.org/css/box.html
\r
24 -webkit-box-sizing: border-box; /* webkit */
\r
25 -moz-box-sizing: border-box; /* firefox */
\r
26 box-sizing: border-box; /* css3 */
\r
29 .select2-container .select2-choice {
\r
36 border: 1px solid #aaa;
\r
37 white-space: nowrap;
\r
40 text-decoration: none;
\r
44 background-clip: padding-box;
\r
46 -webkit-touch-callout: none;
\r
47 -webkit-user-select: none;
\r
48 -moz-user-select: none;
\r
49 -ms-user-select: none;
\r
52 background-color: #fff;
\r
53 background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eee), color-stop(0.5, #fff));
\r
54 background-image: -webkit-linear-gradient(center bottom, #eee 0%, #fff 50%);
\r
55 background-image: -moz-linear-gradient(center bottom, #eee 0%, #fff 50%);
\r
56 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#ffffff', endColorstr = '#eeeeee', GradientType = 0);
\r
57 background-image: linear-gradient(top, #fff 0%, #eee 50%);
\r
60 .select2-container.select2-drop-above .select2-choice {
\r
61 border-bottom-color: #aaa;
\r
63 border-radius: 0 0 4px 4px;
\r
65 background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eee), color-stop(0.9, #fff));
\r
66 background-image: -webkit-linear-gradient(center bottom, #eee 0%, #fff 90%);
\r
67 background-image: -moz-linear-gradient(center bottom, #eee 0%, #fff 90%);
\r
68 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0);
\r
69 background-image: linear-gradient(top, #eee 0%, #fff 90%);
\r
72 .select2-container.select2-allowclear .select2-choice .select2-chosen {
\r
76 .select2-container .select2-choice > .select2-chosen {
\r
81 white-space: nowrap;
\r
83 text-overflow: ellipsis;
\r
86 .select2-container .select2-choice abbr {
\r
95 text-decoration: none;
\r
98 background: url('select2.png') right top no-repeat;
\r
103 .select2-container.select2-allowclear .select2-choice abbr {
\r
104 display: inline-block;
\r
107 .select2-container .select2-choice abbr:hover {
\r
108 background-position: right -11px;
\r
112 .select2-drop-mask {
\r
125 /* styles required for IE to work */
\r
126 background-color: #fff;
\r
127 filter: alpha(opacity=0);
\r
133 position: absolute;
\r
139 border: 1px solid #aaa;
\r
142 border-radius: 0 0 4px 4px;
\r
144 -webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
\r
145 box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
\r
148 .select2-drop-auto-width {
\r
149 border-top: 1px solid #aaa;
\r
153 .select2-drop-auto-width .select2-search {
\r
157 .select2-drop.select2-drop-above {
\r
159 border-top: 1px solid #aaa;
\r
162 border-radius: 4px 4px 0 0;
\r
164 -webkit-box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
\r
165 box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
\r
168 .select2-drop-active {
\r
169 border: 1px solid #5897fb;
\r
173 .select2-drop.select2-drop-above.select2-drop-active {
\r
174 border-top: 1px solid #5897fb;
\r
177 .select2-container .select2-choice .select2-arrow {
\r
178 display: inline-block;
\r
181 position: absolute;
\r
185 border-left: 1px solid #aaa;
\r
186 border-radius: 0 4px 4px 0;
\r
188 background-clip: padding-box;
\r
191 background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #ccc), color-stop(0.6, #eee));
\r
192 background-image: -webkit-linear-gradient(center bottom, #ccc 0%, #eee 60%);
\r
193 background-image: -moz-linear-gradient(center bottom, #ccc 0%, #eee 60%);
\r
194 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#eeeeee', endColorstr = '#cccccc', GradientType = 0);
\r
195 background-image: linear-gradient(top, #ccc 0%, #eee 60%);
\r
198 .select2-container .select2-choice .select2-arrow b {
\r
202 background: url('select2.png') no-repeat 0 1px;
\r
206 display: inline-block;
\r
211 padding-right: 4px;
\r
213 position: relative;
\r
216 white-space: nowrap;
\r
219 .select2-search input {
\r
221 height: auto !important;
\r
223 padding: 4px 20px 4px 5px;
\r
227 font-family: sans-serif;
\r
230 border: 1px solid #aaa;
\r
233 -webkit-box-shadow: none;
\r
236 background: #fff url('select2.png') no-repeat 100% -22px;
\r
239 .select2-drop.select2-drop-above .select2-search input {
\r
243 .select2-search input.select2-active {
\r
244 background: #fff url('select2-spinner.gif') no-repeat 100%;
\r
247 .select2-container-active .select2-choice,
\r
248 .select2-container-active .select2-choices {
\r
249 border: 1px solid #5897fb;
\r
252 -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .3);
\r
253 box-shadow: 0 0 5px rgba(0, 0, 0, .3);
\r
256 .select2-dropdown-open .select2-choice {
\r
257 border-bottom-color: transparent;
\r
258 -webkit-box-shadow: 0 1px 0 #fff inset;
\r
259 box-shadow: 0 1px 0 #fff inset;
\r
261 border-bottom-left-radius: 0;
\r
262 border-bottom-right-radius: 0;
\r
264 background-color: #eee;
\r
265 background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #fff), color-stop(0.5, #eee));
\r
266 background-image: -webkit-linear-gradient(center bottom, #fff 0%, #eee 50%);
\r
267 background-image: -moz-linear-gradient(center bottom, #fff 0%, #eee 50%);
\r
268 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);
\r
269 background-image: linear-gradient(top, #fff 0%, #eee 50%);
\r
272 .select2-dropdown-open.select2-drop-above .select2-choice,
\r
273 .select2-dropdown-open.select2-drop-above .select2-choices {
\r
274 border: 1px solid #5897fb;
\r
275 border-top-color: transparent;
\r
277 background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(0.5, #eee));
\r
278 background-image: -webkit-linear-gradient(center top, #fff 0%, #eee 50%);
\r
279 background-image: -moz-linear-gradient(center top, #fff 0%, #eee 50%);
\r
280 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);
\r
281 background-image: linear-gradient(bottom, #fff 0%, #eee 50%);
\r
284 .select2-dropdown-open .select2-choice .select2-arrow {
\r
285 background: transparent;
\r
289 .select2-dropdown-open .select2-choice .select2-arrow b {
\r
290 background-position: -18px 1px;
\r
296 padding: 0 0 0 4px;
\r
297 margin: 4px 4px 4px 0;
\r
298 position: relative;
\r
299 overflow-x: hidden;
\r
301 -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
\r
304 .select2-results ul.select2-result-sub {
\r
309 .select2-results ul.select2-result-sub > li .select2-result-label { padding-left: 20px }
\r
310 .select2-results ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 40px }
\r
311 .select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 60px }
\r
312 .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 }
\r
313 .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 }
\r
314 .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 }
\r
315 .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 }
\r
317 .select2-results li {
\r
319 display: list-item;
\r
320 background-image: none;
\r
323 .select2-results li.select2-result-with-children > .select2-result-label {
\r
327 .select2-results .select2-result-label {
\r
328 padding: 3px 7px 4px;
\r
334 -webkit-touch-callout: none;
\r
335 -webkit-user-select: none;
\r
336 -moz-user-select: none;
\r
337 -ms-user-select: none;
\r
341 .select2-results .select2-highlighted {
\r
342 background: #3875d7;
\r
346 .select2-results li em {
\r
347 background: #feffde;
\r
348 font-style: normal;
\r
351 .select2-results .select2-highlighted em {
\r
352 background: transparent;
\r
355 .select2-results .select2-highlighted ul {
\r
361 .select2-results .select2-no-results,
\r
362 .select2-results .select2-searching,
\r
363 .select2-results .select2-selection-limit {
\r
364 background: #f4f4f4;
\r
365 display: list-item;
\r
369 disabled look for disabled choices in the results dropdown
\r
371 .select2-results .select2-disabled.select2-highlighted {
\r
373 background: #f4f4f4;
\r
374 display: list-item;
\r
377 .select2-results .select2-disabled {
\r
378 background: #f4f4f4;
\r
379 display: list-item;
\r
383 .select2-results .select2-selected {
\r
387 .select2-more-results.select2-active {
\r
388 background: #f4f4f4 url('select2-spinner.gif') no-repeat 100%;
\r
391 .select2-more-results {
\r
392 background: #f4f4f4;
\r
393 display: list-item;
\r
396 /* disabled styles */
\r
398 .select2-container.select2-container-disabled .select2-choice {
\r
399 background-color: #f4f4f4;
\r
400 background-image: none;
\r
401 border: 1px solid #ddd;
\r
405 .select2-container.select2-container-disabled .select2-choice .select2-arrow {
\r
406 background-color: #f4f4f4;
\r
407 background-image: none;
\r
411 .select2-container.select2-container-disabled .select2-choice abbr {
\r
418 .select2-container-multi .select2-choices {
\r
419 height: auto !important;
\r
423 position: relative;
\r
425 border: 1px solid #aaa;
\r
429 background-color: #fff;
\r
430 background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eee), color-stop(15%, #fff));
\r
431 background-image: -webkit-linear-gradient(top, #eee 1%, #fff 15%);
\r
432 background-image: -moz-linear-gradient(top, #eee 1%, #fff 15%);
\r
433 background-image: linear-gradient(top, #eee 1%, #fff 15%);
\r
437 padding: 3px 5px 3px 5px !important;
\r
440 .select2-container-multi .select2-choices {
\r
444 .select2-container-multi.select2-container-active .select2-choices {
\r
445 border: 1px solid #5897fb;
\r
448 -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .3);
\r
449 box-shadow: 0 0 5px rgba(0, 0, 0, .3);
\r
451 .select2-container-multi .select2-choices li {
\r
455 .select2-container-multi .select2-choices .select2-search-field {
\r
458 white-space: nowrap;
\r
461 .select2-container-multi .select2-choices .select2-search-field input {
\r
465 font-family: sans-serif;
\r
470 -webkit-box-shadow: none;
\r
472 background: transparent !important;
\r
475 .select2-container-multi .select2-choices .select2-search-field input.select2-active {
\r
476 background: #fff url('select2-spinner.gif') no-repeat 100% !important;
\r
480 color: #999 !important;
\r
483 .select2-container-multi .select2-choices .select2-search-choice {
\r
484 padding: 3px 5px 3px 18px;
\r
485 margin: 3px 0 3px 5px;
\r
486 position: relative;
\r
491 border: 1px solid #aaaaaa;
\r
493 border-radius: 3px;
\r
495 -webkit-box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
\r
496 box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
\r
498 background-clip: padding-box;
\r
500 -webkit-touch-callout: none;
\r
501 -webkit-user-select: none;
\r
502 -moz-user-select: none;
\r
503 -ms-user-select: none;
\r
506 background-color: #e4e4e4;
\r
507 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#f4f4f4', GradientType=0);
\r
508 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));
\r
509 background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
\r
510 background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
\r
511 background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
\r
513 .select2-container-multi .select2-choices .select2-search-choice .select2-chosen {
\r
516 .select2-container-multi .select2-choices .select2-search-choice-focus {
\r
517 background: #d4d4d4;
\r
520 .select2-search-choice-close {
\r
524 position: absolute;
\r
530 background: url('select2.png') right top no-repeat;
\r
533 .select2-container-multi .select2-search-choice-close {
\r
537 .select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover {
\r
538 background-position: right -11px;
\r
540 .select2-container-multi .select2-choices .select2-search-choice-focus .select2-search-choice-close {
\r
541 background-position: right -11px;
\r
544 /* disabled styles */
\r
545 .select2-container-multi.select2-container-disabled .select2-choices {
\r
546 background-color: #f4f4f4;
\r
547 background-image: none;
\r
548 border: 1px solid #ddd;
\r
552 .select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice {
\r
553 padding: 3px 5px 3px 5px;
\r
554 border: 1px solid #ddd;
\r
555 background-image: none;
\r
556 background-color: #f4f4f4;
\r
559 .select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice .select2-search-choice-close { display: none;
\r
562 /* end multiselect */
\r
565 .select2-result-selectable .select2-match,
\r
566 .select2-result-unselectable .select2-match {
\r
567 text-decoration: underline;
\r
570 .select2-offscreen, .select2-offscreen:focus {
\r
571 clip: rect(0 0 0 0) !important;
\r
572 width: 1px !important;
\r
573 height: 1px !important;
\r
574 border: 0 !important;
\r
575 margin: 0 !important;
\r
576 padding: 0 !important;
\r
577 overflow: hidden !important;
\r
578 position: absolute !important;
\r
579 outline: 0 !important;
\r
580 left: 0px !important;
\r
581 top: 0px !important;
\r
584 .select2-display-none {
\r
588 .select2-measure-scrollbar {
\r
589 position: absolute;
\r
596 /* Retina-ize icons */
\r
598 @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi) {
\r
599 .select2-search input, .select2-search-choice-close, .select2-container .select2-choice abbr, .select2-container .select2-choice .select2-arrow b {
\r
600 background-image: url('select2x2.png') !important;
\r
601 background-repeat: no-repeat !important;
\r
602 background-size: 60px 40px !important;
\r
604 .select2-search input {
\r
605 background-position: 100% -21px !important;
\r