1 | /* $Id: thumbnails.css 2352 2008-05-20 00:27:26Z patdenice $ */ |
---|
2 | |
---|
3 | /* Thumbnails customization */ |
---|
4 | .content UL.thumbnails SPAN.thumbLegend { |
---|
5 | font-size: 80%; /* font size */ |
---|
6 | overflow: hidden; /* oversized legend is clipped */ |
---|
7 | } |
---|
8 | |
---|
9 | /* Thumbnail "elastic" layout */ |
---|
10 | .content UL.thumbnails { |
---|
11 | margin: 0; |
---|
12 | padding: 0; |
---|
13 | list-style: none; |
---|
14 | text-align: center; /* to center the whole collection in .content */ |
---|
15 | } |
---|
16 | .content UL.thumbnails LI { display: inline } |
---|
17 | |
---|
18 | .content UL.thumbnails SPAN.wrap1 { |
---|
19 | margin: 0 5px 5px 5px; |
---|
20 | display: table-cell; display: inline-table; |
---|
21 | display: inline-block; /* Why 3 display option ??? */ |
---|
22 | vertical-align: top; /* OK with Opera and IE6 not Geko */ |
---|
23 | text-align: center; /* to center the thumbnail and legend in Geko/Opera */ |
---|
24 | } |
---|
25 | .content UL.thumbnails SPAN.wrap2 { |
---|
26 | margin: 0; /* important reset the margins */ |
---|
27 | display: table-cell; /* block prevents vertical-align here */ |
---|
28 | vertical-align: middle; /* Ok with Opera and Geko not IE6 */ |
---|
29 | } |
---|
30 | .content UL.thumbnails SPAN.wrap2 A, |
---|
31 | .content UL.thumbnails LABEL { |
---|
32 | display: block; |
---|
33 | border-bottom: none; |
---|
34 | } |
---|
35 | .content UL.thumbnails IMG { |
---|
36 | margin-bottom: -4px; /* why ??? something wrong with Geko and Opera ignored by IE6*/ |
---|
37 | } |
---|
38 | |
---|
39 | /* label and input used for caddie in admin section */ |
---|
40 | .content UL.thumbnails LABEL { |
---|
41 | position: relative; |
---|
42 | } |
---|
43 | |
---|
44 | .content UL.thumbnails INPUT { |
---|
45 | position: relative; /* <= Opera can handle relative here */ |
---|
46 | top: -20px; |
---|
47 | } |
---|
48 | :root .content UL.thumbnails INPUT { /* hide from Opera */ |
---|
49 | position: absolute; /* <= Opera hide 1 checkbox over 2 !!! */ |
---|
50 | left: 2px; |
---|
51 | top: 2px; |
---|
52 | } |
---|
53 | |
---|
54 | UL.thumbnails .levelIndicatorB { |
---|
55 | display:block; position:absolute; z-index:100;padding:0px 0 0 14px; color:black; font-weight:bold; fontsize:120%; |
---|
56 | } |
---|
57 | |
---|
58 | UL.thumbnails .levelIndicatorF { |
---|
59 | display:block; position:absolute; z-index:101;padding:1px 0 0 15px; color:white; font-weight:bold; fontsize:120%; |
---|
60 | } |
---|