select2.css 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478
  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. height: 28px;
  12. -moz-user-select: none;
  13. -ms-user-select: none;
  14. user-select: none;
  15. -webkit-user-select: none; }
  16. .select2-container .select2-selection--single .select2-selection__rendered {
  17. display: block;
  18. padding-left: 8px;
  19. padding-right: 20px;
  20. overflow: hidden;
  21. text-overflow: ellipsis;
  22. white-space: nowrap; }
  23. .select2-container .select2-selection--single .select2-selection__clear {
  24. position: relative; }
  25. .select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
  26. padding-right: 8px;
  27. padding-left: 20px; }
  28. .select2-container .select2-selection--multiple {
  29. box-sizing: border-box;
  30. cursor: pointer;
  31. display: block;
  32. min-height: 32px;
  33. -moz-user-select: none;
  34. -ms-user-select: none;
  35. user-select: none;
  36. -webkit-user-select: none; }
  37. .select2-container .select2-selection--multiple .select2-selection__rendered {
  38. display: inline-block;
  39. overflow: hidden;
  40. padding-left: 8px;
  41. text-overflow: ellipsis;
  42. white-space: nowrap; }
  43. .select2-container .select2-search--inline {
  44. float: left; }
  45. .select2-container .select2-search--inline .select2-search__field {
  46. box-sizing: border-box;
  47. border: none;
  48. font-size: 100%;
  49. margin-top: 5px;
  50. padding: 0; }
  51. .select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {
  52. -webkit-appearance: none; }
  53. .select2-container .select2-primary .select2-container--default .select2-selection--multiple .select2-selection__choice,
  54. .select2-container .select2-results__otption .select2-results__otption--highlighted {
  55. color: #fff;
  56. background: #3e8ef7;
  57. border-color: #3e8ef7; }
  58. .select2-container .select2-primary .select2-container--default .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove,
  59. .select2-container .select2-results__otption .select2-results__otption--highlighted .select2-selection__choice__remove {
  60. color: #fff; }
  61. .select2-container .select2-success .select2-container--default .select2-selection--multiple .select2-selection__choice {
  62. background: #11c26d;
  63. color: #fff;
  64. border-color: #11c26d; }
  65. .select2-container .select2-success .select2-container--default .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove {
  66. color: #fff; }
  67. .select2-container .select2-info .select2-container--default .select2-selection--multiple .select2-selection__choice {
  68. background: #0bb2d4;
  69. color: #fff;
  70. border-color: #0bb2d4; }
  71. .select2-container .select2-info .select2-container--default .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove {
  72. color: #fff; }
  73. .select2-container .select2-warning .select2-container--default .select2-selection--multiple .select2-selection__choice {
  74. background: #eb6709;
  75. color: #fff;
  76. border-color: #eb6709; }
  77. .select2-container .select2-warning .select2-container--default .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove {
  78. color: #fff; }
  79. .select2-container .select2-danger .select2-container--default .select2-selection--multiple .select2-selection__choice {
  80. background: #ff4c52;
  81. color: #fff;
  82. border-color: #ff4c52; }
  83. .select2-container .select2-danger .select2-container--default .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove {
  84. color: #fff; }
  85. .select2-dropdown {
  86. background-color: white;
  87. border: 1px solid #e4eaec;
  88. border-radius: 0.215rem;
  89. box-sizing: border-box;
  90. display: block;
  91. position: absolute;
  92. left: -100000px;
  93. width: 100%;
  94. z-index: 1200; }
  95. .select2-results {
  96. display: block; }
  97. .select2-results__options {
  98. list-style: none;
  99. margin: 0;
  100. padding: 0; }
  101. .select2-results__option {
  102. padding: 6px;
  103. -moz-user-select: none;
  104. -ms-user-select: none;
  105. user-select: none;
  106. -webkit-user-select: none; }
  107. .select2-results__option[aria-selected] {
  108. cursor: pointer; }
  109. .select2-container--open .select2-dropdown {
  110. left: 0; }
  111. .select2-container--open .select2-dropdown--above {
  112. border-bottom: none;
  113. border-bottom-left-radius: 0;
  114. border-bottom-right-radius: 0; }
  115. .select2-container--open .select2-dropdown--below {
  116. border-top: none;
  117. border-top-left-radius: 0;
  118. border-top-right-radius: 0; }
  119. .select2-search--dropdown {
  120. display: block;
  121. padding: 4px; }
  122. .select2-search--dropdown .select2-search__field {
  123. padding: 4px;
  124. width: 100%;
  125. box-sizing: border-box; }
  126. .select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
  127. -webkit-appearance: none; }
  128. .select2-search--dropdown.select2-search--hide {
  129. display: none; }
  130. .select2-close-mask {
  131. border: 0;
  132. margin: 0;
  133. padding: 0;
  134. display: block;
  135. position: fixed;
  136. left: 0;
  137. top: 0;
  138. min-height: 100%;
  139. min-width: 100%;
  140. height: auto;
  141. width: auto;
  142. opacity: 0;
  143. z-index: 1800;
  144. background-color: #fff;
  145. filter: alpha(opacity=0); }
  146. .select2-hidden-accessible {
  147. border: 0 !important;
  148. clip: rect(0 0 0 0) !important;
  149. -webkit-clip-path: inset(50%) !important;
  150. clip-path: inset(50%) !important;
  151. height: 1px !important;
  152. overflow: hidden !important;
  153. padding: 0 !important;
  154. position: absolute !important;
  155. width: 1px !important;
  156. white-space: nowrap !important; }
  157. .select2-container--default {
  158. display: block; }
  159. .select2-container--default .select2-selection {
  160. font-family: "Roboto", sans-serif;
  161. font-size: 1rem;
  162. color: #76838f;
  163. background-color: #fff;
  164. border: 1px solid #e4eaec;
  165. border-radius: 0.215rem;
  166. outline: 0; }
  167. .select2-container--default .select2-search--dropdown .select2-search__field {
  168. font-family: "Roboto", sans-serif;
  169. font-size: 1rem;
  170. color: #76838f;
  171. background-color: #fff;
  172. border: 1px solid #e4eaec;
  173. border-radius: 0.215rem; }
  174. .select2-container--default .select2-search__field {
  175. outline: 0; }
  176. .select2-container--default .select2-search__field::-webkit-input-placeholder {
  177. color: #a3afb7; }
  178. .select2-container--default .select2-search__field:-moz-placeholder {
  179. color: #a3afb7; }
  180. .select2-container--default .select2-search__field::-moz-placeholder {
  181. color: #a3afb7;
  182. opacity: 1; }
  183. .select2-container--default .select2-search__field:-ms-input-placeholder {
  184. color: #a3afb7; }
  185. .select2-container--default .select2-results__option[role=group] {
  186. padding: 0; }
  187. .select2-container--default .select2-results__option[aria-disabled=true] {
  188. color: #e4eaec;
  189. cursor: not-allowed; }
  190. .select2-container--default .select2-results__option[aria-selected=true] {
  191. background-color: #f3f7f9;
  192. color: #76838f; }
  193. .select2-container--default .select2-results__option .select2-results__option {
  194. padding: 0.429rem 1rem; }
  195. .select2-container--default .select2-results__option .select2-results__option .select2-results__group {
  196. padding-left: 0; }
  197. .select2-container--default .select2-results__option .select2-results__option .select2-results__option {
  198. margin-left: -1rem;
  199. padding-left: 2rem; }
  200. .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
  201. margin-left: -2rem;
  202. padding-left: 3rem; }
  203. .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
  204. margin-left: -3rem;
  205. padding-left: 4rem; }
  206. .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
  207. margin-left: -4rem;
  208. padding-left: 5rem; }
  209. .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
  210. margin-left: -5rem;
  211. padding-left: 6rem; }
  212. .select2-container--default .select2-results__option--highlighted[aria-selected] {
  213. background-color: #f3f7f9;
  214. color: #76838f; }
  215. .select2-container--default .select2-results__group {
  216. color: #37474f;
  217. display: block;
  218. cursor: default;
  219. padding: 0.429rem 1rem;
  220. font-size: 0.858rem;
  221. line-height: 1.57142857;
  222. white-space: nowrap; }
  223. .select2-container--default.select2-container--open .select2-selection {
  224. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px fade(#3e8ef7, 0.6);
  225. transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  226. border-color: #3e8ef7; }
  227. .select2-container--default.select2-container--open .select2-selection .select2-selection__arrow b {
  228. border-color: transparent transparent #a3afb7 transparent;
  229. border-width: 0 0.286rem 0.286rem 0.286rem; }
  230. .select2-container--default.select2-container--open.select2-container--above .select2-selection {
  231. border-top-left-radius: 0;
  232. border-top-right-radius: 0;
  233. border-top-color: transparent; }
  234. .select2-container--default.select2-container--open.select2-container--below .select2-selection {
  235. border-bottom-right-radius: 0;
  236. border-bottom-left-radius: 0;
  237. border-bottom-color: transparent; }
  238. .select2-container--default.input-sm, .select2-container--default.input-lg {
  239. border-radius: 0;
  240. font-size: 12px;
  241. height: auto;
  242. line-height: 1;
  243. padding: 0; }
  244. .select2-container--default .select2-dropdown {
  245. box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  246. border-color: #3e8ef7;
  247. overflow-x: hidden;
  248. margin-top: -1px; }
  249. .select2-container--default .select2-dropdown--above {
  250. margin-top: 1px; }
  251. .select2-container--default .select2-results > .select2-results__options {
  252. max-height: 200px;
  253. overflow-y: auto; }
  254. .select2-container--default .select2-selection--single {
  255. background-color: #fff;
  256. border: 1px solid #e4eaec;
  257. border-radius: 0.215rem;
  258. height: 2.573rem;
  259. line-height: 1.57142857;
  260. padding: 0.429rem 1.858rem 0.429rem 1rem; }
  261. .select2-container--default .select2-selection--single .select2-selection__rendered {
  262. color: #76838f;
  263. padding: 0; }
  264. .select2-container--default .select2-selection--single .select2-selection__clear {
  265. color: #a3afb7;
  266. cursor: pointer;
  267. float: right;
  268. font-weight: 700;
  269. margin-right: 10px; }
  270. .select2-container--default .select2-selection--single .select2-selection__clear:hover {
  271. color: #333; }
  272. .select2-container--default .select2-selection--single .select2-selection__placeholder {
  273. color: #a3afb7; }
  274. .select2-container--default .select2-selection--single .select2-selection__arrow {
  275. position: absolute;
  276. bottom: 0;
  277. right: 1rem;
  278. top: 0;
  279. width: 0.286rem; }
  280. .select2-container--default .select2-selection--single .select2-selection__arrow b {
  281. border-color: #a3afb7 transparent transparent transparent;
  282. border-style: solid;
  283. border-width: 0.286rem 0.286rem 0 0.286rem;
  284. height: 0;
  285. left: 0;
  286. margin-left: -0.286rem;
  287. margin-top: -0.143rem;
  288. position: absolute;
  289. top: 50%;
  290. width: 0; }
  291. .select2-container--default[dir="rtl"] .select2-selection--single {
  292. padding-left: 1.858rem;
  293. padding-right: 1rem; }
  294. .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {
  295. float: left; }
  296. .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
  297. left: 1rem;
  298. right: auto; }
  299. .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__rendered {
  300. padding-right: 0;
  301. padding-left: 0;
  302. text-align: right; }
  303. .select2-container--default.select2-container--disabled .select2-selection--single {
  304. background-color: #f3f7f9;
  305. cursor: not-allowed; }
  306. .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
  307. display: none; }
  308. .select2-container--default.select2-container--disabled .select2-search__field {
  309. background-color: #f3f7f9; }
  310. .select2-container--default.input-sm .select2-selection--single,
  311. .input-group-sm .select2-container--default .select2-selection--single,
  312. .form-group-sm .select2-container--default .select2-selection--single {
  313. border-radius: 0.143rem;
  314. font-size: 0.858rem;
  315. height: 2.288rem;
  316. line-height: 1.5;
  317. padding: 0.429rem 1.716rem 0.429rem 0.858rem; }
  318. .select2-container--default.input-sm .select2-selection--single .select2-selection__arrow b,
  319. .input-group-sm .select2-container--default .select2-selection--single .select2-selection__arrow b,
  320. .form-group-sm .select2-container--default .select2-selection--single .select2-selection__arrow b {
  321. margin-left: -0.429rem; }
  322. .select2-container--default.input-lg .select2-selection--single,
  323. .input-group-lg .select2-container--default .select2-selection--single,
  324. .form-group-lg .select2-container--default .select2-selection--single {
  325. border-radius: 0.286rem;
  326. font-size: 1.286rem;
  327. height: 3.2876666667rem;
  328. line-height: 1.3333333333;
  329. padding: 0.715rem 2.36rem 0.715rem 1.286rem; }
  330. .select2-container--default.input-lg .select2-selection--single .select2-selection__arrow,
  331. .input-group-lg .select2-container--default .select2-selection--single .select2-selection__arrow,
  332. .form-group-lg .select2-container--default .select2-selection--single .select2-selection__arrow {
  333. width: 0.358rem; }
  334. .select2-container--default.input-lg .select2-selection--single .select2-selection__arrow b,
  335. .input-group-lg .select2-container--default .select2-selection--single .select2-selection__arrow b,
  336. .form-group-lg .select2-container--default .select2-selection--single .select2-selection__arrow b {
  337. border-width: 0.358rem 0.358rem 0 0.358rem;
  338. margin-left: -0.358rem;
  339. margin-left: -0.715rem;
  340. margin-top: -0.179rem; }
  341. .select2-container--default .select2-selection--multiple {
  342. background-color: white;
  343. border: 1px solid #e4eaec;
  344. border-radius: 0.215rem;
  345. cursor: text; }
  346. .select2-container--default .select2-selection--multiple .select2-selection__rendered {
  347. box-sizing: border-box;
  348. list-style: none;
  349. margin: 0;
  350. padding: 0 5px;
  351. width: 100%; }
  352. .select2-container--default .select2-selection--multiple .select2-selection__rendered li {
  353. list-style: none; }
  354. .select2-container--default .select2-selection--multiple .select2-selection__placeholder {
  355. color: #a3afb7;
  356. float: left;
  357. margin-top: 5px; }
  358. .select2-container--default .select2-selection--multiple .select2-selection__clear {
  359. cursor: pointer;
  360. float: right;
  361. font-weight: bold;
  362. margin-top: 5px;
  363. margin-right: 10px; }
  364. .select2-container--default .select2-selection--multiple .select2-selection__choice {
  365. color: #76838f;
  366. background: #e4eaec;
  367. border: 1px solid #e4eaec;
  368. border-radius: 0.215rem;
  369. cursor: default;
  370. float: left;
  371. margin: 0.3rem 0 0 0.5rem;
  372. padding: 0 0.429rem; }
  373. .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  374. color: #999;
  375. cursor: pointer;
  376. display: inline-block;
  377. font-weight: 700;
  378. margin-right: 0.2145rem; }
  379. .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
  380. color: #333; }
  381. .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline {
  382. float: right; }
  383. .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
  384. margin-left: 0;
  385. margin-right: 0.5rem; }
  386. .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
  387. margin-left: 2px;
  388. margin-right: auto; }
  389. .select2-container--default.select2-container--focus .select2-selection--multiple {
  390. border: solid #3e8ef7 1px;
  391. outline: 0; }
  392. .select2-container--default.select2-container--disabled .select2-selection--multiple {
  393. background-color: #f3f7f9;
  394. cursor: not-allowed; }
  395. .select2-container--default.select2-container--disabled .select2-selection__choice__remove {
  396. display: none; }
  397. .select2-container--default.input-sm .select2-selection--multiple,
  398. .input-group-sm .select2-container--default .select2-selection--multiple,
  399. .form-group-sm .select2-container--default .select2-selection--multiple {
  400. min-height: 2.288rem; }
  401. .select2-container--default.input-sm .select2-selection--multiple .select2-selection__choice,
  402. .input-group-sm .select2-container--default .select2-selection--multiple .select2-selection__choice,
  403. .form-group-sm .select2-container--default .select2-selection--multiple .select2-selection__choice {
  404. font-size: 0.858rem;
  405. line-height: 1.5;
  406. margin: 0.357rem 0 0 0.429rem;
  407. padding: 0 0.429rem; }
  408. .select2-container--default.input-sm .select2-selection--multiple .select2-search--inline .select2-search__field,
  409. .input-group-sm .select2-container--default .select2-selection--multiple .select2-search--inline .select2-search__field,
  410. .form-group-sm .select2-container--default .select2-selection--multiple .select2-search--inline .select2-search__field {
  411. padding: 0 0.858rem;
  412. font-size: 0.858rem;
  413. height: 2.145rem;
  414. line-height: 1.5; }
  415. .select2-container--default.input-lg.select2-container--open .select2-selection--single .select2-selection__arrow b {
  416. border-color: transparent transparent #a3afb7 transparent;
  417. border-width: 0 0.358rem 0.358rem 0.358rem; }
  418. .input-group-lg .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  419. border-color: transparent transparent #a3afb7 transparent;
  420. border-width: 0 0.358rem 0.358rem 0.358rem; }
  421. .input-group .select2-container--default {
  422. display: table;
  423. table-layout: fixed;
  424. position: relative;
  425. z-index: 2;
  426. float: left;
  427. width: 100%;
  428. margin-bottom: 0; }
  429. .has-warning .select2-dropdown,
  430. .has-warning .select2-selection {
  431. border-color: #eb6709; }
  432. .has-warning .select2-container--open .select2-selection {
  433. border-color: #eb6709; }
  434. .has-warning.select2-drop-active {
  435. border-color: #eb6709; }
  436. .has-warning.select2-drop-active.select2-drop.select2-drop-above {
  437. border-top-color: #eb6709; }
  438. .has-error .select2-dropdown,
  439. .has-error .select2-selection {
  440. border-color: #ff4c52; }
  441. .has-error .select2-container--open .select2-selection {
  442. border-color: #ff4c52; }
  443. .has-error.select2-drop-active {
  444. border-color: #ff4c52; }
  445. .has-error.select2-drop-active.select2-drop.select2-drop-above {
  446. border-top-color: #ff4c52; }
  447. .has-success .select2-dropdown,
  448. .has-success .select2-selection {
  449. border-color: #11c26d; }
  450. .has-success .select2-container--open .select2-selection {
  451. border-color: #11c26d; }
  452. .has-success.select2-drop-active {
  453. border-color: #11c26d; }
  454. .has-success.select2-drop-active.select2-drop.select2-drop-above {
  455. border-top-color: #11c26d; }
  456. .modal-open .select2-container {
  457. z-index: 1701; }