select2.css 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624
  1. /*
  2. Version: @@ver@@ Timestamp: @@timestamp@@
  3. */
  4. .select2-container {
  5. position: relative;
  6. display: inline-block;
  7. /* inline-block for ie7 */
  8. zoom: 1;
  9. *display: inline;
  10. vertical-align: middle;
  11. }
  12. .select2-container,
  13. .select2-drop,
  14. .select2-search,
  15. .select2-search input{
  16. /*
  17. Force border-box so that % widths fit the parent
  18. container without overlap because of margin/padding.
  19. More Info : http://www.quirksmode.org/css/box.html
  20. */
  21. -webkit-box-sizing: border-box; /* webkit */
  22. -khtml-box-sizing: border-box; /* konqueror */
  23. -moz-box-sizing: border-box; /* firefox */
  24. -ms-box-sizing: border-box; /* ie */
  25. box-sizing: border-box; /* css3 */
  26. }
  27. .select2-container .select2-choice {
  28. display: block;
  29. height: 26px;
  30. padding: 0 0 0 8px;
  31. overflow: hidden;
  32. position: relative;
  33. border: 1px solid #aaa;
  34. white-space: nowrap;
  35. line-height: 26px;
  36. color: #444;
  37. text-decoration: none;
  38. -webkit-border-radius: 4px;
  39. -moz-border-radius: 4px;
  40. border-radius: 4px;
  41. -webkit-background-clip: padding-box;
  42. -moz-background-clip: padding;
  43. background-clip: padding-box;
  44. -webkit-touch-callout: none;
  45. -webkit-user-select: none;
  46. -khtml-user-select: none;
  47. -moz-user-select: none;
  48. -ms-user-select: none;
  49. user-select: none;
  50. background-color: #fff;
  51. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eeeeee), color-stop(0.5, white));
  52. background-image: -webkit-linear-gradient(center bottom, #eeeeee 0%, white 50%);
  53. background-image: -moz-linear-gradient(center bottom, #eeeeee 0%, white 50%);
  54. background-image: -o-linear-gradient(bottom, #eeeeee 0%, #ffffff 50%);
  55. background-image: -ms-linear-gradient(top, #ffffff 0%, #eeeeee 50%);
  56. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#ffffff', endColorstr = '#eeeeee', GradientType = 0);
  57. background-image: linear-gradient(top, #ffffff 0%, #eeeeee 50%);
  58. }
  59. .select2-container.select2-drop-above .select2-choice {
  60. border-bottom-color: #aaa;
  61. -webkit-border-radius:0 0 4px 4px;
  62. -moz-border-radius:0 0 4px 4px;
  63. border-radius:0 0 4px 4px;
  64. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eeeeee), color-stop(0.9, white));
  65. background-image: -webkit-linear-gradient(center bottom, #eeeeee 0%, white 90%);
  66. background-image: -moz-linear-gradient(center bottom, #eeeeee 0%, white 90%);
  67. background-image: -o-linear-gradient(bottom, #eeeeee 0%, white 90%);
  68. background-image: -ms-linear-gradient(top, #eeeeee 0%,#ffffff 90%);
  69. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eeeeee',GradientType=0 );
  70. background-image: linear-gradient(top, #eeeeee 0%,#ffffff 90%);
  71. }
  72. .select2-container .select2-choice span {
  73. margin-right: 26px;
  74. display: block;
  75. overflow: hidden;
  76. white-space: nowrap;
  77. -ms-text-overflow: ellipsis;
  78. -o-text-overflow: ellipsis;
  79. text-overflow: ellipsis;
  80. }
  81. .select2-container .select2-choice abbr {
  82. display: block;
  83. width: 12px;
  84. height: 12px;
  85. position: absolute;
  86. right: 26px;
  87. top: 8px;
  88. font-size: 1px;
  89. text-decoration: none;
  90. border: 0;
  91. background: url('select2.png') right top no-repeat;
  92. cursor: pointer;
  93. outline: 0;
  94. }
  95. .select2-container .select2-choice abbr:hover {
  96. background-position: right -11px;
  97. cursor: pointer;
  98. }
  99. .select2-drop-mask {
  100. position: absolute;
  101. left: 0;
  102. top: 0;
  103. z-index: 9998;
  104. background-color: #fff;
  105. opacity: 0;
  106. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; /* works in IE 8 */
  107. filter: "alpha(opacity=0)"; /* expected to work in IE 8 */
  108. filter: alpha(opacity=0); /* IE 4-7 */
  109. }
  110. .select2-drop {
  111. width: 100%;
  112. margin-top:-1px;
  113. position: absolute;
  114. z-index: 9999;
  115. top: 100%;
  116. background: #fff;
  117. color: #000;
  118. border: 1px solid #aaa;
  119. border-top: 0;
  120. -webkit-border-radius: 0 0 4px 4px;
  121. -moz-border-radius: 0 0 4px 4px;
  122. border-radius: 0 0 4px 4px;
  123. -webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
  124. -moz-box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
  125. box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
  126. }
  127. .select2-drop-auto-width {
  128. border-top: 1px solid #aaa;
  129. width: auto;
  130. }
  131. .select2-drop-auto-width .select2-search {
  132. padding-top: 4px;
  133. }
  134. .select2-drop.select2-drop-above {
  135. margin-top: 1px;
  136. border-top: 1px solid #aaa;
  137. border-bottom: 0;
  138. -webkit-border-radius: 4px 4px 0 0;
  139. -moz-border-radius: 4px 4px 0 0;
  140. border-radius: 4px 4px 0 0;
  141. -webkit-box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
  142. -moz-box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
  143. box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
  144. }
  145. .select2-container .select2-choice div {
  146. display: block;
  147. width: 18px;
  148. height: 100%;
  149. position: absolute;
  150. right: 0;
  151. top: 0;
  152. border-left: 1px solid #aaa;
  153. -webkit-border-radius: 0 4px 4px 0;
  154. -moz-border-radius: 0 4px 4px 0;
  155. border-radius: 0 4px 4px 0;
  156. -webkit-background-clip: padding-box;
  157. -moz-background-clip: padding;
  158. background-clip: padding-box;
  159. background: #ccc;
  160. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #ccc), color-stop(0.6, #eee));
  161. background-image: -webkit-linear-gradient(center bottom, #ccc 0%, #eee 60%);
  162. background-image: -moz-linear-gradient(center bottom, #ccc 0%, #eee 60%);
  163. background-image: -o-linear-gradient(bottom, #ccc 0%, #eee 60%);
  164. background-image: -ms-linear-gradient(top, #cccccc 0%, #eeeeee 60%);
  165. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#eeeeee', endColorstr = '#cccccc', GradientType = 0);
  166. background-image: linear-gradient(top, #cccccc 0%, #eeeeee 60%);
  167. }
  168. .select2-container .select2-choice div b {
  169. display: block;
  170. width: 100%;
  171. height: 100%;
  172. background: url('select2.png') no-repeat 0 1px;
  173. }
  174. .select2-search {
  175. display: inline-block;
  176. width: 100%;
  177. min-height: 26px;
  178. margin: 0;
  179. padding-left: 4px;
  180. padding-right: 4px;
  181. position: relative;
  182. z-index: 10000;
  183. white-space: nowrap;
  184. }
  185. .select2-search-hidden {
  186. display: block;
  187. position: absolute;
  188. left: -10000px;
  189. }
  190. .select2-search input {
  191. width: 100%;
  192. height: auto !important;
  193. min-height: 26px;
  194. padding: 4px 20px 4px 5px;
  195. margin: 0;
  196. outline: 0;
  197. font-family: sans-serif;
  198. font-size: 1em;
  199. border: 1px solid #aaa;
  200. -webkit-border-radius: 0;
  201. -moz-border-radius: 0;
  202. border-radius: 0;
  203. -webkit-box-shadow: none;
  204. -moz-box-shadow: none;
  205. box-shadow: none;
  206. background: #fff url('select2.png') no-repeat 100% -22px;
  207. background: url('select2.png') no-repeat 100% -22px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, white), color-stop(0.99, #eeeeee));
  208. background: url('select2.png') no-repeat 100% -22px, -webkit-linear-gradient(center bottom, white 85%, #eeeeee 99%);
  209. background: url('select2.png') no-repeat 100% -22px, -moz-linear-gradient(center bottom, white 85%, #eeeeee 99%);
  210. background: url('select2.png') no-repeat 100% -22px, -o-linear-gradient(bottom, white 85%, #eeeeee 99%);
  211. background: url('select2.png') no-repeat 100% -22px, -ms-linear-gradient(top, #ffffff 85%, #eeeeee 99%);
  212. background: url('select2.png') no-repeat 100% -22px, linear-gradient(top, #ffffff 85%, #eeeeee 99%);
  213. }
  214. .select2-drop.select2-drop-above .select2-search input {
  215. margin-top: 4px;
  216. }
  217. .select2-search input.select2-active {
  218. background: #fff url('select2-spinner.gif') no-repeat 100%;
  219. background: url('select2-spinner.gif') no-repeat 100%, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, white), color-stop(0.99, #eeeeee));
  220. background: url('select2-spinner.gif') no-repeat 100%, -webkit-linear-gradient(center bottom, white 85%, #eeeeee 99%);
  221. background: url('select2-spinner.gif') no-repeat 100%, -moz-linear-gradient(center bottom, white 85%, #eeeeee 99%);
  222. background: url('select2-spinner.gif') no-repeat 100%, -o-linear-gradient(bottom, white 85%, #eeeeee 99%);
  223. background: url('select2-spinner.gif') no-repeat 100%, -ms-linear-gradient(top, #ffffff 85%, #eeeeee 99%);
  224. background: url('select2-spinner.gif') no-repeat 100%, linear-gradient(top, #ffffff 85%, #eeeeee 99%);
  225. }
  226. .select2-container-active .select2-choice,
  227. .select2-container-active .select2-choices {
  228. border: 1px solid #5897fb;
  229. outline: none;
  230. -webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
  231. -moz-box-shadow: 0 0 5px rgba(0,0,0,.3);
  232. box-shadow: 0 0 5px rgba(0,0,0,.3);
  233. }
  234. .select2-dropdown-open .select2-choice {
  235. border-bottom-color: transparent;
  236. -webkit-box-shadow: 0 1px 0 #fff inset;
  237. -moz-box-shadow: 0 1px 0 #fff inset;
  238. box-shadow: 0 1px 0 #fff inset;
  239. -webkit-border-bottom-left-radius: 0;
  240. -moz-border-radius-bottomleft: 0;
  241. border-bottom-left-radius: 0;
  242. -webkit-border-bottom-right-radius: 0;
  243. -moz-border-radius-bottomright: 0;
  244. border-bottom-right-radius: 0;
  245. background-color: #eee;
  246. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, white), color-stop(0.5, #eeeeee));
  247. background-image: -webkit-linear-gradient(center bottom, white 0%, #eeeeee 50%);
  248. background-image: -moz-linear-gradient(center bottom, white 0%, #eeeeee 50%);
  249. background-image: -o-linear-gradient(bottom, white 0%, #eeeeee 50%);
  250. background-image: -ms-linear-gradient(top, #ffffff 0%,#eeeeee 50%);
  251. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#ffffff',GradientType=0 );
  252. background-image: linear-gradient(top, #ffffff 0%,#eeeeee 50%);
  253. }
  254. .select2-dropdown-open .select2-choice div {
  255. background: transparent;
  256. border-left: none;
  257. filter: none;
  258. }
  259. .select2-dropdown-open .select2-choice div b {
  260. background-position: -18px 1px;
  261. }
  262. /* results */
  263. .select2-results {
  264. max-height: 200px;
  265. padding: 0 0 0 4px;
  266. margin: 4px 4px 4px 0;
  267. position: relative;
  268. overflow-x: hidden;
  269. overflow-y: auto;
  270. -webkit-tap-highlight-color: rgba(0,0,0,0);
  271. }
  272. .select2-results ul.select2-result-sub {
  273. margin: 0;
  274. }
  275. .select2-results ul.select2-result-sub > li .select2-result-label { padding-left: 20px }
  276. .select2-results ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 40px }
  277. .select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 60px }
  278. .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 }
  279. .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 }
  280. .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 }
  281. .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 }
  282. .select2-results li {
  283. list-style: none;
  284. display: list-item;
  285. background-image: none;
  286. }
  287. .select2-results li.select2-result-with-children > .select2-result-label {
  288. font-weight: bold;
  289. }
  290. .select2-results .select2-result-label {
  291. padding: 3px 7px 4px;
  292. margin: 0;
  293. cursor: pointer;
  294. min-height: 1em;
  295. -webkit-touch-callout: none;
  296. -webkit-user-select: none;
  297. -khtml-user-select: none;
  298. -moz-user-select: none;
  299. -ms-user-select: none;
  300. user-select: none;
  301. }
  302. .select2-results .select2-highlighted {
  303. background: #3875d7;
  304. color: #fff;
  305. }
  306. .select2-results li em {
  307. background: #feffde;
  308. font-style: normal;
  309. }
  310. .select2-results .select2-highlighted em {
  311. background: transparent;
  312. }
  313. .select2-results .select2-highlighted ul {
  314. background: white;
  315. color: #000;
  316. }
  317. .select2-results .select2-no-results,
  318. .select2-results .select2-searching,
  319. .select2-results .select2-selection-limit {
  320. background: #f4f4f4;
  321. display: list-item;
  322. }
  323. /*
  324. disabled look for disabled choices in the results dropdown
  325. */
  326. .select2-results .select2-disabled.select2-highlighted {
  327. color: #666;
  328. background: #f4f4f4;
  329. display: list-item;
  330. cursor: default;
  331. }
  332. .select2-results .select2-disabled {
  333. background: #f4f4f4;
  334. display: list-item;
  335. cursor: default;
  336. }
  337. .select2-results .select2-selected {
  338. display: none;
  339. }
  340. .select2-more-results.select2-active {
  341. background: #f4f4f4 url('select2-spinner.gif') no-repeat 100%;
  342. }
  343. .select2-more-results {
  344. background: #f4f4f4;
  345. display: list-item;
  346. }
  347. /* disabled styles */
  348. .select2-container.select2-container-disabled .select2-choice {
  349. background-color: #f4f4f4;
  350. background-image: none;
  351. border: 1px solid #ddd;
  352. cursor: default;
  353. }
  354. .select2-container.select2-container-disabled .select2-choice div {
  355. background-color: #f4f4f4;
  356. background-image: none;
  357. border-left: 0;
  358. }
  359. .select2-container.select2-container-disabled .select2-choice abbr {
  360. display: none
  361. }
  362. /* multiselect */
  363. .select2-container-multi .select2-choices {
  364. height: auto !important;
  365. height: 1%;
  366. margin: 0;
  367. padding: 0;
  368. position: relative;
  369. border: 1px solid #aaa;
  370. cursor: text;
  371. overflow: hidden;
  372. background-color: #fff;
  373. background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
  374. background-image: -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  375. background-image: -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  376. background-image: -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  377. background-image: -ms-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  378. background-image: linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  379. }
  380. .select2-locked {
  381. padding: 3px 5px 3px 5px !important;
  382. }
  383. .select2-container-multi .select2-choices {
  384. min-height: 26px;
  385. }
  386. .select2-container-multi.select2-container-active .select2-choices {
  387. border: 1px solid #5897fb;
  388. outline: none;
  389. -webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
  390. -moz-box-shadow: 0 0 5px rgba(0,0,0,.3);
  391. box-shadow: 0 0 5px rgba(0,0,0,.3);
  392. }
  393. .select2-container-multi .select2-choices li {
  394. float: left;
  395. list-style: none;
  396. }
  397. .select2-container-multi .select2-choices .select2-search-field {
  398. margin: 0;
  399. padding: 0;
  400. white-space: nowrap;
  401. }
  402. .select2-container-multi .select2-choices .select2-search-field input {
  403. padding: 5px;
  404. margin: 1px 0;
  405. font-family: sans-serif;
  406. font-size: 100%;
  407. color: #666;
  408. outline: 0;
  409. border: 0;
  410. -webkit-box-shadow: none;
  411. -moz-box-shadow: none;
  412. box-shadow: none;
  413. background: transparent !important;
  414. }
  415. .select2-container-multi .select2-choices .select2-search-field input.select2-active {
  416. background: #fff url('select2-spinner.gif') no-repeat 100% !important;
  417. }
  418. .select2-default {
  419. color: #999 !important;
  420. }
  421. .select2-container-multi .select2-choices .select2-search-choice {
  422. padding: 3px 5px 3px 18px;
  423. margin: 3px 0 3px 5px;
  424. position: relative;
  425. line-height: 13px;
  426. color: #333;
  427. cursor: default;
  428. border: 1px solid #aaaaaa;
  429. -webkit-border-radius: 3px;
  430. -moz-border-radius: 3px;
  431. border-radius: 3px;
  432. -webkit-box-shadow: 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
  433. -moz-box-shadow: 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
  434. box-shadow: 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
  435. -webkit-background-clip: padding-box;
  436. -moz-background-clip: padding;
  437. background-clip: padding-box;
  438. -webkit-touch-callout: none;
  439. -webkit-user-select: none;
  440. -khtml-user-select: none;
  441. -moz-user-select: none;
  442. -ms-user-select: none;
  443. user-select: none;
  444. background-color: #e4e4e4;
  445. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#f4f4f4', GradientType=0 );
  446. background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee));
  447. background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  448. background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  449. background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  450. background-image: -ms-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  451. background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  452. }
  453. .select2-container-multi .select2-choices .select2-search-choice span {
  454. cursor: default;
  455. }
  456. .select2-container-multi .select2-choices .select2-search-choice-focus {
  457. background: #d4d4d4;
  458. }
  459. .select2-search-choice-close {
  460. display: block;
  461. width: 12px;
  462. height: 13px;
  463. position: absolute;
  464. right: 3px;
  465. top: 4px;
  466. font-size: 1px;
  467. outline: none;
  468. background: url('select2.png') right top no-repeat;
  469. }
  470. .select2-container-multi .select2-search-choice-close {
  471. left: 3px;
  472. }
  473. .select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover {
  474. background-position: right -11px;
  475. }
  476. .select2-container-multi .select2-choices .select2-search-choice-focus .select2-search-choice-close {
  477. background-position: right -11px;
  478. }
  479. /* disabled styles */
  480. .select2-container-multi.select2-container-disabled .select2-choices{
  481. background-color: #f4f4f4;
  482. background-image: none;
  483. border: 1px solid #ddd;
  484. cursor: default;
  485. }
  486. .select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice {
  487. padding: 3px 5px 3px 5px;
  488. border: 1px solid #ddd;
  489. background-image: none;
  490. background-color: #f4f4f4;
  491. }
  492. .select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice .select2-search-choice-close {
  493. display: none;
  494. }
  495. /* end multiselect */
  496. .select2-result-selectable .select2-match,
  497. .select2-result-unselectable .select2-match {
  498. text-decoration: underline;
  499. }
  500. .select2-offscreen {
  501. border: 0;
  502. clip: rect(0 0 0 0);
  503. height: 1px;
  504. margin: -1px;
  505. overflow: hidden;
  506. padding: 0;
  507. position: absolute;
  508. width: 1px;
  509. }
  510. /* Retina-ize icons */
  511. @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi) {
  512. .select2-search input, .select2-search-choice-close, .select2-container .select2-choice abbr, .select2-container .select2-choice div b {
  513. background-image: url('select2x2.png') !important;
  514. background-repeat: no-repeat !important;
  515. background-size: 60px 40px !important;
  516. }
  517. .select2-search input {
  518. background-position: 100% -21px !important;
  519. }
  520. }