select2.css 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667
  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-undermask {
  107. border: 0;
  108. margin: 0;
  109. padding: 0;
  110. position: absolute;
  111. left: 0;
  112. top: 0;
  113. z-index: 9998;
  114. background-color: transparent;
  115. filter: alpha(opacity=0);
  116. }
  117. .select2-drop-mask {
  118. border: 0;
  119. margin: 0;
  120. padding: 0;
  121. position: absolute;
  122. left: 0;
  123. top: 0;
  124. z-index: 9998;
  125. }
  126. .select2-drop {
  127. width: 100%;
  128. margin-top:-1px;
  129. position: absolute;
  130. z-index: 9999;
  131. top: 100%;
  132. background: #fff;
  133. color: #000;
  134. border: 1px solid #aaa;
  135. border-top: 0;
  136. -webkit-border-radius: 0 0 4px 4px;
  137. -moz-border-radius: 0 0 4px 4px;
  138. border-radius: 0 0 4px 4px;
  139. -webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
  140. -moz-box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
  141. box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
  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-drop.select2-drop-above {
  151. margin-top: 1px;
  152. border-top: 1px solid #aaa;
  153. border-bottom: 0;
  154. -webkit-border-radius: 4px 4px 0 0;
  155. -moz-border-radius: 4px 4px 0 0;
  156. border-radius: 4px 4px 0 0;
  157. -webkit-box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
  158. -moz-box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
  159. box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
  160. }
  161. .select2-container .select2-choice div {
  162. display: inline-block;
  163. width: 18px;
  164. height: 100%;
  165. position: absolute;
  166. right: 0;
  167. top: 0;
  168. border-left: 1px solid #aaa;
  169. -webkit-border-radius: 0 4px 4px 0;
  170. -moz-border-radius: 0 4px 4px 0;
  171. border-radius: 0 4px 4px 0;
  172. -webkit-background-clip: padding-box;
  173. -moz-background-clip: padding;
  174. background-clip: padding-box;
  175. background: #ccc;
  176. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #ccc), color-stop(0.6, #eee));
  177. background-image: -webkit-linear-gradient(center bottom, #ccc 0%, #eee 60%);
  178. background-image: -moz-linear-gradient(center bottom, #ccc 0%, #eee 60%);
  179. background-image: -o-linear-gradient(bottom, #ccc 0%, #eee 60%);
  180. background-image: -ms-linear-gradient(top, #cccccc 0%, #eeeeee 60%);
  181. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#eeeeee', endColorstr = '#cccccc', GradientType = 0);
  182. background-image: linear-gradient(top, #cccccc 0%, #eeeeee 60%);
  183. }
  184. .select2-container .select2-choice div b {
  185. display: block;
  186. width: 100%;
  187. height: 100%;
  188. background: url('select2.png') no-repeat 0 1px;
  189. }
  190. .select2-search {
  191. display: inline-block;
  192. width: 100%;
  193. min-height: 26px;
  194. margin: 0;
  195. padding-left: 4px;
  196. padding-right: 4px;
  197. position: relative;
  198. z-index: 10000;
  199. white-space: nowrap;
  200. }
  201. .select2-search input {
  202. width: 100%;
  203. height: auto !important;
  204. min-height: 26px;
  205. padding: 4px 20px 4px 5px;
  206. margin: 0;
  207. outline: 0;
  208. font-family: sans-serif;
  209. font-size: 1em;
  210. border: 1px solid #aaa;
  211. -webkit-border-radius: 0;
  212. -moz-border-radius: 0;
  213. border-radius: 0;
  214. -webkit-box-shadow: none;
  215. -moz-box-shadow: none;
  216. box-shadow: none;
  217. background: #fff url('select2.png') no-repeat 100% -22px;
  218. 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));
  219. background: url('select2.png') no-repeat 100% -22px, -webkit-linear-gradient(center bottom, white 85%, #eeeeee 99%);
  220. background: url('select2.png') no-repeat 100% -22px, -moz-linear-gradient(center bottom, white 85%, #eeeeee 99%);
  221. background: url('select2.png') no-repeat 100% -22px, -o-linear-gradient(bottom, white 85%, #eeeeee 99%);
  222. background: url('select2.png') no-repeat 100% -22px, -ms-linear-gradient(top, #ffffff 85%, #eeeeee 99%);
  223. background: url('select2.png') no-repeat 100% -22px, linear-gradient(top, #ffffff 85%, #eeeeee 99%);
  224. }
  225. .select2-drop.select2-drop-above .select2-search input {
  226. margin-top: 4px;
  227. }
  228. .select2-search input.select2-active {
  229. background: #fff url('select2-spinner.gif') no-repeat 100%;
  230. 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));
  231. background: url('select2-spinner.gif') no-repeat 100%, -webkit-linear-gradient(center bottom, white 85%, #eeeeee 99%);
  232. background: url('select2-spinner.gif') no-repeat 100%, -moz-linear-gradient(center bottom, white 85%, #eeeeee 99%);
  233. background: url('select2-spinner.gif') no-repeat 100%, -o-linear-gradient(bottom, white 85%, #eeeeee 99%);
  234. background: url('select2-spinner.gif') no-repeat 100%, -ms-linear-gradient(top, #ffffff 85%, #eeeeee 99%);
  235. background: url('select2-spinner.gif') no-repeat 100%, linear-gradient(top, #ffffff 85%, #eeeeee 99%);
  236. }
  237. .select2-container-active .select2-choice,
  238. .select2-container-active .select2-choices {
  239. border: 1px solid #5897fb;
  240. outline: none;
  241. -webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
  242. -moz-box-shadow: 0 0 5px rgba(0,0,0,.3);
  243. box-shadow: 0 0 5px rgba(0,0,0,.3);
  244. }
  245. .select2-dropdown-open .select2-choice {
  246. border-bottom-color: transparent;
  247. -webkit-box-shadow: 0 1px 0 #fff inset;
  248. -moz-box-shadow: 0 1px 0 #fff inset;
  249. box-shadow: 0 1px 0 #fff inset;
  250. -webkit-border-bottom-left-radius: 0;
  251. -moz-border-radius-bottomleft: 0;
  252. border-bottom-left-radius: 0;
  253. -webkit-border-bottom-right-radius: 0;
  254. -moz-border-radius-bottomright: 0;
  255. border-bottom-right-radius: 0;
  256. background-color: #eee;
  257. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, white), color-stop(0.5, #eeeeee));
  258. background-image: -webkit-linear-gradient(center bottom, white 0%, #eeeeee 50%);
  259. background-image: -moz-linear-gradient(center bottom, white 0%, #eeeeee 50%);
  260. background-image: -o-linear-gradient(bottom, white 0%, #eeeeee 50%);
  261. background-image: -ms-linear-gradient(top, #ffffff 0%,#eeeeee 50%);
  262. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#ffffff',GradientType=0 );
  263. background-image: linear-gradient(top, #ffffff 0%,#eeeeee 50%);
  264. }
  265. .select2-dropdown-open.select2-drop-above .select2-choice,
  266. .select2-dropdown-open.select2-drop-above .select2-choices {
  267. border: 1px solid #5897fb;
  268. border-top-color: transparent;
  269. background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, white), color-stop(0.5, #eeeeee));
  270. background-image: -webkit-linear-gradient(center top, white 0%, #eeeeee 50%);
  271. background-image: -moz-linear-gradient(center top, white 0%, #eeeeee 50%);
  272. background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%);
  273. background-image: -ms-linear-gradient(bottom, #ffffff 0%,#eeeeee 50%);
  274. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#ffffff',GradientType=0 );
  275. background-image: linear-gradient(bottom, #ffffff 0%,#eeeeee 50%);
  276. }
  277. .select2-dropdown-open .select2-choice div {
  278. background: transparent;
  279. border-left: none;
  280. filter: none;
  281. }
  282. .select2-dropdown-open .select2-choice div b {
  283. background-position: -18px 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. .select2-results ul.select2-result-sub {
  296. margin: 0;
  297. padding-left: 0;
  298. }
  299. .select2-results ul.select2-result-sub > li .select2-result-label { padding-left: 20px }
  300. .select2-results ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 40px }
  301. .select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 60px }
  302. .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 }
  303. .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 }
  304. .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 }
  305. .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 }
  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. -khtml-user-select: none;
  322. -moz-user-select: none;
  323. -ms-user-select: none;
  324. user-select: none;
  325. }
  326. .select2-results .select2-highlighted {
  327. background: #3875d7;
  328. color: #fff;
  329. }
  330. .select2-results li em {
  331. background: #feffde;
  332. font-style: normal;
  333. }
  334. .select2-results .select2-highlighted em {
  335. background: transparent;
  336. }
  337. .select2-results .select2-highlighted ul {
  338. background: white;
  339. color: #000;
  340. }
  341. .select2-results .select2-no-results,
  342. .select2-results .select2-searching,
  343. .select2-results .select2-selection-limit {
  344. background: #f4f4f4;
  345. display: list-item;
  346. }
  347. /*
  348. disabled look for disabled choices in the results dropdown
  349. */
  350. .select2-results .select2-disabled.select2-highlighted {
  351. color: #666;
  352. background: #f4f4f4;
  353. display: list-item;
  354. cursor: default;
  355. }
  356. .select2-results .select2-disabled {
  357. background: #f4f4f4;
  358. display: list-item;
  359. cursor: default;
  360. }
  361. .select2-results .select2-selected {
  362. display: none;
  363. }
  364. .select2-more-results.select2-active {
  365. background: #f4f4f4 url('select2-spinner.gif') no-repeat 100%;
  366. }
  367. .select2-more-results {
  368. background: #f4f4f4;
  369. display: list-item;
  370. }
  371. /* disabled styles */
  372. .select2-container.select2-container-disabled .select2-choice {
  373. background-color: #f4f4f4;
  374. background-image: none;
  375. border: 1px solid #ddd;
  376. cursor: default;
  377. }
  378. .select2-container.select2-container-disabled .select2-choice div {
  379. background-color: #f4f4f4;
  380. background-image: none;
  381. border-left: 0;
  382. }
  383. .select2-container.select2-container-disabled .select2-choice abbr {
  384. display: none;
  385. }
  386. /* multiselect */
  387. .select2-container-multi .select2-choices {
  388. height: auto !important;
  389. height: 1%;
  390. margin: 0;
  391. padding: 0;
  392. position: relative;
  393. border: 1px solid #aaa;
  394. cursor: text;
  395. overflow: hidden;
  396. background-color: #fff;
  397. background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
  398. background-image: -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  399. background-image: -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  400. background-image: -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  401. background-image: -ms-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  402. background-image: linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  403. }
  404. .select2-locked {
  405. padding: 3px 5px 3px 5px !important;
  406. }
  407. .select2-container-multi .select2-choices {
  408. min-height: 26px;
  409. }
  410. .select2-container-multi.select2-container-active .select2-choices {
  411. border: 1px solid #5897fb;
  412. outline: none;
  413. -webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
  414. -moz-box-shadow: 0 0 5px rgba(0,0,0,.3);
  415. box-shadow: 0 0 5px rgba(0,0,0,.3);
  416. }
  417. .select2-container-multi .select2-choices li {
  418. float: left;
  419. list-style: none;
  420. }
  421. .select2-container-multi .select2-choices .select2-search-field {
  422. margin: 0;
  423. padding: 0;
  424. white-space: nowrap;
  425. }
  426. .select2-container-multi .select2-choices .select2-search-field input {
  427. padding: 5px;
  428. margin: 1px 0;
  429. font-family: sans-serif;
  430. font-size: 100%;
  431. color: #666;
  432. outline: 0;
  433. border: 0;
  434. -webkit-box-shadow: none;
  435. -moz-box-shadow: none;
  436. box-shadow: none;
  437. background: transparent !important;
  438. }
  439. .select2-container-multi .select2-choices .select2-search-field input.select2-active {
  440. background: #fff url('select2-spinner.gif') no-repeat 100% !important;
  441. }
  442. .select2-default {
  443. color: #999 !important;
  444. }
  445. .select2-container-multi .select2-choices .select2-search-choice {
  446. padding: 3px 5px 3px 18px;
  447. margin: 3px 0 3px 5px;
  448. position: relative;
  449. line-height: 13px;
  450. color: #333;
  451. cursor: default;
  452. border: 1px solid #aaaaaa;
  453. -webkit-border-radius: 3px;
  454. -moz-border-radius: 3px;
  455. border-radius: 3px;
  456. -webkit-box-shadow: 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
  457. -moz-box-shadow: 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
  458. box-shadow: 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
  459. -webkit-background-clip: padding-box;
  460. -moz-background-clip: padding;
  461. background-clip: padding-box;
  462. -webkit-touch-callout: none;
  463. -webkit-user-select: none;
  464. -khtml-user-select: none;
  465. -moz-user-select: none;
  466. -ms-user-select: none;
  467. user-select: none;
  468. background-color: #e4e4e4;
  469. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#f4f4f4', GradientType=0 );
  470. 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));
  471. background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  472. background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  473. background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  474. background-image: -ms-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  475. background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
  476. }
  477. .select2-container-multi .select2-choices .select2-search-choice span {
  478. cursor: default;
  479. }
  480. .select2-container-multi .select2-choices .select2-search-choice-focus {
  481. background: #d4d4d4;
  482. }
  483. .select2-search-choice-close {
  484. display: block;
  485. width: 12px;
  486. height: 13px;
  487. position: absolute;
  488. right: 3px;
  489. top: 4px;
  490. font-size: 1px;
  491. outline: none;
  492. background: url('select2.png') right top no-repeat;
  493. }
  494. .select2-container-multi .select2-search-choice-close {
  495. left: 3px;
  496. }
  497. .select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover {
  498. background-position: right -11px;
  499. }
  500. .select2-container-multi .select2-choices .select2-search-choice-focus .select2-search-choice-close {
  501. background-position: right -11px;
  502. }
  503. /* disabled styles */
  504. .select2-container-multi.select2-container-disabled .select2-choices{
  505. background-color: #f4f4f4;
  506. background-image: none;
  507. border: 1px solid #ddd;
  508. cursor: default;
  509. }
  510. .select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice {
  511. padding: 3px 5px 3px 5px;
  512. border: 1px solid #ddd;
  513. background-image: none;
  514. background-color: #f4f4f4;
  515. }
  516. .select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice .select2-search-choice-close { display: none;
  517. background:none;
  518. }
  519. /* end multiselect */
  520. .select2-result-selectable .select2-match,
  521. .select2-result-unselectable .select2-match {
  522. text-decoration: underline;
  523. }
  524. .select2-offscreen, .select2-offscreen:focus {
  525. clip: rect(0 0 0 0);
  526. width: 1px;
  527. height: 1px;
  528. border: 0;
  529. margin: 0;
  530. padding: 0;
  531. overflow: hidden;
  532. position: absolute;
  533. outline: 0;
  534. left: 0px;
  535. }
  536. .select2-display-none {
  537. display: none;
  538. }
  539. .select2-measure-scrollbar {
  540. position: absolute;
  541. top: -10000px;
  542. left: -10000px;
  543. width: 100px;
  544. height: 100px;
  545. overflow: scroll;
  546. }
  547. /* Retina-ize icons */
  548. @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi) {
  549. .select2-search input, .select2-search-choice-close, .select2-container .select2-choice abbr, .select2-container .select2-choice div b {
  550. background-image: url('select2x2.png') !important;
  551. background-repeat: no-repeat !important;
  552. background-size: 60px 40px !important;
  553. }
  554. .select2-search input {
  555. background-position: 100% -21px !important;
  556. }
  557. }