11/* For multiple choices, make the field expand */
22.select2-container .select2-container-multi { height : 100% ; }
3+
4+ .select2-container {
5+ height : 34px ;
6+ /* force no padding */
7+ padding : 0 !important ;
8+ border : 0px ;
9+ }
10+
11+ .select2-container .select2-choice {
12+ height : 34px ;
13+ line-height : 34px ;
14+ }
15+
16+ .select2-container .select2-choice abbr {
17+ background : url ('../img/select2.png' ) right top no-repeat !important ;
18+ }
19+
20+ .select2-container .select2-choice .select2-arrow b {
21+ background : url ('../img/select2.png' ) no-repeat 0 1px !important ;
22+ }
23+
24+ .select2-search input {
25+ background : # fff url ('../img/select2.png' ) no-repeat 100% -22px !important ;
26+ background : url ('../img/select2.png' ) no-repeat 100% -22px , -webkit-gradient (linear, left bottom, left top, color-stop (0.85 , # fff ), color-stop (0.99 , # eee )) !important ;
27+ background : url ('../img/select2.png' ) no-repeat 100% -22px , -webkit-linear-gradient (center bottom, # fff 85% , # eee 99% ) !important ;
28+ background : url ('../img/select2.png' ) no-repeat 100% -22px , -moz-linear-gradient (center bottom, # fff 85% , # eee 99% ) !important ;
29+ background : url ('../img/select2.png' ) no-repeat 100% -22px , linear-gradient (to bottom, # fff 85% , # eee 99% ) 0 0 !important ;
30+ }
31+
32+ html [dir = "rtl" ] .select2-search input {
33+ background : # fff url ('../img/select2.png' ) no-repeat -37px -22px !important ;
34+ background : url ('../img/select2.png' ) no-repeat -37px -22px , -webkit-gradient (linear, left bottom, left top, color-stop (0.85 , # fff ), color-stop (0.99 , # eee )) !important ;
35+ background : url ('../img/select2.png' ) no-repeat -37px -22px , -webkit-linear-gradient (center bottom, # fff 85% , # eee 99% ) !important ;
36+ background : url ('../img/select2.png' ) no-repeat -37px -22px , -moz-linear-gradient (center bottom, # fff 85% , # eee 99% ) !important ;
37+ background : url ('../img/select2.png' ) no-repeat -37px -22px , linear-gradient (to bottom, # fff 85% , # eee 99% ) 0 0 !important ;
38+ }
39+
40+ .select2-search input .select2-active {
41+ background : # fff url ('../img/select2-spinner.gif' ) no-repeat 100% !important ;
42+ background : url ('../img/select2-spinner.gif' ) no-repeat 100% , -webkit-gradient (linear, left bottom, left top, color-stop (0.85 , # fff ), color-stop (0.99 , # eee )) !important ;
43+ background : url ('../img/select2-spinner.gif' ) no-repeat 100% , -webkit-linear-gradient (center bottom, # fff 85% , # eee 99% ) !important ;
44+ background : url ('../img/select2-spinner.gif' ) no-repeat 100% , -moz-linear-gradient (center bottom, # fff 85% , # eee 99% ) !important ;
45+ background : url ('../img/select2-spinner.gif' ) no-repeat 100% , linear-gradient (to bottom, # fff 85% , # eee 99% ) 0 0 !important ;
46+ }
47+
48+ .select2-search-choice-close {
49+ background : url ('../img/select2.png' ) right top no-repeat !important ;
50+ }
51+
52+ @media only screen and (-webkit-min-device-pixel-ratio : 1.5 ), only screen and (min-resolution : 2dppx ) {
53+ .select2-search input ,
54+ .select2-search-choice-close ,
55+ .select2-container .select2-choice abbr ,
56+ .select2-container .select2-choice .select2-arrow b {
57+ background-image : url ('../img/select2x2.png' ) !important ;
58+ }
59+ }
0 commit comments