selectize-rails 0.6.14 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,416 @@
1
+ /**
2
+ * selectize.default.css (v0.7.0) - 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 .item {
83
+ position: relative;
84
+ padding-right: 24px !important;
85
+ }
86
+
87
+ .selectize-control.plugin-remove_button .item .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
+ vertical-align: middle;
100
+ border-left: 1px solid #0073bb;
101
+ -webkit-border-radius: 0 2px 2px 0;
102
+ -moz-border-radius: 0 2px 2px 0;
103
+ border-radius: 0 2px 2px 0;
104
+ -webkit-box-sizing: border-box;
105
+ -moz-box-sizing: border-box;
106
+ box-sizing: border-box;
107
+ }
108
+
109
+ .selectize-control.plugin-remove_button .item .remove:hover {
110
+ background: rgba(0, 0, 0, 0.05);
111
+ }
112
+
113
+ .selectize-control.plugin-remove_button .item.active .remove {
114
+ border-left-color: #00578d;
115
+ }
116
+
117
+ .selectize-control {
118
+ position: relative;
119
+ }
120
+
121
+ .selectize-dropdown,
122
+ .selectize-input,
123
+ .selectize-input input {
124
+ font-family: inherit;
125
+ font-size: 13px;
126
+ -webkit-font-smoothing: inherit;
127
+ line-height: 18px;
128
+ color: #303030;
129
+ }
130
+
131
+ .selectize-input,
132
+ .selectize-control.single .selectize-input.focus {
133
+ display: inline-block;
134
+ cursor: text;
135
+ background: #ffffff;
136
+ }
137
+
138
+ .selectize-input {
139
+ position: relative;
140
+ z-index: 1;
141
+ display: inline-block;
142
+ width: 100%;
143
+ padding: 8px 8px;
144
+ overflow: hidden;
145
+ border: 1px solid #d0d0d0;
146
+ -webkit-border-radius: 3px;
147
+ -moz-border-radius: 3px;
148
+ border-radius: 3px;
149
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
150
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
151
+ -webkit-box-sizing: border-box;
152
+ -moz-box-sizing: border-box;
153
+ box-sizing: border-box;
154
+ }
155
+
156
+ .selectize-control.multi .selectize-input.has-items {
157
+ padding: 5px 8px 2px;
158
+ }
159
+
160
+ .selectize-input.full {
161
+ background-color: #ffffff;
162
+ }
163
+
164
+ .selectize-input.disabled,
165
+ .selectize-input.disabled * {
166
+ cursor: default !important;
167
+ }
168
+
169
+ .selectize-input.focus {
170
+ -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
171
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
172
+ }
173
+
174
+ .selectize-input.dropdown-active {
175
+ -webkit-border-radius: 3px 3px 0 0;
176
+ -moz-border-radius: 3px 3px 0 0;
177
+ border-radius: 3px 3px 0 0;
178
+ }
179
+
180
+ .selectize-input > * {
181
+ display: -moz-inline-stack;
182
+ display: inline-block;
183
+ *display: inline;
184
+ vertical-align: baseline;
185
+ zoom: 1;
186
+ }
187
+
188
+ .selectize-control.multi .selectize-input > div {
189
+ padding: 2px 6px;
190
+ margin: 0 3px 3px 0;
191
+ color: #ffffff;
192
+ cursor: pointer;
193
+ background: #1da7ee;
194
+ border: 1px solid #0073bb;
195
+ }
196
+
197
+ .selectize-control.multi .selectize-input > div.active {
198
+ color: #ffffff;
199
+ background: #92c836;
200
+ border: 1px solid #00578d;
201
+ }
202
+
203
+ .selectize-control.multi .selectize-input.disabled > div,
204
+ .selectize-control.multi .selectize-input.disabled > div.active {
205
+ color: #ffffff;
206
+ background: #d2d2d2;
207
+ border: 1px solid #aaaaaa;
208
+ }
209
+
210
+ .selectize-input > input {
211
+ max-width: 100% !important;
212
+ max-height: none !important;
213
+ min-height: 0 !important;
214
+ padding: 0 !important;
215
+ margin: 0 1px !important;
216
+ line-height: inherit !important;
217
+ text-indent: 0 !important;
218
+ background: none !important;
219
+ border: 0 none !important;
220
+ -webkit-box-shadow: none !important;
221
+ box-shadow: none !important;
222
+ -webkit-user-select: auto !important;
223
+ }
224
+
225
+ .selectize-input > input:focus {
226
+ outline: none !important;
227
+ }
228
+
229
+ .selectize-input::after {
230
+ display: block;
231
+ clear: left;
232
+ content: ' ';
233
+ }
234
+
235
+ .selectize-input.dropdown-active::before {
236
+ position: absolute;
237
+ right: 0;
238
+ bottom: 0;
239
+ left: 0;
240
+ display: block;
241
+ height: 1px;
242
+ background: #f0f0f0;
243
+ content: ' ';
244
+ }
245
+
246
+ .selectize-dropdown {
247
+ position: absolute;
248
+ z-index: 2;
249
+ margin-top: -1px;
250
+ background: #ffffff;
251
+ border: 1px solid #d0d0d0;
252
+ border-top: 0 none;
253
+ -webkit-border-radius: 0 0 3px 3px;
254
+ -moz-border-radius: 0 0 3px 3px;
255
+ border-radius: 0 0 3px 3px;
256
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
257
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
258
+ -webkit-box-sizing: border-box;
259
+ -moz-box-sizing: border-box;
260
+ box-sizing: border-box;
261
+ }
262
+
263
+ .selectize-dropdown [data-selectable] {
264
+ overflow: hidden;
265
+ cursor: pointer;
266
+ }
267
+
268
+ .selectize-dropdown [data-selectable] .highlight {
269
+ background: rgba(125, 168, 208, 0.2);
270
+ -webkit-border-radius: 1px;
271
+ -moz-border-radius: 1px;
272
+ border-radius: 1px;
273
+ }
274
+
275
+ .selectize-dropdown [data-selectable],
276
+ .selectize-dropdown .optgroup-header {
277
+ padding: 5px 8px;
278
+ }
279
+
280
+ .selectize-dropdown .optgroup:first-child .optgroup-header {
281
+ border-top: 0 none;
282
+ }
283
+
284
+ .selectize-dropdown .optgroup-header {
285
+ color: #303030;
286
+ cursor: default;
287
+ background: #ffffff;
288
+ }
289
+
290
+ .selectize-dropdown .active {
291
+ color: #495c68;
292
+ background-color: #f5fafd;
293
+ }
294
+
295
+ .selectize-dropdown .active.create {
296
+ color: #495c68;
297
+ }
298
+
299
+ .selectize-dropdown .create {
300
+ color: rgba(48, 48, 48, 0.5);
301
+ }
302
+
303
+ .selectize-dropdown-content {
304
+ max-height: 200px;
305
+ overflow-x: hidden;
306
+ overflow-y: auto;
307
+ }
308
+
309
+ .selectize-control.single .selectize-input,
310
+ .selectize-control.single .selectize-input input {
311
+ cursor: pointer;
312
+ }
313
+
314
+ .selectize-control.single .selectize-input.focus,
315
+ .selectize-control.single .selectize-input.focus input {
316
+ cursor: text;
317
+ }
318
+
319
+ .selectize-control.single .selectize-input:after {
320
+ position: absolute;
321
+ top: 50%;
322
+ right: 15px;
323
+ display: block;
324
+ width: 0;
325
+ height: 0;
326
+ margin-top: -3px;
327
+ border-color: #808080 transparent transparent transparent;
328
+ border-style: solid;
329
+ border-width: 5px 5px 0 5px;
330
+ content: ' ';
331
+ }
332
+
333
+ .selectize-control.single .selectize-input.dropdown-active:after {
334
+ margin-top: -4px;
335
+ border-color: transparent transparent #808080 transparent;
336
+ border-width: 0 5px 5px 5px;
337
+ }
338
+
339
+ .selectize-control .selectize-input.disabled {
340
+ background-color: #fafafa;
341
+ opacity: 0.5;
342
+ }
343
+
344
+ .selectize-control.multi .selectize-input.has-items {
345
+ padding-right: 5px;
346
+ padding-left: 5px;
347
+ }
348
+
349
+ .selectize-control.multi .selectize-input.disabled [data-value] {
350
+ color: #999;
351
+ text-shadow: none;
352
+ background: none;
353
+ border-color: #e6e6e6;
354
+ -webkit-box-shadow: none;
355
+ box-shadow: none;
356
+ }
357
+
358
+ .selectize-control.multi .selectize-input [data-value] {
359
+ text-shadow: 0 1px 0 rgba(0, 51, 83, 0.3);
360
+ background-color: #1b9dec;
361
+ background-image: -moz-linear-gradient(top, #1da7ee, #178ee9);
362
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#1da7ee), to(#178ee9));
363
+ background-image: -webkit-linear-gradient(top, #1da7ee, #178ee9);
364
+ background-image: -o-linear-gradient(top, #1da7ee, #178ee9);
365
+ background-image: linear-gradient(to bottom, #1da7ee, #178ee9);
366
+ background-repeat: repeat-x;
367
+ -webkit-border-radius: 3px;
368
+ -moz-border-radius: 3px;
369
+ border-radius: 3px;
370
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff1da7ee', endColorstr='#ff178ee9', GradientType=0);
371
+ -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.03);
372
+ box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.03);
373
+ }
374
+
375
+ .selectize-control.multi .selectize-input [data-value].active {
376
+ background-color: #0085d4;
377
+ background-image: -moz-linear-gradient(top, #008fd8, #0075cf);
378
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#008fd8), to(#0075cf));
379
+ background-image: -webkit-linear-gradient(top, #008fd8, #0075cf);
380
+ background-image: -o-linear-gradient(top, #008fd8, #0075cf);
381
+ background-image: linear-gradient(to bottom, #008fd8, #0075cf);
382
+ background-repeat: repeat-x;
383
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff008fd8', endColorstr='#ff0075cf', GradientType=0);
384
+ }
385
+
386
+ .selectize-control.single .selectize-input {
387
+ background-color: #f9f9f9;
388
+ background-image: -moz-linear-gradient(top, #fefefe, #f2f2f2);
389
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fefefe), to(#f2f2f2));
390
+ background-image: -webkit-linear-gradient(top, #fefefe, #f2f2f2);
391
+ background-image: -o-linear-gradient(top, #fefefe, #f2f2f2);
392
+ background-image: linear-gradient(to bottom, #fefefe, #f2f2f2);
393
+ background-repeat: repeat-x;
394
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffefefe', endColorstr='#fff2f2f2', GradientType=0);
395
+ -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
396
+ box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
397
+ }
398
+
399
+ .selectize-control.single .selectize-input,
400
+ .selectize-dropdown.single {
401
+ border-color: #b8b8b8;
402
+ }
403
+
404
+ .selectize-dropdown .optgroup-header {
405
+ font-size: 0.85em;
406
+ font-weight: bold;
407
+ }
408
+
409
+ .selectize-dropdown .optgroup {
410
+ padding-top: 4px;
411
+ border-top: 1px solid #f0f0f0;
412
+ }
413
+
414
+ .selectize-dropdown .optgroup:first-child {
415
+ border-top: 0 none;
416
+ }
@@ -0,0 +1,395 @@
1
+ /**
2
+ * selectize.legacy.css (v0.7.0) - 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: 7px 10px;
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: 10px;
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 .item {
83
+ position: relative;
84
+ padding-right: 24px !important;
85
+ }
86
+
87
+ .selectize-control.plugin-remove_button .item .remove {
88
+ position: absolute;
89
+ top: 0;
90
+ right: 0;
91
+ bottom: 0;
92
+ display: inline-block;
93
+ width: 17px;
94
+ padding: 1px 0 0 0;
95
+ font-size: 12px;
96
+ font-weight: bold;
97
+ color: inherit;
98
+ text-align: center;
99
+ vertical-align: middle;
100
+ border-left: 1px solid #74b21e;
101
+ -webkit-border-radius: 0 2px 2px 0;
102
+ -moz-border-radius: 0 2px 2px 0;
103
+ border-radius: 0 2px 2px 0;
104
+ -webkit-box-sizing: border-box;
105
+ -moz-box-sizing: border-box;
106
+ box-sizing: border-box;
107
+ }
108
+
109
+ .selectize-control.plugin-remove_button .item .remove:hover {
110
+ background: rgba(0, 0, 0, 0.05);
111
+ }
112
+
113
+ .selectize-control.plugin-remove_button .item.active .remove {
114
+ border-left-color: #6f9839;
115
+ }
116
+
117
+ .selectize-control {
118
+ position: relative;
119
+ }
120
+
121
+ .selectize-dropdown,
122
+ .selectize-input,
123
+ .selectize-input input {
124
+ font-family: inherit;
125
+ font-size: 13px;
126
+ -webkit-font-smoothing: inherit;
127
+ line-height: 20px;
128
+ color: #303030;
129
+ }
130
+
131
+ .selectize-input,
132
+ .selectize-control.single .selectize-input.focus {
133
+ display: inline-block;
134
+ cursor: text;
135
+ background: #ffffff;
136
+ }
137
+
138
+ .selectize-input {
139
+ position: relative;
140
+ z-index: 1;
141
+ display: inline-block;
142
+ width: 100%;
143
+ padding: 10px 10px;
144
+ overflow: hidden;
145
+ border: 1px solid #d0d0d0;
146
+ -webkit-border-radius: 3px;
147
+ -moz-border-radius: 3px;
148
+ border-radius: 3px;
149
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
150
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
151
+ -webkit-box-sizing: border-box;
152
+ -moz-box-sizing: border-box;
153
+ box-sizing: border-box;
154
+ }
155
+
156
+ .selectize-control.multi .selectize-input.has-items {
157
+ padding: 8px 10px 4px;
158
+ }
159
+
160
+ .selectize-input.full {
161
+ background-color: #f2f2f2;
162
+ }
163
+
164
+ .selectize-input.disabled,
165
+ .selectize-input.disabled * {
166
+ cursor: default !important;
167
+ }
168
+
169
+ .selectize-input.focus {
170
+ -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
171
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
172
+ }
173
+
174
+ .selectize-input.dropdown-active {
175
+ -webkit-border-radius: 3px 3px 0 0;
176
+ -moz-border-radius: 3px 3px 0 0;
177
+ border-radius: 3px 3px 0 0;
178
+ }
179
+
180
+ .selectize-input > * {
181
+ display: -moz-inline-stack;
182
+ display: inline-block;
183
+ *display: inline;
184
+ vertical-align: baseline;
185
+ zoom: 1;
186
+ }
187
+
188
+ .selectize-control.multi .selectize-input > div {
189
+ padding: 1px 5px;
190
+ margin: 0 4px 4px 0;
191
+ color: #3d5d18;
192
+ cursor: pointer;
193
+ background: #b8e76f;
194
+ border: 1px solid #74b21e;
195
+ }
196
+
197
+ .selectize-control.multi .selectize-input > div.active {
198
+ color: #303030;
199
+ background: #92c836;
200
+ border: 1px solid #6f9839;
201
+ }
202
+
203
+ .selectize-control.multi .selectize-input.disabled > div,
204
+ .selectize-control.multi .selectize-input.disabled > div.active {
205
+ color: #878787;
206
+ background: #f8f8f8;
207
+ border: 1px solid #b4b4b4;
208
+ }
209
+
210
+ .selectize-input > input {
211
+ max-width: 100% !important;
212
+ max-height: none !important;
213
+ min-height: 0 !important;
214
+ padding: 0 !important;
215
+ margin: 0 2px 0 0 !important;
216
+ line-height: inherit !important;
217
+ text-indent: 0 !important;
218
+ background: none !important;
219
+ border: 0 none !important;
220
+ -webkit-box-shadow: none !important;
221
+ box-shadow: none !important;
222
+ -webkit-user-select: auto !important;
223
+ }
224
+
225
+ .selectize-input > input:focus {
226
+ outline: none !important;
227
+ }
228
+
229
+ .selectize-input::after {
230
+ display: block;
231
+ clear: left;
232
+ content: ' ';
233
+ }
234
+
235
+ .selectize-input.dropdown-active::before {
236
+ position: absolute;
237
+ right: 0;
238
+ bottom: 0;
239
+ left: 0;
240
+ display: block;
241
+ height: 1px;
242
+ background: #f0f0f0;
243
+ content: ' ';
244
+ }
245
+
246
+ .selectize-dropdown {
247
+ position: absolute;
248
+ z-index: 2;
249
+ margin-top: -1px;
250
+ background: #ffffff;
251
+ border: 1px solid #d0d0d0;
252
+ border-top: 0 none;
253
+ -webkit-border-radius: 0 0 3px 3px;
254
+ -moz-border-radius: 0 0 3px 3px;
255
+ border-radius: 0 0 3px 3px;
256
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
257
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
258
+ -webkit-box-sizing: border-box;
259
+ -moz-box-sizing: border-box;
260
+ box-sizing: border-box;
261
+ }
262
+
263
+ .selectize-dropdown [data-selectable] {
264
+ overflow: hidden;
265
+ cursor: pointer;
266
+ }
267
+
268
+ .selectize-dropdown [data-selectable] .highlight {
269
+ background: rgba(255, 237, 40, 0.4);
270
+ -webkit-border-radius: 1px;
271
+ -moz-border-radius: 1px;
272
+ border-radius: 1px;
273
+ }
274
+
275
+ .selectize-dropdown [data-selectable],
276
+ .selectize-dropdown .optgroup-header {
277
+ padding: 7px 10px;
278
+ }
279
+
280
+ .selectize-dropdown .optgroup:first-child .optgroup-header {
281
+ border-top: 0 none;
282
+ }
283
+
284
+ .selectize-dropdown .optgroup-header {
285
+ color: #303030;
286
+ cursor: default;
287
+ background: #f8f8f8;
288
+ }
289
+
290
+ .selectize-dropdown .active {
291
+ color: #303030;
292
+ background-color: #fffceb;
293
+ }
294
+
295
+ .selectize-dropdown .active.create {
296
+ color: #303030;
297
+ }
298
+
299
+ .selectize-dropdown .create {
300
+ color: rgba(48, 48, 48, 0.5);
301
+ }
302
+
303
+ .selectize-dropdown-content {
304
+ max-height: 200px;
305
+ overflow-x: hidden;
306
+ overflow-y: auto;
307
+ }
308
+
309
+ .selectize-control.single .selectize-input,
310
+ .selectize-control.single .selectize-input input {
311
+ cursor: pointer;
312
+ }
313
+
314
+ .selectize-control.single .selectize-input.focus,
315
+ .selectize-control.single .selectize-input.focus input {
316
+ cursor: text;
317
+ }
318
+
319
+ .selectize-control.single .selectize-input:after {
320
+ position: absolute;
321
+ top: 50%;
322
+ right: 15px;
323
+ display: block;
324
+ width: 0;
325
+ height: 0;
326
+ margin-top: -3px;
327
+ border-color: #808080 transparent transparent transparent;
328
+ border-style: solid;
329
+ border-width: 5px 5px 0 5px;
330
+ content: ' ';
331
+ }
332
+
333
+ .selectize-control.single .selectize-input.dropdown-active:after {
334
+ margin-top: -4px;
335
+ border-color: transparent transparent #808080 transparent;
336
+ border-width: 0 5px 5px 5px;
337
+ }
338
+
339
+ .selectize-control .selectize-input.disabled {
340
+ background-color: #fafafa;
341
+ opacity: 0.5;
342
+ }
343
+
344
+ .selectize-control.multi .selectize-input [data-value] {
345
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
346
+ background-color: #b2e567;
347
+ background-image: -moz-linear-gradient(top, #b8e76f, #a9e25c);
348
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#b8e76f), to(#a9e25c));
349
+ background-image: -webkit-linear-gradient(top, #b8e76f, #a9e25c);
350
+ background-image: -o-linear-gradient(top, #b8e76f, #a9e25c);
351
+ background-image: linear-gradient(to bottom, #b8e76f, #a9e25c);
352
+ background-repeat: repeat-x;
353
+ -webkit-border-radius: 3px;
354
+ -moz-border-radius: 3px;
355
+ border-radius: 3px;
356
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffb8e76f', endColorstr='#ffa9e25c', GradientType=0);
357
+ -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
358
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
359
+ }
360
+
361
+ .selectize-control.multi .selectize-input [data-value].active {
362
+ background-color: #88c332;
363
+ background-image: -moz-linear-gradient(top, #92c836, #7abc2c);
364
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#92c836), to(#7abc2c));
365
+ background-image: -webkit-linear-gradient(top, #92c836, #7abc2c);
366
+ background-image: -o-linear-gradient(top, #92c836, #7abc2c);
367
+ background-image: linear-gradient(to bottom, #92c836, #7abc2c);
368
+ background-repeat: repeat-x;
369
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff92c836', endColorstr='#ff7abc2c', GradientType=0);
370
+ }
371
+
372
+ .selectize-control.single .selectize-input {
373
+ background-color: #f3f3f3;
374
+ background-image: -moz-linear-gradient(top, #f5f5f5, #efefef);
375
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#efefef));
376
+ background-image: -webkit-linear-gradient(top, #f5f5f5, #efefef);
377
+ background-image: -o-linear-gradient(top, #f5f5f5, #efefef);
378
+ background-image: linear-gradient(to bottom, #f5f5f5, #efefef);
379
+ background-repeat: repeat-x;
380
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffefefef', GradientType=0);
381
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 2px 0 #e0e0e0, 0 3px 0 #c8c8c8, 0 4px 1px rgba(0, 0, 0, 0.1);
382
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 2px 0 #e0e0e0, 0 3px 0 #c8c8c8, 0 4px 1px rgba(0, 0, 0, 0.1);
383
+ }
384
+
385
+ .selectize-control.single .selectize-input,
386
+ .selectize-dropdown.single {
387
+ border-color: #b8b8b8;
388
+ }
389
+
390
+ .selectize-dropdown .optgroup-header {
391
+ font-size: 0.8em;
392
+ font-weight: bold;
393
+ border-top: 1px solid #f0f0f0;
394
+ border-bottom: 1px solid #f0f0f0;
395
+ }