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.
- checksums.yaml +5 -13
- data/README.md +22 -6
- data/Rakefile +1 -3
- data/lib/select2-rails/engine.rb +1 -1
- data/lib/select2-rails/source_file.rb +17 -47
- data/lib/select2-rails/version.rb +1 -1
- data/select2-rails.gemspec +1 -1
- data/vendor/assets/javascripts/select2-full.js +6820 -0
- data/vendor/assets/javascripts/select2.js +6108 -0
- data/vendor/assets/javascripts/select2_locale_af.js +3 -0
- data/vendor/assets/javascripts/select2_locale_ar.js +3 -0
- data/vendor/assets/javascripts/select2_locale_az.js +3 -0
- data/vendor/assets/javascripts/select2_locale_bg.js +3 -0
- data/vendor/assets/javascripts/select2_locale_bn.js +3 -0
- data/vendor/assets/javascripts/select2_locale_bs.js +3 -0
- data/vendor/assets/javascripts/select2_locale_ca.js +3 -0
- data/vendor/assets/javascripts/select2_locale_cs.js +3 -0
- data/vendor/assets/javascripts/select2_locale_da.js +3 -0
- data/vendor/assets/javascripts/select2_locale_de.js +3 -0
- data/vendor/assets/javascripts/select2_locale_dsb.js +3 -0
- data/vendor/assets/javascripts/select2_locale_el.js +3 -0
- data/vendor/assets/javascripts/select2_locale_en.js +3 -0
- data/vendor/assets/javascripts/select2_locale_es.js +3 -0
- data/vendor/assets/javascripts/select2_locale_et.js +3 -0
- data/vendor/assets/javascripts/select2_locale_eu.js +3 -0
- data/vendor/assets/javascripts/select2_locale_fa.js +3 -0
- data/vendor/assets/javascripts/select2_locale_fi.js +3 -0
- data/vendor/assets/javascripts/select2_locale_fr.js +3 -0
- data/vendor/assets/javascripts/select2_locale_gl.js +3 -0
- data/vendor/assets/javascripts/select2_locale_he.js +3 -0
- data/vendor/assets/javascripts/select2_locale_hi.js +3 -0
- data/vendor/assets/javascripts/select2_locale_hr.js +3 -0
- data/vendor/assets/javascripts/select2_locale_hsb.js +3 -0
- data/vendor/assets/javascripts/select2_locale_hu.js +3 -0
- data/vendor/assets/javascripts/select2_locale_hy.js +3 -0
- data/vendor/assets/javascripts/select2_locale_id.js +3 -0
- data/vendor/assets/javascripts/select2_locale_is.js +3 -0
- data/vendor/assets/javascripts/select2_locale_it.js +3 -0
- data/vendor/assets/javascripts/select2_locale_ja.js +3 -0
- data/vendor/assets/javascripts/select2_locale_ka.js +3 -0
- data/vendor/assets/javascripts/select2_locale_km.js +3 -0
- data/vendor/assets/javascripts/select2_locale_ko.js +3 -0
- data/vendor/assets/javascripts/select2_locale_lt.js +3 -0
- data/vendor/assets/javascripts/select2_locale_lv.js +3 -0
- data/vendor/assets/javascripts/select2_locale_mk.js +3 -0
- data/vendor/assets/javascripts/select2_locale_ms.js +3 -0
- data/vendor/assets/javascripts/select2_locale_nb.js +3 -0
- data/vendor/assets/javascripts/select2_locale_ne.js +3 -0
- data/vendor/assets/javascripts/select2_locale_nl.js +3 -0
- data/vendor/assets/javascripts/select2_locale_pl.js +3 -0
- data/vendor/assets/javascripts/select2_locale_ps.js +3 -0
- data/vendor/assets/javascripts/select2_locale_pt-BR.js +3 -0
- data/vendor/assets/javascripts/select2_locale_pt.js +3 -0
- data/vendor/assets/javascripts/select2_locale_ro.js +3 -0
- data/vendor/assets/javascripts/select2_locale_ru.js +3 -0
- data/vendor/assets/javascripts/select2_locale_sk.js +3 -0
- data/vendor/assets/javascripts/select2_locale_sl.js +3 -0
- data/vendor/assets/javascripts/select2_locale_sq.js +3 -0
- data/vendor/assets/javascripts/select2_locale_sr-Cyrl.js +3 -0
- data/vendor/assets/javascripts/select2_locale_sr.js +3 -0
- data/vendor/assets/javascripts/select2_locale_sv.js +3 -0
- data/vendor/assets/javascripts/select2_locale_th.js +3 -0
- data/vendor/assets/javascripts/select2_locale_tk.js +3 -0
- data/vendor/assets/javascripts/select2_locale_tr.js +3 -0
- data/vendor/assets/javascripts/select2_locale_uk.js +3 -0
- data/vendor/assets/javascripts/select2_locale_vi.js +3 -0
- data/vendor/assets/javascripts/select2_locale_zh-CN.js +3 -0
- data/vendor/assets/javascripts/select2_locale_zh-TW.js +3 -0
- data/vendor/assets/stylesheets/select2-bootstrap.css +610 -0
- data/vendor/assets/stylesheets/select2.css +481 -0
- metadata +80 -68
- data/app/assets/images/select2-spinner.gif +0 -0
- data/app/assets/images/select2.png +0 -0
- data/app/assets/images/select2x2.png +0 -0
- data/app/assets/javascripts/select2.js +0 -3481
- data/app/assets/javascripts/select2_locale_ar.js +0 -17
- data/app/assets/javascripts/select2_locale_az.js +0 -18
- data/app/assets/javascripts/select2_locale_bg.js +0 -18
- data/app/assets/javascripts/select2_locale_ca.js +0 -17
- data/app/assets/javascripts/select2_locale_cs.js +0 -49
- data/app/assets/javascripts/select2_locale_da.js +0 -17
- data/app/assets/javascripts/select2_locale_de.js +0 -16
- data/app/assets/javascripts/select2_locale_el.js +0 -17
- data/app/assets/javascripts/select2_locale_es.js +0 -15
- data/app/assets/javascripts/select2_locale_et.js +0 -17
- data/app/assets/javascripts/select2_locale_eu.js +0 -43
- data/app/assets/javascripts/select2_locale_fa.js +0 -19
- data/app/assets/javascripts/select2_locale_fi.js +0 -28
- data/app/assets/javascripts/select2_locale_fr.js +0 -16
- data/app/assets/javascripts/select2_locale_gl.js +0 -43
- data/app/assets/javascripts/select2_locale_he.js +0 -17
- data/app/assets/javascripts/select2_locale_hr.js +0 -22
- data/app/assets/javascripts/select2_locale_hu.js +0 -15
- data/app/assets/javascripts/select2_locale_id.js +0 -17
- data/app/assets/javascripts/select2_locale_is.js +0 -15
- data/app/assets/javascripts/select2_locale_it.js +0 -15
- data/app/assets/javascripts/select2_locale_ja.js +0 -15
- data/app/assets/javascripts/select2_locale_ka.js +0 -17
- data/app/assets/javascripts/select2_locale_ko.js +0 -17
- data/app/assets/javascripts/select2_locale_lt.js +0 -24
- data/app/assets/javascripts/select2_locale_lv.js +0 -17
- data/app/assets/javascripts/select2_locale_mk.js +0 -17
- data/app/assets/javascripts/select2_locale_ms.js +0 -17
- data/app/assets/javascripts/select2_locale_nl.js +0 -15
- data/app/assets/javascripts/select2_locale_no.js +0 -18
- data/app/assets/javascripts/select2_locale_pl.js +0 -23
- data/app/assets/javascripts/select2_locale_pt-BR.js +0 -15
- data/app/assets/javascripts/select2_locale_pt-PT.js +0 -15
- data/app/assets/javascripts/select2_locale_ro.js +0 -15
- data/app/assets/javascripts/select2_locale_rs.js +0 -17
- data/app/assets/javascripts/select2_locale_ru.js +0 -21
- data/app/assets/javascripts/select2_locale_sk.js +0 -48
- data/app/assets/javascripts/select2_locale_sv.js +0 -17
- data/app/assets/javascripts/select2_locale_th.js +0 -17
- data/app/assets/javascripts/select2_locale_tr.js +0 -17
- data/app/assets/javascripts/select2_locale_uk.js +0 -23
- data/app/assets/javascripts/select2_locale_vi.js +0 -18
- data/app/assets/javascripts/select2_locale_zh-CN.js +0 -14
- data/app/assets/javascripts/select2_locale_zh-TW.js +0 -14
- data/app/assets/stylesheets/select2-bootstrap.css +0 -87
- 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; }
|