1 |
50583
|
myrto.kouk
|
/*!
|
2 |
|
|
Chosen, a Select Box Enhancer for jQuery and Prototype
|
3 |
|
|
by Patrick Filler for Harvest, http://getharvest.com
|
4 |
|
|
|
5 |
|
|
Version 1.1.0
|
6 |
|
|
Full source at https://github.com/harvesthq/chosen
|
7 |
|
|
Copyright (c) 2011 Harvest http://getharvest.com
|
8 |
|
|
|
9 |
|
|
MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
|
10 |
|
|
This file is generated by `grunt build`, do not edit it by hand.
|
11 |
|
|
*/
|
12 |
|
|
|
13 |
|
|
/* @group Base */
|
14 |
|
|
.chosen-container {
|
15 |
|
|
position: relative;
|
16 |
|
|
display: inline-block;
|
17 |
|
|
vertical-align: middle;
|
18 |
|
|
font-size: 13px;
|
19 |
|
|
zoom: 1;
|
20 |
|
|
*display: inline;
|
21 |
|
|
-webkit-user-select: none;
|
22 |
|
|
-moz-user-select: none;
|
23 |
|
|
user-select: none;
|
24 |
|
|
}
|
25 |
|
|
.chosen-container .chosen-drop {
|
26 |
|
|
position: absolute;
|
27 |
|
|
top: 100%;
|
28 |
|
|
left: -9999px;
|
29 |
|
|
z-index: 1010;
|
30 |
|
|
-webkit-box-sizing: border-box;
|
31 |
|
|
-moz-box-sizing: border-box;
|
32 |
|
|
box-sizing: border-box;
|
33 |
|
|
width: 100%;
|
34 |
|
|
border: 1px solid #aaa;
|
35 |
|
|
border-top: 0;
|
36 |
|
|
background: #fff;
|
37 |
|
|
box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
|
38 |
|
|
}
|
39 |
|
|
.chosen-container.chosen-with-drop .chosen-drop {
|
40 |
|
|
left: 0;
|
41 |
|
|
}
|
42 |
|
|
.chosen-container a {
|
43 |
|
|
cursor: pointer;
|
44 |
|
|
}
|
45 |
|
|
|
46 |
|
|
/* @end */
|
47 |
|
|
/* @group Single Chosen */
|
48 |
|
|
.chosen-container-single .chosen-single {
|
49 |
|
|
position: relative;
|
50 |
|
|
display: block;
|
51 |
|
|
overflow: hidden;
|
52 |
|
|
padding: 0 0 0 8px;
|
53 |
|
|
height: 23px;
|
54 |
|
|
border: 1px solid #aaa;
|
55 |
|
|
border-radius: 5px;
|
56 |
|
|
background-color: #fff;
|
57 |
|
|
background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #ffffff), color-stop(50%, #f6f6f6), color-stop(52%, #eeeeee), color-stop(100%, #f4f4f4));
|
58 |
|
|
background: -webkit-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
|
59 |
|
|
background: -moz-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
|
60 |
|
|
background: -o-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
|
61 |
|
|
background: linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
|
62 |
|
|
background-clip: padding-box;
|
63 |
|
|
box-shadow: 0 0 3px white inset, 0 1px 1px rgba(0, 0, 0, 0.1);
|
64 |
|
|
color: #444;
|
65 |
|
|
text-decoration: none;
|
66 |
|
|
white-space: nowrap;
|
67 |
|
|
line-height: 24px;
|
68 |
|
|
}
|
69 |
|
|
.chosen-container-single .chosen-default {
|
70 |
|
|
color: #999;
|
71 |
|
|
}
|
72 |
|
|
.chosen-container-single .chosen-single span {
|
73 |
|
|
display: block;
|
74 |
|
|
overflow: hidden;
|
75 |
|
|
margin-right: 26px;
|
76 |
|
|
text-overflow: ellipsis;
|
77 |
|
|
white-space: nowrap;
|
78 |
|
|
}
|
79 |
|
|
.chosen-container-single .chosen-single-with-deselect span {
|
80 |
|
|
margin-right: 38px;
|
81 |
|
|
}
|
82 |
|
|
.chosen-container-single .chosen-single abbr {
|
83 |
|
|
position: absolute;
|
84 |
|
|
top: 6px;
|
85 |
|
|
right: 26px;
|
86 |
|
|
display: block;
|
87 |
|
|
width: 12px;
|
88 |
|
|
height: 12px;
|
89 |
|
|
background: url('chosen-sprite.png') -42px 1px no-repeat;
|
90 |
|
|
font-size: 1px;
|
91 |
|
|
}
|
92 |
|
|
.chosen-container-single .chosen-single abbr:hover {
|
93 |
|
|
background-position: -42px -10px;
|
94 |
|
|
}
|
95 |
|
|
.chosen-container-single.chosen-disabled .chosen-single abbr:hover {
|
96 |
|
|
background-position: -42px -10px;
|
97 |
|
|
}
|
98 |
|
|
.chosen-container-single .chosen-single div {
|
99 |
|
|
position: absolute;
|
100 |
|
|
top: 0;
|
101 |
|
|
right: 0;
|
102 |
|
|
display: block;
|
103 |
|
|
width: 18px;
|
104 |
|
|
height: 100%;
|
105 |
|
|
}
|
106 |
|
|
.chosen-container-single .chosen-single div b {
|
107 |
|
|
display: block;
|
108 |
|
|
width: 100%;
|
109 |
|
|
height: 100%;
|
110 |
|
|
background: url('chosen-sprite.png') no-repeat 0px 2px;
|
111 |
|
|
}
|
112 |
|
|
.chosen-container-single .chosen-search {
|
113 |
|
|
position: relative;
|
114 |
|
|
z-index: 1010;
|
115 |
|
|
margin: 0;
|
116 |
|
|
padding: 3px 4px;
|
117 |
|
|
white-space: nowrap;
|
118 |
|
|
}
|
119 |
|
|
.chosen-container-single .chosen-search input[type="text"] {
|
120 |
|
|
-webkit-box-sizing: border-box;
|
121 |
|
|
-moz-box-sizing: border-box;
|
122 |
|
|
box-sizing: border-box;
|
123 |
|
|
margin: 1px 0;
|
124 |
|
|
padding: 4px 20px 4px 5px;
|
125 |
|
|
width: 100%;
|
126 |
|
|
height: auto;
|
127 |
|
|
outline: 0;
|
128 |
|
|
border: 1px solid #aaa;
|
129 |
|
|
background: white url('chosen-sprite.png') no-repeat 100% -20px;
|
130 |
|
|
background: url('chosen-sprite.png') no-repeat 100% -20px;
|
131 |
|
|
font-size: 1em;
|
132 |
|
|
font-family: sans-serif;
|
133 |
|
|
line-height: normal;
|
134 |
|
|
border-radius: 0;
|
135 |
|
|
}
|
136 |
|
|
.chosen-container-single .chosen-drop {
|
137 |
|
|
margin-top: -1px;
|
138 |
|
|
border-radius: 0 0 4px 4px;
|
139 |
|
|
background-clip: padding-box;
|
140 |
|
|
}
|
141 |
|
|
.chosen-container-single.chosen-container-single-nosearch .chosen-search {
|
142 |
|
|
position: absolute;
|
143 |
|
|
left: -9999px;
|
144 |
|
|
}
|
145 |
|
|
|
146 |
|
|
/* @end */
|
147 |
|
|
/* @group Results */
|
148 |
|
|
.chosen-container .chosen-results {
|
149 |
|
|
position: relative;
|
150 |
|
|
overflow-x: hidden;
|
151 |
|
|
overflow-y: auto;
|
152 |
|
|
margin: 0 4px 4px 0;
|
153 |
|
|
padding: 0 0 0 4px;
|
154 |
|
|
max-height: 240px;
|
155 |
|
|
-webkit-overflow-scrolling: touch;
|
156 |
|
|
}
|
157 |
|
|
.chosen-container .chosen-results li {
|
158 |
|
|
display: none;
|
159 |
|
|
margin: 0;
|
160 |
|
|
padding: 5px 6px;
|
161 |
|
|
list-style: none;
|
162 |
|
|
line-height: 15px;
|
163 |
|
|
-webkit-touch-callout: none;
|
164 |
|
|
}
|
165 |
|
|
.chosen-container .chosen-results li.active-result {
|
166 |
|
|
display: list-item;
|
167 |
|
|
cursor: pointer;
|
168 |
|
|
}
|
169 |
|
|
.chosen-container .chosen-results li.disabled-result {
|
170 |
|
|
display: list-item;
|
171 |
|
|
color: #ccc;
|
172 |
|
|
cursor: default;
|
173 |
|
|
}
|
174 |
|
|
.chosen-container .chosen-results li.highlighted {
|
175 |
|
|
background-color: #3875d7;
|
176 |
|
|
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #3875d7), color-stop(90%, #2a62bc));
|
177 |
|
|
background-image: -webkit-linear-gradient(#3875d7 20%, #2a62bc 90%);
|
178 |
|
|
background-image: -moz-linear-gradient(#3875d7 20%, #2a62bc 90%);
|
179 |
|
|
background-image: -o-linear-gradient(#3875d7 20%, #2a62bc 90%);
|
180 |
|
|
background-image: linear-gradient(#3875d7 20%, #2a62bc 90%);
|
181 |
|
|
color: #fff;
|
182 |
|
|
}
|
183 |
|
|
.chosen-container .chosen-results li.no-results {
|
184 |
|
|
display: list-item;
|
185 |
|
|
background: #f4f4f4;
|
186 |
|
|
}
|
187 |
|
|
.chosen-container .chosen-results li.group-result {
|
188 |
|
|
display: list-item;
|
189 |
|
|
font-weight: bold;
|
190 |
|
|
cursor: default;
|
191 |
|
|
}
|
192 |
|
|
.chosen-container .chosen-results li.group-option {
|
193 |
|
|
padding-left: 15px;
|
194 |
|
|
}
|
195 |
|
|
.chosen-container .chosen-results li em {
|
196 |
|
|
font-style: normal;
|
197 |
|
|
text-decoration: underline;
|
198 |
|
|
}
|
199 |
|
|
|
200 |
|
|
/* @end */
|
201 |
|
|
/* @group Multi Chosen */
|
202 |
|
|
.chosen-container-multi .chosen-choices {
|
203 |
|
|
-moz-box-sizing: border-box;
|
204 |
|
|
background-color: #FFFFFF;
|
205 |
|
|
border: 1px solid #CBD5DD;
|
206 |
|
|
border-radius: 2px;
|
207 |
|
|
cursor: text;
|
208 |
|
|
height: auto !important;
|
209 |
|
|
margin: 0;
|
210 |
|
|
min-height: 30px;
|
211 |
|
|
overflow: hidden;
|
212 |
|
|
padding: 2px;
|
213 |
|
|
position: relative;
|
214 |
|
|
width: 100%;
|
215 |
|
|
}
|
216 |
|
|
.chosen-container-multi .chosen-choices li {
|
217 |
|
|
float: left;
|
218 |
|
|
list-style: none;
|
219 |
|
|
}
|
220 |
|
|
.chosen-container-multi .chosen-choices li.search-field {
|
221 |
|
|
margin: 0;
|
222 |
|
|
padding: 0;
|
223 |
|
|
white-space: nowrap;
|
224 |
|
|
}
|
225 |
|
|
.chosen-container-multi .chosen-choices li.search-field input[type="text"] {
|
226 |
|
|
margin: 1px 0;
|
227 |
|
|
padding: 5px;
|
228 |
|
|
height: 25px;
|
229 |
|
|
outline: 0;
|
230 |
|
|
border: 0 !important;
|
231 |
|
|
background: transparent !important;
|
232 |
|
|
box-shadow: none;
|
233 |
|
|
color: #666;
|
234 |
|
|
font-size: 100%;
|
235 |
|
|
font-family: sans-serif;
|
236 |
|
|
line-height: normal;
|
237 |
|
|
border-radius: 0;
|
238 |
|
|
}
|
239 |
|
|
.chosen-container-multi .chosen-choices li.search-field .default {
|
240 |
|
|
color: #999;
|
241 |
|
|
}
|
242 |
|
|
.chosen-container-multi .chosen-choices li.search-choice {
|
243 |
|
|
position: relative;
|
244 |
|
|
margin: 3px 0 3px 5px;
|
245 |
|
|
padding: 3px 20px 3px 5px;
|
246 |
|
|
border: 1px solid #aaa;
|
247 |
|
|
border-radius: 3px;
|
248 |
|
|
background-color: #e4e4e4;
|
249 |
|
|
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee));
|
250 |
|
|
background-image: -webkit-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
251 |
|
|
background-image: -moz-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
252 |
|
|
background-image: -o-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
253 |
|
|
background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
254 |
|
|
background-clip: padding-box;
|
255 |
|
|
box-shadow: 0 0 2px white inset, 0 1px 0 rgba(0, 0, 0, 0.05);
|
256 |
|
|
color: #333;
|
257 |
|
|
line-height: 13px;
|
258 |
|
|
cursor: default;
|
259 |
|
|
}
|
260 |
|
|
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
|
261 |
|
|
position: absolute;
|
262 |
|
|
top: 4px;
|
263 |
|
|
right: 3px;
|
264 |
|
|
display: block;
|
265 |
|
|
width: 12px;
|
266 |
|
|
height: 12px;
|
267 |
|
|
background: url('chosen-sprite.png') -42px 1px no-repeat;
|
268 |
|
|
font-size: 1px;
|
269 |
|
|
}
|
270 |
|
|
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover {
|
271 |
|
|
background-position: -42px -10px;
|
272 |
|
|
}
|
273 |
|
|
.chosen-container-multi .chosen-choices li.search-choice-disabled {
|
274 |
|
|
padding-right: 5px;
|
275 |
|
|
border: 1px solid #ccc;
|
276 |
|
|
background-color: #e4e4e4;
|
277 |
|
|
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee));
|
278 |
|
|
background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
279 |
|
|
background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
280 |
|
|
background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
281 |
|
|
background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
282 |
|
|
color: #666;
|
283 |
|
|
}
|
284 |
|
|
.chosen-container-multi .chosen-choices li.search-choice-focus {
|
285 |
|
|
background: #d4d4d4;
|
286 |
|
|
}
|
287 |
|
|
.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close {
|
288 |
|
|
background-position: -42px -10px;
|
289 |
|
|
}
|
290 |
|
|
.chosen-container-multi .chosen-results {
|
291 |
|
|
margin: 0;
|
292 |
|
|
padding: 0;
|
293 |
|
|
}
|
294 |
|
|
.chosen-container-multi .chosen-drop .result-selected {
|
295 |
|
|
display: list-item;
|
296 |
|
|
color: #ccc;
|
297 |
|
|
cursor: default;
|
298 |
|
|
}
|
299 |
|
|
|
300 |
|
|
/* @end */
|
301 |
|
|
/* @group Active */
|
302 |
|
|
.chosen-container-active .chosen-single {
|
303 |
|
|
border: 1px solid #5897fb;
|
304 |
|
|
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
|
305 |
|
|
}
|
306 |
|
|
.chosen-container-active.chosen-with-drop .chosen-single {
|
307 |
|
|
border: 1px solid #aaa;
|
308 |
|
|
-moz-border-radius-bottomright: 0;
|
309 |
|
|
border-bottom-right-radius: 0;
|
310 |
|
|
-moz-border-radius-bottomleft: 0;
|
311 |
|
|
border-bottom-left-radius: 0;
|
312 |
|
|
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #eeeeee), color-stop(80%, #ffffff));
|
313 |
|
|
background-image: -webkit-linear-gradient(#eeeeee 20%, #ffffff 80%);
|
314 |
|
|
background-image: -moz-linear-gradient(#eeeeee 20%, #ffffff 80%);
|
315 |
|
|
background-image: -o-linear-gradient(#eeeeee 20%, #ffffff 80%);
|
316 |
|
|
background-image: linear-gradient(#eeeeee 20%, #ffffff 80%);
|
317 |
|
|
box-shadow: 0 1px 0 #fff inset;
|
318 |
|
|
}
|
319 |
|
|
.chosen-container-active.chosen-with-drop .chosen-single div {
|
320 |
|
|
border-left: none;
|
321 |
|
|
background: transparent;
|
322 |
|
|
}
|
323 |
|
|
.chosen-container-active.chosen-with-drop .chosen-single div b {
|
324 |
|
|
background-position: -18px 2px;
|
325 |
|
|
}
|
326 |
|
|
.chosen-container-active .chosen-choices {
|
327 |
|
|
border: 1px solid #5897fb;
|
328 |
|
|
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
|
329 |
|
|
}
|
330 |
|
|
.chosen-container-active .chosen-choices li.search-field input[type="text"] {
|
331 |
|
|
color: #111 !important;
|
332 |
|
|
}
|
333 |
|
|
|
334 |
|
|
/* @end */
|
335 |
|
|
/* @group Disabled Support */
|
336 |
|
|
.chosen-disabled {
|
337 |
|
|
opacity: 0.5 !important;
|
338 |
|
|
cursor: default;
|
339 |
|
|
}
|
340 |
|
|
.chosen-disabled .chosen-single {
|
341 |
|
|
cursor: default;
|
342 |
|
|
}
|
343 |
|
|
.chosen-disabled .chosen-choices .search-choice .search-choice-close {
|
344 |
|
|
cursor: default;
|
345 |
|
|
}
|
346 |
|
|
|
347 |
|
|
/* @end */
|
348 |
|
|
/* @group Right to Left */
|
349 |
|
|
.chosen-rtl {
|
350 |
|
|
text-align: right;
|
351 |
|
|
}
|
352 |
|
|
.chosen-rtl .chosen-single {
|
353 |
|
|
overflow: visible;
|
354 |
|
|
padding: 0 8px 0 0;
|
355 |
|
|
}
|
356 |
|
|
.chosen-rtl .chosen-single span {
|
357 |
|
|
margin-right: 0;
|
358 |
|
|
margin-left: 26px;
|
359 |
|
|
direction: rtl;
|
360 |
|
|
}
|
361 |
|
|
.chosen-rtl .chosen-single-with-deselect span {
|
362 |
|
|
margin-left: 38px;
|
363 |
|
|
}
|
364 |
|
|
.chosen-rtl .chosen-single div {
|
365 |
|
|
right: auto;
|
366 |
|
|
left: 3px;
|
367 |
|
|
}
|
368 |
|
|
.chosen-rtl .chosen-single abbr {
|
369 |
|
|
right: auto;
|
370 |
|
|
left: 26px;
|
371 |
|
|
}
|
372 |
|
|
.chosen-rtl .chosen-choices li {
|
373 |
|
|
float: right;
|
374 |
|
|
}
|
375 |
|
|
.chosen-rtl .chosen-choices li.search-field input[type="text"] {
|
376 |
|
|
direction: rtl;
|
377 |
|
|
}
|
378 |
|
|
.chosen-rtl .chosen-choices li.search-choice {
|
379 |
|
|
margin: 3px 5px 3px 0;
|
380 |
|
|
padding: 3px 5px 3px 19px;
|
381 |
|
|
}
|
382 |
|
|
.chosen-rtl .chosen-choices li.search-choice .search-choice-close {
|
383 |
|
|
right: auto;
|
384 |
|
|
left: 4px;
|
385 |
|
|
}
|
386 |
|
|
.chosen-rtl.chosen-container-single-nosearch .chosen-search,
|
387 |
|
|
.chosen-rtl .chosen-drop {
|
388 |
|
|
left: 9999px;
|
389 |
|
|
}
|
390 |
|
|
.chosen-rtl.chosen-container-single .chosen-results {
|
391 |
|
|
margin: 0 0 4px 4px;
|
392 |
|
|
padding: 0 4px 0 0;
|
393 |
|
|
}
|
394 |
|
|
.chosen-rtl .chosen-results li.group-option {
|
395 |
|
|
padding-right: 15px;
|
396 |
|
|
padding-left: 0;
|
397 |
|
|
}
|
398 |
|
|
.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div {
|
399 |
|
|
border-right: none;
|
400 |
|
|
}
|
401 |
|
|
.chosen-rtl .chosen-search input[type="text"] {
|
402 |
|
|
padding: 4px 5px 4px 20px;
|
403 |
|
|
background: white url('chosen-sprite.png') no-repeat -30px -20px;
|
404 |
|
|
background: url('chosen-sprite.png') no-repeat -30px -20px;
|
405 |
|
|
direction: rtl;
|
406 |
|
|
}
|
407 |
|
|
.chosen-rtl.chosen-container-single .chosen-single div b {
|
408 |
|
|
background-position: 6px 2px;
|
409 |
|
|
}
|
410 |
|
|
.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b {
|
411 |
|
|
background-position: -12px 2px;
|
412 |
|
|
}
|
413 |
|
|
|
414 |
|
|
/* @end */
|
415 |
|
|
/* @group Retina compatibility */
|
416 |
|
|
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 144dpi) {
|
417 |
|
|
.chosen-rtl .chosen-search input[type="text"],
|
418 |
|
|
.chosen-container-single .chosen-single abbr,
|
419 |
|
|
.chosen-container-single .chosen-single div b,
|
420 |
|
|
.chosen-container-single .chosen-search input[type="text"],
|
421 |
|
|
.chosen-container-multi .chosen-choices .search-choice .search-choice-close,
|
422 |
|
|
.chosen-container .chosen-results-scroll-down span,
|
423 |
|
|
.chosen-container .chosen-results-scroll-up span {
|
424 |
|
|
background-image: url('chosen-sprite@2x.png') !important;
|
425 |
|
|
background-size: 52px 37px !important;
|
426 |
|
|
background-repeat: no-repeat !important;
|
427 |
|
|
}
|
428 |
|
|
}
|
429 |
|
|
/* @end */
|