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

Last change on this file since 1732 was 1732, checked in by vdigital, 17 years ago

Issue 0000615: End of page replaced by icon/page_end.png

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.4 KB
Line 
1/* $Id: default-layout.css 1732 2007-01-18 07:05:10Z vdigital $ */
2@import "admin/default-layout.css";
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;
20  margin: 0.5em 0 1em 0;
21}
22
23H2 {
24    margin: 0;
25    padding: 5px 0.5em 5px 0.5em;
26    text-align: left;
27    font-size: 120%;
28}
29H5 {
30    margin: 0;
31    padding: 0 1.5em 0 30%;
32    text-align: right;
33    font-size: 90%;
34}
35A {
36    text-decoration:none;
37    border-bottom: 1px dotted #005e89;
38}
39A:hover {
40    border-bottom: 1px solid #858460;
41}
42A.button, A.button:hover { 
43  border: 0; 
44}
45IMG {
46    border: none;
47}
48
49HR.separation {
50  visibility: hidden;
51  clear: both;
52}
53
54#copyright {
55    clear: both;
56    font-size: 83%;
57    text-align: center;
58    margin: 0 0 10px 0;
59}
60
61/** General defaults **/
62INPUT, SELECT {
63  margin: 0;
64  font-size: 1em;       /* <= some browsers don't set it correctly */
65}
66UL, DL, LI { text-align: left;}
67TABLE {                 /* horizontaly centered */
68  margin-left: auto;
69  margin-right: auto;
70}
71/* for debugging purpose */
72PRE { text-align:left; }
73
74/** forms **/
75
76FORM { padding: 0em; }
77
78FORM P {
79        text-align: center;
80        margin-top: 2em;
81        margin-bottom: 2em;
82}
83.small {
84        font-size: 80%;
85}
86
87TEXTAREA.description {
88  height: 6em;
89  width: 40em;
90  overflow: auto;
91}
92
93SELECT.categoryList {
94  height: 20em;
95  width: auto;
96}
97
98DIV.comment BLOCKQUOTE {
99  padding: 0.5em;
100  overflow: auto;       /* no solution for IE6 */
101  min-height: 2.75em;   /* fix a Gecko bug whith scrollbar and 1 line only */
102}
103
104
105/**
106 * Filter forms are displayed label by label with the input (or select...)
107 * below the label. Use an UL to make a group (radiobox for instance).
108 * Use a SPAN to group objects in line
109 */
110FIELDSET {
111  padding: 1em;
112  margin: 1em;
113  overflow: hidden; /* <- makes Opera happy */
114}
115
116FORM.filter FIELDSET UL {
117  margin: 0;
118}
119FORM.filter FIELDSET UL,
120FORM.filter FIELDSET LABEL {
121  display: block;
122  float: left;
123  margin-right: 1em;
124  padding: 0;
125}
126
127FORM.filter FIELDSET LI {
128  list-style: none;
129  margin-bottom: 0.5em;
130}
131
132FORM.filter FIELDSET LI LABEL {
133  display: inline;
134  float: none;
135}
136
137FORM.filter FIELDSET UL.tagSelection LABEL {
138  display: inline;
139  float: none;
140  margin-right:0.5em;/*reduce from above*/
141}
142
143/* cannot use FIELDSET>LABEL because of IE<=6 */
144FORM.filter FIELDSET LABEL INPUT,
145FORM.filter FIELDSET LABEL SELECT,
146FORM.filter FIELDSET LABEL SPAN,
147FORM.filter FIELDSET LABEL TEXTAREA {
148  display: block;
149  margin: 0.5em 0;
150}
151FORM.filter FIELDSET * LABEL INPUT,
152FORM.filter FIELDSET * LABEL SELECT,
153FORM.filter FIELDSET * LABEL TEXTAREA,
154FORM.filter FIELDSET LABEL SPAN INPUT,
155FORM.filter FIELDSET LABEL SPAN SELECT,
156FORM.filter FIELDSET LABEL SPAN TEXTAREA {
157  display: inline;
158  vertical-align: top;
159  margin: 0 0.5em 0 0;
160}
161
162FORM.filter FIELDSET UL.tagSelection LI LABEL INPUT {
163  margin-right:0;
164}
165
166/* following declaration is important to avoid strange FF behaviour */
167FORM.filter FIELDSET LABEL SPAN SELECT {
168  margin: 0;
169}
170
171FORM.filter FIELDSET P
172{
173  clear: left;
174  display: block;
175}
176
177FORM.filter INPUT[type="submit"] {
178  margin-top: 1em;
179}
180
181FORM.properties UL, FORM#update UL {
182  list-style-type: none;
183  margin: 0;
184  padding: 0;
185}
186
187FORM.properties LI, FORM#update UL  {
188  margin-bottom: 0.5em;
189  padding: 0;
190  line-height: 1.8em;
191  clear: left;
192}
193
194FORM.properties SPAN.property {
195  font-weight: bold;
196  float: left;
197  width: 50%;
198  text-align: right;
199  margin: 0;
200  padding: 0 0.5em 0 0;
201}
202
203#theHeader H1 {
204  margin-bottom: 0.5em;
205}
206
207#theHeader P {
208  margin-top: 0;
209  padding: 0;
210}
211
212BODY#thePopuphelpPage #copyright {
213  color: green;
214  display: none;
215}
216
217FORM#addComment FIELDSET LABEL {
218  clear: both;
219}
220
221FORM#addComment FIELDSET INPUT[type="hidden"] {
222  display: none;
223}
224
225/* button tools */
226UL.actions {
227  text-indent: 0;
228  list-style: none;
229}
230UL.actions  LI {
231  display: inline;
232}
233UL.actions  A {
234  border: none;
235}
236
237UL.tagSelection {
238  width: 99%;
239  margin: 1em 0 1em 0;
240  padding: 0;
241}
242
243UL.tagSelection LI {
244  display: inline;
245  white-space: nowrap;
246}
247
248#fullTagCloud {
249  font-size: 140%;
250  text-align: justify;
251  padding: 0;
252  margin: 1em 2em 1em 2em;
253}
254
255#fullTagCloud LI {
256  display: inline;
257  white-space: nowrap;
258}
259
260#content #fullTagCloud {
261  font-size: 120%;
262}
263
264.tagLevel5 { font-size: 150%; }
265.tagLevel4 { font-size: 140%; }
266.tagLevel3 { font-size: 120%; }
267.tagLevel2 { font-size: 100%; }
268.tagLevel1 { font-size: 90%; }
Note: See TracBrowser for help on using the repository browser.