2 Version: 3.4.8 Timestamp: Thu May 1 09:50:32 EDT 2014
4 .roo-select2-container {
7 /*display: inline-block;*/
8 /* inline-block for ie7 */
11 vertical-align: middle;
14 .roo-select2-container,
17 .roo-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 .roo-select2-container .roo-select2-choice {
35 border: 1px solid #aaa;
38 color: @gray-dark; //#444;
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: @white;
52 background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, @gray-lighter), color-stop(0.5, @white));
53 background-image: -webkit-linear-gradient(center bottom, @gray-lighter 0%, @white 50%);
54 background-image: -moz-linear-gradient(center bottom, #eee 0%, #fff 50%);
55 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '@white', endColorstr = '@gray-lighter', GradientType = 0);
56 background-image: linear-gradient(to top, @gray-lighter 0%, @white 50%);
59 .roo-select2-container.roo-select2-drop-above .roo-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 .roo-select2-container.roo-select2-allowclear .roo-select2-choice .roo-select2-chosen {
75 .roo-select2-container .roo-select2-choice > .roo-select2-chosen {
82 text-overflow: ellipsis;
87 .roo-select2-container .roo-select2-choice abbr {
96 text-decoration: none;
99 background: url('../images/select2/select2.png') right top no-repeat;
104 .roo-select2-container.roo-select2-allowclear .roo-select2-choice abbr {
105 display: inline-block;
108 .roo-select2-container .roo-select2-choice abbr:hover {
109 background-position: right -11px;
113 .roo-select2-drop-mask {
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 .roo-select2-drop.roo-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 .roo-select2-drop-active {
161 border: 1px solid #5897fb;
165 .roo-select2-drop.roo-select2-drop-above.roo-select2-drop-active {
166 border-top: 1px solid #5897fb;
169 .roo-select2-drop-auto-width {
170 border-top: 1px solid #aaa;
174 .roo-select2-drop-auto-width .roo-select2-search {
178 .roo-select2-container .roo-select2-choice .roo-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 .roo-select2-container .roo-select2-choice .roo-select2-arrow b {
203 background: url('../images/select2/select2.png') no-repeat 0 1px;
206 .roo-select2-search {
207 display: inline-block;
220 .roo-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 .roo-select2-drop.roo-select2-drop-above .roo-select2-search input {
248 .roo-select2-search input.roo-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 .roo-select2-container-active .roo-select2-choice,
257 .roo-select2-container-active .roo-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 .roo-select2-dropdown-open .roo-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 .roo-select2-dropdown-open.roo-select2-drop-above .roo-select2-choice,
282 .roo-select2-dropdown-open.roo-select2-drop-above .roo-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 .roo-select2-dropdown-open .roo-select2-choice .roo-select2-arrow {
294 background: transparent;
298 .roo-select2-dropdown-open .roo-select2-choice .roo-select2-arrow b {
299 background-position: -18px 1px;
302 .roo-select2-hidden-accessible {
314 .roo-select2-results {
317 margin: 4px 4px 4px 0;
321 -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
324 .roo-select2-results ul.roo-select2-result-sub {
329 .roo-select2-results li {
332 background-image: none;
335 .roo-select2-results li.roo-select2-result-with-children > .roo-select2-result-label {
339 .roo-select2-results .roo-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 .roo-select2-results-dept-1 .roo-select2-result-label { padding-left: 20px }
354 .roo-select2-results-dept-2 .roo-select2-result-label { padding-left: 40px }
355 .roo-select2-results-dept-3 .roo-select2-result-label { padding-left: 60px }
356 .roo-select2-results-dept-4 .roo-select2-result-label { padding-left: 80px }
357 .roo-select2-results-dept-5 .roo-select2-result-label { padding-left: 100px }
358 .roo-select2-results-dept-6 .roo-select2-result-label { padding-left: 110px }
359 .roo-select2-results-dept-7 .roo-select2-result-label { padding-left: 120px }
361 .roo-select2-results .roo-select2-highlighted {
366 .roo-select2-results li em {
371 .roo-select2-results .roo-select2-highlighted em {
372 background: transparent;
375 .roo-select2-results .roo-select2-highlighted ul {
381 .roo-select2-results .roo-select2-no-results,
382 .roo-select2-results .roo-select2-searching,
383 .roo-select2-results .roo-select2-selection-limit {
390 disabled look for disabled choices in the results dropdown
392 .roo-select2-results .roo-select2-disabled.roo-select2-highlighted {
398 .roo-select2-results .roo-select2-disabled {
404 .roo-select2-results .roo-select2-selected {
408 .roo-select2-more-results.roo-select2-active {
409 background: #f4f4f4 url('../images/select2/select2-spinner.gif') no-repeat 100%;
412 .roo-select2-more-results {
417 /* disabled styles */
419 .roo-select2-container.roo-select2-container-disabled .roo-select2-choice {
420 background-color: #f4f4f4;
421 background-image: none;
422 border: 1px solid #ddd;
426 .roo-select2-container.roo-select2-container-disabled .roo-select2-choice .roo-select2-arrow {
427 background-color: #f4f4f4;
428 background-image: none;
432 .roo-select2-container.roo-select2-container-disabled .roo-select2-choice abbr {
439 .roo-select2-container-multi .roo-select2-choices {
440 height: auto !important;
444 /*position: relative;*/
445 border: 1px solid #aaa;
448 background-color: #fff;
449 background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eee), color-stop(15%, #fff));
450 background-image: -webkit-linear-gradient(top, #eee 1%, #fff 15%);
451 background-image: -moz-linear-gradient(top, #eee 1%, #fff 15%);
452 background-image: linear-gradient(to bottom, #eee 1%, #fff 15%);
455 .roo-select2-locked {
456 padding: 3px 5px 3px 5px !important;
459 .roo-select2-container-multi .roo-select2-choices {
463 .roo-select2-container-multi.roo-select2-container-active .roo-select2-choices {
464 border: 1px solid #5897fb;
467 -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .3);
468 box-shadow: 0 0 5px rgba(0, 0, 0, .3);
470 .roo-select2-container-multi .roo-select2-choices li {
474 html[dir="rtl"] .roo-select2-container-multi .roo-select2-choices li
478 .roo-select2-container-multi .roo-select2-choices .roo-select2-search-field {
484 .roo-select2-container-multi .roo-select2-choices .roo-select2-search-field input {
488 font-family: sans-serif;
493 -webkit-box-shadow: none;
495 background: transparent !important;
498 .roo-select2-container-multi .roo-select2-choices .roo-select2-search-field input.roo-select2-active {
499 background: #fff url('../images/select2/select2-spinner.gif') no-repeat 100% !important;
502 .roo-select2-default {
503 color: #999 !important;
506 .roo-select2-container-multi .roo-select2-choices .roo-select2-search-choice {
509 padding: 4px 7px 4px 16px;
515 border: 1px solid #ccc;
518 -webkit-touch-callout: none;
519 -webkit-user-select: none;
520 -moz-user-select: none;
521 -ms-user-select: none;
526 html[dir="rtl"] .roo-select2-container-multi .roo-select2-choices .roo-select2-search-choice
531 .roo-select2-container-multi .roo-select2-choices .roo-select2-search-choice .roo-select2-chosen {
534 .roo-select2-container-multi .roo-select2-choices .roo-select2-search-choice-focus {
538 .roo-select2-search-choice-close {
548 background: url('../images/select2/select2.png') right top no-repeat;
550 html[dir="rtl"] .roo-select2-search-choice-close {
555 .roo-select2-container-multi .roo-select2-search-choice-close {
559 .roo-select2-container-multi .roo-select2-choices .roo-select2-search-choice .roo-select2-search-choice-close:hover {
560 background-position: right -11px;
562 .roo-select2-container-multi .roo-select2-choices .roo-select2-search-choice-focus .roo-select2-search-choice-close {
563 background-position: right -11px;
566 /* disabled styles */
567 .roo-select2-container-multi.roo-select2-container-disabled .roo-select2-choices {
568 background-color: #f4f4f4;
569 background-image: none;
570 border: 1px solid #ddd;
574 .roo-select2-container-multi.roo-select2-container-disabled .roo-select2-choices .roo-select2-search-choice {
575 padding: 3px 5px 3px 5px;
576 border: 1px solid #ddd;
577 background-image: none;
578 background-color: #f4f4f4;
581 .roo-select2-container-multi.roo-select2-container-disabled .roo-select2-choices .roo-select2-search-choice .roo-select2-search-choice-close { display: none;
584 /* end multiselect */
587 .roo-select2-result-selectable .roo-select2-match,
588 .roo-select2-result-unselectable .roo-select2-match {
589 text-decoration: underline;
592 .roo-select2-offscreen, .roo-select2-offscreen:focus {
593 clip: rect(0 0 0 0) !important;
594 width: 1px !important;
595 height: 1px !important;
596 border: 0 !important;
597 margin: 0 !important;
598 padding: 0 !important;
599 overflow: hidden !important;
600 position: absolute !important;
601 outline: 0 !important;
602 left: 0px !important;
606 .roo-select2-display-none {
610 .roo-select2-measure-scrollbar {
619 /* Retina-ize icons */
621 @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 2dppx) {
622 .roo-select2-search input,
623 .roo-select2-search-choice-close,
624 .roo-select2-container .roo-select2-choice abbr,
625 .roo-select2-container .roo-select2-choice .roo-select2-arrow b {
626 background-image: url('../images/select2/select2x2.png') !important;
627 background-repeat: no-repeat !important;
628 background-size: 60px 40px !important;
631 .roo-select2-search input {
632 background-position: 100% -21px !important;
636 .has-error .roo-select2-choices {
637 border-color: #a94442;
638 -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
639 box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
642 .dropdown-menu .roo-select2-result.disabled {
643 background-color: #eee;