Définition de la hauteur du pavé de présentation d'une collection pour qu'on puisse...
[Portfolio.git] / skins / portfolio_style.css.dtml
1 /*
2 <dtml-with base_properties>
3 <dtml-with portfolio_properties>
4
5
6 */
7 /* Photo / Portfolio */
8 .photo_viewer {
9 width:100%;
10 margin-bottom:1px;
11 }
12
13 .photo_viewer #medium_image {
14 height:603px; /* todo : paramètre */
15 text-align:center;
16 vertical-align:middle;
17 }
18
19 #medium_image.selected {
20 background: &dtml-medium_image_background;;
21 }
22
23 .photo_viewer td {
24 padding:0;
25 }
26
27 .photo_viewer .metadata_bar {
28 background: &dtml-metadata_bar_background;;
29 width:20em;
30 }
31
32 .image_metadata {
33 padding: 0 1em 1em 1em;
34 }
35
36 .photo_viewer .photographer {
37 color: &dtml-photographer_font_color;;
38 }
39
40 .photo_viewer .title_summary {
41 color: &dtml-title_font_color;;
42 }
43
44 .photo_viewer .description {
45 padding-top:1.5em;
46 max-height:22em;
47 overflow-y:hidden;
48 }
49
50 .photo_viewer .description:hover {
51 max-height:none;
52 }
53
54 .photo_viewer ul.keywords {
55 padding: 0 0 1em 0;
56 margin:0;
57 text-align:left;
58 }
59
60 .photo_viewer .keywords li {
61 display: inline;
62 padding-left: 10px;
63 background: url(&dtml-portal_url;/keyword_sep.gif) left no-repeat;
64 }
65
66 .photo_viewer .keywords li:first-child {
67 padding-left:0;
68 background:none;
69 }
70
71
72 table.metadata_category {
73 color: &dtml-metadata_edit_label_color;;
74 background: &dtml-metadata_edit_panel_background;;
75 font-size: 11px;
76 margin-top:1px;
77 }
78
79 table.metadata_category th {
80 text-align:right;
81 vertical-align:top;
82 font-weight:normal;
83 }
84
85 table.metadata_category tr.last td,
86 table.metadata_category tr.last th {
87 padding-bottom:4px;
88 }
89
90 table.metadata_category tr.name td,
91 table.metadata_category tr.name th {
92 margin-top: 4px;
93 border-top:1px solid &dtml-metadata_panel_border_sep_color;;
94 text-align:left;
95 padding: 4px 0 2px 10px;
96 }
97
98 table.metadata_category td {
99 padding:1px 8px;
100 }
101
102
103 table.metadata_category input,
104 table.metadata_category textarea,
105 table.metadata_category select {
106 width:100%;
107 color:&dtml-metadata_input_font_color;;
108 font-size:11px;
109 font-family: Arial,Helvetica,Geneva,Swiss,SunSans-Regular,sans-serif;
110 border:1px solid &dtml-metadata_input_border_color;;
111 background: &dtml-metadata_input_background;;
112 }
113
114 table.metadata_category input:hover,
115 table.metadata_category textarea:hover,
116 table.metadata_category select:hover {
117 background: &dtml-metadata_input_hover_background;;
118 }
119
120 table.metadata_category input:focus,
121 table.metadata_category textarea:focus,
122 table.metadata_category select:focus {
123 background: &dtml-metadata_input_focus_background;;
124 color: &dtml-metadata_input_focus_font_color;;
125 border: 1px solid &dtml-metadata_input_border_focus_color;;
126 }
127
128 .portfolio_lightbox a {
129 background: &dtml-portfolio_slide_background;;
130 color: &dtml-fontColor;;
131 display:block;
132 width: <dtml-var expr="thumb_size + 16">px;
133 height: <dtml-var expr="thumb_size + 102">px;
134 display:block;
135 text-align:center;
136 float:left;
137 padding-top:8px;
138 margin-top : 6px;
139 margin-left : 6px;
140 overflow:hidden;
141 }
142
143 .portfolio_lightbox a:hover {
144 background:&dtml-portfolio_slide_hover_background;;
145 color: &dtml-linkHoverColor;;
146 }
147
148 .portfolio_lightbox img {
149 border:none;
150 }
151
152 .portfolio_lightbox h3 {
153 margin:5px 0;
154 padding:0 8px;
155 text-align:left;
156 }
157 .portfolio_lightbox div {
158 padding:0 8px;
159 text-align:left;
160 font-size: &dtml-fontSmallSize;;
161 }
162
163 div.lightbox {
164 /* The lightbox itself.
165 Force this div to fit grid
166 effective height.
167 */
168 overflow:hidden;
169 }
170
171 .photo-drop-target {
172 background: url('&dtml-portal_url;/image-upload-dd-target.png') no-repeat center center;
173 min-height:300px;
174 }
175
176 .lightbox span {
177 width: &dtml-slide_size;px;
178 height: &dtml-slide_size;px;
179 display:block;
180 float:left;
181 }
182
183 .lightbox a.slide {
184 position:absolute;
185 display:block;
186 width: &dtml-slide_size;px;
187 height: &dtml-slide_size;px;
188 background:&dtml-slide_background;;
189 border: 1px solid &dtml-backgroundColor;;
190 }
191
192 .lightbox a.slide:hover {
193 background:&dtml-slide_hover_background;;
194 }
195
196 .lightbox .selected a.slide,
197 .lightbox a.selected:hover {
198 background:&dtml-slide_selected_background;;
199 }
200
201 .lightbox .hidden-slide a.slide,
202 .lightbox a.hidden-slide:hover {
203 background:url(&dtml-portal_url;/hidden-slide-bg.png);
204 }
205
206 .lightbox .slide img {
207 position:absolute;
208 border: 1px solid black;
209 }
210
211 .lightbox span.button {
212 background:none;
213 position: absolute;
214 }
215
216 .lightbox span[class].button {
217 visibility:hidden;
218 }
219
220 .lightbox span:hover span.button {
221 visibility:visible;
222 }
223
224 .lightbox .slide-select,
225 .lightbox .slide-deselect {
226 margin-left:10px;
227 margin-top:7px;
228 width:12px;
229 height:17px;
230 }
231
232 .lightbox .slide-select img {
233 filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='&dtml-portal_url;/slide-select-btn.png');
234 }
235
236 .lightbox .slide-select[class] img {
237 background: url(&dtml-portal_url;/slide-select-btn.png);
238 }
239
240 .lightbox .slide-deselect img {
241 filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='&dtml-portal_url;/slide-deselect-btn.png');
242 }
243
244 .lightbox .slide-deselect[class] img {
245 background: url(&dtml-portal_url;/slide-deselect-btn.png);
246 }
247
248 .lightbox .slide-cart {
249 margin-left:30px;
250 margin-top:7px;
251 width:12px;
252 height:17px;
253 }
254
255 .lightbox .slide-cart img {
256 filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='&dtml-portal_url;/slide-cart-btn.png');
257 }
258
259 .lightbox .slide-cart[class] img {
260 background: url(&dtml-portal_url;/slide-cart-btn.png);
261 }
262
263 /* slide del */
264 .lightbox .slide-del {
265 margin-left:<dtml-var expr="slide_size - 22">px;
266 margin-top:5px;
267 width:18px;
268 height:19px;
269 }
270
271 .lightbox .slide-del img {
272 filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='&dtml-portal_url;/slide-del-btn.png');
273 }
274
275 .lightbox .slide-del[class] img {
276 background: url(&dtml-portal_url;/slide-del-btn.png);
277 }
278
279
280 .lightbox .slide-hide,
281 .lightbox .slide-show {
282 width:16px;
283 height:15px;
284 }
285
286 .lightbox .slide-hide img {
287 filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='&dtml-portal_url;/slide-eye-open-btn.png');
288 }
289
290 .lightbox .slide-hide[class] img {
291 background: url(&dtml-portal_url;/slide-eye-open-btn.png);
292 }
293
294 .lightbox .slide-show img {
295 filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='&dtml-portal_url;/slide-eye-closed.png');
296 }
297
298 .lightbox .slide-show[class] img {
299 background: url(&dtml-portal_url;/slide-eye-closed.png);
300 }
301
302 .lightbox span.upload-progress {
303 display: block;
304 position:relative;
305 background:#ef8e32;
306 height:5px;
307 border-radius:3px;
308 width:0;
309 margin-left:11px;
310 top:<dtml-var expr="slide_size - 8">px;
311 }
312
313 .lightbox span.label {
314 position: relative;
315 padding-left:0.5em;
316 top: -4px;
317 /* border: 1px solid red;*/
318 }
319
320 .image_toolbar {
321 background: url(&dtml-portal_url;/image_toolbar_bg.gif) repeat-x;
322 position:relative;
323 z-index:3;
324 font-size:27px;
325 white-space:nowrap;
326 }
327
328 /*
329 .image_toolbar img {
330 margin-left: 4px;
331 border:0;
332 }*/
333
334 #film_bar {
335 background:#555;
336 overflow:hidden;
337 position:relative;
338 width:100%;
339 height: <dtml-var expr="thumb_size/2 + 12">px;;
340 }
341
342 #film_bar table {
343 position:absolute;
344 border-collapse:collapse;
345 }
346
347 #film_bar td {
348 padding:0;
349 border:1px solid #484848;
350 }
351
352 #film_bar a {
353 width: <dtml-var expr="thumb_size/2 + 10">px;;
354 height: <dtml-var expr="thumb_size/2 + 10">px;;
355 display:block;
356 text-align:center;
357 vertical-align:middle;
358 }
359
360 #film_bar a:hover,
361 #film_bar a.selected {
362 background:#727272;
363 }
364
365 #film_bar a.displayed {
366 background:#bfbfbf;
367 }
368
369 #film_bar img{
370 border:none;
371 }
372
373 .jsslider {
374 position:absolute;
375 height:13px;
376 width:0px;
377 background: #000;
378 }
379
380 .jsslider span {
381 position:absolute;
382 width:0px;
383 height:11px;
384 background:url(&dtml-portal_url;/slider_bg.gif);
385 margin:1px 0;
386 font-size:0; /*IE 6 hack */
387 }
388
389 #cart_slide {
390 position:absolute;
391 top:25px;
392 left:-190px;
393 width:226px;
394 height:237px;
395 visibility:hidden;
396 font-size:15px;
397 line-height:18px;
398 padding-top:11px;
399 filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='&dtml-portal_url;/cart-slide-background.png');
400 }
401
402 #cart_slide[id] {
403 background:no-repeat url(&dtml-portal_url;/cart-slide-background.png);;
404 }
405
406 .wdgt-buyable-items {
407 white-space:normal;
408 width: &dtml-slide_size;px;
409 height: &dtml-slide_size;px;
410 position:absolute;
411 margin:2px;
412 color:#fff;
413 }
414
415 .wdgt-buyable-items input {
416 font-size:70%;
417 }
418
419 .ppt-description {
420 color:white;
421 text-align:left;
422 visibility:hidden;
423 display:none;
424 padding-right:45px;
425 padding-top:0.5em;
426 }
427 .panel-background {
428 width: &dtml-slide_size;px;
429 height: &dtml-slide_size;px;
430 background:#3e2b14;
431 position:absolute;
432 opacity:0.9;
433 filter: alpha(opacity='90');
434 }
435
436 .confirm-message {
437 position:absolute;
438 color: &dtml-messageFontColor;;
439 padding:3px;
440 background: &dtml-messageBackgroundColor;;
441 }
442
443 #cart_slide .confirm-message {
444 position:static;
445 margin:2px;
446 text-align:center;
447 vertical-align:middle;
448 }
449
450
451 input.add-to-cart-btn {
452 position:absolute;
453 background:transparent;
454 width:45px;
455 height:43px;
456 border:none;
457 filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='&dtml-portal_url;/add_to_cart.png');
458 left:<dtml-var expr="slide_size - 47">px;
459 top:2.5em;;
460 }
461
462 input.add-to-cart-btn[class] {
463 background:url(&dtml-portal_url;/add_to_cart.png);
464 }
465
466 tbody.total th {
467 color:#fff;
468 }
469
470 tbody.total td {
471 font-weight:bold;
472 font-size:110%;
473 background:#151515;
474 }
475
476 td.num,
477 th.num {
478 text-align:right;
479 padding-right:0.5em;
480 border-left:1px solid black;
481 }
482
483 .sell_steps_bar td {
484 font-size:120%;
485 background:#000 url(&dtml-portal_url;/sellbar-arrow.gif) no-repeat right;
486 height:40px;
487 vertical-align:middle;
488 padding:0 1em 0 0.5em;
489 }
490
491 .sell_steps_bar td.done {
492 color: &dtml-messageFontColor;;
493 }
494
495 /*
496 </dtml-with>
497 </dtml-with>
498 */