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

Last change on this file since 1254 was 1254, checked in by chrisaga, 18 years ago
  • merge trunk r1252:1253 into branch 1.6 (template)
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.9 KB
Line 
1/* $Id: default-layout.css 1254 2006-04-22 09:13:18Z 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
87.table2 {
88  border: 1px solid black;
89  margin: 1em auto;
90  padding: 0;
91}
92
93.table2 TD, .table2 TH {
94  padding: 0 1em;
95}
96
97form#add_virtual p { text-align: left; }
98FORM#categoryOrdering, FORM#addVirtual {
99  padding-left: 1em; /* same as FIELDSET margin (there is no fieldset in this form) */
100  padding-right: 1em; /* same as FIELDSET margin (there is no fieldset in this form) */
101}
102FORM#categoryOrdering p {
103        text-align: left;
104        margin-top: 1em;
105        margin-bottom: 1em;
106}
107UL.categoryUl {
108  list-style: none;
109  padding: 0;
110  margin: 0;
111}
112
113LI.categoryLi {
114  border: 1px solid gray;
115  padding: 0px 5px;
116  margin-bottom: 5px;
117}
118
119FORM#categoryOrdering UL.categoryActions {
120  float: right;
121  margin-top: 5px;
122}
123
124FORM#cat_modify TABLE { width: auto; }
125
126/**
127 * Filter forms are displayed label by label with the input (or select...)
128 * below the label
129 */
130FIELDSET {
131  padding: 1em;
132  margin: 1em;
133}
134
135FORM.filter FIELDSET LABEL {
136  display: block;
137  float: left;
138  width: auto;
139  margin-right: 10px;
140  padding: 0;
141}
142
143FORM.filter FIELDSET LABEL INPUT,
144FORM.filter FIELDSET LABEL SELECT,
145FORM.filter FIELDSET LABEL TEXTAREA {
146  display: block;
147  margin: 0.5em 0;
148}
149
150FORM.filter FIELDSET P,
151FORM.filter FIELDSET INPUT,
152FORM.filter FIELDSET TEXTAREA {
153  clear: left;
154  display: block;
155}
156
157FORM.filter INPUT[type="submit"] {
158  margin-top: 1em;
159}
160
161FORM.properties UL, FORM#update UL {
162  list-style-type: none;
163  margin: 0;
164  padding: 0;
165}
166
167FORM.properties LI, FORM#update UL  {
168  margin-bottom: 0.5em;
169  padding: 0;
170  line-height: 1.8em;
171}
172
173FORM.properties SPAN.property {
174  font-weight: bold;
175  float: left;
176  width: 50%;
177  text-align: right;
178  margin: 0;
179  padding: 0 0.5em 0 0;
180}
181
182FIELDSET.elementEdit A {
183  display: block;
184  float: right;
185}
186
187TABLE.doubleSelect {
188  text-align: center;
189  margin: 0 auto;
190  width: 100%;
191}
192
193TABLE.doubleSelect TD {
194  padding: 0 5px;
195  width: 50%;
196}
197
198FORM#categoryPermissions LI {
199  display:inline;
200  white-space: nowrap;
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#theAdminPage #theHeader P {
213  display: none;
214}
215
216BODY#thePopuphelpPage #copyright {
217  color: green;
218  display: none;
219}
220
221FORM#addComment FIELDSET LABEL {
222  clear: both;
223}
224
225FORM#addComment FIELDSET INPUT[type="hidden"] {
226  display: none;
227}
228
229/* button tools */
230UL.actions {
231  text-indent: 0;
232  list-style: none;
233}
234UL.actions  LI {
235  display: inline;
236}
237UL.actions  A {
238  border: none;
239}
240
241UL.tagSelection {
242  width: 500px;
243  padding: 0;
244}
245
246UL.tagSelection LI {
247  display: inline;
248  white-space: nowrap;
249}
250
251#fullTagCloud { font-size: 140%; }
252
253#fullTagCloud LI { display: inline; }
254
255.tagLevel5 { font-size: 150%; }
256.tagLevel4 { font-size: 140%; }
257.tagLevel3 { font-size: 120%; }
258.tagLevel2 { font-size: 100%; }
259.tagLevel1 { font-size: 90%; }
Note: See TracBrowser for help on using the repository browser.