select2.css 19 KB

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