source: branches/branch-1_5/template/yoga/content.css @ 973

Last change on this file since 973 was 973, checked in by chrisaga, 18 years ago

dd feature 221 : Add a link to "lost password" in quick connect form

plus link to "register" and move quickconnect rules from default-layout.css to menubar.css

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.3 KB
Line 
1/* $Id: content.css 973 2005-12-03 23:53:26Z chrisaga $ */
2#content {
3    margin-left: 24em;
4    margin-right: 1em;
5    margin-bottom: 1em; /* when it's longer than menu bar */
6}
7BODY#theAdminPage #content {
8    margin-left: 14em;
9}
10
11BODY#theCommentsPage #content,
12BODY#theRegisterPage #content,
13BODY#theIdentificationPage #content,
14BODY#theProfilePage #content,
15BODY#theSearchPage #content,
16BODY#theAboutPage #content,
17BODY#thePopuphelpPage #content,
18BODY#thePasswordPage #content,
19BODY#theNotificationPage #content
20{
21  margin: 1em;
22}
23
24#content H2 {
25    margin-bottom: 1ex;
26}
27
28#content H3 {
29    margin-bottom: 1ex;
30}
31
32/* Thumbnails customization */
33#content UL.thumbnails SPAN, #content UL.thumbnails SPAN.wrap2 A {
34  width: 140px;                 /* max thumbnail width + 2px */
35}
36#content UL.thumbnails SPAN.wrap2 {
37  height: 140px;                /* max thumbnail height + 2px */
38}
39#content UL.thumbnails SPAN.wrap2 {
40  border: 1px solid #aaaaaa;    /* thumbnails border color and style */
41  -moz-border-radius: 4px;      /* round corners with Geko */
42  border-radius: 4px 4px;       /* round corners with CSS3 compliant browsers */
43}
44#content UL.thumbnails SPAN.wrap2:hover {
45  border-color: yellow;         /* thumbnails border color when mouse cursor is over it */
46}
47#content UL.thumbnails SPAN.thumbLegend {
48  font-size: 80%;               /* font size */
49  height: 3em;                  /* max legend height (don't set auto to be Geko friendly)*/
50  display: block;               /* display: hide if you don't want legend */
51  overflow: hidden;             /* oversized legend is clipped */
52}
53/* Thumbnail "elastic" layout */
54#content UL.thumbnails {
55  margin: 0;
56  padding: 0;
57  list-style: none;
58  text-align: center;   /* to center the whole collection in #content */
59}
60#content UL.thumbnails LI { display: inline }
61
62#content UL.thumbnails SPAN.wrap1 {
63  margin: 0 5px 5px 5px;
64  display: table-cell; display: inline-table; display: inline-block;
65  vertical-align: top;          /* OK with Opera and IE6 not Geko */
66  text-align: center;           /* to center the thumbnail and legend in Geko/Opera */
67}
68#content UL.thumbnails SPAN.wrap2 {
69  margin: 0;                    /* important reset the margins */
70  display: table-cell;          /* block prevents vertical-align here */
71  vertical-align: middle;       /* Ok with Opera and Geko not IE6 */
72}
73#content UL.thumbnails SPAN.wrap2 A {
74  display: block;
75  border-bottom: none;
76}
77#content UL.thumbnails IMG {
78  margin-bottom: -4px;  /* why ??? something wrong with Geko and Opera ignored by IE6*/
79}
80
81/* fix IE with another layout */
82* html #content UL.thumbnails SPAN.wrap2 {
83  display: block;
84  position: relative;
85  text-align: left;
86}
87* html #content UL.thumbnails SPAN.wrap2 A {
88  overflow: visible;
89  position: absolute;
90  top: 50%;
91  text-align: center;
92}
93* html #content UL.thumbnails IMG.thumbnail {
94  position: relative;
95  top: -50%;
96}
97
98#content .navigationBar, #content .additional_info {
99    margin: 10px 0;
100    text-align: center;
101}
102
103#content .pageNumberSelected {
104    font-style: italic;
105}
106
107#content .additional_info {
108    font-size: 110%;
109}
110
111#content FORM {
112    text-align: left;
113}
114
115/* content defaults */
116#content dl, dd { margin: 10px; }
117#content dt {
118  margin-bottom: 5px;
119  font-style: italic;
120  font-size: 110%;
121}
122
123/* actions */
124ul.categoryActions {
125  margin: 0 0 0 0;
126  width: auto;
127  padding: 0;
128  text-indent: 0;
129  list-style: none;
130  text-align: center;
131}
132
133#content div.titrePage ul.categoryActions {
134  float: right;
135  text-align: center;
136}
137
138#content ul.categoryActions li {
139  display: inline;
140}
141
142#content ul.categoryActions a img, ul.categoryActions a {
143  border: none;
144}
145
146/* User comments */
147
148#content DIV#comments {
149  padding-left: 5px;
150  padding-right: 5px;
151  -moz-box-sizing: padding-box;
152}
153#content DIV.comment {
154  margin: 0 0 0.5em 0;
155  padding: 0;
156  overflow: hidden; /* these 2 lines ensure the floating child is kept in the DIV */
157  width: 100%;      /* don't ask why. It's a very usefull trick                   */
158}
159
160#content DIV.comment A.illustration {
161  display: block;
162  float: left;
163  margin: 0.5em 0 0 0.5em;
164}
165
166#content DIV.comment P.commentHeader {
167  text-align: right;
168  margin: 0.5em 0.5em 0 0;
169}
170
171#content DIV.comment UL.actions {
172  text-align: center;
173  margin: 0.2em;
174}
175
176#content DIV.comment BLOCKQUOTE {
177  margin: 1em 0.5em 0.5em 150px; /* margin-left corresponds to maximum thumbnail width + ~10px */
178  padding: 0.5em;
179}
180
181/* should be in admin.css ? CSS properties also used in popuphelp */
182
183SPAN.pwgScreen {
184  border-bottom: 1px dotted black;
185}
186
187SPAN.filename:before {
188  content: "[";
189}
190
191SPAN.filename:after {
192  content: "]";
193}
Note: See TracBrowser for help on using the repository browser.