source: trunk/themes/default/js/plugins/chosen.css @ 13077

Last change on this file since 13077 was 13077, checked in by plg, 12 years ago

feature 2564: redesign on photo administration screen.

  • one screen with several tabs (for now: properties + coi)
  • double select boxes for album associations and representation have been converted to simple multiple select boxes with jQuery Chosen
  • more details about the photo in an introduction text
File size: 13.5 KB
Line 
1/* @group Base */
2.chzn-container {
3  font-size: 13px;
4  position: relative;
5  display: inline-block;
6  zoom: 1;
7  *display: inline;
8}
9.chzn-container .chzn-drop {
10  background: #fff;
11  border: 1px solid #aaa;
12  border-top: 0;
13  position: absolute;
14  top: 29px;
15  left: 0;
16  -webkit-box-shadow: 0 4px 5px rgba(0,0,0,.15);
17  -moz-box-shadow   : 0 4px 5px rgba(0,0,0,.15);
18  -o-box-shadow     : 0 4px 5px rgba(0,0,0,.15);
19  box-shadow        : 0 4px 5px rgba(0,0,0,.15);
20  z-index: 999;
21}
22/* @end */
23
24/* @group Single Chosen */
25.chzn-container-single .chzn-single {
26  background-color: #ffffff;
27  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0 );   
28  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #ffffff), color-stop(50%, #f6f6f6), color-stop(52%, #eeeeee), color-stop(100%, #f4f4f4));
29  background-image: -webkit-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
30  background-image: -moz-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
31  background-image: -o-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
32  background-image: -ms-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
33  background-image: linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%); 
34  -webkit-border-radius: 5px;
35  -moz-border-radius   : 5px;
36  border-radius        : 5px;
37  -moz-background-clip   : padding;
38  -webkit-background-clip: padding-box;
39  background-clip        : padding-box;
40  border: 1px solid #aaaaaa;
41  -webkit-box-shadow: 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1);
42  -moz-box-shadow   : 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1);
43  box-shadow        : 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1);
44  display: block;
45  overflow: hidden;
46  white-space: nowrap;
47  position: relative;
48  height: 23px;
49  line-height: 24px;
50  padding: 0 0 0 8px;
51  color: #444444;
52  text-decoration: none;
53}
54.chzn-container-single .chzn-single span {
55  margin-right: 26px;
56  display: block;
57  overflow: hidden;
58  white-space: nowrap;
59  -o-text-overflow: ellipsis;
60  -ms-text-overflow: ellipsis;
61  text-overflow: ellipsis;
62}
63.chzn-container-single .chzn-single abbr {
64  display: block;
65  position: absolute;
66  right: 26px;
67  top: 6px;
68  width: 12px;
69  height: 13px;
70  font-size: 1px;
71  background: url(chosen-sprite.png) right top no-repeat;
72}
73.chzn-container-single .chzn-single abbr:hover {
74  background-position: right -11px;
75}
76.chzn-container-single .chzn-single div {
77  position: absolute;
78  right: 0;
79  top: 0;
80  display: block;
81  height: 100%;
82  width: 18px;
83}
84.chzn-container-single .chzn-single div b {
85  background: url('chosen-sprite.png') no-repeat 0 0;
86  display: block;
87  width: 100%;
88  height: 100%;
89}
90.chzn-container-single .chzn-search {
91  padding: 3px 4px;
92  position: relative;
93  margin: 0;
94  white-space: nowrap;
95  z-index: 1010;
96}
97.chzn-container-single .chzn-search input {
98  background: #fff url('chosen-sprite.png') no-repeat 100% -22px;
99  background: url('chosen-sprite.png') no-repeat 100% -22px, -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
100  background: url('chosen-sprite.png') no-repeat 100% -22px, -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
101  background: url('chosen-sprite.png') no-repeat 100% -22px, -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
102  background: url('chosen-sprite.png') no-repeat 100% -22px, -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
103  background: url('chosen-sprite.png') no-repeat 100% -22px, -ms-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
104  background: url('chosen-sprite.png') no-repeat 100% -22px, linear-gradient(top, #eeeeee 1%, #ffffff 15%);
105  margin: 1px 0;
106  padding: 4px 20px 4px 5px;
107  outline: 0;
108  border: 1px solid #aaa;
109  font-family: sans-serif;
110  font-size: 1em;
111}
112.chzn-container-single .chzn-drop {
113  -webkit-border-radius: 0 0 4px 4px;
114  -moz-border-radius   : 0 0 4px 4px;
115  border-radius        : 0 0 4px 4px;
116  -moz-background-clip   : padding;
117  -webkit-background-clip: padding-box;
118  background-clip        : padding-box;
119}
120/* @end */
121
122.chzn-container-single-nosearch .chzn-search input {
123  position: absolute;
124  left: -9000px;
125}
126
127/* @group Multi Chosen */
128.chzn-container-multi .chzn-choices {
129  background-color: #fff;
130  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
131  background-image: -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
132  background-image: -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
133  background-image: -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
134  background-image: -ms-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
135  background-image: linear-gradient(top, #eeeeee 1%, #ffffff 15%);
136  border: 1px solid #aaa;
137  margin: 0;
138  padding: 0;
139  cursor: text;
140  overflow: hidden;
141  height: auto !important;
142  height: 1%;
143  position: relative;
144}
145.chzn-container-multi .chzn-choices li {
146  float: left;
147  list-style: none;
148}
149.chzn-container-multi .chzn-choices .search-field {
150  white-space: nowrap;
151  margin: 0;
152  padding: 0;
153}
154.chzn-container-multi .chzn-choices .search-field input {
155  color: #666;
156  background: transparent !important;
157  border: 0 !important;
158  font-family: sans-serif;
159  font-size: 100%;
160  height: 15px;
161  padding: 5px;
162  margin: 1px 0;
163  outline: 0;
164  -webkit-box-shadow: none;
165  -moz-box-shadow   : none;
166  -o-box-shadow     : none;
167  box-shadow        : none;
168}
169.chzn-container-multi .chzn-choices .search-field .default {
170  color: #999;
171}
172.chzn-container-multi .chzn-choices .search-choice {
173  -webkit-border-radius: 3px;
174  -moz-border-radius   : 3px;
175  border-radius        : 3px;
176  -moz-background-clip   : padding;
177  -webkit-background-clip: padding-box;
178  background-clip        : padding-box;
179  background-color: #e4e4e4;
180  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f4f4', endColorstr='#eeeeee', GradientType=0 ); 
181  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee));
182  background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
183  background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
184  background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
185  background-image: -ms-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
186  background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); 
187  -webkit-box-shadow: 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
188  -moz-box-shadow   : 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
189  box-shadow        : 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
190  color: #333;
191  border: 1px solid #aaaaaa;
192  line-height: 13px;
193  padding: 3px 20px 3px 5px;
194  margin: 3px 0 3px 5px;
195  position: relative;
196  cursor: default;
197}
198.chzn-container-multi .chzn-choices .search-choice-focus {
199  background: #d4d4d4;
200}
201.chzn-container-multi .chzn-choices .search-choice .search-choice-close {
202  display: block;
203  position: absolute;
204  right: 3px;
205  top: 4px;
206  width: 12px;
207  height: 13px;
208  font-size: 1px;
209  background: url(chosen-sprite.png) right top no-repeat;
210}
211.chzn-container-multi .chzn-choices .search-choice .search-choice-close:hover {
212  background-position: right -11px;
213}
214.chzn-container-multi .chzn-choices .search-choice-focus .search-choice-close {
215  background-position: right -11px;
216}
217/* @end */
218
219/* @group Results */
220.chzn-container .chzn-results {
221  margin: 0 4px 4px 0;
222  max-height: 240px;
223  padding: 0 0 0 4px;
224  position: relative;
225  overflow-x: hidden;
226  overflow-y: auto;
227}
228.chzn-container-multi .chzn-results {
229  margin: -1px 0 0;
230  padding: 0;
231}
232.chzn-container .chzn-results li {
233  display: none;
234  line-height: 15px;
235  padding: 5px 6px;
236  margin: 0;
237  list-style: none;
238}
239.chzn-container .chzn-results .active-result {
240  cursor: pointer;
241  display: list-item;
242}
243.chzn-container .chzn-results .highlighted {
244  background-color: #3875d7;
245  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3875d7', endColorstr='#2a62bc', GradientType=0 ); 
246  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #3875d7), color-stop(90%, #2a62bc));
247  background-image: -webkit-linear-gradient(top, #3875d7 20%, #2a62bc 90%);
248  background-image: -moz-linear-gradient(top, #3875d7 20%, #2a62bc 90%);
249  background-image: -o-linear-gradient(top, #3875d7 20%, #2a62bc 90%);
250  background-image: -ms-linear-gradient(top, #3875d7 20%, #2a62bc 90%);
251  background-image: linear-gradient(top, #3875d7 20%, #2a62bc 90%);
252  color: #fff;
253}
254.chzn-container .chzn-results li em {
255  background: #feffde;
256  font-style: normal;
257}
258.chzn-container .chzn-results .highlighted em {
259  background: transparent;
260}
261.chzn-container .chzn-results .no-results {
262  background: #f4f4f4;
263  display: list-item;
264}
265.chzn-container .chzn-results .group-result {
266  cursor: default;
267  color: #999;
268  font-weight: bold;
269}
270.chzn-container .chzn-results .group-option {
271  padding-left: 15px;
272}
273.chzn-container-multi .chzn-drop .result-selected {
274  display: none;
275}
276.chzn-container .chzn-results-scroll {
277  background: white;
278  margin: 0 4px;
279  position: absolute;
280  text-align: center;
281  width: 321px; /* This should by dynamic with js */
282  z-index: 1;
283}
284.chzn-container .chzn-results-scroll span {
285  display: inline-block;
286  height: 17px;
287  text-indent: -5000px;
288  width: 9px;
289}
290.chzn-container .chzn-results-scroll-down {
291  bottom: 0;
292}
293.chzn-container .chzn-results-scroll-down span {
294  background: url('chosen-sprite.png') no-repeat -4px -3px;
295}
296.chzn-container .chzn-results-scroll-up span {
297  background: url('chosen-sprite.png') no-repeat -22px -3px;
298}
299/* @end */
300
301/* @group Active  */
302.chzn-container-active .chzn-single {
303  -webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
304  -moz-box-shadow   : 0 0 5px rgba(0,0,0,.3);
305  -o-box-shadow     : 0 0 5px rgba(0,0,0,.3);
306  box-shadow        : 0 0 5px rgba(0,0,0,.3);
307  border: 1px solid #5897fb;
308}
309.chzn-container-active .chzn-single-with-drop {
310  border: 1px solid #aaa;
311  -webkit-box-shadow: 0 1px 0 #fff inset;
312  -moz-box-shadow   : 0 1px 0 #fff inset;
313  -o-box-shadow     : 0 1px 0 #fff inset;
314  box-shadow        : 0 1px 0 #fff inset;
315  background-color: #eee;
316  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0 );
317  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #eeeeee), color-stop(80%, #ffffff));
318  background-image: -webkit-linear-gradient(top, #eeeeee 20%, #ffffff 80%);
319  background-image: -moz-linear-gradient(top, #eeeeee 20%, #ffffff 80%);
320  background-image: -o-linear-gradient(top, #eeeeee 20%, #ffffff 80%);
321  background-image: -ms-linear-gradient(top, #eeeeee 20%, #ffffff 80%);
322  background-image: linear-gradient(top, #eeeeee 20%, #ffffff 80%);
323  -webkit-border-bottom-left-radius : 0;
324  -webkit-border-bottom-right-radius: 0;
325  -moz-border-radius-bottomleft : 0;
326  -moz-border-radius-bottomright: 0;
327  border-bottom-left-radius : 0;
328  border-bottom-right-radius: 0;
329}
330.chzn-container-active .chzn-single-with-drop div {
331  background: transparent;
332  border-left: none;
333}
334.chzn-container-active .chzn-single-with-drop div b {
335  background-position: -18px 1px;
336}
337.chzn-container-active .chzn-choices {
338  -webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
339  -moz-box-shadow   : 0 0 5px rgba(0,0,0,.3);
340  -o-box-shadow     : 0 0 5px rgba(0,0,0,.3);
341  box-shadow        : 0 0 5px rgba(0,0,0,.3);
342  border: 1px solid #5897fb;
343}
344.chzn-container-active .chzn-choices .search-field input {
345  color: #111 !important;
346}
347/* @end */
348
349/* @group Disabled Support */
350.chzn-disabled {
351  cursor: default;
352  opacity:0.5 !important;
353}
354.chzn-disabled .chzn-single {
355  cursor: default;
356}
357.chzn-disabled .chzn-choices .search-choice .search-choice-close {
358  cursor: default;
359}
360
361/* @group Right to Left */
362.chzn-rtl { text-align: right; }
363.chzn-rtl .chzn-single { padding: 0 8px 0 0; overflow: visible; }
364.chzn-rtl .chzn-single span { margin-left: 26px; margin-right: 0; direction: rtl; }
365
366.chzn-rtl .chzn-single div { left: 3px; right: auto; }
367.chzn-rtl .chzn-single abbr {
368  left: 26px;
369  right: auto;
370}
371.chzn-rtl .chzn-choices .search-field input { direction: rtl; }
372.chzn-rtl .chzn-choices li { float: right; }
373.chzn-rtl .chzn-choices .search-choice { padding: 3px 5px 3px 19px; margin: 3px 5px 3px 0; }
374.chzn-rtl .chzn-choices .search-choice .search-choice-close { left: 4px; right: auto; background-position: right top;}
375.chzn-rtl.chzn-container-single .chzn-results { margin: 0 0 4px 4px; padding: 0 4px 0 0; }
376.chzn-rtl .chzn-results .group-option { padding-left: 0; padding-right: 15px; }
377.chzn-rtl.chzn-container-active .chzn-single-with-drop div { border-right: none; }
378.chzn-rtl .chzn-search input {
379  background: #fff url('chosen-sprite.png') no-repeat -38px -22px;
380  background: url('chosen-sprite.png') no-repeat -38px -22px, -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
381  background: url('chosen-sprite.png') no-repeat -38px -22px, -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%); 
382  background: url('chosen-sprite.png') no-repeat -38px -22px, -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
383  background: url('chosen-sprite.png') no-repeat -38px -22px, -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
384  background: url('chosen-sprite.png') no-repeat -38px -22px, -ms-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
385  background: url('chosen-sprite.png') no-repeat -38px -22px, linear-gradient(top, #eeeeee 1%, #ffffff 15%);
386  padding: 4px 5px 4px 20px;
387  direction: rtl;
388}
389/* @end */
Note: See TracBrowser for help on using the repository browser.