PluginProbe
Property Hive / trunk
Property Hive vtrunk
2.2.6 2.2.5 2.2.4 2.2.3 2.2.2 1.4.46 1.4.47 1.4.48 1.4.49 1.4.5 1.4.50 1.4.51 1.4.52 1.4.53 1.4.54 1.4.55 1.4.56 1.4.57 1.4.58 1.4.59 1.4.6 1.4.60 1.4.61 1.4.62 1.4.63 All 259 releases
propertyhive / assets / css / chosen.css

chosen.css in Property Hive trunk, at assets/css/chosen.css

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