25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

482 lines
17KB

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