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.
@@ -1,360 +1,360 @@
1
- /**
2
- * selectize.css (v0.8.1)
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 #d0d0d0;
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: #cacaca;
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: #ffffff;
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: 6px 8px 3px;
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: #303030;
201
- cursor: pointer;
202
- background: #f2f2f2;
203
- border: 0 solid #d0d0d0;
204
- }
205
-
206
- .selectize-control.multi .selectize-input > div.active {
207
- color: #303030;
208
- background: #e8e8e8;
209
- border: 0 solid #cacaca;
210
- }
211
-
212
- .selectize-control.multi .selectize-input.disabled > div,
213
- .selectize-control.multi .selectize-input.disabled > div.active {
214
- color: #7d7d7d;
215
- background: #ffffff;
216
- border: 0 solid #ffffff;
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 2px 0 0 !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;
1
+ /**
2
+ * selectize.css (v0.8.3)
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 #d0d0d0;
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: #cacaca;
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: #ffffff;
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: 6px 8px 3px;
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: #303030;
201
+ cursor: pointer;
202
+ background: #f2f2f2;
203
+ border: 0 solid #d0d0d0;
204
+ }
205
+
206
+ .selectize-control.multi .selectize-input > div.active {
207
+ color: #303030;
208
+ background: #e8e8e8;
209
+ border: 0 solid #cacaca;
210
+ }
211
+
212
+ .selectize-control.multi .selectize-input.disabled > div,
213
+ .selectize-control.multi .selectize-input.disabled > div.active {
214
+ color: #7d7d7d;
215
+ background: #ffffff;
216
+ border: 0 solid #ffffff;
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 2px 0 0 !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
360
  }