Ajout cases à cocher pour réaliser une sélection sur les photos. Implémentation du...
[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 /* slide checkbox */
280 .lightbox .cb {
281 margin-left: <dtml-var expr="slide_size - 22">px;
282 margin-top: 5px;
283 }
284
285 .lightbox .cb input[checked] {
286 visibility: visible;
287 }
288
289
290 .lightbox .slide-hide,
291 .lightbox .slide-show {
292 width:16px;
293 height:15px;
294 }
295
296 .lightbox .slide-hide img {
297 filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='&dtml-portal_url;/slide-eye-open-btn.png');
298 }
299
300 .lightbox .slide-hide[class] img {
301 background: url(&dtml-portal_url;/slide-eye-open-btn.png);
302 }
303
304 .lightbox .slide-show img {
305 filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='&dtml-portal_url;/slide-eye-closed.png');
306 }
307
308 .lightbox .slide-show[class] img {
309 background: url(&dtml-portal_url;/slide-eye-closed.png);
310 }
311
312 .lightbox span.upload-progress {
313 display: block;
314 position:relative;
315 background:#ef8e32;
316 height:5px;
317 border-radius:3px;
318 width:0;
319 margin-left:11px;
320 top:<dtml-var expr="slide_size - 8">px;
321 }
322
323 .lightbox span.label {
324 position: relative;
325 padding-left:0.5em;
326 top: -4px;
327 /* border: 1px solid red;*/
328 }
329
330 .image_toolbar {
331 background: url(&dtml-portal_url;/image_toolbar_bg.gif) repeat-x;
332 position:relative;
333 z-index:3;
334 font-size:27px;
335 white-space:nowrap;
336 }
337
338 /*
339 .image_toolbar img {
340 margin-left: 4px;
341 border:0;
342 }*/
343
344 #film_bar {
345 background:#555;
346 overflow:hidden;
347 position:relative;
348 width:100%;
349 height: <dtml-var expr="thumb_size/2 + 12">px;;
350 }
351
352 #film_bar table {
353 position:absolute;
354 border-collapse:collapse;
355 }
356
357 #film_bar td {
358 padding:0;
359 border:1px solid #484848;
360 }
361
362 #film_bar a {
363 width: <dtml-var expr="thumb_size/2 + 10">px;;
364 height: <dtml-var expr="thumb_size/2 + 10">px;;
365 display:block;
366 text-align:center;
367 vertical-align:middle;
368 }
369
370 #film_bar a:hover,
371 #film_bar a.selected {
372 background:#727272;
373 }
374
375 #film_bar a.displayed {
376 background:#bfbfbf;
377 }
378
379 #film_bar img{
380 border:none;
381 }
382
383 .jsslider {
384 position:absolute;
385 height:13px;
386 width:0px;
387 background: #000;
388 }
389
390 .jsslider span {
391 position:absolute;
392 width:0px;
393 height:11px;
394 background:url(&dtml-portal_url;/slider_bg.gif);
395 margin:1px 0;
396 font-size:0; /*IE 6 hack */
397 }
398
399 #cart_slide {
400 position:absolute;
401 top:25px;
402 left:-190px;
403 width:226px;
404 height:237px;
405 visibility:hidden;
406 font-size:15px;
407 line-height:18px;
408 padding-top:11px;
409 filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='&dtml-portal_url;/cart-slide-background.png');
410 }
411
412 #cart_slide[id] {
413 background:no-repeat url(&dtml-portal_url;/cart-slide-background.png);;
414 }
415
416 .wdgt-buyable-items {
417 white-space:normal;
418 width: &dtml-slide_size;px;
419 height: &dtml-slide_size;px;
420 position:absolute;
421 margin:2px;
422 color:#fff;
423 }
424
425 .wdgt-buyable-items input {
426 font-size:70%;
427 }
428
429 .ppt-description {
430 color:white;
431 text-align:left;
432 visibility:hidden;
433 display:none;
434 padding-right:45px;
435 padding-top:0.5em;
436 }
437 .panel-background {
438 width: &dtml-slide_size;px;
439 height: &dtml-slide_size;px;
440 background:#3e2b14;
441 position:absolute;
442 opacity:0.9;
443 filter: alpha(opacity='90');
444 }
445
446 .confirm-message {
447 position:absolute;
448 color: &dtml-messageFontColor;;
449 padding:3px;
450 background: &dtml-messageBackgroundColor;;
451 }
452
453 #cart_slide .confirm-message {
454 position:static;
455 margin:2px;
456 text-align:center;
457 vertical-align:middle;
458 }
459
460
461 input.add-to-cart-btn {
462 position:absolute;
463 background:transparent;
464 width:45px;
465 height:43px;
466 border:none;
467 filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='&dtml-portal_url;/add_to_cart.png');
468 left:<dtml-var expr="slide_size - 47">px;
469 top:2.5em;;
470 }
471
472 input.add-to-cart-btn[class] {
473 background:url(&dtml-portal_url;/add_to_cart.png);
474 }
475
476 tbody.total th {
477 color:#fff;
478 }
479
480 tbody.total td {
481 font-weight:bold;
482 font-size:110%;
483 background:#151515;
484 }
485
486 td.num,
487 th.num {
488 text-align:right;
489 padding-right:0.5em;
490 border-left:1px solid black;
491 }
492
493 .sell_steps_bar td {
494 font-size:120%;
495 background:#000 url(&dtml-portal_url;/sellbar-arrow.gif) no-repeat right;
496 height:40px;
497 vertical-align:middle;
498 padding:0 1em 0 0.5em;
499 }
500
501 .sell_steps_bar td.done {
502 color: &dtml-messageFontColor;;
503 }
504
505 /*
506 </dtml-with>
507 </dtml-with>
508 */