source: tags/release-1_6_1/template/yoga/default-layout.css @ 5432

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

merge from trunk r1449:1450 into branch 1.6 (DIV.comment)

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