source: branches/branch-1_7/template/yoga/thumbnails.css @ 2179

Last change on this file since 2179 was 1900, checked in by rub, 18 years ago

Apply property svn:eol-style Value: LF

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1/* $Id: thumbnails.css 1900 2007-03-12 22:33:53Z rub $ */
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 
Note: See TracBrowser for help on using the repository browser.