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

Last change on this file since 859 was 859, checked in by plg, 19 years ago
  • new : template yoga, made by yoDan, helped by chrisaga for integration becomes the official template.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.2 KB
Line 
1
2@import "menubar.css";
3@import "content.css";
4@import "image.css";
5@import "popuphelp.css";
6
7/* $Id: default-layout.css 859 2005-09-03 20:01:14Z plg $ */
8
9/* * { padding: 0 !important; margin: 0 !important; } */
10
11BODY {
12    margin: 5px;
13    padding: 0;
14    font-size: 100%;
15    font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
16    text-align: center; /* be nice to IE5 */
17}
18
19#the_page {
20    /* Just in case another template needs an inner frame */
21}
22
23H1 {
24    text-align: center;
25    font-size: 150%;
26    font-weight: bold;
27    padding: 0; margin: 1ex 0 2ex 0;
28}
29
30H2 {
31    margin: 0;
32    padding: 5px;
33    text-align: left;
34    font-size: 120%;
35}
36
37A {
38    text-decoration:none;
39    border-bottom: 1px dotted #005e89;
40}
41A:hover {
42    border-bottom: 1px solid #858460;
43}
44
45IMG {
46    border: none;
47}
48
49HR.separation {
50  visibility: hidden;
51  clear: both;
52}
53
54#copyright {
55    clear: both;
56    font-size: 83%;
57    text-align: center;
58    margin: 0 0 10px 0;
59}
60
61/** General defaults **/
62ul, dl, li { text-align: left;}
63/* for debugging purpose */
64pre { text-align:left; }
65
66/** forms **/
67
68form { padding: 0em; }
69
70/* form row are dl instead of table rows */
71form dl {
72  text-align: left;   /* must set it there otherwise IE render dl.biglabel dt incorectly */
73  margin-top: 0;
74  margin-bottom: 0;
75    font-size: 100%; /* TO DO : alignement pb in Opera !!!*/
76}
77form dt {
78  float: left;
79  /*text-align: left;*/
80  width: 60%;
81  margin-top: 0.25em;
82  margin-bottom: 0.25em;
83}
84form dd {
85  /*text-align: left;*/
86  /*margin-top: 0.5em;*/
87  margin:0;
88  padding:0;
89  margin-top: 0.25em;
90  margin-bottom: 0.25em;
91}
92/* we must use one dl.biglabel per <dt><dl> because of positionning */
93form dl.biglabel {
94  position: relative; /* to allow position: absolute in dd*/
95}
96form dl.biglabel dt {
97  float: none;
98}
99
100form dl.biglabel dd {
101  /*float: right; do not whant to float ????*/
102  /*width: 60%;*/
103  position: absolute;
104  top: 0;
105  left: 60%; /* same as form dt width */
106}
107form dl.biglabel dd { padding-left:2px;} /* IE */
108form dl.biglabel>dd { padding-left:0;}  /* other browsers */
109
110form p {
111        text-align: center;
112        margin-top: 2em;
113        margin-bottom: 2em;
114}
115.small {
116        font-size: 80%;
117}
118
119textarea.description {
120  height: 100px;
121  width: 500px;
122  overflow: auto;
123}
124select.categoryList {
125  width: 400px;
126}
127
128/** go to an admin.css ? **/
129
130.table2 {
131  border: 1px solid black; 
132  margin: 1em auto;
133  padding: 0;
134}
135
136.table2 TD, .table2 TH {
137  padding: 0 1em;
138}
139
140form#add_virtual p { text-align: left; }
141form#categoryOrdering p {
142        text-align: left;
143        margin-top: 1em;
144        margin-bottom: 1em;
145}
146form#categoryOrdering>ul {
147  list-style: none;
148  padding: 0;
149  margin: 0;
150}
151
152form#categoryOrdering>ul>li {
153  border: 1px solid grey;
154  padding: 0px 5px;
155  margin-bottom: 5px;
156}
157
158form#categoryOrdering ul.categoryActions {
159  float: right;
160  margin-top: 5px;
161}
162
163form#cat_modify table { width: auto; }
164
165/**
166 * Filter forms are displayed label by label with the input (or select...)
167 * below the label
168 */
169FIELDSET {
170  padding: 1em;
171  margin: 1em;
172}
173
174FORM.filter FIELDSET LABEL {
175  display: block;
176  float: left;
177  width: auto;
178  margin-right: 10px;
179  padding: 0;
180}
181
182FORM.filter FIELDSET LABEL INPUT, FORM.filter FIELDSET LABEL SELECT {
183  display: block;
184  margin: 0.5em 0;
185}
186
187FORM.filter FIELDSET P, FORM.filter FIELDSET INPUT {
188  clear: left;
189  display: block;
190}
191
192FORM.filter INPUT[type="submit"] {
193  margin-top: 1em;
194}
195
196FORM.properties UL {
197  list-style-type: none;
198  margin: 0;
199  padding: 0;
200}
201
202FORM.properties LI {
203  margin-bottom: 0.5em;
204  padding: 0;
205  line-height: 1.8em;
206}
207
208FORM.properties LABEL {
209  float: left;
210  width: 50%;
211  text-align: right;
212  margin: 0;
213  padding: 0 0.5em 0 0;
214}
215
216FORM.properties LABEL.mandatory {
217  font-weight: bold;
218}
219
220FORM.properties .focus {
221  background-color: whitesmoke;
222}
223
224FORM.properties .nofocus {
225  background-color: lightgrey; /* must be the same as input background-color */
226}
227
228FIELDSET.elementEdit A {
229  display: block;
230  float: right;
231}
232
233TABLE.doubleSelect {
234  text-align: center;
235  margin: 0 auto;
236}
237
238TABLE.doubleSelect TD {
239  padding: 0 5px;
240}
241
242FORM#categoryPermissions LI {
243  display:inline;
244  white-space: nowrap;
245}
246
247#theHeader {
248}
249
250#theHeader H1 {
251  margin-bottom: 0.5em;
252}
253
254#theHeader P {
255  margin-top: 0;
256  padding: 0;
257}
258
259BODY#theAdminPage #theHeader P { 
260  display: none;
261}
262
263BODY#thePopuphelpPage #copyright {
264  color: green;
265  display: none;
266}
267
Note: See TracBrowser for help on using the repository browser.