fanforce-app-factory 0.25.0 → 0.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/fanforce/app_factory/assets/lib/vendors/knockout/knockout.custom-handlers.coffee +22 -1
- data/lib/fanforce/app_factory/assets/lib/vendors/select2/_select2_override.scss +48 -0
- data/lib/fanforce/app_factory/assets/lib/vendors/select2/select2-spinner.gif +0 -0
- data/lib/fanforce/app_factory/assets/lib/vendors/select2/select2.js +3217 -0
- data/lib/fanforce/app_factory/assets/lib/vendors/select2/select2.png +0 -0
- data/lib/fanforce/app_factory/assets/lib/vendors/select2/select2.scss +619 -0
- data/lib/fanforce/app_factory/assets/lib/vendors/select2/select2x2.png +0 -0
- data/lib/fanforce/app_factory/version.rb +1 -1
- metadata +7 -1
Binary file
|
@@ -0,0 +1,619 @@
|
|
1
|
+
/*
|
2
|
+
Version: 3.4.3 Timestamp: Tue Sep 17 06:47:14 PDT 2013
|
3
|
+
*/
|
4
|
+
$select2-img-path: '/assets/vendors/select2';
|
5
|
+
|
6
|
+
.select2-container {
|
7
|
+
margin: 0;
|
8
|
+
position: relative;
|
9
|
+
display: inline-block;
|
10
|
+
/* inline-block for ie7 */
|
11
|
+
zoom: 1;
|
12
|
+
*display: inline;
|
13
|
+
vertical-align: middle;
|
14
|
+
}
|
15
|
+
|
16
|
+
.select2-container,
|
17
|
+
.select2-drop,
|
18
|
+
.select2-search,
|
19
|
+
.select2-search input {
|
20
|
+
/*
|
21
|
+
Force border-box so that % widths fit the parent
|
22
|
+
container without overlap because of margin/padding.
|
23
|
+
|
24
|
+
More Info : http://www.quirksmode.org/css/box.html
|
25
|
+
*/
|
26
|
+
-webkit-box-sizing: border-box; /* webkit */
|
27
|
+
-moz-box-sizing: border-box; /* firefox */
|
28
|
+
box-sizing: border-box; /* css3 */
|
29
|
+
}
|
30
|
+
|
31
|
+
.select2-container .select2-choice {
|
32
|
+
display: block;
|
33
|
+
height: 26px;
|
34
|
+
padding: 0 0 0 8px;
|
35
|
+
overflow: hidden;
|
36
|
+
position: relative;
|
37
|
+
|
38
|
+
border: 1px solid #aaa;
|
39
|
+
white-space: nowrap;
|
40
|
+
line-height: 26px;
|
41
|
+
color: #444;
|
42
|
+
text-decoration: none;
|
43
|
+
|
44
|
+
border-radius: 4px;
|
45
|
+
|
46
|
+
background-clip: padding-box;
|
47
|
+
|
48
|
+
-webkit-touch-callout: none;
|
49
|
+
-webkit-user-select: none;
|
50
|
+
-moz-user-select: none;
|
51
|
+
-ms-user-select: none;
|
52
|
+
user-select: none;
|
53
|
+
|
54
|
+
background-color: #fff;
|
55
|
+
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eee), color-stop(0.5, #fff));
|
56
|
+
background-image: -webkit-linear-gradient(center bottom, #eee 0%, #fff 50%);
|
57
|
+
background-image: -moz-linear-gradient(center bottom, #eee 0%, #fff 50%);
|
58
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#ffffff', endColorstr = '#eeeeee', GradientType = 0);
|
59
|
+
background-image: linear-gradient(top, #fff 0%, #eee 50%);
|
60
|
+
}
|
61
|
+
|
62
|
+
.select2-container.select2-drop-above .select2-choice {
|
63
|
+
border-bottom-color: #aaa;
|
64
|
+
|
65
|
+
border-radius: 0 0 4px 4px;
|
66
|
+
|
67
|
+
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eee), color-stop(0.9, #fff));
|
68
|
+
background-image: -webkit-linear-gradient(center bottom, #eee 0%, #fff 90%);
|
69
|
+
background-image: -moz-linear-gradient(center bottom, #eee 0%, #fff 90%);
|
70
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0);
|
71
|
+
background-image: linear-gradient(top, #eee 0%, #fff 90%);
|
72
|
+
}
|
73
|
+
|
74
|
+
.select2-container.select2-allowclear .select2-choice .select2-chosen {
|
75
|
+
margin-right: 42px;
|
76
|
+
}
|
77
|
+
|
78
|
+
.select2-container .select2-choice > .select2-chosen {
|
79
|
+
margin-right: 26px;
|
80
|
+
display: block;
|
81
|
+
overflow: hidden;
|
82
|
+
|
83
|
+
white-space: nowrap;
|
84
|
+
|
85
|
+
text-overflow: ellipsis;
|
86
|
+
}
|
87
|
+
|
88
|
+
.select2-container .select2-choice abbr {
|
89
|
+
display: none;
|
90
|
+
width: 12px;
|
91
|
+
height: 12px;
|
92
|
+
position: absolute;
|
93
|
+
right: 24px;
|
94
|
+
top: 8px;
|
95
|
+
|
96
|
+
font-size: 1px;
|
97
|
+
text-decoration: none;
|
98
|
+
|
99
|
+
border: 0;
|
100
|
+
background: url("#{$select2-img-path}/select2.png") right top no-repeat;
|
101
|
+
cursor: pointer;
|
102
|
+
outline: 0;
|
103
|
+
}
|
104
|
+
|
105
|
+
.select2-container.select2-allowclear .select2-choice abbr {
|
106
|
+
display: inline-block;
|
107
|
+
}
|
108
|
+
|
109
|
+
.select2-container .select2-choice abbr:hover {
|
110
|
+
background-position: right -11px;
|
111
|
+
cursor: pointer;
|
112
|
+
}
|
113
|
+
|
114
|
+
.select2-drop-mask {
|
115
|
+
border: 0;
|
116
|
+
margin: 0;
|
117
|
+
padding: 0;
|
118
|
+
position: fixed;
|
119
|
+
left: 0;
|
120
|
+
top: 0;
|
121
|
+
min-height: 100%;
|
122
|
+
min-width: 100%;
|
123
|
+
height: auto;
|
124
|
+
width: auto;
|
125
|
+
opacity: 0;
|
126
|
+
z-index: 9998;
|
127
|
+
/* styles required for IE to work */
|
128
|
+
background-color: #fff;
|
129
|
+
filter: alpha(opacity=0);
|
130
|
+
}
|
131
|
+
|
132
|
+
.select2-drop {
|
133
|
+
width: 100%;
|
134
|
+
margin-top: -1px;
|
135
|
+
position: absolute;
|
136
|
+
z-index: 9999;
|
137
|
+
top: 100%;
|
138
|
+
|
139
|
+
background: #fff;
|
140
|
+
color: #000;
|
141
|
+
border: 1px solid #aaa;
|
142
|
+
border-top: 0;
|
143
|
+
|
144
|
+
border-radius: 0 0 4px 4px;
|
145
|
+
|
146
|
+
-webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
|
147
|
+
box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
|
148
|
+
}
|
149
|
+
|
150
|
+
.select2-drop-auto-width {
|
151
|
+
border-top: 1px solid #aaa;
|
152
|
+
width: auto;
|
153
|
+
}
|
154
|
+
|
155
|
+
.select2-drop-auto-width .select2-search {
|
156
|
+
padding-top: 4px;
|
157
|
+
}
|
158
|
+
|
159
|
+
.select2-drop.select2-drop-above {
|
160
|
+
margin-top: 1px;
|
161
|
+
border-top: 1px solid #aaa;
|
162
|
+
border-bottom: 0;
|
163
|
+
|
164
|
+
border-radius: 4px 4px 0 0;
|
165
|
+
|
166
|
+
-webkit-box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
|
167
|
+
box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
|
168
|
+
}
|
169
|
+
|
170
|
+
.select2-drop-active {
|
171
|
+
border: 1px solid #5897fb;
|
172
|
+
border-top: none;
|
173
|
+
}
|
174
|
+
|
175
|
+
.select2-drop.select2-drop-above.select2-drop-active {
|
176
|
+
border-top: 1px solid #5897fb;
|
177
|
+
}
|
178
|
+
|
179
|
+
.select2-container .select2-choice .select2-arrow {
|
180
|
+
display: inline-block;
|
181
|
+
width: 18px;
|
182
|
+
height: 100%;
|
183
|
+
position: absolute;
|
184
|
+
right: 0;
|
185
|
+
top: 0;
|
186
|
+
|
187
|
+
border-left: 1px solid #aaa;
|
188
|
+
border-radius: 0 4px 4px 0;
|
189
|
+
|
190
|
+
background-clip: padding-box;
|
191
|
+
|
192
|
+
background: #ccc;
|
193
|
+
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #ccc), color-stop(0.6, #eee));
|
194
|
+
background-image: -webkit-linear-gradient(center bottom, #ccc 0%, #eee 60%);
|
195
|
+
background-image: -moz-linear-gradient(center bottom, #ccc 0%, #eee 60%);
|
196
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#eeeeee', endColorstr = '#cccccc', GradientType = 0);
|
197
|
+
background-image: linear-gradient(top, #ccc 0%, #eee 60%);
|
198
|
+
}
|
199
|
+
|
200
|
+
.select2-container .select2-choice .select2-arrow b {
|
201
|
+
display: block;
|
202
|
+
width: 100%;
|
203
|
+
height: 100%;
|
204
|
+
background: url("#{$select2-img-path}/select2.png") no-repeat 0 1px;
|
205
|
+
}
|
206
|
+
|
207
|
+
.select2-search {
|
208
|
+
display: inline-block;
|
209
|
+
width: 100%;
|
210
|
+
min-height: 26px;
|
211
|
+
margin: 0;
|
212
|
+
padding-left: 4px;
|
213
|
+
padding-right: 4px;
|
214
|
+
|
215
|
+
position: relative;
|
216
|
+
z-index: 10000;
|
217
|
+
|
218
|
+
white-space: nowrap;
|
219
|
+
}
|
220
|
+
|
221
|
+
.select2-search input {
|
222
|
+
width: 100%;
|
223
|
+
height: auto !important;
|
224
|
+
min-height: 26px;
|
225
|
+
padding: 4px 20px 4px 5px;
|
226
|
+
margin: 0;
|
227
|
+
|
228
|
+
outline: 0;
|
229
|
+
font-family: sans-serif;
|
230
|
+
font-size: 1em;
|
231
|
+
|
232
|
+
border: 1px solid #aaa;
|
233
|
+
border-radius: 0;
|
234
|
+
|
235
|
+
-webkit-box-shadow: none;
|
236
|
+
box-shadow: none;
|
237
|
+
|
238
|
+
background: #fff url("#{$select2-img-path}/select2.png") no-repeat 100% -22px;
|
239
|
+
background: url("#{$select2-img-path}/select2.png") no-repeat 100% -22px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));
|
240
|
+
background: url("#{$select2-img-path}/select2.png") no-repeat 100% -22px, -webkit-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
241
|
+
background: url("#{$select2-img-path}/select2.png") no-repeat 100% -22px, -moz-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
242
|
+
background: url("#{$select2-img-path}/select2.png") no-repeat 100% -22px, linear-gradient(top, #fff 85%, #eee 99%);
|
243
|
+
}
|
244
|
+
|
245
|
+
.select2-drop.select2-drop-above .select2-search input {
|
246
|
+
margin-top: 4px;
|
247
|
+
}
|
248
|
+
|
249
|
+
.select2-search input.select2-active {
|
250
|
+
background: #fff url("#{$select2-img-path}/select2-spinner.gif") no-repeat 100%;
|
251
|
+
background: url("#{$select2-img-path}/select2-spinner.gif") no-repeat 100%, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));
|
252
|
+
background: url("#{$select2-img-path}/select2-spinner.gif") no-repeat 100%, -webkit-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
253
|
+
background: url("#{$select2-img-path}/select2-spinner.gif") no-repeat 100%, -moz-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
254
|
+
background: url("#{$select2-img-path}/select2-spinner.gif") no-repeat 100%, linear-gradient(top, #fff 85%, #eee 99%);
|
255
|
+
}
|
256
|
+
|
257
|
+
.select2-container-active .select2-choice,
|
258
|
+
.select2-container-active .select2-choices {
|
259
|
+
border: 1px solid #5897fb;
|
260
|
+
outline: none;
|
261
|
+
|
262
|
+
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .3);
|
263
|
+
box-shadow: 0 0 5px rgba(0, 0, 0, .3);
|
264
|
+
}
|
265
|
+
|
266
|
+
.select2-dropdown-open .select2-choice {
|
267
|
+
border-bottom-color: transparent;
|
268
|
+
-webkit-box-shadow: 0 1px 0 #fff inset;
|
269
|
+
box-shadow: 0 1px 0 #fff inset;
|
270
|
+
|
271
|
+
border-bottom-left-radius: 0;
|
272
|
+
border-bottom-right-radius: 0;
|
273
|
+
|
274
|
+
background-color: #eee;
|
275
|
+
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #fff), color-stop(0.5, #eee));
|
276
|
+
background-image: -webkit-linear-gradient(center bottom, #fff 0%, #eee 50%);
|
277
|
+
background-image: -moz-linear-gradient(center bottom, #fff 0%, #eee 50%);
|
278
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);
|
279
|
+
background-image: linear-gradient(top, #fff 0%, #eee 50%);
|
280
|
+
}
|
281
|
+
|
282
|
+
.select2-dropdown-open.select2-drop-above .select2-choice,
|
283
|
+
.select2-dropdown-open.select2-drop-above .select2-choices {
|
284
|
+
border: 1px solid #5897fb;
|
285
|
+
border-top-color: transparent;
|
286
|
+
|
287
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(0.5, #eee));
|
288
|
+
background-image: -webkit-linear-gradient(center top, #fff 0%, #eee 50%);
|
289
|
+
background-image: -moz-linear-gradient(center top, #fff 0%, #eee 50%);
|
290
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);
|
291
|
+
background-image: linear-gradient(bottom, #fff 0%, #eee 50%);
|
292
|
+
}
|
293
|
+
|
294
|
+
.select2-dropdown-open .select2-choice .select2-arrow {
|
295
|
+
background: transparent;
|
296
|
+
border-left: none;
|
297
|
+
filter: none;
|
298
|
+
}
|
299
|
+
.select2-dropdown-open .select2-choice .select2-arrow b {
|
300
|
+
background-position: -18px 1px;
|
301
|
+
}
|
302
|
+
|
303
|
+
/* results */
|
304
|
+
.select2-results {
|
305
|
+
max-height: 200px;
|
306
|
+
padding: 0 0 0 4px;
|
307
|
+
margin: 4px 4px 4px 0;
|
308
|
+
position: relative;
|
309
|
+
overflow-x: hidden;
|
310
|
+
overflow-y: auto;
|
311
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
312
|
+
}
|
313
|
+
|
314
|
+
.select2-results ul.select2-result-sub {
|
315
|
+
margin: 0;
|
316
|
+
padding-left: 0;
|
317
|
+
}
|
318
|
+
|
319
|
+
.select2-results ul.select2-result-sub > li .select2-result-label { padding-left: 20px }
|
320
|
+
.select2-results ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 40px }
|
321
|
+
.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 60px }
|
322
|
+
.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 80px }
|
323
|
+
.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 100px }
|
324
|
+
.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 110px }
|
325
|
+
.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 120px }
|
326
|
+
|
327
|
+
.select2-results li {
|
328
|
+
list-style: none;
|
329
|
+
display: list-item;
|
330
|
+
background-image: none;
|
331
|
+
}
|
332
|
+
|
333
|
+
.select2-results li.select2-result-with-children > .select2-result-label {
|
334
|
+
font-weight: bold;
|
335
|
+
}
|
336
|
+
|
337
|
+
.select2-results .select2-result-label {
|
338
|
+
padding: 3px 7px 4px;
|
339
|
+
margin: 0;
|
340
|
+
cursor: pointer;
|
341
|
+
|
342
|
+
min-height: 1em;
|
343
|
+
|
344
|
+
-webkit-touch-callout: none;
|
345
|
+
-webkit-user-select: none;
|
346
|
+
-moz-user-select: none;
|
347
|
+
-ms-user-select: none;
|
348
|
+
user-select: none;
|
349
|
+
}
|
350
|
+
|
351
|
+
.select2-results .select2-highlighted {
|
352
|
+
background: #3875d7;
|
353
|
+
color: #fff;
|
354
|
+
}
|
355
|
+
|
356
|
+
.select2-results li em {
|
357
|
+
background: #feffde;
|
358
|
+
font-style: normal;
|
359
|
+
}
|
360
|
+
|
361
|
+
.select2-results .select2-highlighted em {
|
362
|
+
background: transparent;
|
363
|
+
}
|
364
|
+
|
365
|
+
.select2-results .select2-highlighted ul {
|
366
|
+
background: #fff;
|
367
|
+
color: #000;
|
368
|
+
}
|
369
|
+
|
370
|
+
|
371
|
+
.select2-results .select2-no-results,
|
372
|
+
.select2-results .select2-searching,
|
373
|
+
.select2-results .select2-selection-limit {
|
374
|
+
background: #f4f4f4;
|
375
|
+
display: list-item;
|
376
|
+
}
|
377
|
+
|
378
|
+
/*
|
379
|
+
disabled look for disabled choices in the results dropdown
|
380
|
+
*/
|
381
|
+
.select2-results .select2-disabled.select2-highlighted {
|
382
|
+
color: #666;
|
383
|
+
background: #f4f4f4;
|
384
|
+
display: list-item;
|
385
|
+
cursor: default;
|
386
|
+
}
|
387
|
+
.select2-results .select2-disabled {
|
388
|
+
background: #f4f4f4;
|
389
|
+
display: list-item;
|
390
|
+
cursor: default;
|
391
|
+
}
|
392
|
+
|
393
|
+
.select2-results .select2-selected {
|
394
|
+
display: none;
|
395
|
+
}
|
396
|
+
|
397
|
+
.select2-more-results.select2-active {
|
398
|
+
background: #f4f4f4 url("#{$select2-img-path}/select2-spinner.gif") no-repeat 100%;
|
399
|
+
}
|
400
|
+
|
401
|
+
.select2-more-results {
|
402
|
+
background: #f4f4f4;
|
403
|
+
display: list-item;
|
404
|
+
}
|
405
|
+
|
406
|
+
/* disabled styles */
|
407
|
+
|
408
|
+
.select2-container.select2-container-disabled .select2-choice {
|
409
|
+
background-color: #f4f4f4;
|
410
|
+
background-image: none;
|
411
|
+
border: 1px solid #ddd;
|
412
|
+
cursor: default;
|
413
|
+
}
|
414
|
+
|
415
|
+
.select2-container.select2-container-disabled .select2-choice .select2-arrow {
|
416
|
+
background-color: #f4f4f4;
|
417
|
+
background-image: none;
|
418
|
+
border-left: 0;
|
419
|
+
}
|
420
|
+
|
421
|
+
.select2-container.select2-container-disabled .select2-choice abbr {
|
422
|
+
display: none;
|
423
|
+
}
|
424
|
+
|
425
|
+
|
426
|
+
/* multiselect */
|
427
|
+
|
428
|
+
.select2-container-multi .select2-choices {
|
429
|
+
height: auto !important;
|
430
|
+
height: 1%;
|
431
|
+
margin: 0;
|
432
|
+
padding: 0;
|
433
|
+
position: relative;
|
434
|
+
|
435
|
+
border: 1px solid #aaa;
|
436
|
+
cursor: text;
|
437
|
+
overflow: hidden;
|
438
|
+
|
439
|
+
background-color: #fff;
|
440
|
+
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eee), color-stop(15%, #fff));
|
441
|
+
background-image: -webkit-linear-gradient(top, #eee 1%, #fff 15%);
|
442
|
+
background-image: -moz-linear-gradient(top, #eee 1%, #fff 15%);
|
443
|
+
background-image: linear-gradient(top, #eee 1%, #fff 15%);
|
444
|
+
}
|
445
|
+
|
446
|
+
.select2-locked {
|
447
|
+
padding: 3px 5px 3px 5px !important;
|
448
|
+
}
|
449
|
+
|
450
|
+
.select2-container-multi .select2-choices {
|
451
|
+
min-height: 26px;
|
452
|
+
}
|
453
|
+
|
454
|
+
.select2-container-multi.select2-container-active .select2-choices {
|
455
|
+
border: 1px solid #5897fb;
|
456
|
+
outline: none;
|
457
|
+
|
458
|
+
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .3);
|
459
|
+
box-shadow: 0 0 5px rgba(0, 0, 0, .3);
|
460
|
+
}
|
461
|
+
.select2-container-multi .select2-choices li {
|
462
|
+
float: left;
|
463
|
+
list-style: none;
|
464
|
+
}
|
465
|
+
.select2-container-multi .select2-choices .select2-search-field {
|
466
|
+
margin: 0;
|
467
|
+
padding: 0;
|
468
|
+
white-space: nowrap;
|
469
|
+
}
|
470
|
+
|
471
|
+
.select2-container-multi .select2-choices .select2-search-field input {
|
472
|
+
padding: 5px;
|
473
|
+
margin: 1px 0;
|
474
|
+
|
475
|
+
font-family: sans-serif;
|
476
|
+
font-size: 100%;
|
477
|
+
color: #666;
|
478
|
+
outline: 0;
|
479
|
+
border: 0;
|
480
|
+
-webkit-box-shadow: none;
|
481
|
+
box-shadow: none;
|
482
|
+
background: transparent !important;
|
483
|
+
}
|
484
|
+
|
485
|
+
.select2-container-multi .select2-choices .select2-search-field input.select2-active {
|
486
|
+
background: #fff url("#{$select2-img-path}/select2-spinner.gif") no-repeat 100% !important;
|
487
|
+
}
|
488
|
+
|
489
|
+
.select2-default {
|
490
|
+
color: #999 !important;
|
491
|
+
}
|
492
|
+
|
493
|
+
.select2-container-multi .select2-choices .select2-search-choice {
|
494
|
+
padding: 3px 5px 3px 18px;
|
495
|
+
margin: 3px 0 3px 5px;
|
496
|
+
position: relative;
|
497
|
+
|
498
|
+
line-height: 13px;
|
499
|
+
color: #333;
|
500
|
+
cursor: default;
|
501
|
+
border: 1px solid #aaaaaa;
|
502
|
+
|
503
|
+
border-radius: 3px;
|
504
|
+
|
505
|
+
-webkit-box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
|
506
|
+
box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
|
507
|
+
|
508
|
+
background-clip: padding-box;
|
509
|
+
|
510
|
+
-webkit-touch-callout: none;
|
511
|
+
-webkit-user-select: none;
|
512
|
+
-moz-user-select: none;
|
513
|
+
-ms-user-select: none;
|
514
|
+
user-select: none;
|
515
|
+
|
516
|
+
background-color: #e4e4e4;
|
517
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#f4f4f4', GradientType=0);
|
518
|
+
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eee));
|
519
|
+
background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
|
520
|
+
background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
|
521
|
+
background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
|
522
|
+
}
|
523
|
+
.select2-container-multi .select2-choices .select2-search-choice .select2-chosen {
|
524
|
+
cursor: default;
|
525
|
+
}
|
526
|
+
.select2-container-multi .select2-choices .select2-search-choice-focus {
|
527
|
+
background: #d4d4d4;
|
528
|
+
}
|
529
|
+
|
530
|
+
.select2-search-choice-close {
|
531
|
+
display: block;
|
532
|
+
width: 12px;
|
533
|
+
height: 13px;
|
534
|
+
position: absolute;
|
535
|
+
right: 3px;
|
536
|
+
top: 4px;
|
537
|
+
|
538
|
+
font-size: 1px;
|
539
|
+
outline: none;
|
540
|
+
background: url("#{$select2-img-path}/select2.png") right top no-repeat;
|
541
|
+
}
|
542
|
+
|
543
|
+
.select2-container-multi .select2-search-choice-close {
|
544
|
+
left: 3px;
|
545
|
+
}
|
546
|
+
|
547
|
+
.select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover {
|
548
|
+
background-position: right -11px;
|
549
|
+
}
|
550
|
+
.select2-container-multi .select2-choices .select2-search-choice-focus .select2-search-choice-close {
|
551
|
+
background-position: right -11px;
|
552
|
+
}
|
553
|
+
|
554
|
+
/* disabled styles */
|
555
|
+
.select2-container-multi.select2-container-disabled .select2-choices {
|
556
|
+
background-color: #f4f4f4;
|
557
|
+
background-image: none;
|
558
|
+
border: 1px solid #ddd;
|
559
|
+
cursor: default;
|
560
|
+
}
|
561
|
+
|
562
|
+
.select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice {
|
563
|
+
padding: 3px 5px 3px 5px;
|
564
|
+
border: 1px solid #ddd;
|
565
|
+
background-image: none;
|
566
|
+
background-color: #f4f4f4;
|
567
|
+
}
|
568
|
+
|
569
|
+
.select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice .select2-search-choice-close { display: none;
|
570
|
+
background: none;
|
571
|
+
}
|
572
|
+
/* end multiselect */
|
573
|
+
|
574
|
+
|
575
|
+
.select2-result-selectable .select2-match,
|
576
|
+
.select2-result-unselectable .select2-match {
|
577
|
+
text-decoration: underline;
|
578
|
+
}
|
579
|
+
|
580
|
+
.select2-offscreen, .select2-offscreen:focus {
|
581
|
+
clip: rect(0 0 0 0) !important;
|
582
|
+
width: 1px !important;
|
583
|
+
height: 1px !important;
|
584
|
+
border: 0 !important;
|
585
|
+
margin: 0 !important;
|
586
|
+
padding: 0 !important;
|
587
|
+
overflow: hidden !important;
|
588
|
+
position: absolute !important;
|
589
|
+
outline: 0 !important;
|
590
|
+
left: 0px !important;
|
591
|
+
top: 0px !important;
|
592
|
+
}
|
593
|
+
|
594
|
+
.select2-display-none {
|
595
|
+
display: none;
|
596
|
+
}
|
597
|
+
|
598
|
+
.select2-measure-scrollbar {
|
599
|
+
position: absolute;
|
600
|
+
top: -10000px;
|
601
|
+
left: -10000px;
|
602
|
+
width: 100px;
|
603
|
+
height: 100px;
|
604
|
+
overflow: scroll;
|
605
|
+
}
|
606
|
+
/* Retina-ize icons */
|
607
|
+
|
608
|
+
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi) {
|
609
|
+
.select2-search input, .select2-search-choice-close, .select2-container .select2-choice abbr, .select2-container .select2-choice .select2-arrow b {
|
610
|
+
background-image: url("#{$select2-img-path}/select2x2.png") !important;
|
611
|
+
background-repeat: no-repeat !important;
|
612
|
+
background-size: 60px 40px !important;
|
613
|
+
}
|
614
|
+
.select2-search input {
|
615
|
+
background-position: 100% -21px !important;
|
616
|
+
}
|
617
|
+
}
|
618
|
+
|
619
|
+
@import 'select2_override';
|