select2.css 20 KB

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