selectize_rails_duplicates 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,503 @@
1
+ /**
2
+ * selectize.bootstrap2.css (v0.12.6) - Bootstrap 2 Theme
3
+ * Copyright (c) 2013–2015 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
+ .selectize-control.plugin-drag_drop.multi > .selectize-input > div.ui-sortable-placeholder {
17
+ visibility: visible !important;
18
+ background: #f2f2f2 !important;
19
+ background: rgba(0, 0, 0, 0.06) !important;
20
+ border: 0 none !important;
21
+ -webkit-box-shadow: inset 0 0 12px 4px #fff;
22
+ box-shadow: inset 0 0 12px 4px #fff;
23
+ }
24
+ .selectize-control.plugin-drag_drop .ui-sortable-placeholder::after {
25
+ content: '!';
26
+ visibility: hidden;
27
+ }
28
+ .selectize-control.plugin-drag_drop .ui-sortable-helper {
29
+ -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
30
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
31
+ }
32
+ .selectize-dropdown-header {
33
+ position: relative;
34
+ padding: 3px 10px;
35
+ border-bottom: 1px solid #d0d0d0;
36
+ background: #f8f8f8;
37
+ -webkit-border-radius: 4px 4px 0 0;
38
+ -moz-border-radius: 4px 4px 0 0;
39
+ border-radius: 4px 4px 0 0;
40
+ }
41
+ .selectize-dropdown-header-close {
42
+ position: absolute;
43
+ right: 10px;
44
+ top: 50%;
45
+ color: #333;
46
+ opacity: 0.4;
47
+ margin-top: -12px;
48
+ line-height: 20px;
49
+ font-size: 20px !important;
50
+ }
51
+ .selectize-dropdown-header-close:hover {
52
+ color: #000000;
53
+ }
54
+ .selectize-dropdown.plugin-optgroup_columns .optgroup {
55
+ border-right: 1px solid #f2f2f2;
56
+ border-top: 0 none;
57
+ float: left;
58
+ -webkit-box-sizing: border-box;
59
+ -moz-box-sizing: border-box;
60
+ box-sizing: border-box;
61
+ }
62
+ .selectize-dropdown.plugin-optgroup_columns .optgroup:last-child {
63
+ border-right: 0 none;
64
+ }
65
+ .selectize-dropdown.plugin-optgroup_columns .optgroup:before {
66
+ display: none;
67
+ }
68
+ .selectize-dropdown.plugin-optgroup_columns .optgroup-header {
69
+ border-top: 0 none;
70
+ }
71
+ .selectize-control.plugin-remove_button [data-value] {
72
+ position: relative;
73
+ padding-right: 24px !important;
74
+ }
75
+ .selectize-control.plugin-remove_button [data-value] .remove {
76
+ z-index: 1;
77
+ /* fixes ie bug (see #392) */
78
+ position: absolute;
79
+ top: 0;
80
+ right: 0;
81
+ bottom: 0;
82
+ width: 17px;
83
+ text-align: center;
84
+ font-weight: bold;
85
+ font-size: 12px;
86
+ color: inherit;
87
+ text-decoration: none;
88
+ vertical-align: middle;
89
+ display: inline-block;
90
+ padding: 1px 0 0 0;
91
+ border-left: 1px solid #ccc;
92
+ -webkit-border-radius: 0 2px 2px 0;
93
+ -moz-border-radius: 0 2px 2px 0;
94
+ border-radius: 0 2px 2px 0;
95
+ -webkit-box-sizing: border-box;
96
+ -moz-box-sizing: border-box;
97
+ box-sizing: border-box;
98
+ }
99
+ .selectize-control.plugin-remove_button [data-value] .remove:hover {
100
+ background: rgba(0, 0, 0, 0.05);
101
+ }
102
+ .selectize-control.plugin-remove_button [data-value].active .remove {
103
+ border-left-color: #0077b3;
104
+ }
105
+ .selectize-control.plugin-remove_button .disabled [data-value] .remove:hover {
106
+ background: none;
107
+ }
108
+ .selectize-control.plugin-remove_button .disabled [data-value] .remove {
109
+ border-left-color: #e0e0e0;
110
+ }
111
+ .selectize-control.plugin-remove_button .remove-single {
112
+ position: absolute;
113
+ right: 0;
114
+ top: 0;
115
+ font-size: 23px;
116
+ }
117
+ .selectize-control {
118
+ position: relative;
119
+ }
120
+ .selectize-dropdown,
121
+ .selectize-input,
122
+ .selectize-input input {
123
+ color: #333;
124
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
125
+ font-size: 14px;
126
+ line-height: 20px;
127
+ -webkit-font-smoothing: inherit;
128
+ }
129
+ .selectize-input,
130
+ .selectize-control.single .selectize-input.input-active {
131
+ background: #fff;
132
+ cursor: text;
133
+ display: inline-block;
134
+ }
135
+ .selectize-input {
136
+ border: 1px solid #d0d0d0;
137
+ padding: 7px 10px;
138
+ display: inline-block;
139
+ width: 100%;
140
+ overflow: hidden;
141
+ position: relative;
142
+ z-index: 1;
143
+ -webkit-box-sizing: border-box;
144
+ -moz-box-sizing: border-box;
145
+ box-sizing: border-box;
146
+ -webkit-box-shadow: none;
147
+ box-shadow: none;
148
+ -webkit-border-radius: 4px;
149
+ -moz-border-radius: 4px;
150
+ border-radius: 4px;
151
+ }
152
+ .selectize-control.multi .selectize-input.has-items {
153
+ padding: 5px 10px 2px;
154
+ }
155
+ .selectize-input.full {
156
+ background-color: #fff;
157
+ }
158
+ .selectize-input.disabled,
159
+ .selectize-input.disabled * {
160
+ cursor: default !important;
161
+ }
162
+ .selectize-input.focus {
163
+ -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
164
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
165
+ }
166
+ .selectize-input.dropdown-active {
167
+ -webkit-border-radius: 4px 4px 0 0;
168
+ -moz-border-radius: 4px 4px 0 0;
169
+ border-radius: 4px 4px 0 0;
170
+ }
171
+ .selectize-input > * {
172
+ vertical-align: baseline;
173
+ display: -moz-inline-stack;
174
+ display: inline-block;
175
+ zoom: 1;
176
+ *display: inline;
177
+ }
178
+ .selectize-control.multi .selectize-input > div {
179
+ cursor: pointer;
180
+ margin: 0 3px 3px 0;
181
+ padding: 1px 3px;
182
+ background: #e6e6e6;
183
+ color: #333;
184
+ border: 1px solid #ccc;
185
+ }
186
+ .selectize-control.multi .selectize-input > div.active {
187
+ background: #08c;
188
+ color: #fff;
189
+ border: 1px solid #0077b3;
190
+ }
191
+ .selectize-control.multi .selectize-input.disabled > div,
192
+ .selectize-control.multi .selectize-input.disabled > div.active {
193
+ color: #474747;
194
+ background: #fafafa;
195
+ border: 1px solid #e0e0e0;
196
+ }
197
+ .selectize-input > input {
198
+ display: inline-block !important;
199
+ padding: 0 !important;
200
+ min-height: 0 !important;
201
+ max-height: none !important;
202
+ max-width: 100% !important;
203
+ margin: 0 !important;
204
+ text-indent: 0 !important;
205
+ border: 0 none !important;
206
+ background: none !important;
207
+ line-height: inherit !important;
208
+ -webkit-user-select: auto !important;
209
+ -webkit-box-shadow: none !important;
210
+ box-shadow: none !important;
211
+ }
212
+ .selectize-input > input::-ms-clear {
213
+ display: none;
214
+ }
215
+ .selectize-input > input:focus {
216
+ outline: none !important;
217
+ }
218
+ .selectize-input::after {
219
+ content: ' ';
220
+ display: block;
221
+ clear: left;
222
+ }
223
+ .selectize-input.dropdown-active::before {
224
+ content: ' ';
225
+ display: block;
226
+ position: absolute;
227
+ background: #e5e5e5;
228
+ height: 1px;
229
+ bottom: 0;
230
+ left: 0;
231
+ right: 0;
232
+ }
233
+ .selectize-dropdown {
234
+ position: absolute;
235
+ z-index: 10;
236
+ border: 1px solid #ccc;
237
+ background: #fff;
238
+ margin: -1px 0 0 0;
239
+ border-top: 0 none;
240
+ -webkit-box-sizing: border-box;
241
+ -moz-box-sizing: border-box;
242
+ box-sizing: border-box;
243
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
244
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
245
+ -webkit-border-radius: 0 0 4px 4px;
246
+ -moz-border-radius: 0 0 4px 4px;
247
+ border-radius: 0 0 4px 4px;
248
+ }
249
+ .selectize-dropdown [data-selectable] {
250
+ cursor: pointer;
251
+ overflow: hidden;
252
+ }
253
+ .selectize-dropdown [data-selectable] .highlight {
254
+ background: rgba(255, 237, 40, 0.4);
255
+ -webkit-border-radius: 1px;
256
+ -moz-border-radius: 1px;
257
+ border-radius: 1px;
258
+ }
259
+ .selectize-dropdown .option,
260
+ .selectize-dropdown .optgroup-header {
261
+ padding: 3px 10px;
262
+ }
263
+ .selectize-dropdown .option,
264
+ .selectize-dropdown [data-disabled],
265
+ .selectize-dropdown [data-disabled] [data-selectable].option {
266
+ cursor: inherit;
267
+ opacity: 0.5;
268
+ }
269
+ .selectize-dropdown [data-selectable].option {
270
+ opacity: 1;
271
+ }
272
+ .selectize-dropdown .optgroup:first-child .optgroup-header {
273
+ border-top: 0 none;
274
+ }
275
+ .selectize-dropdown .optgroup-header {
276
+ color: #999;
277
+ background: #fff;
278
+ cursor: default;
279
+ }
280
+ .selectize-dropdown .active {
281
+ background-color: #08c;
282
+ color: #fff;
283
+ }
284
+ .selectize-dropdown .active.create {
285
+ color: #fff;
286
+ }
287
+ .selectize-dropdown .create {
288
+ color: rgba(51, 51, 51, 0.5);
289
+ }
290
+ .selectize-dropdown-content {
291
+ overflow-y: auto;
292
+ overflow-x: hidden;
293
+ max-height: 200px;
294
+ -webkit-overflow-scrolling: touch;
295
+ }
296
+ .selectize-control.single .selectize-input,
297
+ .selectize-control.single .selectize-input input {
298
+ cursor: pointer;
299
+ }
300
+ .selectize-control.single .selectize-input.input-active,
301
+ .selectize-control.single .selectize-input.input-active input {
302
+ cursor: text;
303
+ }
304
+ .selectize-control.single .selectize-input:after {
305
+ content: ' ';
306
+ display: block;
307
+ position: absolute;
308
+ top: 50%;
309
+ right: 15px;
310
+ margin-top: -3px;
311
+ width: 0;
312
+ height: 0;
313
+ border-style: solid;
314
+ border-width: 5px 5px 0 5px;
315
+ border-color: #000 transparent transparent transparent;
316
+ }
317
+ .selectize-control.single .selectize-input.dropdown-active:after {
318
+ margin-top: -4px;
319
+ border-width: 0 5px 5px 5px;
320
+ border-color: transparent transparent #000 transparent;
321
+ }
322
+ .selectize-control.rtl.single .selectize-input:after {
323
+ left: 15px;
324
+ right: auto;
325
+ }
326
+ .selectize-control.rtl .selectize-input > input {
327
+ margin: 0 4px 0 -2px !important;
328
+ }
329
+ .selectize-control .selectize-input.disabled {
330
+ opacity: 0.5;
331
+ background-color: #fff;
332
+ }
333
+ .selectize-dropdown {
334
+ margin: 2px 0 0 0;
335
+ z-index: 1000;
336
+ border: 1px solid rgba(0, 0, 0, 0.2);
337
+ border-radius: 4px;
338
+ -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
339
+ -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
340
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
341
+ }
342
+ .selectize-dropdown .optgroup-header {
343
+ font-size: 11px;
344
+ font-weight: bold;
345
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
346
+ text-transform: uppercase;
347
+ }
348
+ .selectize-dropdown .optgroup:first-child:before {
349
+ display: none;
350
+ }
351
+ .selectize-dropdown .optgroup:before {
352
+ content: ' ';
353
+ display: block;
354
+ *width: 100%;
355
+ height: 1px;
356
+ margin: 9px 1px;
357
+ *margin: -5px 0 5px;
358
+ overflow: hidden;
359
+ background-color: #e5e5e5;
360
+ border-bottom: 1px solid #fff;
361
+ margin-left: -10px;
362
+ margin-right: -10px;
363
+ }
364
+ .selectize-dropdown [data-selectable].active {
365
+ background-color: #0081c2;
366
+ background-image: -moz-linear-gradient(top, #08c, #0077b3);
367
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#08c), to(#0077b3));
368
+ background-image: -webkit-linear-gradient(top, #08c, #0077b3);
369
+ background-image: -o-linear-gradient(top, #08c, #0077b3);
370
+ background-image: linear-gradient(to bottom, #08c, #0077b3);
371
+ background-repeat: repeat-x;
372
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
373
+ }
374
+ .selectize-dropdown-content {
375
+ padding: 5px 0;
376
+ }
377
+ .selectize-dropdown-header {
378
+ padding: 6px 10px;
379
+ }
380
+ .selectize-input {
381
+ -webkit-transition: border linear .2s, box-shadow linear .2s;
382
+ -moz-transition: border linear .2s, box-shadow linear .2s;
383
+ -o-transition: border linear .2s, box-shadow linear .2s;
384
+ transition: border linear .2s, box-shadow linear .2s;
385
+ }
386
+ .selectize-input.dropdown-active {
387
+ -webkit-border-radius: 4px;
388
+ -moz-border-radius: 4px;
389
+ border-radius: 4px;
390
+ }
391
+ .selectize-input.dropdown-active::before {
392
+ display: none;
393
+ }
394
+ .selectize-input.input-active,
395
+ .selectize-input.input-active:hover,
396
+ .selectize-control.multi .selectize-input.focus {
397
+ background: #fff !important;
398
+ border-color: rgba(82, 168, 236, 0.8) !important;
399
+ outline: 0 !important;
400
+ outline: thin dotted \9 !important;
401
+ -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6) !important;
402
+ -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6) !important;
403
+ box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6) !important;
404
+ }
405
+ .selectize-control.single .selectize-input {
406
+ color: #333;
407
+ text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
408
+ background-color: #f5f5f5;
409
+ background-image: -moz-linear-gradient(top, #fff, #e6e6e6);
410
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#e6e6e6));
411
+ background-image: -webkit-linear-gradient(top, #fff, #e6e6e6);
412
+ background-image: -o-linear-gradient(top, #fff, #e6e6e6);
413
+ background-image: linear-gradient(to bottom, #fff, #e6e6e6);
414
+ background-repeat: repeat-x;
415
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
416
+ border-color: #e6e6e6 #e6e6e6 #bfbfbf;
417
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
418
+ *background-color: #e6e6e6;
419
+ /* Darken IE7 buttons by default so they stand out more given they won't have borders */
420
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
421
+ -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
422
+ -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
423
+ box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
424
+ }
425
+ .selectize-control.single .selectize-input:hover,
426
+ .selectize-control.single .selectize-input:focus,
427
+ .selectize-control.single .selectize-input:active,
428
+ .selectize-control.single .selectize-input.active,
429
+ .selectize-control.single .selectize-input.disabled,
430
+ .selectize-control.single .selectize-input[disabled] {
431
+ color: #333;
432
+ background-color: #e6e6e6;
433
+ *background-color: #d9d9d9;
434
+ }
435
+ .selectize-control.single .selectize-input:active,
436
+ .selectize-control.single .selectize-input.active {
437
+ background-color: #cccccc \9;
438
+ }
439
+ .selectize-control.single .selectize-input:hover {
440
+ color: #333;
441
+ text-decoration: none;
442
+ background-position: 0 -15px;
443
+ -webkit-transition: background-position 0.1s linear;
444
+ -moz-transition: background-position 0.1s linear;
445
+ -o-transition: background-position 0.1s linear;
446
+ transition: background-position 0.1s linear;
447
+ }
448
+ .selectize-control.single .selectize-input.disabled {
449
+ background: #e6e6e6 !important;
450
+ -webkit-box-shadow: none;
451
+ -moz-box-shadow: none;
452
+ box-shadow: none;
453
+ }
454
+ .selectize-control.multi .selectize-input {
455
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
456
+ -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
457
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
458
+ }
459
+ .selectize-control.multi .selectize-input.has-items {
460
+ padding-left: 7px;
461
+ padding-right: 7px;
462
+ }
463
+ .selectize-control.multi .selectize-input > div {
464
+ color: #333;
465
+ text-shadow: none;
466
+ background-color: #f5f5f5;
467
+ background-image: -moz-linear-gradient(top, #fff, #e6e6e6);
468
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#e6e6e6));
469
+ background-image: -webkit-linear-gradient(top, #fff, #e6e6e6);
470
+ background-image: -o-linear-gradient(top, #fff, #e6e6e6);
471
+ background-image: linear-gradient(to bottom, #fff, #e6e6e6);
472
+ background-repeat: repeat-x;
473
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
474
+ border-color: #e6e6e6 #e6e6e6 #bfbfbf;
475
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
476
+ *background-color: #e6e6e6;
477
+ border: 1px solid #ccc;
478
+ -webkit-border-radius: 4px;
479
+ -moz-border-radius: 4px;
480
+ border-radius: 4px;
481
+ -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
482
+ -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
483
+ box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
484
+ }
485
+ .selectize-control.multi .selectize-input > div.active {
486
+ -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
487
+ -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
488
+ box-shadow: 0 1px 2px rgba(0,0,0,.05);
489
+ color: #fff;
490
+ text-shadow: none;
491
+ background-color: #0081c2;
492
+ background-image: -moz-linear-gradient(top, #08c, #0077b3);
493
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#08c), to(#0077b3));
494
+ background-image: -webkit-linear-gradient(top, #08c, #0077b3);
495
+ background-image: -o-linear-gradient(top, #08c, #0077b3);
496
+ background-image: linear-gradient(to bottom, #08c, #0077b3);
497
+ background-repeat: repeat-x;
498
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
499
+ border-color: #0077b3 #0077b3 #004466;
500
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
501
+ *background-color: #08c;
502
+ border: 1px solid #08c;
503
+ }