select2.min.css 16KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404
  1. .select2-container {
  2. box-sizing: border-box;
  3. display: inline-block;
  4. margin: 0;
  5. position: relative;
  6. vertical-align: middle; }
  7. .select2-container .select2-selection--single {
  8. box-sizing: border-box;
  9. cursor: pointer;
  10. display: block;
  11. user-select: none;
  12. -webkit-user-select: none; }
  13. .select2-container .select2-selection--single .select2-selection__rendered {
  14. display: block;
  15. overflow: hidden;
  16. padding-left: 8px;
  17. padding-right: 20px;
  18. text-overflow: ellipsis; }
  19. .select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
  20. padding-right: 8px;
  21. padding-left: 20px; }
  22. .select2-container .select2-selection--multiple {
  23. box-sizing: border-box;
  24. cursor: pointer;
  25. display: block;
  26. min-height: 38px;
  27. user-select: none;
  28. -webkit-user-select: none; }
  29. .select2-container .select2-selection--multiple .select2-selection__rendered {
  30. display: inline-block;
  31. overflow: hidden;
  32. padding-left: 8px;
  33. text-overflow: ellipsis; }
  34. .select2-container .select2-search--inline {
  35. float: left; }
  36. .select2-container .select2-search--inline .select2-search__field {
  37. border: none;
  38. font-size: 100%;
  39. margin-top: 10px; }
  40. .select2-dropdown {
  41. background-color: white;
  42. border: 1px solid #aaa;
  43. border-radius: 4px;
  44. box-sizing: border-box;
  45. display: block;
  46. position: absolute;
  47. left: -100000px;
  48. width: 100%;
  49. z-index: 1051; }
  50. .select2-results {
  51. display: block; }
  52. .select2-results__options {
  53. list-style: none;
  54. margin: 0;
  55. padding: 0; }
  56. .select2-results__option {
  57. padding: 6px;
  58. user-select: none;
  59. -webkit-user-select: none; }
  60. .select2-results__option[aria-selected] {
  61. cursor: pointer; }
  62. .select2-container--open .select2-dropdown {
  63. left: 0; }
  64. .select2-container--open .select2-dropdown--above {
  65. border-bottom: none;
  66. border-bottom-left-radius: 0;
  67. border-bottom-right-radius: 0; }
  68. .select2-container--open .select2-dropdown--below {
  69. border-top: none;
  70. border-top-left-radius: 0;
  71. border-top-right-radius: 0; }
  72. .select2-search--dropdown {
  73. display: block;
  74. padding: 4px; }
  75. .select2-search--dropdown .select2-search__field {
  76. padding: 4px;
  77. width: 100%;
  78. box-sizing: border-box; }
  79. .select2-search--dropdown.select2-search--hide {
  80. display: none; }
  81. .select2-close-mask {
  82. border: 0;
  83. margin: 0;
  84. padding: 0;
  85. display: block;
  86. position: fixed;
  87. left: 0;
  88. top: 0;
  89. min-height: 100%;
  90. min-width: 100%;
  91. height: auto;
  92. width: auto;
  93. opacity: 0;
  94. z-index: 99;
  95. background-color: #fff;
  96. filter: alpha(opacity=0); }
  97. .select2-container--default .select2-selection--single {
  98. background-color: #fff;
  99. border: 1px solid #ccc;}
  100. .select2-container--default .select2-selection--single .select2-selection__rendered {
  101. line-height: 38px; }
  102. .select2-container--default .select2-selection--single .select2-selection__clear {
  103. cursor: pointer;
  104. float: right;
  105. font-weight: bold; }
  106. .select2-container--default .select2-selection--single .select2-selection__placeholder {
  107. color: #999; }
  108. .select2-container--default .select2-selection--single .select2-selection__arrow {
  109. height: 26px;
  110. position: absolute;
  111. top: 1px;
  112. right: 1px;
  113. width: 20px; }
  114. .select2-container--default .select2-selection--single .select2-selection__arrow b {
  115. border-color: #888 transparent transparent transparent;
  116. border-style: solid;
  117. border-width: 5px 4px 0 4px;
  118. height: 0;
  119. left: 50%;
  120. margin-left: -4px;
  121. margin-top: -2px;
  122. position: absolute;
  123. top: 50%;
  124. width: 0; }
  125. .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {
  126. float: left; }
  127. .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
  128. left: 1px;
  129. right: auto; }
  130. .select2-container--default.select2-container--disabled .select2-selection--single {
  131. background-color: #eee;
  132. cursor: default; }
  133. .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
  134. display: none; }
  135. .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  136. border-color: transparent transparent #888 transparent;
  137. border-width: 0 4px 5px 4px; }
  138. .select2-container--default .select2-selection--multiple {
  139. background-color: white;
  140. border: 1px solid #ccc;
  141. cursor: text; }
  142. .select2-container--default .select2-selection--multiple .select2-selection__rendered {
  143. list-style: none;
  144. margin: 0;
  145. padding: 0 5px;
  146. width: 100%; }
  147. .select2-container--default .select2-selection--multiple .select2-selection__placeholder {
  148. color: #999;
  149. margin-top: 5px;
  150. float: left; }
  151. .select2-container--default .select2-selection--multiple .select2-selection__clear {
  152. cursor: pointer;
  153. float: right;
  154. font-weight: bold;
  155. margin-top: 5px;
  156. margin-right: 10px; }
  157. .select2-container--default .select2-selection--multiple .select2-selection__choice {
  158. background-color: #e4e4e4;
  159. cursor: default;
  160. float: left;
  161. margin-right: 5px;
  162. margin-top: 5px;
  163. padding: 3px 5px; }
  164. .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  165. color: #999;
  166. cursor: pointer;
  167. display: inline-block;
  168. font-weight: bold;
  169. margin-right: 2px; }
  170. .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
  171. color: #333; }
  172. .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder {
  173. float: right; }
  174. .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
  175. margin-left: 5px;
  176. margin-right: auto; }
  177. .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
  178. margin-left: 2px;
  179. margin-right: auto; }
  180. .select2-container--default.select2-container--disabled .select2-selection--multiple {
  181. background-color: #eee;
  182. cursor: default; }
  183. .select2-container--default.select2-container--disabled .select2-selection__choice__remove {
  184. display: none; }
  185. .select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
  186. border-top-left-radius: 0;
  187. border-top-right-radius: 0; }
  188. .select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
  189. border-bottom-left-radius: 0;
  190. border-bottom-right-radius: 0; }
  191. .select2-container--default .select2-search--dropdown .select2-search__field {
  192. border: 1px solid #aaa; }
  193. .select2-container--default .select2-search--inline .select2-search__field {
  194. background: transparent;
  195. border: none;
  196. outline: 0; }
  197. .select2-container--default .select2-results > .select2-results__options {
  198. max-height: 200px;
  199. overflow-y: auto; }
  200. .select2-container--default .select2-results__option[role=group] {
  201. padding: 0; }
  202. .select2-container--default .select2-results__option[aria-disabled=true] {
  203. color: #999; }
  204. .select2-container--default .select2-results__option[aria-selected=true] {
  205. background-color: #ddd; }
  206. .select2-container--default .select2-results__option .select2-results__option {
  207. padding-left: 1em; }
  208. .select2-container--default .select2-results__option .select2-results__option .select2-results__group {
  209. padding-left: 0; }
  210. .select2-container--default .select2-results__option .select2-results__option .select2-results__option {
  211. margin-left: -1em;
  212. padding-left: 2em; }
  213. .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
  214. margin-left: -2em;
  215. padding-left: 3em; }
  216. .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
  217. margin-left: -3em;
  218. padding-left: 4em; }
  219. .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
  220. margin-left: -4em;
  221. padding-left: 5em; }
  222. .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
  223. margin-left: -5em;
  224. padding-left: 6em; }
  225. .select2-container--default .select2-results__option--highlighted[aria-selected] {
  226. background-color: #5897fb;
  227. color: white; }
  228. .select2-container--default .select2-results__group {
  229. cursor: default;
  230. display: block;
  231. padding: 6px; }
  232. .select2-container--classic .select2-selection--single {
  233. background-color: #f6f6f6;
  234. border: 1px solid #aaa;
  235. border-radius: 4px;
  236. outline: 0;
  237. background-image: -webkit-linear-gradient(top, #ffffff 50%, #eeeeee 100%);
  238. background-image: -o-linear-gradient(top, #ffffff 50%, #eeeeee 100%);
  239. background-image: linear-gradient(to bottom, #ffffff 50%, #eeeeee 100%);
  240. background-repeat: repeat-x;
  241. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0); }
  242. .select2-container--classic .select2-selection--single:focus {
  243. border: 1px solid #5897fb; }
  244. .select2-container--classic .select2-selection--single .select2-selection__rendered {
  245. color: #444;
  246. line-height: 28px; }
  247. .select2-container--classic .select2-selection--single .select2-selection__clear {
  248. cursor: pointer;
  249. float: right;
  250. font-weight: bold;
  251. margin-right: 10px; }
  252. .select2-container--classic .select2-selection--single .select2-selection__placeholder {
  253. color: #999; }
  254. .select2-container--classic .select2-selection--single .select2-selection__arrow {
  255. background-color: #ddd;
  256. border: none;
  257. border-left: 1px solid #aaa;
  258. border-top-right-radius: 4px;
  259. border-bottom-right-radius: 4px;
  260. height: 26px;
  261. position: absolute;
  262. top: 1px;
  263. right: 1px;
  264. width: 20px;
  265. background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
  266. background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
  267. background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);
  268. background-repeat: repeat-x;
  269. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#cccccc', GradientType=0); }
  270. .select2-container--classic .select2-selection--single .select2-selection__arrow b {
  271. border-color: #888 transparent transparent transparent;
  272. border-style: solid;
  273. border-width: 5px 4px 0 4px;
  274. height: 0;
  275. left: 50%;
  276. margin-left: -4px;
  277. margin-top: -2px;
  278. position: absolute;
  279. top: 50%;
  280. width: 0; }
  281. .select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear {
  282. float: left; }
  283. .select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow {
  284. border: none;
  285. border-right: 1px solid #aaa;
  286. border-radius: 0;
  287. border-top-left-radius: 4px;
  288. border-bottom-left-radius: 4px;
  289. left: 1px;
  290. right: auto; }
  291. .select2-container--classic.select2-container--open .select2-selection--single {
  292. border: 1px solid #5897fb; }
  293. .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow {
  294. background: transparent;
  295. border: none; }
  296. .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b {
  297. border-color: transparent transparent #888 transparent;
  298. border-width: 0 4px 5px 4px; }
  299. .select2-container--classic.select2-container--open.select2-container--above .select2-selection--single {
  300. border-top: none;
  301. border-top-left-radius: 0;
  302. border-top-right-radius: 0;
  303. background-image: -webkit-linear-gradient(top, #ffffff 0%, #eeeeee 50%);
  304. background-image: -o-linear-gradient(top, #ffffff 0%, #eeeeee 50%);
  305. background-image: linear-gradient(to bottom, #ffffff 0%, #eeeeee 50%);
  306. background-repeat: repeat-x;
  307. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0); }
  308. .select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {
  309. border-bottom: none;
  310. border-bottom-left-radius: 0;
  311. border-bottom-right-radius: 0;
  312. background-image: -webkit-linear-gradient(top, #eeeeee 50%, #ffffff 100%);
  313. background-image: -o-linear-gradient(top, #eeeeee 50%, #ffffff 100%);
  314. background-image: linear-gradient(to bottom, #eeeeee 50%, #ffffff 100%);
  315. background-repeat: repeat-x;
  316. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0); }
  317. .select2-container--classic .select2-selection--multiple {
  318. background-color: white;
  319. border: 1px solid #aaa;
  320. border-radius: 4px;
  321. cursor: text;
  322. outline: 0; }
  323. .select2-container--classic .select2-selection--multiple:focus {
  324. border: 1px solid #5897fb; }
  325. .select2-container--classic .select2-selection--multiple .select2-selection__rendered {
  326. list-style: none;
  327. margin: 0;
  328. padding: 0 5px; }
  329. .select2-container--classic .select2-selection--multiple .select2-selection__clear {
  330. display: none; }
  331. .select2-container--classic .select2-selection--multiple .select2-selection__choice {
  332. background-color: #e4e4e4;
  333. border: 1px solid #aaa;
  334. border-radius: 4px;
  335. cursor: default;
  336. float: left;
  337. margin-right: 5px;
  338. margin-top: 5px;
  339. padding: 0 5px; }
  340. .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {
  341. color: #888;
  342. cursor: pointer;
  343. display: inline-block;
  344. font-weight: bold;
  345. margin-right: 2px; }
  346. .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover {
  347. color: #555; }
  348. .select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
  349. float: right; }
  350. .select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
  351. margin-left: 5px;
  352. margin-right: auto; }
  353. .select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
  354. margin-left: 2px;
  355. margin-right: auto; }
  356. .select2-container--classic.select2-container--open .select2-selection--multiple {
  357. border: 1px solid #5897fb; }
  358. .select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple {
  359. border-top: none;
  360. border-top-left-radius: 0;
  361. border-top-right-radius: 0; }
  362. .select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple {
  363. border-bottom: none;
  364. border-bottom-left-radius: 0;
  365. border-bottom-right-radius: 0; }
  366. .select2-container--classic .select2-search--dropdown .select2-search__field {
  367. border: 1px solid #aaa;
  368. outline: 0; }
  369. .select2-container--classic .select2-search--inline .select2-search__field {
  370. outline: 0; }
  371. .select2-container--classic .select2-dropdown {
  372. background-color: white;
  373. border: 1px solid transparent; }
  374. .select2-container--classic .select2-dropdown--above {
  375. border-bottom: none; }
  376. .select2-container--classic .select2-dropdown--below {
  377. border-top: none; }
  378. .select2-container--classic .select2-results > .select2-results__options {
  379. max-height: 200px;
  380. overflow-y: auto; }
  381. .select2-container--classic .select2-results__option[role=group] {
  382. padding: 0; }
  383. .select2-container--classic .select2-results__option[aria-disabled=true] {
  384. color: grey; }
  385. .select2-container--classic .select2-results__option--highlighted[aria-selected] {
  386. background-color: #3875d7;
  387. color: white; }
  388. .select2-container--classic .select2-results__group {
  389. cursor: default;
  390. display: block;
  391. padding: 6px; }
  392. .select2-container--classic.select2-container--open .select2-dropdown {
  393. border-color: #5897fb; }