select2-rails 3.5.9 → 4.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. checksums.yaml +5 -13
  2. data/README.md +22 -6
  3. data/Rakefile +1 -3
  4. data/lib/select2-rails/engine.rb +1 -1
  5. data/lib/select2-rails/source_file.rb +17 -47
  6. data/lib/select2-rails/version.rb +1 -1
  7. data/select2-rails.gemspec +1 -1
  8. data/vendor/assets/javascripts/select2-full.js +6820 -0
  9. data/vendor/assets/javascripts/select2.js +6108 -0
  10. data/vendor/assets/javascripts/select2_locale_af.js +3 -0
  11. data/vendor/assets/javascripts/select2_locale_ar.js +3 -0
  12. data/vendor/assets/javascripts/select2_locale_az.js +3 -0
  13. data/vendor/assets/javascripts/select2_locale_bg.js +3 -0
  14. data/vendor/assets/javascripts/select2_locale_bn.js +3 -0
  15. data/vendor/assets/javascripts/select2_locale_bs.js +3 -0
  16. data/vendor/assets/javascripts/select2_locale_ca.js +3 -0
  17. data/vendor/assets/javascripts/select2_locale_cs.js +3 -0
  18. data/vendor/assets/javascripts/select2_locale_da.js +3 -0
  19. data/vendor/assets/javascripts/select2_locale_de.js +3 -0
  20. data/vendor/assets/javascripts/select2_locale_dsb.js +3 -0
  21. data/vendor/assets/javascripts/select2_locale_el.js +3 -0
  22. data/vendor/assets/javascripts/select2_locale_en.js +3 -0
  23. data/vendor/assets/javascripts/select2_locale_es.js +3 -0
  24. data/vendor/assets/javascripts/select2_locale_et.js +3 -0
  25. data/vendor/assets/javascripts/select2_locale_eu.js +3 -0
  26. data/vendor/assets/javascripts/select2_locale_fa.js +3 -0
  27. data/vendor/assets/javascripts/select2_locale_fi.js +3 -0
  28. data/vendor/assets/javascripts/select2_locale_fr.js +3 -0
  29. data/vendor/assets/javascripts/select2_locale_gl.js +3 -0
  30. data/vendor/assets/javascripts/select2_locale_he.js +3 -0
  31. data/vendor/assets/javascripts/select2_locale_hi.js +3 -0
  32. data/vendor/assets/javascripts/select2_locale_hr.js +3 -0
  33. data/vendor/assets/javascripts/select2_locale_hsb.js +3 -0
  34. data/vendor/assets/javascripts/select2_locale_hu.js +3 -0
  35. data/vendor/assets/javascripts/select2_locale_hy.js +3 -0
  36. data/vendor/assets/javascripts/select2_locale_id.js +3 -0
  37. data/vendor/assets/javascripts/select2_locale_is.js +3 -0
  38. data/vendor/assets/javascripts/select2_locale_it.js +3 -0
  39. data/vendor/assets/javascripts/select2_locale_ja.js +3 -0
  40. data/vendor/assets/javascripts/select2_locale_ka.js +3 -0
  41. data/vendor/assets/javascripts/select2_locale_km.js +3 -0
  42. data/vendor/assets/javascripts/select2_locale_ko.js +3 -0
  43. data/vendor/assets/javascripts/select2_locale_lt.js +3 -0
  44. data/vendor/assets/javascripts/select2_locale_lv.js +3 -0
  45. data/vendor/assets/javascripts/select2_locale_mk.js +3 -0
  46. data/vendor/assets/javascripts/select2_locale_ms.js +3 -0
  47. data/vendor/assets/javascripts/select2_locale_nb.js +3 -0
  48. data/vendor/assets/javascripts/select2_locale_ne.js +3 -0
  49. data/vendor/assets/javascripts/select2_locale_nl.js +3 -0
  50. data/vendor/assets/javascripts/select2_locale_pl.js +3 -0
  51. data/vendor/assets/javascripts/select2_locale_ps.js +3 -0
  52. data/vendor/assets/javascripts/select2_locale_pt-BR.js +3 -0
  53. data/vendor/assets/javascripts/select2_locale_pt.js +3 -0
  54. data/vendor/assets/javascripts/select2_locale_ro.js +3 -0
  55. data/vendor/assets/javascripts/select2_locale_ru.js +3 -0
  56. data/vendor/assets/javascripts/select2_locale_sk.js +3 -0
  57. data/vendor/assets/javascripts/select2_locale_sl.js +3 -0
  58. data/vendor/assets/javascripts/select2_locale_sq.js +3 -0
  59. data/vendor/assets/javascripts/select2_locale_sr-Cyrl.js +3 -0
  60. data/vendor/assets/javascripts/select2_locale_sr.js +3 -0
  61. data/vendor/assets/javascripts/select2_locale_sv.js +3 -0
  62. data/vendor/assets/javascripts/select2_locale_th.js +3 -0
  63. data/vendor/assets/javascripts/select2_locale_tk.js +3 -0
  64. data/vendor/assets/javascripts/select2_locale_tr.js +3 -0
  65. data/vendor/assets/javascripts/select2_locale_uk.js +3 -0
  66. data/vendor/assets/javascripts/select2_locale_vi.js +3 -0
  67. data/vendor/assets/javascripts/select2_locale_zh-CN.js +3 -0
  68. data/vendor/assets/javascripts/select2_locale_zh-TW.js +3 -0
  69. data/vendor/assets/stylesheets/select2-bootstrap.css +610 -0
  70. data/vendor/assets/stylesheets/select2.css +481 -0
  71. metadata +80 -68
  72. data/app/assets/images/select2-spinner.gif +0 -0
  73. data/app/assets/images/select2.png +0 -0
  74. data/app/assets/images/select2x2.png +0 -0
  75. data/app/assets/javascripts/select2.js +0 -3481
  76. data/app/assets/javascripts/select2_locale_ar.js +0 -17
  77. data/app/assets/javascripts/select2_locale_az.js +0 -18
  78. data/app/assets/javascripts/select2_locale_bg.js +0 -18
  79. data/app/assets/javascripts/select2_locale_ca.js +0 -17
  80. data/app/assets/javascripts/select2_locale_cs.js +0 -49
  81. data/app/assets/javascripts/select2_locale_da.js +0 -17
  82. data/app/assets/javascripts/select2_locale_de.js +0 -16
  83. data/app/assets/javascripts/select2_locale_el.js +0 -17
  84. data/app/assets/javascripts/select2_locale_es.js +0 -15
  85. data/app/assets/javascripts/select2_locale_et.js +0 -17
  86. data/app/assets/javascripts/select2_locale_eu.js +0 -43
  87. data/app/assets/javascripts/select2_locale_fa.js +0 -19
  88. data/app/assets/javascripts/select2_locale_fi.js +0 -28
  89. data/app/assets/javascripts/select2_locale_fr.js +0 -16
  90. data/app/assets/javascripts/select2_locale_gl.js +0 -43
  91. data/app/assets/javascripts/select2_locale_he.js +0 -17
  92. data/app/assets/javascripts/select2_locale_hr.js +0 -22
  93. data/app/assets/javascripts/select2_locale_hu.js +0 -15
  94. data/app/assets/javascripts/select2_locale_id.js +0 -17
  95. data/app/assets/javascripts/select2_locale_is.js +0 -15
  96. data/app/assets/javascripts/select2_locale_it.js +0 -15
  97. data/app/assets/javascripts/select2_locale_ja.js +0 -15
  98. data/app/assets/javascripts/select2_locale_ka.js +0 -17
  99. data/app/assets/javascripts/select2_locale_ko.js +0 -17
  100. data/app/assets/javascripts/select2_locale_lt.js +0 -24
  101. data/app/assets/javascripts/select2_locale_lv.js +0 -17
  102. data/app/assets/javascripts/select2_locale_mk.js +0 -17
  103. data/app/assets/javascripts/select2_locale_ms.js +0 -17
  104. data/app/assets/javascripts/select2_locale_nl.js +0 -15
  105. data/app/assets/javascripts/select2_locale_no.js +0 -18
  106. data/app/assets/javascripts/select2_locale_pl.js +0 -23
  107. data/app/assets/javascripts/select2_locale_pt-BR.js +0 -15
  108. data/app/assets/javascripts/select2_locale_pt-PT.js +0 -15
  109. data/app/assets/javascripts/select2_locale_ro.js +0 -15
  110. data/app/assets/javascripts/select2_locale_rs.js +0 -17
  111. data/app/assets/javascripts/select2_locale_ru.js +0 -21
  112. data/app/assets/javascripts/select2_locale_sk.js +0 -48
  113. data/app/assets/javascripts/select2_locale_sv.js +0 -17
  114. data/app/assets/javascripts/select2_locale_th.js +0 -17
  115. data/app/assets/javascripts/select2_locale_tr.js +0 -17
  116. data/app/assets/javascripts/select2_locale_uk.js +0 -23
  117. data/app/assets/javascripts/select2_locale_vi.js +0 -18
  118. data/app/assets/javascripts/select2_locale_zh-CN.js +0 -14
  119. data/app/assets/javascripts/select2_locale_zh-TW.js +0 -14
  120. data/app/assets/stylesheets/select2-bootstrap.css +0 -87
  121. data/app/assets/stylesheets/select2.css.erb +0 -703
@@ -0,0 +1,481 @@
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
+
50
+ .select2-dropdown {
51
+ background-color: white;
52
+ border: 1px solid #aaa;
53
+ border-radius: 4px;
54
+ box-sizing: border-box;
55
+ display: block;
56
+ position: absolute;
57
+ left: -100000px;
58
+ width: 100%;
59
+ z-index: 1051; }
60
+
61
+ .select2-results {
62
+ display: block; }
63
+
64
+ .select2-results__options {
65
+ list-style: none;
66
+ margin: 0;
67
+ padding: 0; }
68
+
69
+ .select2-results__option {
70
+ padding: 6px;
71
+ user-select: none;
72
+ -webkit-user-select: none; }
73
+ .select2-results__option[aria-selected] {
74
+ cursor: pointer; }
75
+
76
+ .select2-container--open .select2-dropdown {
77
+ left: 0; }
78
+
79
+ .select2-container--open .select2-dropdown--above {
80
+ border-bottom: none;
81
+ border-bottom-left-radius: 0;
82
+ border-bottom-right-radius: 0; }
83
+
84
+ .select2-container--open .select2-dropdown--below {
85
+ border-top: none;
86
+ border-top-left-radius: 0;
87
+ border-top-right-radius: 0; }
88
+
89
+ .select2-search--dropdown {
90
+ display: block;
91
+ padding: 4px; }
92
+ .select2-search--dropdown .select2-search__field {
93
+ padding: 4px;
94
+ width: 100%;
95
+ box-sizing: border-box; }
96
+ .select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
97
+ -webkit-appearance: none; }
98
+ .select2-search--dropdown.select2-search--hide {
99
+ display: none; }
100
+
101
+ .select2-close-mask {
102
+ border: 0;
103
+ margin: 0;
104
+ padding: 0;
105
+ display: block;
106
+ position: fixed;
107
+ left: 0;
108
+ top: 0;
109
+ min-height: 100%;
110
+ min-width: 100%;
111
+ height: auto;
112
+ width: auto;
113
+ opacity: 0;
114
+ z-index: 99;
115
+ background-color: #fff;
116
+ filter: alpha(opacity=0); }
117
+
118
+ .select2-hidden-accessible {
119
+ border: 0 !important;
120
+ clip: rect(0 0 0 0) !important;
121
+ -webkit-clip-path: inset(50%) !important;
122
+ clip-path: inset(50%) !important;
123
+ height: 1px !important;
124
+ overflow: hidden !important;
125
+ padding: 0 !important;
126
+ position: absolute !important;
127
+ width: 1px !important;
128
+ white-space: nowrap !important; }
129
+
130
+ .select2-container--default .select2-selection--single {
131
+ background-color: #fff;
132
+ border: 1px solid #aaa;
133
+ border-radius: 4px; }
134
+ .select2-container--default .select2-selection--single .select2-selection__rendered {
135
+ color: #444;
136
+ line-height: 28px; }
137
+ .select2-container--default .select2-selection--single .select2-selection__clear {
138
+ cursor: pointer;
139
+ float: right;
140
+ font-weight: bold; }
141
+ .select2-container--default .select2-selection--single .select2-selection__placeholder {
142
+ color: #999; }
143
+ .select2-container--default .select2-selection--single .select2-selection__arrow {
144
+ height: 26px;
145
+ position: absolute;
146
+ top: 1px;
147
+ right: 1px;
148
+ width: 20px; }
149
+ .select2-container--default .select2-selection--single .select2-selection__arrow b {
150
+ border-color: #888 transparent transparent transparent;
151
+ border-style: solid;
152
+ border-width: 5px 4px 0 4px;
153
+ height: 0;
154
+ left: 50%;
155
+ margin-left: -4px;
156
+ margin-top: -2px;
157
+ position: absolute;
158
+ top: 50%;
159
+ width: 0; }
160
+
161
+ .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {
162
+ float: left; }
163
+
164
+ .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
165
+ left: 1px;
166
+ right: auto; }
167
+
168
+ .select2-container--default.select2-container--disabled .select2-selection--single {
169
+ background-color: #eee;
170
+ cursor: default; }
171
+ .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
172
+ display: none; }
173
+
174
+ .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
175
+ border-color: transparent transparent #888 transparent;
176
+ border-width: 0 4px 5px 4px; }
177
+
178
+ .select2-container--default .select2-selection--multiple {
179
+ background-color: white;
180
+ border: 1px solid #aaa;
181
+ border-radius: 4px;
182
+ cursor: text; }
183
+ .select2-container--default .select2-selection--multiple .select2-selection__rendered {
184
+ box-sizing: border-box;
185
+ list-style: none;
186
+ margin: 0;
187
+ padding: 0 5px;
188
+ width: 100%; }
189
+ .select2-container--default .select2-selection--multiple .select2-selection__rendered li {
190
+ list-style: none; }
191
+ .select2-container--default .select2-selection--multiple .select2-selection__clear {
192
+ cursor: pointer;
193
+ float: right;
194
+ font-weight: bold;
195
+ margin-top: 5px;
196
+ margin-right: 10px;
197
+ padding: 1px; }
198
+ .select2-container--default .select2-selection--multiple .select2-selection__choice {
199
+ background-color: #e4e4e4;
200
+ border: 1px solid #aaa;
201
+ border-radius: 4px;
202
+ cursor: default;
203
+ float: left;
204
+ margin-right: 5px;
205
+ margin-top: 5px;
206
+ padding: 0 5px; }
207
+ .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
208
+ color: #999;
209
+ cursor: pointer;
210
+ display: inline-block;
211
+ font-weight: bold;
212
+ margin-right: 2px; }
213
+ .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
214
+ color: #333; }
215
+
216
+ .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline {
217
+ float: right; }
218
+
219
+ .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
220
+ margin-left: 5px;
221
+ margin-right: auto; }
222
+
223
+ .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
224
+ margin-left: 2px;
225
+ margin-right: auto; }
226
+
227
+ .select2-container--default.select2-container--focus .select2-selection--multiple {
228
+ border: solid black 1px;
229
+ outline: 0; }
230
+
231
+ .select2-container--default.select2-container--disabled .select2-selection--multiple {
232
+ background-color: #eee;
233
+ cursor: default; }
234
+
235
+ .select2-container--default.select2-container--disabled .select2-selection__choice__remove {
236
+ display: none; }
237
+
238
+ .select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
239
+ border-top-left-radius: 0;
240
+ border-top-right-radius: 0; }
241
+
242
+ .select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
243
+ border-bottom-left-radius: 0;
244
+ border-bottom-right-radius: 0; }
245
+
246
+ .select2-container--default .select2-search--dropdown .select2-search__field {
247
+ border: 1px solid #aaa; }
248
+
249
+ .select2-container--default .select2-search--inline .select2-search__field {
250
+ background: transparent;
251
+ border: none;
252
+ outline: 0;
253
+ box-shadow: none;
254
+ -webkit-appearance: textfield; }
255
+
256
+ .select2-container--default .select2-results > .select2-results__options {
257
+ max-height: 200px;
258
+ overflow-y: auto; }
259
+
260
+ .select2-container--default .select2-results__option[role=group] {
261
+ padding: 0; }
262
+
263
+ .select2-container--default .select2-results__option[aria-disabled=true] {
264
+ color: #999; }
265
+
266
+ .select2-container--default .select2-results__option[aria-selected=true] {
267
+ background-color: #ddd; }
268
+
269
+ .select2-container--default .select2-results__option .select2-results__option {
270
+ padding-left: 1em; }
271
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__group {
272
+ padding-left: 0; }
273
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option {
274
+ margin-left: -1em;
275
+ padding-left: 2em; }
276
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
277
+ margin-left: -2em;
278
+ padding-left: 3em; }
279
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
280
+ margin-left: -3em;
281
+ padding-left: 4em; }
282
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
283
+ margin-left: -4em;
284
+ padding-left: 5em; }
285
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
286
+ margin-left: -5em;
287
+ padding-left: 6em; }
288
+
289
+ .select2-container--default .select2-results__option--highlighted[aria-selected] {
290
+ background-color: #5897fb;
291
+ color: white; }
292
+
293
+ .select2-container--default .select2-results__group {
294
+ cursor: default;
295
+ display: block;
296
+ padding: 6px; }
297
+
298
+ .select2-container--classic .select2-selection--single {
299
+ background-color: #f7f7f7;
300
+ border: 1px solid #aaa;
301
+ border-radius: 4px;
302
+ outline: 0;
303
+ background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%);
304
+ background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%);
305
+ background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%);
306
+ background-repeat: repeat-x;
307
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }
308
+ .select2-container--classic .select2-selection--single:focus {
309
+ border: 1px solid #5897fb; }
310
+ .select2-container--classic .select2-selection--single .select2-selection__rendered {
311
+ color: #444;
312
+ line-height: 28px; }
313
+ .select2-container--classic .select2-selection--single .select2-selection__clear {
314
+ cursor: pointer;
315
+ float: right;
316
+ font-weight: bold;
317
+ margin-right: 10px; }
318
+ .select2-container--classic .select2-selection--single .select2-selection__placeholder {
319
+ color: #999; }
320
+ .select2-container--classic .select2-selection--single .select2-selection__arrow {
321
+ background-color: #ddd;
322
+ border: none;
323
+ border-left: 1px solid #aaa;
324
+ border-top-right-radius: 4px;
325
+ border-bottom-right-radius: 4px;
326
+ height: 26px;
327
+ position: absolute;
328
+ top: 1px;
329
+ right: 1px;
330
+ width: 20px;
331
+ background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
332
+ background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
333
+ background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);
334
+ background-repeat: repeat-x;
335
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0); }
336
+ .select2-container--classic .select2-selection--single .select2-selection__arrow b {
337
+ border-color: #888 transparent transparent transparent;
338
+ border-style: solid;
339
+ border-width: 5px 4px 0 4px;
340
+ height: 0;
341
+ left: 50%;
342
+ margin-left: -4px;
343
+ margin-top: -2px;
344
+ position: absolute;
345
+ top: 50%;
346
+ width: 0; }
347
+
348
+ .select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear {
349
+ float: left; }
350
+
351
+ .select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow {
352
+ border: none;
353
+ border-right: 1px solid #aaa;
354
+ border-radius: 0;
355
+ border-top-left-radius: 4px;
356
+ border-bottom-left-radius: 4px;
357
+ left: 1px;
358
+ right: auto; }
359
+
360
+ .select2-container--classic.select2-container--open .select2-selection--single {
361
+ border: 1px solid #5897fb; }
362
+ .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow {
363
+ background: transparent;
364
+ border: none; }
365
+ .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b {
366
+ border-color: transparent transparent #888 transparent;
367
+ border-width: 0 4px 5px 4px; }
368
+
369
+ .select2-container--classic.select2-container--open.select2-container--above .select2-selection--single {
370
+ border-top: none;
371
+ border-top-left-radius: 0;
372
+ border-top-right-radius: 0;
373
+ background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%);
374
+ background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%);
375
+ background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%);
376
+ background-repeat: repeat-x;
377
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }
378
+
379
+ .select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {
380
+ border-bottom: none;
381
+ border-bottom-left-radius: 0;
382
+ border-bottom-right-radius: 0;
383
+ background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%);
384
+ background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%);
385
+ background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%);
386
+ background-repeat: repeat-x;
387
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0); }
388
+
389
+ .select2-container--classic .select2-selection--multiple {
390
+ background-color: white;
391
+ border: 1px solid #aaa;
392
+ border-radius: 4px;
393
+ cursor: text;
394
+ outline: 0; }
395
+ .select2-container--classic .select2-selection--multiple:focus {
396
+ border: 1px solid #5897fb; }
397
+ .select2-container--classic .select2-selection--multiple .select2-selection__rendered {
398
+ list-style: none;
399
+ margin: 0;
400
+ padding: 0 5px; }
401
+ .select2-container--classic .select2-selection--multiple .select2-selection__clear {
402
+ display: none; }
403
+ .select2-container--classic .select2-selection--multiple .select2-selection__choice {
404
+ background-color: #e4e4e4;
405
+ border: 1px solid #aaa;
406
+ border-radius: 4px;
407
+ cursor: default;
408
+ float: left;
409
+ margin-right: 5px;
410
+ margin-top: 5px;
411
+ padding: 0 5px; }
412
+ .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {
413
+ color: #888;
414
+ cursor: pointer;
415
+ display: inline-block;
416
+ font-weight: bold;
417
+ margin-right: 2px; }
418
+ .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover {
419
+ color: #555; }
420
+
421
+ .select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
422
+ float: right;
423
+ margin-left: 5px;
424
+ margin-right: auto; }
425
+
426
+ .select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
427
+ margin-left: 2px;
428
+ margin-right: auto; }
429
+
430
+ .select2-container--classic.select2-container--open .select2-selection--multiple {
431
+ border: 1px solid #5897fb; }
432
+
433
+ .select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple {
434
+ border-top: none;
435
+ border-top-left-radius: 0;
436
+ border-top-right-radius: 0; }
437
+
438
+ .select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple {
439
+ border-bottom: none;
440
+ border-bottom-left-radius: 0;
441
+ border-bottom-right-radius: 0; }
442
+
443
+ .select2-container--classic .select2-search--dropdown .select2-search__field {
444
+ border: 1px solid #aaa;
445
+ outline: 0; }
446
+
447
+ .select2-container--classic .select2-search--inline .select2-search__field {
448
+ outline: 0;
449
+ box-shadow: none; }
450
+
451
+ .select2-container--classic .select2-dropdown {
452
+ background-color: white;
453
+ border: 1px solid transparent; }
454
+
455
+ .select2-container--classic .select2-dropdown--above {
456
+ border-bottom: none; }
457
+
458
+ .select2-container--classic .select2-dropdown--below {
459
+ border-top: none; }
460
+
461
+ .select2-container--classic .select2-results > .select2-results__options {
462
+ max-height: 200px;
463
+ overflow-y: auto; }
464
+
465
+ .select2-container--classic .select2-results__option[role=group] {
466
+ padding: 0; }
467
+
468
+ .select2-container--classic .select2-results__option[aria-disabled=true] {
469
+ color: grey; }
470
+
471
+ .select2-container--classic .select2-results__option--highlighted[aria-selected] {
472
+ background-color: #3875d7;
473
+ color: white; }
474
+
475
+ .select2-container--classic .select2-results__group {
476
+ cursor: default;
477
+ display: block;
478
+ padding: 6px; }
479
+
480
+ .select2-container--classic.select2-container--open .select2-dropdown {
481
+ border-color: #5897fb; }