select2.css 19 KB

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