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.

483 lines
18 KiB

4 years ago
  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. height: 1px !important;
  112. margin: -1px !important;
  113. overflow: hidden !important;
  114. padding: 0 !important;
  115. position: absolute !important;
  116. width: 1px !important; }
  117. .select2-container--default .select2-selection--single {
  118. background-color: #fff;
  119. border: 1px solid #aaa;
  120. border-radius: 4px; }
  121. .select2-container--default .select2-selection--single .select2-selection__rendered {
  122. color: #444;
  123. line-height: 28px; }
  124. .select2-container--default .select2-selection--single .select2-selection__clear {
  125. cursor: pointer;
  126. float: right;
  127. font-weight: bold; }
  128. .select2-container--default .select2-selection--single .select2-selection__placeholder {
  129. color: #999; }
  130. .select2-container--default .select2-selection--single .select2-selection__arrow {
  131. height: 26px;
  132. position: absolute;
  133. top: 1px;
  134. right: 1px;
  135. width: 20px; }
  136. .select2-container--default .select2-selection--single .select2-selection__arrow b {
  137. border-color: #888 transparent transparent transparent;
  138. border-style: solid;
  139. border-width: 5px 4px 0 4px;
  140. height: 0;
  141. left: 50%;
  142. margin-left: -4px;
  143. margin-top: -2px;
  144. position: absolute;
  145. top: 50%;
  146. width: 0; }
  147. .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {
  148. float: left; }
  149. .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
  150. left: 1px;
  151. right: auto; }
  152. .select2-container--default.select2-container--disabled .select2-selection--single {
  153. background-color: #eee;
  154. cursor: default; }
  155. .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
  156. display: none; }
  157. .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  158. border-color: transparent transparent #888 transparent;
  159. border-width: 0 4px 5px 4px; }
  160. .select2-container--default .select2-selection--multiple {
  161. background-color: white;
  162. border: 1px solid #aaa;
  163. border-radius: 4px;
  164. cursor: text; }
  165. .select2-container--default .select2-selection--multiple .select2-selection__rendered {
  166. box-sizing: border-box;
  167. list-style: none;
  168. margin: 0;
  169. padding: 0 5px;
  170. width: 100%; }
  171. .select2-container--default .select2-selection--multiple .select2-selection__rendered li {
  172. list-style: none; }
  173. .select2-container--default .select2-selection--multiple .select2-selection__placeholder {
  174. color: #999;
  175. margin-top: 5px;
  176. float: left; }
  177. .select2-container--default .select2-selection--multiple .select2-selection__clear {
  178. cursor: pointer;
  179. float: right;
  180. font-weight: bold;
  181. margin-top: 5px;
  182. margin-right: 10px; }
  183. .select2-container--default .select2-selection--multiple .select2-selection__choice {
  184. background-color: #e4e4e4;
  185. border: 1px solid #aaa;
  186. border-radius: 4px;
  187. cursor: default;
  188. float: left;
  189. margin-right: 5px;
  190. margin-top: 5px;
  191. padding: 0 5px; }
  192. .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  193. color: #999;
  194. cursor: pointer;
  195. display: inline-block;
  196. font-weight: bold;
  197. margin-right: 2px; }
  198. .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
  199. color: #333; }
  200. .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 {
  201. float: right; }
  202. .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
  203. margin-left: 5px;
  204. margin-right: auto; }
  205. .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
  206. margin-left: 2px;
  207. margin-right: auto; }
  208. .select2-container--default.select2-container--focus .select2-selection--multiple {
  209. border: solid black 1px;
  210. outline: 0; }
  211. .select2-container--default.select2-container--disabled .select2-selection--multiple {
  212. background-color: #eee;
  213. cursor: default; }
  214. .select2-container--default.select2-container--disabled .select2-selection__choice__remove {
  215. display: none; }
  216. .select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
  217. border-top-left-radius: 0;
  218. border-top-right-radius: 0; }
  219. .select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
  220. border-bottom-left-radius: 0;
  221. border-bottom-right-radius: 0; }
  222. .select2-container--default .select2-search--dropdown .select2-search__field {
  223. border: 1px solid #aaa; }
  224. .select2-container--default .select2-search--inline .select2-search__field {
  225. background: transparent;
  226. border: none;
  227. outline: 0;
  228. box-shadow: none;
  229. -webkit-appearance: textfield; }
  230. .select2-container--default .select2-results > .select2-results__options {
  231. max-height: 200px;
  232. overflow-y: auto; }
  233. .select2-container--default .select2-results__option[role=group] {
  234. padding: 0; }
  235. .select2-container--default .select2-results__option[aria-disabled=true] {
  236. color: #999; }
  237. .select2-container--default .select2-results__option[aria-selected=true] {
  238. background-color: #ddd; }
  239. .select2-container--default .select2-results__option .select2-results__option {
  240. padding-left: 1em; }
  241. .select2-container--default .select2-results__option .select2-results__option .select2-results__group {
  242. padding-left: 0; }
  243. .select2-container--default .select2-results__option .select2-results__option .select2-results__option {
  244. margin-left: -1em;
  245. padding-left: 2em; }
  246. .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
  247. margin-left: -2em;
  248. padding-left: 3em; }
  249. .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
  250. margin-left: -3em;
  251. padding-left: 4em; }
  252. .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
  253. margin-left: -4em;
  254. padding-left: 5em; }
  255. .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
  256. margin-left: -5em;
  257. padding-left: 6em; }
  258. .select2-container--default .select2-results__option--highlighted[aria-selected] {
  259. background-color: #5897fb;
  260. color: white; }
  261. .select2-container--default .select2-results__group {
  262. cursor: default;
  263. display: block;
  264. padding: 6px; }
  265. .select2-container--classic .select2-selection--single {
  266. background-color: #f7f7f7;
  267. border: 1px solid #aaa;
  268. border-radius: 4px;
  269. outline: 0;
  270. background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%);
  271. background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%);
  272. background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%);
  273. background-repeat: repeat-x;
  274. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }
  275. .select2-container--classic .select2-selection--single:focus {
  276. border: 1px solid #5897fb; }
  277. .select2-container--classic .select2-selection--single .select2-selection__rendered {
  278. color: #444;
  279. line-height: 28px; }
  280. .select2-container--classic .select2-selection--single .select2-selection__clear {
  281. cursor: pointer;
  282. float: right;
  283. font-weight: bold;
  284. margin-right: 10px; }
  285. .select2-container--classic .select2-selection--single .select2-selection__placeholder {
  286. color: #999; }
  287. .select2-container--classic .select2-selection--single .select2-selection__arrow {
  288. background-color: #ddd;
  289. border: none;
  290. border-left: 1px solid #aaa;
  291. border-top-right-radius: 4px;
  292. border-bottom-right-radius: 4px;
  293. height: 26px;
  294. position: absolute;
  295. top: 1px;
  296. right: 1px;
  297. width: 20px;
  298. background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
  299. background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
  300. background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);
  301. background-repeat: repeat-x;
  302. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0); }
  303. .select2-container--classic .select2-selection--single .select2-selection__arrow b {
  304. border-color: #888 transparent transparent transparent;
  305. border-style: solid;
  306. border-width: 5px 4px 0 4px;
  307. height: 0;
  308. left: 50%;
  309. margin-left: -4px;
  310. margin-top: -2px;
  311. position: absolute;
  312. top: 50%;
  313. width: 0; }
  314. .select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear {
  315. float: left; }
  316. .select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow {
  317. border: none;
  318. border-right: 1px solid #aaa;
  319. border-radius: 0;
  320. border-top-left-radius: 4px;
  321. border-bottom-left-radius: 4px;
  322. left: 1px;
  323. right: auto; }
  324. .select2-container--classic.select2-container--open .select2-selection--single {
  325. border: 1px solid #5897fb; }
  326. .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow {
  327. background: transparent;
  328. border: none; }
  329. .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b {
  330. border-color: transparent transparent #888 transparent;
  331. border-width: 0 4px 5px 4px; }
  332. .select2-container--classic.select2-container--open.select2-container--above .select2-selection--single {
  333. border-top: none;
  334. border-top-left-radius: 0;
  335. border-top-right-radius: 0;
  336. background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%);
  337. background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%);
  338. background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%);
  339. background-repeat: repeat-x;
  340. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }
  341. .select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {
  342. border-bottom: none;
  343. border-bottom-left-radius: 0;
  344. border-bottom-right-radius: 0;
  345. background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%);
  346. background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%);
  347. background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%);
  348. background-repeat: repeat-x;
  349. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0); }
  350. .select2-container--classic .select2-selection--multiple {
  351. background-color: white;
  352. border: 1px solid #aaa;
  353. border-radius: 4px;
  354. cursor: text;
  355. outline: 0; }
  356. .select2-container--classic .select2-selection--multiple:focus {
  357. border: 1px solid #5897fb; }
  358. .select2-container--classic .select2-selection--multiple .select2-selection__rendered {
  359. list-style: none;
  360. margin: 0;
  361. padding: 0 5px; }
  362. .select2-container--classic .select2-selection--multiple .select2-selection__clear {
  363. display: none; }
  364. .select2-container--classic .select2-selection--multiple .select2-selection__choice {
  365. background-color: #e4e4e4;
  366. border: 1px solid #aaa;
  367. border-radius: 4px;
  368. cursor: default;
  369. float: left;
  370. margin-right: 5px;
  371. margin-top: 5px;
  372. padding: 0 5px; }
  373. .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {
  374. color: #888;
  375. cursor: pointer;
  376. display: inline-block;
  377. font-weight: bold;
  378. margin-right: 2px; }
  379. .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover {
  380. color: #555; }
  381. .select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
  382. float: right; }
  383. .select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
  384. margin-left: 5px;
  385. margin-right: auto; }
  386. .select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
  387. margin-left: 2px;
  388. margin-right: auto; }
  389. .select2-container--classic.select2-container--open .select2-selection--multiple {
  390. border: 1px solid #5897fb; }
  391. .select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple {
  392. border-top: none;
  393. border-top-left-radius: 0;
  394. border-top-right-radius: 0; }
  395. .select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple {
  396. border-bottom: none;
  397. border-bottom-left-radius: 0;
  398. border-bottom-right-radius: 0; }
  399. .select2-container--classic .select2-search--dropdown .select2-search__field {
  400. border: 1px solid #aaa;
  401. outline: 0; }
  402. .select2-container--classic .select2-search--inline .select2-search__field {
  403. outline: 0;
  404. box-shadow: none; }
  405. .select2-container--classic .select2-dropdown {
  406. background-color: white;
  407. border: 1px solid transparent; }
  408. .select2-container--classic .select2-dropdown--above {
  409. border-bottom: none; }
  410. .select2-container--classic .select2-dropdown--below {
  411. border-top: none; }
  412. .select2-container--classic .select2-results > .select2-results__options {
  413. max-height: 200px;
  414. overflow-y: auto; }
  415. .select2-container--classic .select2-results__option[role=group] {
  416. padding: 0; }
  417. .select2-container--classic .select2-results__option[aria-disabled=true] {
  418. color: grey; }
  419. .select2-container--classic .select2-results__option--highlighted[aria-selected] {
  420. background-color: #3875d7;
  421. color: white; }
  422. .select2-container--classic .select2-results__group {
  423. cursor: default;
  424. display: block;
  425. padding: 6px; }
  426. .select2-container--classic.select2-container--open .select2-dropdown {
  427. border-color: #5897fb; }