Implémentation de la suppression des photos dans l'onglet de visualisation.
[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 transition: width 1s, opacity 0.5s;
182 }
183
184 .lightbox a.slide {
185 position:absolute;
186 display:block;
187 width: &dtml-slide_size;px;
188 height: &dtml-slide_size;px;
189 background:&dtml-slide_background;;
190 border: 1px solid &dtml-backgroundColor;;
191 }
192
193 .lightbox a.slide:hover {
194 background:&dtml-slide_hover_background;;
195 }
196
197 .lightbox .selected a.slide,
198 .lightbox a.selected:hover {
199 background:&dtml-slide_selected_background;;
200 }
201
202 .lightbox .hidden-slide a.slide,
203 .lightbox a.hidden-slide:hover {
204 background:url(&dtml-portal_url;/hidden-slide-bg.png);
205 }
206
207 .lightbox .slide img {
208 position:absolute;
209 border: 1px solid black;
210 }
211
212 .lightbox span.button {
213 background:none;
214 position: absolute;
215 }
216
217 .lightbox span[class].button {
218 visibility:hidden;
219 }
220
221 .lightbox span:hover span.button {
222 visibility:visible;
223 }
224
225 .lightbox .slide-select,
226 .lightbox .slide-deselect {
227 margin-left:10px;
228 margin-top:7px;
229 width:12px;
230 height:17px;
231 }
232
233 .lightbox .slide-select img {
234 filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='&dtml-portal_url;/slide-select-btn.png');
235 }
236
237 .lightbox .slide-select[class] img {
238 background: url(&dtml-portal_url;/slide-select-btn.png);
239 }
240
241 .lightbox .slide-deselect img {
242 filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='&dtml-portal_url;/slide-deselect-btn.png');
243 }
244
245 .lightbox .slide-deselect[class] img {
246 background: url(&dtml-portal_url;/slide-deselect-btn.png);
247 }
248
249 .lightbox .slide-cart {
250 margin-left:30px;
251 margin-top:7px;
252 width:12px;
253 height:17px;
254 }
255
256 .lightbox .slide-cart img {
257 filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='&dtml-portal_url;/slide-cart-btn.png');
258 }
259
260 .lightbox .slide-cart[class] img {
261 background: url(&dtml-portal_url;/slide-cart-btn.png);
262 }
263
264 /* slide del */
265 .lightbox .slide-del {
266 margin-left:<dtml-var expr="slide_size - 22">px;
267 margin-top:5px;
268 width:18px;
269 height:19px;
270 }
271
272 .lightbox .slide-del img {
273 filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='&dtml-portal_url;/slide-del-btn.png');
274 }
275
276 .lightbox .slide-del[class] img {
277 background: url(&dtml-portal_url;/slide-del-btn.png);
278 }
279
280 /* slide checkbox */
281 .lightbox .cb {
282 margin-left: <dtml-var expr="slide_size - 22">px;
283 margin-top: 5px;
284 width:auto;
285 height:auto;
286 }
287
288 .lightbox .cb input[checked] {
289 visibility: visible;
290 }
291
292 .lightbox .zero_opacity {
293 opacity:0;
294 }
295
296 .lightbox .zero_width {
297 width:0;
298 }
299
300 .lightbox .slide-hide,
301 .lightbox .slide-show {
302 width:16px;
303 height:15px;
304 }
305
306 .lightbox .slide-hide img {
307 filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='&dtml-portal_url;/slide-eye-open-btn.png');
308 }
309
310 .lightbox .slide-hide[class] img {
311 background: url(&dtml-portal_url;/slide-eye-open-btn.png);
312 }
313
314 .lightbox .slide-show img {
315 filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='&dtml-portal_url;/slide-eye-closed.png');
316 }
317
318 .lightbox .slide-show[class] img {
319 background: url(&dtml-portal_url;/slide-eye-closed.png);
320 }
321
322 .lightbox span.upload-progress {
323 display: block;
324 position:relative;
325 background:#ef8e32;
326 height:5px;
327 border-radius:3px;
328 width:0;
329 margin-left:11px;
330 top:<dtml-var expr="slide_size - 8">px;
331 }
332
333 .lightbox span.label {
334 position: relative;
335 padding-left:0.5em;
336 top: -4px;
337 /* border: 1px solid red;*/
338 }
339
340 .image_toolbar {
341 background: url(&dtml-portal_url;/image_toolbar_bg.gif) repeat-x;
342 position:relative;
343 z-index:3;
344 font-size:27px;
345 white-space:nowrap;
346 }
347
348 /*
349 .image_toolbar img {
350 margin-left: 4px;
351 border:0;
352 }*/
353
354 #film_bar {
355 background:#555;
356 overflow:hidden;
357 position:relative;
358 width:100%;
359 height: <dtml-var expr="thumb_size/2 + 12">px;;
360 }
361
362 #film_bar table {
363 position:absolute;
364 border-collapse:collapse;
365 }
366
367 #film_bar td {
368 padding:0;
369 border:1px solid #484848;
370 }
371
372 #film_bar a {
373 width: <dtml-var expr="thumb_size/2 + 10">px;;
374 height: <dtml-var expr="thumb_size/2 + 10">px;;
375 display:block;
376 text-align:center;
377 vertical-align:middle;
378 }
379
380 #film_bar a:hover,
381 #film_bar a.selected {
382 background:#727272;
383 }
384
385 #film_bar a.displayed {
386 background:#bfbfbf;
387 }
388
389 #film_bar img{
390 border:none;
391 }
392
393 .jsslider {
394 position:absolute;
395 height:13px;
396 width:0px;
397 background: #000;
398 }
399
400 .jsslider span {
401 position:absolute;
402 width:0px;
403 height:11px;
404 background:url(&dtml-portal_url;/slider_bg.gif);
405 margin:1px 0;
406 font-size:0; /*IE 6 hack */
407 }
408
409 #cart_slide {
410 position:absolute;
411 top:25px;
412 left:-190px;
413 width:226px;
414 height:237px;
415 visibility:hidden;
416 font-size:15px;
417 line-height:18px;
418 padding-top:11px;
419 filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='&dtml-portal_url;/cart-slide-background.png');
420 }
421
422 #cart_slide[id] {
423 background:no-repeat url(&dtml-portal_url;/cart-slide-background.png);;
424 }
425
426 .wdgt-buyable-items {
427 white-space:normal;
428 width: &dtml-slide_size;px;
429 height: &dtml-slide_size;px;
430 position:absolute;
431 margin:2px;
432 color:#fff;
433 }
434
435 .wdgt-buyable-items input {
436 font-size:70%;
437 }
438
439 .ppt-description {
440 color:white;
441 text-align:left;
442 visibility:hidden;
443 display:none;
444 padding-right:45px;
445 padding-top:0.5em;
446 }
447 .panel-background {
448 width: &dtml-slide_size;px;
449 height: &dtml-slide_size;px;
450 background:#3e2b14;
451 position:absolute;
452 opacity:0.9;
453 filter: alpha(opacity='90');
454 }
455
456 .confirm-message {
457 position:absolute;
458 color: &dtml-messageFontColor;;
459 padding:3px;
460 background: &dtml-messageBackgroundColor;;
461 }
462
463 #cart_slide .confirm-message {
464 position:static;
465 margin:2px;
466 text-align:center;
467 vertical-align:middle;
468 }
469
470
471 input.add-to-cart-btn {
472 position:absolute;
473 background:transparent;
474 width:45px;
475 height:43px;
476 border:none;
477 filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='&dtml-portal_url;/add_to_cart.png');
478 left:<dtml-var expr="slide_size - 47">px;
479 top:2.5em;;
480 }
481
482 input.add-to-cart-btn[class] {
483 background:url(&dtml-portal_url;/add_to_cart.png);
484 }
485
486 tbody.total th {
487 color:#fff;
488 }
489
490 tbody.total td {
491 font-weight:bold;
492 font-size:110%;
493 background:#151515;
494 }
495
496 td.num,
497 th.num {
498 text-align:right;
499 padding-right:0.5em;
500 border-left:1px solid black;
501 }
502
503 .sell_steps_bar td {
504 font-size:120%;
505 background:#000 url(&dtml-portal_url;/sellbar-arrow.gif) no-repeat right;
506 height:40px;
507 vertical-align:middle;
508 padding:0 1em 0 0.5em;
509 }
510
511 .sell_steps_bar td.done {
512 color: &dtml-messageFontColor;;
513 }
514
515 /*
516 </dtml-with>
517 </dtml-with>
518 */