selectize-rails 0.8.1 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +18 -18
- data/Gemfile +4 -4
- data/LICENSE.txt +22 -22
- data/README.md +72 -71
- data/Rakefile +1 -1
- data/lib/selectize-rails.rb +12 -12
- data/lib/selectize-rails/engine.rb +5 -5
- data/lib/selectize-rails/railtie.rb +5 -5
- data/lib/selectize-rails/version.rb +5 -5
- data/selectize-rails.gemspec +23 -23
- data/update_from_vendor.sh +17 -17
- data/vendor/assets/javascripts/selectize.js +3319 -3302
- data/vendor/assets/stylesheets/selectize.bootstrap2.css +549 -549
- data/vendor/assets/stylesheets/selectize.bootstrap3.css +447 -447
- data/vendor/assets/stylesheets/selectize.css +359 -359
- data/vendor/assets/stylesheets/selectize.default.css +441 -441
- data/vendor/assets/stylesheets/selectize.legacy.css +412 -412
- metadata +9 -3
@@ -1,442 +1,442 @@
|
|
1
|
-
/**
|
2
|
-
* selectize.default.css (v0.8.
|
3
|
-
* Copyright (c) 2013 Brian Reavis & contributors
|
4
|
-
*
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
|
6
|
-
* file except in compliance with the License. You may obtain a copy of the License at:
|
7
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
*
|
9
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
10
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
11
|
-
* ANY KIND, either express or implied. See the License for the specific language
|
12
|
-
* governing permissions and limitations under the License.
|
13
|
-
*
|
14
|
-
* @author Brian Reavis <brian@thirdroute.com>
|
15
|
-
*/
|
16
|
-
|
17
|
-
.selectize-control.plugin-drag_drop.multi > .selectize-input > div.ui-sortable-placeholder {
|
18
|
-
background: #f2f2f2 !important;
|
19
|
-
background: rgba(0, 0, 0, 0.06) !important;
|
20
|
-
border: 0 none !important;
|
21
|
-
visibility: visible !important;
|
22
|
-
-webkit-box-shadow: inset 0 0 12px 4px #ffffff;
|
23
|
-
box-shadow: inset 0 0 12px 4px #ffffff;
|
24
|
-
}
|
25
|
-
|
26
|
-
.selectize-control.plugin-drag_drop .ui-sortable-placeholder::after {
|
27
|
-
content: '!';
|
28
|
-
visibility: hidden;
|
29
|
-
}
|
30
|
-
|
31
|
-
.selectize-control.plugin-drag_drop .ui-sortable-helper {
|
32
|
-
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
|
33
|
-
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
|
34
|
-
}
|
35
|
-
|
36
|
-
.selectize-dropdown-header {
|
37
|
-
position: relative;
|
38
|
-
padding: 5px 8px;
|
39
|
-
background: #f8f8f8;
|
40
|
-
border-bottom: 1px solid #d0d0d0;
|
41
|
-
-webkit-border-radius: 3px 3px 0 0;
|
42
|
-
-moz-border-radius: 3px 3px 0 0;
|
43
|
-
border-radius: 3px 3px 0 0;
|
44
|
-
}
|
45
|
-
|
46
|
-
.selectize-dropdown-header-close {
|
47
|
-
position: absolute;
|
48
|
-
top: 50%;
|
49
|
-
right: 8px;
|
50
|
-
margin-top: -12px;
|
51
|
-
font-size: 20px !important;
|
52
|
-
line-height: 20px;
|
53
|
-
color: #303030;
|
54
|
-
opacity: 0.4;
|
55
|
-
}
|
56
|
-
|
57
|
-
.selectize-dropdown-header-close:hover {
|
58
|
-
color: #000000;
|
59
|
-
}
|
60
|
-
|
61
|
-
.selectize-dropdown.plugin-optgroup_columns .optgroup {
|
62
|
-
float: left;
|
63
|
-
border-top: 0 none;
|
64
|
-
border-right: 1px solid #f2f2f2;
|
65
|
-
-webkit-box-sizing: border-box;
|
66
|
-
-moz-box-sizing: border-box;
|
67
|
-
box-sizing: border-box;
|
68
|
-
}
|
69
|
-
|
70
|
-
.selectize-dropdown.plugin-optgroup_columns .optgroup:last-child {
|
71
|
-
border-right: 0 none;
|
72
|
-
}
|
73
|
-
|
74
|
-
.selectize-dropdown.plugin-optgroup_columns .optgroup:before {
|
75
|
-
display: none;
|
76
|
-
}
|
77
|
-
|
78
|
-
.selectize-dropdown.plugin-optgroup_columns .optgroup-header {
|
79
|
-
border-top: 0 none;
|
80
|
-
}
|
81
|
-
|
82
|
-
.selectize-control.plugin-remove_button [data-value] {
|
83
|
-
position: relative;
|
84
|
-
padding-right: 24px !important;
|
85
|
-
}
|
86
|
-
|
87
|
-
.selectize-control.plugin-remove_button [data-value] .remove {
|
88
|
-
position: absolute;
|
89
|
-
top: 0;
|
90
|
-
right: 0;
|
91
|
-
bottom: 0;
|
92
|
-
display: inline-block;
|
93
|
-
width: 17px;
|
94
|
-
padding: 2px 0 0 0;
|
95
|
-
font-size: 12px;
|
96
|
-
font-weight: bold;
|
97
|
-
color: inherit;
|
98
|
-
text-align: center;
|
99
|
-
text-decoration: none;
|
100
|
-
vertical-align: middle;
|
101
|
-
border-left: 1px solid #0073bb;
|
102
|
-
-webkit-border-radius: 0 2px 2px 0;
|
103
|
-
-moz-border-radius: 0 2px 2px 0;
|
104
|
-
border-radius: 0 2px 2px 0;
|
105
|
-
-webkit-box-sizing: border-box;
|
106
|
-
-moz-box-sizing: border-box;
|
107
|
-
box-sizing: border-box;
|
108
|
-
}
|
109
|
-
|
110
|
-
.selectize-control.plugin-remove_button [data-value] .remove:hover {
|
111
|
-
background: rgba(0, 0, 0, 0.05);
|
112
|
-
}
|
113
|
-
|
114
|
-
.selectize-control.plugin-remove_button [data-value].active .remove {
|
115
|
-
border-left-color: #00578d;
|
116
|
-
}
|
117
|
-
|
118
|
-
.selectize-control.plugin-remove_button .disabled [data-value] .remove:hover {
|
119
|
-
background: none;
|
120
|
-
}
|
121
|
-
|
122
|
-
.selectize-control.plugin-remove_button .disabled [data-value] .remove {
|
123
|
-
border-left-color: #aaaaaa;
|
124
|
-
}
|
125
|
-
|
126
|
-
.selectize-control {
|
127
|
-
position: relative;
|
128
|
-
}
|
129
|
-
|
130
|
-
.selectize-dropdown,
|
131
|
-
.selectize-input,
|
132
|
-
.selectize-input input {
|
133
|
-
font-family: inherit;
|
134
|
-
font-size: 13px;
|
135
|
-
-webkit-font-smoothing: inherit;
|
136
|
-
line-height: 18px;
|
137
|
-
color: #303030;
|
138
|
-
}
|
139
|
-
|
140
|
-
.selectize-input,
|
141
|
-
.selectize-control.single .selectize-input.input-active {
|
142
|
-
display: inline-block;
|
143
|
-
cursor: text;
|
144
|
-
background: #ffffff;
|
145
|
-
}
|
146
|
-
|
147
|
-
.selectize-input {
|
148
|
-
position: relative;
|
149
|
-
z-index: 1;
|
150
|
-
display: inline-block;
|
151
|
-
width: 100%;
|
152
|
-
padding: 8px 8px;
|
153
|
-
overflow: hidden;
|
154
|
-
border: 1px solid #d0d0d0;
|
155
|
-
-webkit-border-radius: 3px;
|
156
|
-
-moz-border-radius: 3px;
|
157
|
-
border-radius: 3px;
|
158
|
-
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
|
159
|
-
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
|
160
|
-
-webkit-box-sizing: border-box;
|
161
|
-
-moz-box-sizing: border-box;
|
162
|
-
box-sizing: border-box;
|
163
|
-
}
|
164
|
-
|
165
|
-
.selectize-control.multi .selectize-input.has-items {
|
166
|
-
padding: 5px 8px 2px;
|
167
|
-
}
|
168
|
-
|
169
|
-
.selectize-input.full {
|
170
|
-
background-color: #ffffff;
|
171
|
-
}
|
172
|
-
|
173
|
-
.selectize-input.disabled,
|
174
|
-
.selectize-input.disabled * {
|
175
|
-
cursor: default !important;
|
176
|
-
}
|
177
|
-
|
178
|
-
.selectize-input.focus {
|
179
|
-
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
|
180
|
-
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
|
181
|
-
}
|
182
|
-
|
183
|
-
.selectize-input.dropdown-active {
|
184
|
-
-webkit-border-radius: 3px 3px 0 0;
|
185
|
-
-moz-border-radius: 3px 3px 0 0;
|
186
|
-
border-radius: 3px 3px 0 0;
|
187
|
-
}
|
188
|
-
|
189
|
-
.selectize-input > * {
|
190
|
-
display: -moz-inline-stack;
|
191
|
-
display: inline-block;
|
192
|
-
*display: inline;
|
193
|
-
vertical-align: baseline;
|
194
|
-
zoom: 1;
|
195
|
-
}
|
196
|
-
|
197
|
-
.selectize-control.multi .selectize-input > div {
|
198
|
-
padding: 2px 6px;
|
199
|
-
margin: 0 3px 3px 0;
|
200
|
-
color: #ffffff;
|
201
|
-
cursor: pointer;
|
202
|
-
background: #1da7ee;
|
203
|
-
border: 1px solid #0073bb;
|
204
|
-
}
|
205
|
-
|
206
|
-
.selectize-control.multi .selectize-input > div.active {
|
207
|
-
color: #ffffff;
|
208
|
-
background: #92c836;
|
209
|
-
border: 1px solid #00578d;
|
210
|
-
}
|
211
|
-
|
212
|
-
.selectize-control.multi .selectize-input.disabled > div,
|
213
|
-
.selectize-control.multi .selectize-input.disabled > div.active {
|
214
|
-
color: #ffffff;
|
215
|
-
background: #d2d2d2;
|
216
|
-
border: 1px solid #aaaaaa;
|
217
|
-
}
|
218
|
-
|
219
|
-
.selectize-input > input {
|
220
|
-
max-width: 100% !important;
|
221
|
-
max-height: none !important;
|
222
|
-
min-height: 0 !important;
|
223
|
-
padding: 0 !important;
|
224
|
-
margin: 0 1px !important;
|
225
|
-
line-height: inherit !important;
|
226
|
-
text-indent: 0 !important;
|
227
|
-
background: none !important;
|
228
|
-
border: 0 none !important;
|
229
|
-
-webkit-box-shadow: none !important;
|
230
|
-
box-shadow: none !important;
|
231
|
-
-webkit-user-select: auto !important;
|
232
|
-
}
|
233
|
-
|
234
|
-
.selectize-input > input:focus {
|
235
|
-
outline: none !important;
|
236
|
-
}
|
237
|
-
|
238
|
-
.selectize-input::after {
|
239
|
-
display: block;
|
240
|
-
clear: left;
|
241
|
-
content: ' ';
|
242
|
-
}
|
243
|
-
|
244
|
-
.selectize-input.dropdown-active::before {
|
245
|
-
position: absolute;
|
246
|
-
right: 0;
|
247
|
-
bottom: 0;
|
248
|
-
left: 0;
|
249
|
-
display: block;
|
250
|
-
height: 1px;
|
251
|
-
background: #f0f0f0;
|
252
|
-
content: ' ';
|
253
|
-
}
|
254
|
-
|
255
|
-
.selectize-dropdown {
|
256
|
-
position: absolute;
|
257
|
-
z-index: 10;
|
258
|
-
margin: -1px 0 0 0;
|
259
|
-
background: #ffffff;
|
260
|
-
border: 1px solid #d0d0d0;
|
261
|
-
border-top: 0 none;
|
262
|
-
-webkit-border-radius: 0 0 3px 3px;
|
263
|
-
-moz-border-radius: 0 0 3px 3px;
|
264
|
-
border-radius: 0 0 3px 3px;
|
265
|
-
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
266
|
-
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
267
|
-
-webkit-box-sizing: border-box;
|
268
|
-
-moz-box-sizing: border-box;
|
269
|
-
box-sizing: border-box;
|
270
|
-
}
|
271
|
-
|
272
|
-
.selectize-dropdown [data-selectable] {
|
273
|
-
overflow: hidden;
|
274
|
-
cursor: pointer;
|
275
|
-
}
|
276
|
-
|
277
|
-
.selectize-dropdown [data-selectable] .highlight {
|
278
|
-
background: rgba(125, 168, 208, 0.2);
|
279
|
-
-webkit-border-radius: 1px;
|
280
|
-
-moz-border-radius: 1px;
|
281
|
-
border-radius: 1px;
|
282
|
-
}
|
283
|
-
|
284
|
-
.selectize-dropdown [data-selectable],
|
285
|
-
.selectize-dropdown .optgroup-header {
|
286
|
-
padding: 5px 8px;
|
287
|
-
}
|
288
|
-
|
289
|
-
.selectize-dropdown .optgroup:first-child .optgroup-header {
|
290
|
-
border-top: 0 none;
|
291
|
-
}
|
292
|
-
|
293
|
-
.selectize-dropdown .optgroup-header {
|
294
|
-
color: #303030;
|
295
|
-
cursor: default;
|
296
|
-
background: #ffffff;
|
297
|
-
}
|
298
|
-
|
299
|
-
.selectize-dropdown .active {
|
300
|
-
color: #495c68;
|
301
|
-
background-color: #f5fafd;
|
302
|
-
}
|
303
|
-
|
304
|
-
.selectize-dropdown .active.create {
|
305
|
-
color: #495c68;
|
306
|
-
}
|
307
|
-
|
308
|
-
.selectize-dropdown .create {
|
309
|
-
color: rgba(48, 48, 48, 0.5);
|
310
|
-
}
|
311
|
-
|
312
|
-
.selectize-dropdown-content {
|
313
|
-
max-height: 200px;
|
314
|
-
overflow-x: hidden;
|
315
|
-
overflow-y: auto;
|
316
|
-
}
|
317
|
-
|
318
|
-
.selectize-control.single .selectize-input,
|
319
|
-
.selectize-control.single .selectize-input input {
|
320
|
-
cursor: pointer;
|
321
|
-
}
|
322
|
-
|
323
|
-
.selectize-control.single .selectize-input.input-active,
|
324
|
-
.selectize-control.single .selectize-input.input-active input {
|
325
|
-
cursor: text;
|
326
|
-
}
|
327
|
-
|
328
|
-
.selectize-control.single .selectize-input:after {
|
329
|
-
position: absolute;
|
330
|
-
top: 50%;
|
331
|
-
right: 15px;
|
332
|
-
display: block;
|
333
|
-
width: 0;
|
334
|
-
height: 0;
|
335
|
-
margin-top: -3px;
|
336
|
-
border-color: #808080 transparent transparent transparent;
|
337
|
-
border-style: solid;
|
338
|
-
border-width: 5px 5px 0 5px;
|
339
|
-
content: ' ';
|
340
|
-
}
|
341
|
-
|
342
|
-
.selectize-control.single .selectize-input.dropdown-active:after {
|
343
|
-
margin-top: -4px;
|
344
|
-
border-color: transparent transparent #808080 transparent;
|
345
|
-
border-width: 0 5px 5px 5px;
|
346
|
-
}
|
347
|
-
|
348
|
-
.selectize-control.rtl.single .selectize-input:after {
|
349
|
-
right: auto;
|
350
|
-
left: 15px;
|
351
|
-
}
|
352
|
-
|
353
|
-
.selectize-control.rtl .selectize-input > input {
|
354
|
-
margin: 0 4px 0 -2px !important;
|
355
|
-
}
|
356
|
-
|
357
|
-
.selectize-control .selectize-input.disabled {
|
358
|
-
background-color: #fafafa;
|
359
|
-
opacity: 0.5;
|
360
|
-
}
|
361
|
-
|
362
|
-
.selectize-control.multi .selectize-input.has-items {
|
363
|
-
padding-right: 5px;
|
364
|
-
padding-left: 5px;
|
365
|
-
}
|
366
|
-
|
367
|
-
.selectize-control.multi .selectize-input.disabled [data-value] {
|
368
|
-
color: #999;
|
369
|
-
text-shadow: none;
|
370
|
-
background: none;
|
371
|
-
-webkit-box-shadow: none;
|
372
|
-
box-shadow: none;
|
373
|
-
}
|
374
|
-
|
375
|
-
.selectize-control.multi .selectize-input.disabled [data-value],
|
376
|
-
.selectize-control.multi .selectize-input.disabled [data-value] .remove {
|
377
|
-
border-color: #e6e6e6;
|
378
|
-
}
|
379
|
-
|
380
|
-
.selectize-control.multi .selectize-input.disabled [data-value] .remove {
|
381
|
-
background: none;
|
382
|
-
}
|
383
|
-
|
384
|
-
.selectize-control.multi .selectize-input [data-value] {
|
385
|
-
text-shadow: 0 1px 0 rgba(0, 51, 83, 0.3);
|
386
|
-
background-color: #1b9dec;
|
387
|
-
background-image: -moz-linear-gradient(top, #1da7ee, #178ee9);
|
388
|
-
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#1da7ee), to(#178ee9));
|
389
|
-
background-image: -webkit-linear-gradient(top, #1da7ee, #178ee9);
|
390
|
-
background-image: -o-linear-gradient(top, #1da7ee, #178ee9);
|
391
|
-
background-image: linear-gradient(to bottom, #1da7ee, #178ee9);
|
392
|
-
background-repeat: repeat-x;
|
393
|
-
-webkit-border-radius: 3px;
|
394
|
-
-moz-border-radius: 3px;
|
395
|
-
border-radius: 3px;
|
396
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff1da7ee', endColorstr='#ff178ee9', GradientType=0);
|
397
|
-
-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.03);
|
398
|
-
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.03);
|
399
|
-
}
|
400
|
-
|
401
|
-
.selectize-control.multi .selectize-input [data-value].active {
|
402
|
-
background-color: #0085d4;
|
403
|
-
background-image: -moz-linear-gradient(top, #008fd8, #0075cf);
|
404
|
-
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#008fd8), to(#0075cf));
|
405
|
-
background-image: -webkit-linear-gradient(top, #008fd8, #0075cf);
|
406
|
-
background-image: -o-linear-gradient(top, #008fd8, #0075cf);
|
407
|
-
background-image: linear-gradient(to bottom, #008fd8, #0075cf);
|
408
|
-
background-repeat: repeat-x;
|
409
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff008fd8', endColorstr='#ff0075cf', GradientType=0);
|
410
|
-
}
|
411
|
-
|
412
|
-
.selectize-control.single .selectize-input {
|
413
|
-
background-color: #f9f9f9;
|
414
|
-
background-image: -moz-linear-gradient(top, #fefefe, #f2f2f2);
|
415
|
-
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fefefe), to(#f2f2f2));
|
416
|
-
background-image: -webkit-linear-gradient(top, #fefefe, #f2f2f2);
|
417
|
-
background-image: -o-linear-gradient(top, #fefefe, #f2f2f2);
|
418
|
-
background-image: linear-gradient(to bottom, #fefefe, #f2f2f2);
|
419
|
-
background-repeat: repeat-x;
|
420
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffefefe', endColorstr='#fff2f2f2', GradientType=0);
|
421
|
-
-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
|
422
|
-
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
|
423
|
-
}
|
424
|
-
|
425
|
-
.selectize-control.single .selectize-input,
|
426
|
-
.selectize-dropdown.single {
|
427
|
-
border-color: #b8b8b8;
|
428
|
-
}
|
429
|
-
|
430
|
-
.selectize-dropdown .optgroup-header {
|
431
|
-
padding-top: 7px;
|
432
|
-
font-size: 0.85em;
|
433
|
-
font-weight: bold;
|
434
|
-
}
|
435
|
-
|
436
|
-
.selectize-dropdown .optgroup {
|
437
|
-
border-top: 1px solid #f0f0f0;
|
438
|
-
}
|
439
|
-
|
440
|
-
.selectize-dropdown .optgroup:first-child {
|
441
|
-
border-top: 0 none;
|
1
|
+
/**
|
2
|
+
* selectize.default.css (v0.8.3) - Default Theme
|
3
|
+
* Copyright (c) 2013 Brian Reavis & contributors
|
4
|
+
*
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
|
6
|
+
* file except in compliance with the License. You may obtain a copy of the License at:
|
7
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
*
|
9
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
10
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
11
|
+
* ANY KIND, either express or implied. See the License for the specific language
|
12
|
+
* governing permissions and limitations under the License.
|
13
|
+
*
|
14
|
+
* @author Brian Reavis <brian@thirdroute.com>
|
15
|
+
*/
|
16
|
+
|
17
|
+
.selectize-control.plugin-drag_drop.multi > .selectize-input > div.ui-sortable-placeholder {
|
18
|
+
background: #f2f2f2 !important;
|
19
|
+
background: rgba(0, 0, 0, 0.06) !important;
|
20
|
+
border: 0 none !important;
|
21
|
+
visibility: visible !important;
|
22
|
+
-webkit-box-shadow: inset 0 0 12px 4px #ffffff;
|
23
|
+
box-shadow: inset 0 0 12px 4px #ffffff;
|
24
|
+
}
|
25
|
+
|
26
|
+
.selectize-control.plugin-drag_drop .ui-sortable-placeholder::after {
|
27
|
+
content: '!';
|
28
|
+
visibility: hidden;
|
29
|
+
}
|
30
|
+
|
31
|
+
.selectize-control.plugin-drag_drop .ui-sortable-helper {
|
32
|
+
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
|
33
|
+
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
|
34
|
+
}
|
35
|
+
|
36
|
+
.selectize-dropdown-header {
|
37
|
+
position: relative;
|
38
|
+
padding: 5px 8px;
|
39
|
+
background: #f8f8f8;
|
40
|
+
border-bottom: 1px solid #d0d0d0;
|
41
|
+
-webkit-border-radius: 3px 3px 0 0;
|
42
|
+
-moz-border-radius: 3px 3px 0 0;
|
43
|
+
border-radius: 3px 3px 0 0;
|
44
|
+
}
|
45
|
+
|
46
|
+
.selectize-dropdown-header-close {
|
47
|
+
position: absolute;
|
48
|
+
top: 50%;
|
49
|
+
right: 8px;
|
50
|
+
margin-top: -12px;
|
51
|
+
font-size: 20px !important;
|
52
|
+
line-height: 20px;
|
53
|
+
color: #303030;
|
54
|
+
opacity: 0.4;
|
55
|
+
}
|
56
|
+
|
57
|
+
.selectize-dropdown-header-close:hover {
|
58
|
+
color: #000000;
|
59
|
+
}
|
60
|
+
|
61
|
+
.selectize-dropdown.plugin-optgroup_columns .optgroup {
|
62
|
+
float: left;
|
63
|
+
border-top: 0 none;
|
64
|
+
border-right: 1px solid #f2f2f2;
|
65
|
+
-webkit-box-sizing: border-box;
|
66
|
+
-moz-box-sizing: border-box;
|
67
|
+
box-sizing: border-box;
|
68
|
+
}
|
69
|
+
|
70
|
+
.selectize-dropdown.plugin-optgroup_columns .optgroup:last-child {
|
71
|
+
border-right: 0 none;
|
72
|
+
}
|
73
|
+
|
74
|
+
.selectize-dropdown.plugin-optgroup_columns .optgroup:before {
|
75
|
+
display: none;
|
76
|
+
}
|
77
|
+
|
78
|
+
.selectize-dropdown.plugin-optgroup_columns .optgroup-header {
|
79
|
+
border-top: 0 none;
|
80
|
+
}
|
81
|
+
|
82
|
+
.selectize-control.plugin-remove_button [data-value] {
|
83
|
+
position: relative;
|
84
|
+
padding-right: 24px !important;
|
85
|
+
}
|
86
|
+
|
87
|
+
.selectize-control.plugin-remove_button [data-value] .remove {
|
88
|
+
position: absolute;
|
89
|
+
top: 0;
|
90
|
+
right: 0;
|
91
|
+
bottom: 0;
|
92
|
+
display: inline-block;
|
93
|
+
width: 17px;
|
94
|
+
padding: 2px 0 0 0;
|
95
|
+
font-size: 12px;
|
96
|
+
font-weight: bold;
|
97
|
+
color: inherit;
|
98
|
+
text-align: center;
|
99
|
+
text-decoration: none;
|
100
|
+
vertical-align: middle;
|
101
|
+
border-left: 1px solid #0073bb;
|
102
|
+
-webkit-border-radius: 0 2px 2px 0;
|
103
|
+
-moz-border-radius: 0 2px 2px 0;
|
104
|
+
border-radius: 0 2px 2px 0;
|
105
|
+
-webkit-box-sizing: border-box;
|
106
|
+
-moz-box-sizing: border-box;
|
107
|
+
box-sizing: border-box;
|
108
|
+
}
|
109
|
+
|
110
|
+
.selectize-control.plugin-remove_button [data-value] .remove:hover {
|
111
|
+
background: rgba(0, 0, 0, 0.05);
|
112
|
+
}
|
113
|
+
|
114
|
+
.selectize-control.plugin-remove_button [data-value].active .remove {
|
115
|
+
border-left-color: #00578d;
|
116
|
+
}
|
117
|
+
|
118
|
+
.selectize-control.plugin-remove_button .disabled [data-value] .remove:hover {
|
119
|
+
background: none;
|
120
|
+
}
|
121
|
+
|
122
|
+
.selectize-control.plugin-remove_button .disabled [data-value] .remove {
|
123
|
+
border-left-color: #aaaaaa;
|
124
|
+
}
|
125
|
+
|
126
|
+
.selectize-control {
|
127
|
+
position: relative;
|
128
|
+
}
|
129
|
+
|
130
|
+
.selectize-dropdown,
|
131
|
+
.selectize-input,
|
132
|
+
.selectize-input input {
|
133
|
+
font-family: inherit;
|
134
|
+
font-size: 13px;
|
135
|
+
-webkit-font-smoothing: inherit;
|
136
|
+
line-height: 18px;
|
137
|
+
color: #303030;
|
138
|
+
}
|
139
|
+
|
140
|
+
.selectize-input,
|
141
|
+
.selectize-control.single .selectize-input.input-active {
|
142
|
+
display: inline-block;
|
143
|
+
cursor: text;
|
144
|
+
background: #ffffff;
|
145
|
+
}
|
146
|
+
|
147
|
+
.selectize-input {
|
148
|
+
position: relative;
|
149
|
+
z-index: 1;
|
150
|
+
display: inline-block;
|
151
|
+
width: 100%;
|
152
|
+
padding: 8px 8px;
|
153
|
+
overflow: hidden;
|
154
|
+
border: 1px solid #d0d0d0;
|
155
|
+
-webkit-border-radius: 3px;
|
156
|
+
-moz-border-radius: 3px;
|
157
|
+
border-radius: 3px;
|
158
|
+
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
|
159
|
+
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
|
160
|
+
-webkit-box-sizing: border-box;
|
161
|
+
-moz-box-sizing: border-box;
|
162
|
+
box-sizing: border-box;
|
163
|
+
}
|
164
|
+
|
165
|
+
.selectize-control.multi .selectize-input.has-items {
|
166
|
+
padding: 5px 8px 2px;
|
167
|
+
}
|
168
|
+
|
169
|
+
.selectize-input.full {
|
170
|
+
background-color: #ffffff;
|
171
|
+
}
|
172
|
+
|
173
|
+
.selectize-input.disabled,
|
174
|
+
.selectize-input.disabled * {
|
175
|
+
cursor: default !important;
|
176
|
+
}
|
177
|
+
|
178
|
+
.selectize-input.focus {
|
179
|
+
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
|
180
|
+
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
|
181
|
+
}
|
182
|
+
|
183
|
+
.selectize-input.dropdown-active {
|
184
|
+
-webkit-border-radius: 3px 3px 0 0;
|
185
|
+
-moz-border-radius: 3px 3px 0 0;
|
186
|
+
border-radius: 3px 3px 0 0;
|
187
|
+
}
|
188
|
+
|
189
|
+
.selectize-input > * {
|
190
|
+
display: -moz-inline-stack;
|
191
|
+
display: inline-block;
|
192
|
+
*display: inline;
|
193
|
+
vertical-align: baseline;
|
194
|
+
zoom: 1;
|
195
|
+
}
|
196
|
+
|
197
|
+
.selectize-control.multi .selectize-input > div {
|
198
|
+
padding: 2px 6px;
|
199
|
+
margin: 0 3px 3px 0;
|
200
|
+
color: #ffffff;
|
201
|
+
cursor: pointer;
|
202
|
+
background: #1da7ee;
|
203
|
+
border: 1px solid #0073bb;
|
204
|
+
}
|
205
|
+
|
206
|
+
.selectize-control.multi .selectize-input > div.active {
|
207
|
+
color: #ffffff;
|
208
|
+
background: #92c836;
|
209
|
+
border: 1px solid #00578d;
|
210
|
+
}
|
211
|
+
|
212
|
+
.selectize-control.multi .selectize-input.disabled > div,
|
213
|
+
.selectize-control.multi .selectize-input.disabled > div.active {
|
214
|
+
color: #ffffff;
|
215
|
+
background: #d2d2d2;
|
216
|
+
border: 1px solid #aaaaaa;
|
217
|
+
}
|
218
|
+
|
219
|
+
.selectize-input > input {
|
220
|
+
max-width: 100% !important;
|
221
|
+
max-height: none !important;
|
222
|
+
min-height: 0 !important;
|
223
|
+
padding: 0 !important;
|
224
|
+
margin: 0 1px !important;
|
225
|
+
line-height: inherit !important;
|
226
|
+
text-indent: 0 !important;
|
227
|
+
background: none !important;
|
228
|
+
border: 0 none !important;
|
229
|
+
-webkit-box-shadow: none !important;
|
230
|
+
box-shadow: none !important;
|
231
|
+
-webkit-user-select: auto !important;
|
232
|
+
}
|
233
|
+
|
234
|
+
.selectize-input > input:focus {
|
235
|
+
outline: none !important;
|
236
|
+
}
|
237
|
+
|
238
|
+
.selectize-input::after {
|
239
|
+
display: block;
|
240
|
+
clear: left;
|
241
|
+
content: ' ';
|
242
|
+
}
|
243
|
+
|
244
|
+
.selectize-input.dropdown-active::before {
|
245
|
+
position: absolute;
|
246
|
+
right: 0;
|
247
|
+
bottom: 0;
|
248
|
+
left: 0;
|
249
|
+
display: block;
|
250
|
+
height: 1px;
|
251
|
+
background: #f0f0f0;
|
252
|
+
content: ' ';
|
253
|
+
}
|
254
|
+
|
255
|
+
.selectize-dropdown {
|
256
|
+
position: absolute;
|
257
|
+
z-index: 10;
|
258
|
+
margin: -1px 0 0 0;
|
259
|
+
background: #ffffff;
|
260
|
+
border: 1px solid #d0d0d0;
|
261
|
+
border-top: 0 none;
|
262
|
+
-webkit-border-radius: 0 0 3px 3px;
|
263
|
+
-moz-border-radius: 0 0 3px 3px;
|
264
|
+
border-radius: 0 0 3px 3px;
|
265
|
+
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
266
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
267
|
+
-webkit-box-sizing: border-box;
|
268
|
+
-moz-box-sizing: border-box;
|
269
|
+
box-sizing: border-box;
|
270
|
+
}
|
271
|
+
|
272
|
+
.selectize-dropdown [data-selectable] {
|
273
|
+
overflow: hidden;
|
274
|
+
cursor: pointer;
|
275
|
+
}
|
276
|
+
|
277
|
+
.selectize-dropdown [data-selectable] .highlight {
|
278
|
+
background: rgba(125, 168, 208, 0.2);
|
279
|
+
-webkit-border-radius: 1px;
|
280
|
+
-moz-border-radius: 1px;
|
281
|
+
border-radius: 1px;
|
282
|
+
}
|
283
|
+
|
284
|
+
.selectize-dropdown [data-selectable],
|
285
|
+
.selectize-dropdown .optgroup-header {
|
286
|
+
padding: 5px 8px;
|
287
|
+
}
|
288
|
+
|
289
|
+
.selectize-dropdown .optgroup:first-child .optgroup-header {
|
290
|
+
border-top: 0 none;
|
291
|
+
}
|
292
|
+
|
293
|
+
.selectize-dropdown .optgroup-header {
|
294
|
+
color: #303030;
|
295
|
+
cursor: default;
|
296
|
+
background: #ffffff;
|
297
|
+
}
|
298
|
+
|
299
|
+
.selectize-dropdown .active {
|
300
|
+
color: #495c68;
|
301
|
+
background-color: #f5fafd;
|
302
|
+
}
|
303
|
+
|
304
|
+
.selectize-dropdown .active.create {
|
305
|
+
color: #495c68;
|
306
|
+
}
|
307
|
+
|
308
|
+
.selectize-dropdown .create {
|
309
|
+
color: rgba(48, 48, 48, 0.5);
|
310
|
+
}
|
311
|
+
|
312
|
+
.selectize-dropdown-content {
|
313
|
+
max-height: 200px;
|
314
|
+
overflow-x: hidden;
|
315
|
+
overflow-y: auto;
|
316
|
+
}
|
317
|
+
|
318
|
+
.selectize-control.single .selectize-input,
|
319
|
+
.selectize-control.single .selectize-input input {
|
320
|
+
cursor: pointer;
|
321
|
+
}
|
322
|
+
|
323
|
+
.selectize-control.single .selectize-input.input-active,
|
324
|
+
.selectize-control.single .selectize-input.input-active input {
|
325
|
+
cursor: text;
|
326
|
+
}
|
327
|
+
|
328
|
+
.selectize-control.single .selectize-input:after {
|
329
|
+
position: absolute;
|
330
|
+
top: 50%;
|
331
|
+
right: 15px;
|
332
|
+
display: block;
|
333
|
+
width: 0;
|
334
|
+
height: 0;
|
335
|
+
margin-top: -3px;
|
336
|
+
border-color: #808080 transparent transparent transparent;
|
337
|
+
border-style: solid;
|
338
|
+
border-width: 5px 5px 0 5px;
|
339
|
+
content: ' ';
|
340
|
+
}
|
341
|
+
|
342
|
+
.selectize-control.single .selectize-input.dropdown-active:after {
|
343
|
+
margin-top: -4px;
|
344
|
+
border-color: transparent transparent #808080 transparent;
|
345
|
+
border-width: 0 5px 5px 5px;
|
346
|
+
}
|
347
|
+
|
348
|
+
.selectize-control.rtl.single .selectize-input:after {
|
349
|
+
right: auto;
|
350
|
+
left: 15px;
|
351
|
+
}
|
352
|
+
|
353
|
+
.selectize-control.rtl .selectize-input > input {
|
354
|
+
margin: 0 4px 0 -2px !important;
|
355
|
+
}
|
356
|
+
|
357
|
+
.selectize-control .selectize-input.disabled {
|
358
|
+
background-color: #fafafa;
|
359
|
+
opacity: 0.5;
|
360
|
+
}
|
361
|
+
|
362
|
+
.selectize-control.multi .selectize-input.has-items {
|
363
|
+
padding-right: 5px;
|
364
|
+
padding-left: 5px;
|
365
|
+
}
|
366
|
+
|
367
|
+
.selectize-control.multi .selectize-input.disabled [data-value] {
|
368
|
+
color: #999;
|
369
|
+
text-shadow: none;
|
370
|
+
background: none;
|
371
|
+
-webkit-box-shadow: none;
|
372
|
+
box-shadow: none;
|
373
|
+
}
|
374
|
+
|
375
|
+
.selectize-control.multi .selectize-input.disabled [data-value],
|
376
|
+
.selectize-control.multi .selectize-input.disabled [data-value] .remove {
|
377
|
+
border-color: #e6e6e6;
|
378
|
+
}
|
379
|
+
|
380
|
+
.selectize-control.multi .selectize-input.disabled [data-value] .remove {
|
381
|
+
background: none;
|
382
|
+
}
|
383
|
+
|
384
|
+
.selectize-control.multi .selectize-input [data-value] {
|
385
|
+
text-shadow: 0 1px 0 rgba(0, 51, 83, 0.3);
|
386
|
+
background-color: #1b9dec;
|
387
|
+
background-image: -moz-linear-gradient(top, #1da7ee, #178ee9);
|
388
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#1da7ee), to(#178ee9));
|
389
|
+
background-image: -webkit-linear-gradient(top, #1da7ee, #178ee9);
|
390
|
+
background-image: -o-linear-gradient(top, #1da7ee, #178ee9);
|
391
|
+
background-image: linear-gradient(to bottom, #1da7ee, #178ee9);
|
392
|
+
background-repeat: repeat-x;
|
393
|
+
-webkit-border-radius: 3px;
|
394
|
+
-moz-border-radius: 3px;
|
395
|
+
border-radius: 3px;
|
396
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff1da7ee', endColorstr='#ff178ee9', GradientType=0);
|
397
|
+
-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.03);
|
398
|
+
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.03);
|
399
|
+
}
|
400
|
+
|
401
|
+
.selectize-control.multi .selectize-input [data-value].active {
|
402
|
+
background-color: #0085d4;
|
403
|
+
background-image: -moz-linear-gradient(top, #008fd8, #0075cf);
|
404
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#008fd8), to(#0075cf));
|
405
|
+
background-image: -webkit-linear-gradient(top, #008fd8, #0075cf);
|
406
|
+
background-image: -o-linear-gradient(top, #008fd8, #0075cf);
|
407
|
+
background-image: linear-gradient(to bottom, #008fd8, #0075cf);
|
408
|
+
background-repeat: repeat-x;
|
409
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff008fd8', endColorstr='#ff0075cf', GradientType=0);
|
410
|
+
}
|
411
|
+
|
412
|
+
.selectize-control.single .selectize-input {
|
413
|
+
background-color: #f9f9f9;
|
414
|
+
background-image: -moz-linear-gradient(top, #fefefe, #f2f2f2);
|
415
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fefefe), to(#f2f2f2));
|
416
|
+
background-image: -webkit-linear-gradient(top, #fefefe, #f2f2f2);
|
417
|
+
background-image: -o-linear-gradient(top, #fefefe, #f2f2f2);
|
418
|
+
background-image: linear-gradient(to bottom, #fefefe, #f2f2f2);
|
419
|
+
background-repeat: repeat-x;
|
420
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffefefe', endColorstr='#fff2f2f2', GradientType=0);
|
421
|
+
-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
|
422
|
+
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
|
423
|
+
}
|
424
|
+
|
425
|
+
.selectize-control.single .selectize-input,
|
426
|
+
.selectize-dropdown.single {
|
427
|
+
border-color: #b8b8b8;
|
428
|
+
}
|
429
|
+
|
430
|
+
.selectize-dropdown .optgroup-header {
|
431
|
+
padding-top: 7px;
|
432
|
+
font-size: 0.85em;
|
433
|
+
font-weight: bold;
|
434
|
+
}
|
435
|
+
|
436
|
+
.selectize-dropdown .optgroup {
|
437
|
+
border-top: 1px solid #f0f0f0;
|
438
|
+
}
|
439
|
+
|
440
|
+
.selectize-dropdown .optgroup:first-child {
|
441
|
+
border-top: 0 none;
|
442
442
|
}
|