diff --git a/lib/select2/select2-bootstrap3.css b/lib/select2/select2-bootstrap3.css index 40b90e2..4f9734f 100755 --- a/lib/select2/select2-bootstrap3.css +++ b/lib/select2/select2-bootstrap3.css @@ -72,8 +72,9 @@ } .select2-container-multi .select2-choices .select2-search-choice { - margin-bottom: 3px; margin-top: 5px; + padding-top: 4px; + padding-bottom: 4px; } .select2-container-multi .select2-search-choice:hover, .select2-container .select2-search-choice:focus { @@ -93,8 +94,6 @@ .input-group-sm .select2-choice, .select2-container-multi.input-sm .select2-choices, .input-group-sm .select2-choices { - padding-top: 0; - padding-bottom: 0; font-size: 12px; height: 30px !important; border-radius: 3px; @@ -123,11 +122,12 @@ padding: 0; } + .select2-container.input-lg .select2-choice, .input-group-lg .select2-choice, .select2-container-multi.input-lg .select2-choices, .input-group-lg .select2-choices { - padding: 3.5px 0; + padding: 3px 0; height: 46px !important; font-size: 18px; border-radius: 6px; @@ -135,7 +135,7 @@ .select2-container-multi.input-lg .select2-choices, .input-group-lg .select2-choices { - padding: 5.2px 0; + line-height: 2.05; } .input-lg .select2-search-choice, .input-group-lg .select2-search-choice { diff --git a/lib/select2/select2-bootstrap3.min.css b/lib/select2/select2-bootstrap3.min.css index 687d4fb..168f9e5 100755 --- a/lib/select2/select2-bootstrap3.min.css +++ b/lib/select2/select2-bootstrap3.min.css @@ -4,4 +4,4 @@ * * Author: Kartik Visweswaran * Year: 2014 - */.select2-container.form-control{background:none repeat scroll 0 0 rgba(0,0,0,0);border:medium none;display:block;margin:0;padding:0}.select2-container .select2-choice,.select2-container .select2-choices,.select2-container .select2-choices .select2-search-field input{background:none repeat scroll 0 0 #FFF;border-color:#CCC;border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,.075)inset;color:#555;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;padding:0}.select2-search input{background-color:#FFF;border-color:#CCC;border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,.075)inset;color:#555;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}.select2-container .select2-choices .select2-search-field input{box-shadow:none}.select2-container .select2-choice{height:34px;line-height:1.45}.select2-container.select2-container-multi.form-control{height:auto}.select2-container-multi .select2-choices .select2-search-field input{height:32px;margin:0}.select2-choice>span:first-child,.select2-chosen,.select2-container .select2-choices .select2-search-field input{padding:6px 12px}.select2-container-multi .select2-choices .select2-search-choice{background:#FFF;border-color:#CCC;box-shadow:none;color:#555}.select2-container-multi .select2-choices .select2-search-choice-focus{background:#EBEBEB;border-color:#ADADAD;box-shadow:none;color:#333}.select2-container-multi .select2-choices .select2-search-choice{margin-bottom:3px;margin-top:5px}.select2-container .select2-search-choice:focus,.select2-container-multi .select2-search-choice:hover{background-color:#f5f5f5}.select2-search-choice-close{margin-top:-7px;top:50%}.select2-container-multi.input-sm,.select2-container.input-sm{padding:0}.input-group-sm .select2-choice,.input-group-sm .select2-choices,.select2-container-multi.input-sm .select2-choices,.select2-container.input-sm .select2-choice{padding-top:0;padding-bottom:0;font-size:12px;height:30px!important;border-radius:3px;line-height:1.5}.input-group-sm .select2-search-choice,.input-sm .select2-search-choice{margin:4px!important;margin-right:0!important;padding-top:3px!important;padding-bottom:3px!important}.input-group-sm .select2-container .select2-choice .select2-arrow b,.input-group-sm .select2-container .select2-choice div b,.select2-container.input-sm .select2-choice .select2-arrow b,.select2-container.input-sm .select2-choice div b{background-position:0 1px}.input-group-sm .select2-dropdown-open .select2-choice .select2-arrow b,.input-group-sm .select2-dropdown-open .select2-choice div b,.select2-dropdown-open.input-sm .select2-choice .select2-arrow b,.select2-dropdown-open.input-sm .select2-choice div b{background-position:-18px 1px}.input-group-sm .select2-container-multi .select2-input,.select2-container-multi.input-sm .select2-input{height:30px!important}.select2-container-multi.input-lg,.select2-container.input-lg{padding:0}.input-group-lg .select2-choice,.input-group-lg .select2-choices,.select2-container-multi.input-lg .select2-choices,.select2-container.input-lg .select2-choice{padding:3.5px 0;height:46px!important;font-size:18px;border-radius:6px}.input-group-lg .select2-choices,.select2-container-multi.input-lg .select2-choices{padding:5.2px 0}.input-group-lg .select2-search-choice,.input-lg .select2-search-choice{padding-top:6px!important;padding-bottom:6px!important}.input-group-lg .select2-container .select2-choice .select2-arrow b,.input-group-lg .select2-container .select2-choice div b,.select2-container.input-lg .select2-choice .select2-arrow b,.select2-container.input-lg .select2-choice div b{background-position:0 9px}.input-group-lg .select2-dropdown-open .select2-choice .select2-arrow b,.input-group-lg .select2-dropdown-open .select2-choice div b,.select2-dropdown-open.input-lg .select2-choice .select2-arrow b,.select2-dropdown-open.input-lg .select2-choice div b{background-position:-18px 9px}.select2-container-multi.input-lg.select2-dropdown-open .select2-choices{margin-top:5px}.select2-container-multi.input-lg.select2-drop-above .select2-choices{margin-top:-5px}.select2-container .select2-choice .select2-arrow,.select2-container .select2-choice div{background:none repeat scroll 0 0 rgba(0,0,0,0);border-left:1px solid #CCC}.select2-dropdown-open .select2-choice .select2-arrow,.select2-dropdown-open .select2-choice div{background:none repeat scroll 0 0 rgba(0,0,0,0);border-left-color:rgba(0,0,0,0)}.select2-container .select2-choice .select2-arrow b,.select2-container .select2-choice div b{background-position:0 3px}.select2-dropdown-open .select2-choice .select2-arrow b,.select2-dropdown-open .select2-choice div b{background-position:-18px 3px}.has-warning .select2-choice,.has-warning .select2-choices{border-color:#C09853}.has-warning .select2-container-active .select2-choice,.has-warning .select2-container-multi.select2-container-active .select2-choices,.has-warning .select2-container-multi.select2-dropdown-open .select2-choices{border-color:#A47E3C;box-shadow:0 1px 1px rgba(0,0,0,.075)inset,0 0 6px #DBC59E}.has-warning.select2-drop-active{border-color:#A47E3C}.has-warning.select2-drop-active.select2-drop.select2-drop-above{border-top-color:#A47E3C}.has-error .select2-choice,.has-error .select2-choices{border-color:#B94A48}.has-error .select2-container-active .select2-choice,.has-error .select2-container-multi.select2-container-active .select2-choices,.has-error .select2-container-multi.select2-dropdown-open .select2-choices{border-color:#953B39;box-shadow:0 1px 1px rgba(0,0,0,.075)inset,0 0 6px #D59392}.has-error.select2-drop-active{border-color:#953B39}.has-error.select2-drop-active.select2-drop.select2-drop-above{border-top-color:#953B39}.has-success .select2-choice,.has-success .select2-choices{border-color:#468847}.has-success .select2-container-active .select2-choice,.has-success .select2-container-multi.select2-container-active .select2-choices,.has-success .select2-container-multi.select2-dropdown-open .select2-choices{border-color:#356635;box-shadow:0 1px 1px rgba(0,0,0,.075)inset,0 0 6px #7ABA7B}.has-success.select2-drop-active{border-color:#356635}.has-success.select2-drop-active.select2-drop.select2-drop-above{border-top-color:#356635}.select2-container-active .select2-choice,.select2-container-multi.select2-container-active .select2-choices,.select2-container-multi.select2-dropdown-open .select2-choices{border-color:#66AFE9;box-shadow:0 1px 1px rgba(0,0,0,.075)inset,0 0 8px rgba(82,168,236,.6);outline:medium none;transition:border-color .15s ease-in-out 0s,box-shadow .15s ease-in-out 0s}.select2-drop-active{border-color:#66AFE9}.select2-drop-auto-width,.select2-drop.select2-drop-above.select2-drop-active{border-top-color:#66AFE9}.input-group.select2-bootstrap-prepend [class^=select2-choice]{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.input-group.select2-bootstrap-append [class^=select2-choice]{border-bottom-right-radius:0!important;border-top-right-radius:0!important}.select2-dropdown-open [class^=select2-choice]{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.select2-dropdown-open.select2-drop-above [class^=select2-choice]{border-top-left-radius:0!important;border-top-right-radius:0!important;border-bottom-left-radius:4px!important;border-bottom-right-radius:4px!important}.select2-dropdown-open .select2-choice,.select2-dropdown-open .select2-choices{border:1px solid #5897fb;border-bottom:none;background-color:#eee;background-image:-webkit-gradient(linear,left bottom,left top,color-stop(0,#fff),color-stop(0.5,#eee));background-image:-webkit-linear-gradient(center bottom,#fff 0,#eee 50%);background-image:-moz-linear-gradient(center bottom,#fff 0,#eee 50%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);background-image:linear-gradient(to top,#fff 0,#eee 50%)}.select2-results .select2-highlighted{background-color:#428BCA;color:#FFF}.select2-bootstrap-append .input-group-btn,.select2-bootstrap-append .input-group-btn .btn,.select2-bootstrap-append .select2-container-multiple,.select2-bootstrap-prepend .input-group-btn,.select2-bootstrap-prepend .input-group-btn .btn,.select2-bootstrap-prepend .select2-container-multiple{vertical-align:top}.select2-container .select2-choice abbr{top:50%}.select2-results .select2-no-results,.select2-results .select2-searching,.select2-results .select2-selection-limit{background-color:#FCF8E3;color:#C09853}.select2-container.select2-container-disabled .select2-choice,.select2-container.select2-container-disabled .select2-choices{background-color:#EEE;border-color:#CCC;cursor:not-allowed}.select2-container.select2-container-disabled .select2-choice .select2-arrow,.select2-container.select2-container-disabled .select2-choice div,.select2-container.select2-container-disabled .select2-choices .select2-arrow,.select2-container.select2-container-disabled .select2-choices div{background-color:rgba(0,0,0,0);border-left:1px solid rgba(0,0,0,0)}.select2-container-multi .select2-choices .select2-search-field input.select2-active,.select2-more-results.select2-active,.select2-search input.select2-active{background-position:right 4px center} \ No newline at end of file + */.select2-container.form-control{background:none repeat scroll 0 0 rgba(0,0,0,0);border:medium none;display:block;margin:0;padding:0}.select2-container .select2-choice,.select2-container .select2-choices,.select2-container .select2-choices .select2-search-field input{background:none repeat scroll 0 0 #FFF;border-color:#CCC;border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,.075)inset;color:#555;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;padding:0}.select2-search input{background-color:#FFF;border-color:#CCC;border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,.075)inset;color:#555;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}.select2-container .select2-choices .select2-search-field input{box-shadow:none}.select2-container .select2-choice{height:34px;line-height:1.45}.select2-container.select2-container-multi.form-control{height:auto}.select2-container-multi .select2-choices .select2-search-field input{height:32px;margin:0}.select2-choice>span:first-child,.select2-chosen,.select2-container .select2-choices .select2-search-field input{padding:6px 12px}.select2-container-multi .select2-choices .select2-search-choice{background:#FFF;border-color:#CCC;box-shadow:none;color:#555}.select2-container-multi .select2-choices .select2-search-choice-focus{background:#EBEBEB;border-color:#ADADAD;box-shadow:none;color:#333}.select2-container-multi .select2-choices .select2-search-choice{margin-top:5px;padding-top:4px;padding-bottom:4px}.select2-container .select2-search-choice:focus,.select2-container-multi .select2-search-choice:hover{background-color:#f5f5f5}.select2-search-choice-close{margin-top:-7px;top:50%}.select2-container-multi.input-sm,.select2-container.input-sm{padding:0}.input-group-sm .select2-choice,.input-group-sm .select2-choices,.select2-container-multi.input-sm .select2-choices,.select2-container.input-sm .select2-choice{font-size:12px;height:30px!important;border-radius:3px;line-height:1.5}.input-group-sm .select2-search-choice,.input-sm .select2-search-choice{margin:4px!important;margin-right:0!important;padding-top:3px!important;padding-bottom:3px!important}.input-group-sm .select2-container .select2-choice .select2-arrow b,.input-group-sm .select2-container .select2-choice div b,.select2-container.input-sm .select2-choice .select2-arrow b,.select2-container.input-sm .select2-choice div b{background-position:0 1px}.input-group-sm .select2-dropdown-open .select2-choice .select2-arrow b,.input-group-sm .select2-dropdown-open .select2-choice div b,.select2-dropdown-open.input-sm .select2-choice .select2-arrow b,.select2-dropdown-open.input-sm .select2-choice div b{background-position:-18px 1px}.input-group-sm .select2-container-multi .select2-input,.select2-container-multi.input-sm .select2-input{height:30px!important}.select2-container-multi.input-lg,.select2-container.input-lg{padding:0}.input-group-lg .select2-choice,.input-group-lg .select2-choices,.select2-container-multi.input-lg .select2-choices,.select2-container.input-lg .select2-choice{padding:3px 0;height:46px!important;font-size:18px;border-radius:6px}.input-group-lg .select2-choices,.select2-container-multi.input-lg .select2-choices{line-height:2.05}.input-group-lg .select2-search-choice,.input-lg .select2-search-choice{padding-top:6px!important;padding-bottom:6px!important}.input-group-lg .select2-container .select2-choice .select2-arrow b,.input-group-lg .select2-container .select2-choice div b,.select2-container.input-lg .select2-choice .select2-arrow b,.select2-container.input-lg .select2-choice div b{background-position:0 9px}.input-group-lg .select2-dropdown-open .select2-choice .select2-arrow b,.input-group-lg .select2-dropdown-open .select2-choice div b,.select2-dropdown-open.input-lg .select2-choice .select2-arrow b,.select2-dropdown-open.input-lg .select2-choice div b{background-position:-18px 9px}.select2-container-multi.input-lg.select2-dropdown-open .select2-choices{margin-top:5px}.select2-container-multi.input-lg.select2-drop-above .select2-choices{margin-top:-5px}.select2-container .select2-choice .select2-arrow,.select2-container .select2-choice div{background:none repeat scroll 0 0 rgba(0,0,0,0);border-left:1px solid #CCC}.select2-dropdown-open .select2-choice .select2-arrow,.select2-dropdown-open .select2-choice div{background:none repeat scroll 0 0 rgba(0,0,0,0);border-left-color:rgba(0,0,0,0)}.select2-container .select2-choice .select2-arrow b,.select2-container .select2-choice div b{background-position:0 3px}.select2-dropdown-open .select2-choice .select2-arrow b,.select2-dropdown-open .select2-choice div b{background-position:-18px 3px}.has-warning .select2-choice,.has-warning .select2-choices{border-color:#C09853}.has-warning .select2-container-active .select2-choice,.has-warning .select2-container-multi.select2-container-active .select2-choices,.has-warning .select2-container-multi.select2-dropdown-open .select2-choices{border-color:#A47E3C;box-shadow:0 1px 1px rgba(0,0,0,.075)inset,0 0 6px #DBC59E}.has-warning.select2-drop-active{border-color:#A47E3C}.has-warning.select2-drop-active.select2-drop.select2-drop-above{border-top-color:#A47E3C}.has-error .select2-choice,.has-error .select2-choices{border-color:#B94A48}.has-error .select2-container-active .select2-choice,.has-error .select2-container-multi.select2-container-active .select2-choices,.has-error .select2-container-multi.select2-dropdown-open .select2-choices{border-color:#953B39;box-shadow:0 1px 1px rgba(0,0,0,.075)inset,0 0 6px #D59392}.has-error.select2-drop-active{border-color:#953B39}.has-error.select2-drop-active.select2-drop.select2-drop-above{border-top-color:#953B39}.has-success .select2-choice,.has-success .select2-choices{border-color:#468847}.has-success .select2-container-active .select2-choice,.has-success .select2-container-multi.select2-container-active .select2-choices,.has-success .select2-container-multi.select2-dropdown-open .select2-choices{border-color:#356635;box-shadow:0 1px 1px rgba(0,0,0,.075)inset,0 0 6px #7ABA7B}.has-success.select2-drop-active{border-color:#356635}.has-success.select2-drop-active.select2-drop.select2-drop-above{border-top-color:#356635}.select2-container-active .select2-choice,.select2-container-multi.select2-container-active .select2-choices,.select2-container-multi.select2-dropdown-open .select2-choices{border-color:#66AFE9;box-shadow:0 1px 1px rgba(0,0,0,.075)inset,0 0 8px rgba(82,168,236,.6);outline:medium none;transition:border-color .15s ease-in-out 0s,box-shadow .15s ease-in-out 0s}.select2-drop-active{border-color:#66AFE9}.select2-drop-auto-width,.select2-drop.select2-drop-above.select2-drop-active{border-top-color:#66AFE9}.input-group.select2-bootstrap-prepend [class^=select2-choice]{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.input-group.select2-bootstrap-append [class^=select2-choice]{border-bottom-right-radius:0!important;border-top-right-radius:0!important}.select2-dropdown-open [class^=select2-choice]{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.select2-dropdown-open.select2-drop-above [class^=select2-choice]{border-top-left-radius:0!important;border-top-right-radius:0!important;border-bottom-left-radius:4px!important;border-bottom-right-radius:4px!important}.select2-dropdown-open .select2-choice,.select2-dropdown-open .select2-choices{border:1px solid #5897fb;border-bottom:none;background-color:#eee;background-image:-webkit-gradient(linear,left bottom,left top,color-stop(0,#fff),color-stop(0.5,#eee));background-image:-webkit-linear-gradient(center bottom,#fff 0,#eee 50%);background-image:-moz-linear-gradient(center bottom,#fff 0,#eee 50%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);background-image:linear-gradient(to top,#fff 0,#eee 50%)}.select2-results .select2-highlighted{background-color:#428BCA;color:#FFF}.select2-bootstrap-append .input-group-btn,.select2-bootstrap-append .input-group-btn .btn,.select2-bootstrap-append .select2-container-multiple,.select2-bootstrap-prepend .input-group-btn,.select2-bootstrap-prepend .input-group-btn .btn,.select2-bootstrap-prepend .select2-container-multiple{vertical-align:top}.select2-container .select2-choice abbr{top:50%}.select2-results .select2-no-results,.select2-results .select2-searching,.select2-results .select2-selection-limit{background-color:#FCF8E3;color:#C09853}.select2-container.select2-container-disabled .select2-choice,.select2-container.select2-container-disabled .select2-choices{background-color:#EEE;border-color:#CCC;cursor:not-allowed}.select2-container.select2-container-disabled .select2-choice .select2-arrow,.select2-container.select2-container-disabled .select2-choice div,.select2-container.select2-container-disabled .select2-choices .select2-arrow,.select2-container.select2-container-disabled .select2-choices div{background-color:rgba(0,0,0,0);border-left:1px solid rgba(0,0,0,0)}.select2-container-multi .select2-choices .select2-search-field input.select2-active,.select2-more-results.select2-active,.select2-search input.select2-active{background-position:right 4px center} \ No newline at end of file