select2.css 20 KB

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