source: trunk/template/yoga/default-layout.css @ 1339

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

fix bug 400 : <td nowrap> dans l'historique, and improve history tables, plus some code formating

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 5.2 KB
Line 
1/* $Id: default-layout.css 1339 2006-06-04 10:13:38Z chrisaga $ */
2
3BODY {
4    margin: 5px;
5    padding: 0;
6    font-size: 0.8em;
7    font-family: Bitsream Vera Sans, Helvetica, Arial, sans-serif;
8    text-align: center; /* be nice to IE5 */
9}
10
11#the_page {
12    /* Just in case another template needs an inner frame */
13}
14
15H1 {
16    text-align: center;
17    font-size: 150%;
18    font-weight: bold;
19    padding: 0; margin: 1ex 0 2ex 0;
20}
21
22H2 {
23    margin: 0;
24    padding: 5px 5px 5px 5px;
25    text-align: left;
26    font-size: 120%;
27}
28
29A {
30    text-decoration:none;
31    border-bottom: 1px dotted #005e89;
32}
33A:hover {
34    border-bottom: 1px solid #858460;
35}
36
37IMG {
38    border: none;
39}
40
41HR.separation {
42  visibility: hidden;
43  clear: both;
44}
45
46#copyright {
47    clear: both;
48    font-size: 83%;
49    text-align: center;
50    margin: 0 0 10px 0;
51}
52
53/** General defaults **/
54INPUT {margin: 0;}
55UL, DL, LI { text-align: left;}
56TABLE {                 /* horizontaly centered */
57  margin-left: auto;
58  margin-right: auto;
59}
60/* for debugging purpose */
61PRE { text-align:left; }
62
63/** forms **/
64
65FORM { padding: 0em; }
66
67FORM P {
68        text-align: center;
69        margin-top: 2em;
70        margin-bottom: 2em;
71}
72.small {
73        font-size: 80%;
74}
75
76TEXTAREA.description {
77  height: 100px;
78  width: 500px;
79  overflow: auto;
80}
81SELECT.categoryList {
82  width: 100%;
83}
84
85/** go to an admin.css ? **/
86
87TABLE.table2 {
88  border: 1px solid black;
89  margin: 1em auto;
90  padding: 0;
91}
92
93TABLE.table2 TD, TABLE.table2 TH {
94  padding: 0 1em;
95}
96
97TABLE.table2 TR {
98  text-align: left;
99}
100
101TABLE.table2 TR.throw {
102  text-align: center;
103}
104
105.hour {
106  white-space: pre;
107}
108
109.number {
110  text-align: right;
111}
112 
113TABLE#dailyStats {
114  width: 60%;
115}
116
117TABLE#detailedStats {
118  width: 80%;
119}
120
121FORM#add_virtual P { text-align: left; }
122FORM#categoryOrdering, FORM#addVirtual {
123  padding-left: 1em; /* same as FIELDSET margin (there is no fieldset in this form) */
124  padding-right: 1em; /* same as FIELDSET margin (there is no fieldset in this form) */
125}
126FORM#categoryOrdering p {
127        text-align: left;
128        margin-top: 1em;
129        margin-bottom: 1em;
130}
131UL.categoryUl {
132  list-style: none;
133  padding: 0;
134  margin: 0;
135}
136
137LI.categoryLi {
138  border: 1px solid gray;
139  padding: 0px 5px;
140  margin-bottom: 5px;
141}
142
143FORM#categoryOrdering UL.categoryActions {
144  float: right;
145  margin-top: 5px;
146}
147
148FORM#cat_modify TABLE { width: auto; }
149
150/**
151 * Filter forms are displayed label by label with the input (or select...)
152 * below the label. Use an UL to make a group (radiobox for instance).
153 * Use a SPAN to group objects in line
154 */
155FIELDSET {
156  padding: 1em;
157  margin: 1em;
158  overflow: hidden; /* <- makes Opera happy */
159}
160
161FORM.filter FIELDSET UL {
162  margin: 0;
163}
164FORM.filter FIELDSET UL,
165FORM.filter FIELDSET LABEL {
166  display: block;
167  float: left;
168  margin-right: 1em;
169  padding: 0;
170}
171
172FORM.filter FIELDSET LI {
173  list-style: none;
174  margin-bottom: 0.5em;
175}
176
177FORM.filter FIELDSET LI LABEL {
178  display: inline;
179  float: none;
180}
181
182FORM.filter FIELDSET UL.tagSelection LABEL {
183  display: inline;
184  float: none;
185  margin-right:0.5em;/*reduce from above*/
186}
187
188/* cannot use FIELDSET>LABEL because of IE<=6 */
189FORM.filter FIELDSET LABEL INPUT,
190FORM.filter FIELDSET LABEL SELECT,
191FORM.filter FIELDSET LABEL SPAN,
192FORM.filter FIELDSET LABEL TEXTAREA {
193  display: block;
194  margin: 0.5em 0;
195}
196FORM.filter FIELDSET * LABEL INPUT,
197FORM.filter FIELDSET * LABEL SELECT,
198FORM.filter FIELDSET * LABEL TEXTAREA,
199FORM.filter FIELDSET LABEL SPAN INPUT,
200FORM.filter FIELDSET LABEL SPAN SELECT,
201FORM.filter FIELDSET LABEL SPAN TEXTAREA {
202  display: inline;
203  vertical-align: top;
204  margin: 0 0.5em 0 0;
205}
206
207FORM.filter FIELDSET UL.tagSelection LI LABEL INPUT {
208  margin-right:0;
209}
210
211/* following declaration is important to avoid strange FF behaviour */
212FORM.filter FIELDSET LABEL SPAN SELECT {
213  margin: 0;
214}
215
216FORM.filter FIELDSET P,
217{
218  clear: left;
219  display: block;
220}
221
222FORM.filter INPUT[type="submit"] {
223  margin-top: 1em;
224}
225
226FORM.properties UL, FORM#update UL {
227  list-style-type: none;
228  margin: 0;
229  padding: 0;
230}
231
232FORM.properties LI, FORM#update UL  {
233  margin-bottom: 0.5em;
234  padding: 0;
235  line-height: 1.8em;
236}
237
238FORM.properties SPAN.property {
239  font-weight: bold;
240  float: left;
241  width: 50%;
242  text-align: right;
243  margin: 0;
244  padding: 0 0.5em 0 0;
245}
246
247FIELDSET.elementEdit A {
248  display: block;
249  float: right;
250}
251
252TABLE.doubleSelect {
253  text-align: center;
254  margin: 0 auto;
255  width: 100%;
256}
257
258TABLE.doubleSelect TD {
259  padding: 0 5px;
260  width: 50%;
261}
262
263FORM#categoryPermissions LI {
264  display:inline;
265  white-space: nowrap;
266}
267
268#theHeader H1 {
269  margin-bottom: 0.5em;
270}
271
272#theHeader P {
273  margin-top: 0;
274  padding: 0;
275}
276
277BODY#theAdminPage #theHeader P {
278  display: none;
279}
280
281BODY#thePopuphelpPage #copyright {
282  color: green;
283  display: none;
284}
285
286FORM#addComment FIELDSET LABEL {
287  clear: both;
288}
289
290FORM#addComment FIELDSET INPUT[type="hidden"] {
291  display: none;
292}
293
294/* button tools */
295UL.actions {
296  text-indent: 0;
297  list-style: none;
298}
299UL.actions  LI {
300  display: inline;
301}
302UL.actions  A {
303  border: none;
304}
305
306UL.tagSelection {
307  width: 40em;
308  margin: 1em 0 1em 0;
309  padding: 0;
310}
311
312UL.tagSelection LI {
313  display: inline;
314  white-space: nowrap;
315}
316
317#fullTagCloud { font-size: 140%; }
318
319#fullTagCloud LI { display: inline; }
320
321.tagLevel5 { font-size: 150%; }
322.tagLevel4 { font-size: 140%; }
323.tagLevel3 { font-size: 120%; }
324.tagLevel2 { font-size: 100%; }
325.tagLevel1 { font-size: 90%; }
Note: See TracBrowser for help on using the repository browser.