select2.min.css 16 KB

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