select2.css 20 KB

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