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

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