updating select2

This commit is contained in:
Marc Ducobu 2015-08-25 17:29:16 +02:00
parent 767a72e3cf
commit d339b70f2d

View File

@ -1,13 +1,10 @@
/* /*
Version: 3.5.2 Timestamp: Sat Nov 1 14:43:36 EDT 2014 Version: 3.5.3 Timestamp: Wed Aug 19 21:55:46 EDT 2015
*/ */
.select2-container { .select2-container {
margin: 0; margin: 0;
position: relative; position: relative;
display: inline-block; display: inline-block;
/* inline-block for ie7 */
zoom: 1;
*display: inline;
vertical-align: middle; vertical-align: middle;
} }
@ -180,10 +177,6 @@ html[dir="rtl"] .select2-container .select2-choice > .select2-chosen {
width: auto; width: auto;
} }
.select2-drop-auto-width .select2-search {
padding-top: 4px;
}
.select2-container .select2-choice .select2-arrow { .select2-container .select2-choice .select2-arrow {
display: inline-block; display: inline-block;
width: 18px; width: 18px;
@ -230,8 +223,7 @@ html[dir="rtl"] .select2-container .select2-choice .select2-arrow b {
width: 100%; width: 100%;
min-height: 26px; min-height: 26px;
margin: 0; margin: 0;
padding-left: 4px; padding: 4px 4px 0 4px;
padding-right: 4px;
position: relative; position: relative;
z-index: 10000; z-index: 10000;
@ -273,10 +265,6 @@ html[dir="rtl"] .select2-search input {
background: url('select2.png') no-repeat -37px -22px, linear-gradient(to bottom, #fff 85%, #eee 99%) 0 0; background: url('select2.png') no-repeat -37px -22px, linear-gradient(to bottom, #fff 85%, #eee 99%) 0 0;
} }
.select2-drop.select2-drop-above .select2-search input {
margin-top: 4px;
}
.select2-search input.select2-active { .select2-search input.select2-active {
background: #fff url('select2-spinner.gif') no-repeat 100%; background: #fff url('select2-spinner.gif') no-repeat 100%;
background: url('select2-spinner.gif') no-repeat 100%, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee)); background: url('select2-spinner.gif') no-repeat 100%, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));