select2.css 19 KB

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