source: branches/branch-1_6/template/yoga/default-layout.css @ 3001

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

merge from trunk r1505:1506 into branch 1.6 (fix bug 490)

  • 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 1507 2006-07-27 18:16:58Z 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, SELECT {
56  margin: 0;
57  font-size: 1em;       /* <= some browsers don't set it correctly */
58}
59UL, DL, LI { text-align: left;}
60TABLE {                 /* horizontaly centered */
61  margin-left: auto;
62  margin-right: auto;
63}
64/* for debugging purpose */
65PRE { text-align:left; }
66
67/** forms **/
68
69FORM { padding: 0em; }
70
71FORM P {
72        text-align: center;
73        margin-top: 2em;
74        margin-bottom: 2em;
75}
76.small {
77        font-size: 80%;
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}
185
186FORM.properties SPAN.property {
187  font-weight: bold;
188  float: left;
189  width: 50%;
190  text-align: right;
191  margin: 0;
192  padding: 0 0.5em 0 0;
193}
194
195#theHeader H1 {
196  margin-bottom: 0.5em;
197}
198
199#theHeader P {
200  margin-top: 0;
201  padding: 0;
202}
203
204BODY#thePopuphelpPage #copyright {
205  color: green;
206  display: none;
207}
208
209FORM#addComment FIELDSET LABEL {
210  clear: both;
211}
212
213FORM#addComment FIELDSET INPUT[type="hidden"] {
214  display: none;
215}
216
217/* button tools */
218UL.actions {
219  text-indent: 0;
220  list-style: none;
221}
222UL.actions  LI {
223  display: inline;
224}
225UL.actions  A {
226  border: none;
227}
228
229UL.tagSelection {
230  width: 40em;
231  margin: 1em 0 1em 0;
232  padding: 0;
233}
234
235UL.tagSelection LI {
236  display: inline;
237  white-space: nowrap;
238}
239
240#fullTagCloud { font-size: 140%; }
241
242#fullTagCloud LI { display: inline; }
243
244.tagLevel5 { font-size: 150%; }
245.tagLevel4 { font-size: 140%; }
246.tagLevel3 { font-size: 120%; }
247.tagLevel2 { font-size: 100%; }
248.tagLevel1 { font-size: 90%; }
Note: See TracBrowser for help on using the repository browser.