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

Last change on this file since 1195 was 1195, checked in by chrisaga, 18 years ago
  • fix bug 298 : useless css rule added which makes IE6 happy
  • 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 1195 2006-04-18 19:03:07Z 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;}
56/* for debugging purpose */
57pre { text-align:left; }
58
59/** forms **/
60
61form { padding: 0em; }
62
63form p {
64        text-align: center;
65        margin-top: 2em;
66        margin-bottom: 2em;
67}
68.small {
69        font-size: 80%;
70}
71
72textarea.description {
73  height: 100px;
74  width: 500px;
75  overflow: auto;
76}
77select.categoryList {
78  width: 100%;
79}
80
81/** go to an admin.css ? **/
82
83.table2 {
84  border: 1px solid black;
85  margin: 1em auto;
86  padding: 0;
87}
88
89.table2 TD, .table2 TH {
90  padding: 0 1em;
91}
92
93form#add_virtual p { text-align: left; }
94FORM#categoryOrdering, FORM#addVirtual {
95  padding-left: 1em; /* same as FIELDSET margin (there is no fieldset in this form) */
96  padding-right: 1em; /* same as FIELDSET margin (there is no fieldset in this form) */
97}
98FORM#categoryOrdering p {
99        text-align: left;
100        margin-top: 1em;
101        margin-bottom: 1em;
102}
103UL.categoryUl {
104  list-style: none;
105  padding: 0;
106  margin: 0;
107}
108
109LI.categoryLi {
110  border: 1px solid gray;
111  padding: 0px 5px;
112  margin-bottom: 5px;
113}
114
115FORM#categoryOrdering UL.categoryActions {
116  float: right;
117  margin-top: 5px;
118}
119
120FORM#cat_modify TABLE { width: auto; }
121
122/**
123 * Filter forms are displayed label by label with the input (or select...)
124 * below the label
125 */
126FIELDSET {
127  padding: 1em;
128  margin: 1em;
129}
130
131FORM.filter FIELDSET LABEL {
132  display: block;
133  float: left;
134  width: auto;
135  margin-right: 10px;
136  padding: 0;
137}
138
139FORM.filter FIELDSET LABEL INPUT,
140FORM.filter FIELDSET LABEL SELECT,
141FORM.filter FIELDSET LABEL TEXTAREA {
142  display: block;
143  margin: 0.5em 0;
144}
145
146FORM.filter FIELDSET P,
147FORM.filter FIELDSET INPUT,
148FORM.filter FIELDSET TEXTAREA {
149  clear: left;
150  display: block;
151}
152
153FORM.filter INPUT[type="submit"] {
154  margin-top: 1em;
155}
156
157FORM.properties UL, FORM#update UL {
158  list-style-type: none;
159  margin: 0;
160  padding: 0;
161}
162
163FORM.properties LI, FORM#update UL  {
164  margin-bottom: 0.5em;
165  padding: 0;
166  line-height: 1.8em;
167}
168
169FORM.properties SPAN.property {
170  font-weight: bold;
171  float: left;
172  width: 50%;
173  text-align: right;
174  margin: 0;
175  padding: 0 0.5em 0 0;
176}
177
178FIELDSET.elementEdit A {
179  display: block;
180  float: right;
181}
182
183TABLE.doubleSelect {
184  text-align: center;
185  margin: 0 auto;
186  width: 100%;
187}
188
189TABLE.doubleSelect TD {
190  padding: 0 5px;
191  width: 50%;
192}
193
194FORM#categoryPermissions LI {
195  display:inline;
196  white-space: nowrap;
197}
198
199#theHeader {
200  width: 100%;  /* <- useless but seems to make IE6 happy */
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.