select2.min.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532
  1. .select2-container{
  2. box-sizing:border-box;
  3. display:inline-block;
  4. margin:0;
  5. margin-bottom: 20px;
  6. position:relative;
  7. vertical-align:middle
  8. }
  9. .select2-container .select2-selection--single{
  10. box-sizing:border-box;
  11. cursor:pointer;
  12. display:block;
  13. height:28px;
  14. user-select:none;
  15. -webkit-user-select:none
  16. }
  17. .select2-container .select2-selection--single .select2-selection__rendered{
  18. display:block;
  19. padding-left:8px;
  20. padding-right:20px;
  21. overflow:hidden;
  22. text-overflow:ellipsis;
  23. white-space:nowrap
  24. }
  25. .select2-container .select2-selection--single .select2-selection__clear{
  26. position:relative
  27. }
  28. .select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered{
  29. padding-right:8px;
  30. padding-left:20px
  31. }
  32. .select2-container .select2-selection--multiple{
  33. box-sizing:border-box;
  34. cursor:pointer;
  35. display:block;
  36. min-height:32px;
  37. user-select:none;
  38. -webkit-user-select:none
  39. }
  40. .select2-container .select2-selection--multiple .select2-selection__rendered{
  41. display:inline-block;
  42. overflow:hidden;
  43. padding-left:8px;
  44. text-overflow:ellipsis;
  45. white-space:nowrap
  46. }
  47. .select2-container .select2-search--inline{
  48. float:left
  49. }
  50. .select2-container .select2-search--inline .select2-search__field{
  51. box-sizing:border-box;
  52. border:none;
  53. font-size:100%;
  54. margin-top:5px;
  55. padding:0
  56. }
  57. .select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{
  58. -webkit-appearance:none
  59. }
  60. .select2-dropdown{
  61. background-color:white;
  62. border:1px solid #aaa;
  63. border-radius:4px;
  64. box-sizing:border-box;
  65. display:block;
  66. position:absolute;
  67. left:-100000px;
  68. width:100%;
  69. z-index:1051
  70. }
  71. .select2-results{
  72. display:block
  73. }
  74. .select2-results__options{
  75. list-style:none;
  76. margin:0;
  77. padding:0
  78. }
  79. .select2-results__option{
  80. padding:6px;
  81. user-select:none;
  82. -webkit-user-select:none
  83. }
  84. .select2-results__option[aria-selected]{
  85. cursor:pointer
  86. }
  87. .select2-container--open .select2-dropdown{
  88. left:0
  89. }
  90. .select2-container--open .select2-dropdown--above{
  91. border-bottom:none;
  92. border-bottom-left-radius:0;
  93. border-bottom-right-radius:0
  94. }
  95. .select2-container--open .select2-dropdown--below{
  96. border-top:none;
  97. border-top-left-radius:0;
  98. border-top-right-radius:0
  99. }
  100. .select2-search--dropdown{
  101. display:block;
  102. padding:4px
  103. }
  104. .select2-search--dropdown .select2-search__field{
  105. padding:4px;
  106. width:100%;
  107. box-sizing:border-box
  108. }
  109. .select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{
  110. -webkit-appearance:none
  111. }
  112. .select2-search--dropdown.select2-search--hide{
  113. display:none
  114. }
  115. .select2-close-mask{
  116. border:0;
  117. margin:0;
  118. padding:0;
  119. display:block;
  120. position:fixed;
  121. left:0;
  122. top:0;
  123. min-height:100%;
  124. min-width:100%;
  125. height:auto;
  126. width:auto;
  127. opacity:0;
  128. z-index:99;
  129. background-color:#fff;
  130. filter:alpha(opacity=0)
  131. }
  132. .select2-hidden-accessible{
  133. border:0 !important;
  134. clip:rect(0 0 0 0) !important;
  135. -webkit-clip-path:inset(50%) !important;
  136. clip-path:inset(50%) !important;
  137. height:1px !important;
  138. overflow:hidden !important;
  139. padding:0 !important;
  140. position:absolute !important;
  141. width:1px !important;
  142. white-space:nowrap !important
  143. }
  144. .select2-container--default .select2-selection--single{
  145. background-color:#fff;
  146. color: #8898aa;
  147. border:1px solid #cad1d7;
  148. border-radius:4px
  149. }
  150. .select2-container--default .select2-selection--single .select2-selection__rendered{
  151. color:#8898aa;
  152. line-height:28px;
  153. padding-left: 15px;
  154. font-size: 0.875rem;
  155. }
  156. .select2-container--default .select2-selection--single .select2-selection__clear{
  157. cursor:pointer;
  158. float:right;
  159. font-weight:bold
  160. }
  161. .select2-container--default .select2-selection--single .select2-selection__placeholder{
  162. color:#999
  163. }
  164. .select2-container--default .select2-selection--single .select2-selection__arrow{
  165. height:26px;
  166. position:absolute;
  167. top:1px;
  168. right:1px;
  169. width:20px
  170. }
  171. .select2-container--default .select2-selection--single .select2-selection__arrow b{
  172. border-color:#888 transparent transparent transparent;
  173. border-style:solid;
  174. border-width:5px 4px 0 4px;
  175. height:0;
  176. left:50%;
  177. margin-left:-4px;
  178. margin-top:-2px;
  179. position:absolute;
  180. top:50%;
  181. width:0
  182. }
  183. .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear{
  184. float:left
  185. }
  186. .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow{
  187. left:1px;
  188. right:auto
  189. }
  190. .select2-container--default.select2-container--disabled .select2-selection--single{
  191. background-color:#eee;
  192. cursor:default
  193. }
  194. .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{
  195. display:none
  196. }
  197. .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{
  198. border-color:transparent transparent #888 transparent;
  199. border-width:0 4px 5px 4px
  200. }
  201. .select2-container--default .select2-selection--multiple{
  202. background-color:white;
  203. border:1px solid #aaa;
  204. border-radius:4px;
  205. cursor:text
  206. }
  207. .select2-container--default .select2-selection--multiple .select2-selection__rendered{
  208. box-sizing:border-box;
  209. list-style:none;
  210. margin:0;
  211. padding:0 5px;
  212. width:100%
  213. }
  214. .select2-container--default .select2-selection--multiple .select2-selection__rendered li{
  215. list-style:none
  216. }
  217. .select2-container--default .select2-selection--multiple .select2-selection__clear{
  218. cursor:pointer;
  219. float:right;
  220. font-weight:bold;
  221. margin-top:5px;
  222. margin-right:10px;
  223. padding:1px
  224. }
  225. .select2-container--default .select2-selection--multiple .select2-selection__choice{
  226. background-color:#e4e4e4;
  227. border:1px solid #aaa;
  228. border-radius:4px;
  229. cursor:default;
  230. float:left;
  231. margin-right:5px;
  232. margin-top:5px;
  233. padding:0 5px
  234. }
  235. .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
  236. color:#999;
  237. cursor:pointer;
  238. display:inline-block;
  239. font-weight:bold;
  240. margin-right:2px
  241. }
  242. .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{
  243. color:#333
  244. }
  245. .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice,.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline{
  246. float:right
  247. }
  248. .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice{
  249. margin-left:5px;
  250. margin-right:auto
  251. }
  252. .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{
  253. margin-left:2px;
  254. margin-right:auto
  255. }
  256. .select2-container--default.select2-container--focus .select2-selection--multiple{
  257. border:solid black 1px;
  258. outline:0
  259. }
  260. .select2-container--default.select2-container--disabled .select2-selection--multiple{
  261. background-color:#eee;
  262. cursor:default
  263. }
  264. .select2-container--default.select2-container--disabled .select2-selection__choice__remove{
  265. display:none
  266. }
  267. .select2-container--default.select2-container--open.select2-container--above .select2-selection--single,.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple{
  268. border-top-left-radius:0;
  269. border-top-right-radius:0
  270. }
  271. .select2-container--default.select2-container--open.select2-container--below .select2-selection--single,.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple{
  272. border-bottom-left-radius:0;
  273. border-bottom-right-radius:0
  274. }
  275. .select2-container--default .select2-search--dropdown .select2-search__field{
  276. border:1px solid #aaa
  277. }
  278. .select2-container--default .select2-search--inline .select2-search__field{
  279. background:transparent;
  280. border:none;
  281. outline:0;
  282. box-shadow:none;
  283. -webkit-appearance:textfield
  284. }
  285. .select2-container--default .select2-results>.select2-results__options{
  286. max-height:200px;
  287. overflow-y:auto
  288. }
  289. .select2-container--default .select2-results__option[role=group]{
  290. padding:0
  291. }
  292. .select2-container--default .select2-results__option[aria-disabled=true]{
  293. color:#999
  294. }
  295. .select2-container--default .select2-results__option[aria-selected=true]{
  296. background-color:#ddd
  297. }
  298. .select2-container--default .select2-results__option .select2-results__option{
  299. padding-left:1em
  300. }
  301. .select2-container--default .select2-results__option .select2-results__option .select2-results__group{
  302. padding-left:0
  303. }
  304. .select2-container--default .select2-results__option .select2-results__option .select2-results__option{
  305. margin-left:-1em;
  306. padding-left:2em
  307. }
  308. .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{
  309. margin-left:-2em;
  310. padding-left:3em
  311. }
  312. .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{
  313. margin-left:-3em;
  314. padding-left:4em
  315. }
  316. .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{
  317. margin-left:-4em;
  318. padding-left:5em
  319. }
  320. .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{
  321. margin-left:-5em;
  322. padding-left:6em
  323. }
  324. .select2-container--default .select2-results__option--highlighted[aria-selected]{
  325. background-color:#5897fb;
  326. color:white
  327. }
  328. .select2-container--default .select2-results__group{
  329. cursor:default;
  330. display:block;
  331. padding:6px
  332. }
  333. .select2-container--classic .select2-selection--single{
  334. background-color:#f7f7f7;
  335. border:1px solid #aaa;
  336. border-radius:4px;
  337. outline:0;
  338. background-image:-webkit-linear-gradient(top, #fff 50%, #eee 100%);
  339. background-image:-o-linear-gradient(top, #fff 50%, #eee 100%);
  340. background-image:linear-gradient(to bottom, #fff 50%, #eee 100%);
  341. background-repeat:repeat-x;
  342. filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)
  343. }
  344. .select2-container--classic .select2-selection--single:focus{
  345. border:1px solid #5897fb
  346. }
  347. .select2-container--classic .select2-selection--single .select2-selection__rendered{
  348. color:#444;
  349. line-height:28px
  350. }
  351. .select2-container--classic .select2-selection--single .select2-selection__clear{
  352. cursor:pointer;
  353. float:right;
  354. font-weight:bold;
  355. margin-right:10px
  356. }
  357. .select2-container--classic .select2-selection--single .select2-selection__placeholder{
  358. color:#999
  359. }
  360. .select2-container--classic .select2-selection--single .select2-selection__arrow{
  361. background-color:#ddd;
  362. border:none;
  363. border-left:1px solid #aaa;
  364. border-top-right-radius:4px;
  365. border-bottom-right-radius:4px;
  366. height:26px;
  367. position:absolute;
  368. top:1px;
  369. right:1px;
  370. width:20px;
  371. background-image:-webkit-linear-gradient(top, #eee 50%, #ccc 100%);
  372. background-image:-o-linear-gradient(top, #eee 50%, #ccc 100%);
  373. background-image:linear-gradient(to bottom, #eee 50%, #ccc 100%);
  374. background-repeat:repeat-x;
  375. filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0)
  376. }
  377. .select2-container--classic .select2-selection--single .select2-selection__arrow b{
  378. border-color:#888 transparent transparent transparent;
  379. border-style:solid;
  380. border-width:5px 4px 0 4px;
  381. height:0;
  382. left:50%;
  383. margin-left:-4px;
  384. margin-top:-2px;
  385. position:absolute;
  386. top:50%;
  387. width:0
  388. }
  389. .select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear{
  390. float:left
  391. }
  392. .select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow{
  393. border:none;
  394. border-right:1px solid #aaa;
  395. border-radius:0;
  396. border-top-left-radius:4px;
  397. border-bottom-left-radius:4px;
  398. left:1px;
  399. right:auto
  400. }
  401. .select2-container--classic.select2-container--open .select2-selection--single{
  402. border:1px solid #5897fb
  403. }
  404. .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{
  405. background:transparent;
  406. border:none
  407. }
  408. .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b{
  409. border-color:transparent transparent #888 transparent;
  410. border-width:0 4px 5px 4px
  411. }
  412. .select2-container--classic.select2-container--open.select2-container--above .select2-selection--single{
  413. border-top:none;
  414. border-top-left-radius:0;
  415. border-top-right-radius:0;
  416. background-image:-webkit-linear-gradient(top, #fff 0%, #eee 50%);
  417. background-image:-o-linear-gradient(top, #fff 0%, #eee 50%);
  418. background-image:linear-gradient(to bottom, #fff 0%, #eee 50%);
  419. background-repeat:repeat-x;
  420. filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)
  421. }
  422. .select2-container--classic.select2-container--open.select2-container--below .select2-selection--single{
  423. border-bottom:none;
  424. border-bottom-left-radius:0;
  425. border-bottom-right-radius:0;
  426. background-image:-webkit-linear-gradient(top, #eee 50%, #fff 100%);
  427. background-image:-o-linear-gradient(top, #eee 50%, #fff 100%);
  428. background-image:linear-gradient(to bottom, #eee 50%, #fff 100%);
  429. background-repeat:repeat-x;
  430. filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0)
  431. }
  432. .select2-container--classic .select2-selection--multiple{
  433. background-color:white;
  434. border:1px solid #aaa;
  435. border-radius:4px;
  436. cursor:text;
  437. outline:0
  438. }
  439. .select2-container--classic .select2-selection--multiple:focus{
  440. border:1px solid #5897fb
  441. }
  442. .select2-container--classic .select2-selection--multiple .select2-selection__rendered{
  443. list-style:none;
  444. margin:0;
  445. padding:0 5px
  446. }
  447. .select2-container--classic .select2-selection--multiple .select2-selection__clear{
  448. display:none
  449. }
  450. .select2-container--classic .select2-selection--multiple .select2-selection__choice{
  451. background-color:#e4e4e4;
  452. border:1px solid #aaa;
  453. border-radius:4px;
  454. cursor:default;
  455. float:left;
  456. margin-right:5px;
  457. margin-top:5px;
  458. padding:0 5px
  459. }
  460. .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove{
  461. color:#888;
  462. cursor:pointer;
  463. display:inline-block;
  464. font-weight:bold;
  465. margin-right:2px
  466. }
  467. .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover{
  468. color:#555
  469. }
  470. .select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{
  471. float:right;
  472. margin-left:5px;
  473. margin-right:auto
  474. }
  475. .select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{
  476. margin-left:2px;
  477. margin-right:auto
  478. }
  479. .select2-container--classic.select2-container--open .select2-selection--multiple{
  480. border:1px solid #5897fb
  481. }
  482. .select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple{
  483. border-top:none;
  484. border-top-left-radius:0;
  485. border-top-right-radius:0
  486. }
  487. .select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple{
  488. border-bottom:none;
  489. border-bottom-left-radius:0;
  490. border-bottom-right-radius:0
  491. }
  492. .select2-container--classic .select2-search--dropdown .select2-search__field{
  493. border:1px solid #aaa;
  494. outline:0
  495. }
  496. .select2-container--classic .select2-search--inline .select2-search__field{
  497. outline:0;
  498. box-shadow:none
  499. }
  500. .select2-container--classic .select2-dropdown{
  501. background-color:#fff;
  502. border:1px solid transparent
  503. }
  504. .select2-container--classic .select2-dropdown--above{
  505. border-bottom:none
  506. }
  507. .select2-container--classic .select2-dropdown--below{
  508. border-top:none
  509. }
  510. .select2-container--classic .select2-results>.select2-results__options{
  511. max-height:200px;
  512. overflow-y:auto
  513. }
  514. .select2-container--classic .select2-results__option[role=group]{
  515. padding:0
  516. }
  517. .select2-container--classic .select2-results__option[aria-disabled=true]{
  518. color:grey
  519. }
  520. .select2-container--classic .select2-results__option--highlighted[aria-selected]{
  521. background-color:#3875d7;
  522. color:#fff
  523. }
  524. .select2-container--classic .select2-results__group{
  525. cursor:default;
  526. display:block;
  527. padding:6px
  528. }
  529. .select2-container--classic.select2-container--open .select2-dropdown{
  530. border-color:#5897fb
  531. }