You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

484 lines
17 KiB

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