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

Last change on this file since 2299 was 2288, checked in by rvelices, 16 years ago
  • minor language changes and use template->assign instead of template->assign_var
  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 4.4 KB
Line 
1/* $Id: default-layout.css 2288 2008-03-21 01:01:25Z rvelices $ */
2@import "admin/default-layout.css";
3BODY {
4  margin: 5px;
5  padding: 0;
6  font-size: 0.8em;
7  font-family:  Univers, Helvetica, Optima, "Bitstream Vera Sans", 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}
37A.button, A.button:hover { 
38        border: 0; 
39}
40IMG {
41        border: none;
42}
43
44HR.separation {
45  visibility: hidden;
46  clear: both;
47}
48
49#copyright {
50    clear: both;
51    font-size: 83%;
52    text-align: center;
53    margin: 0 0 10px 0;
54}
55
56/** General defaults **/
57INPUT, SELECT {
58  margin: 0;
59  font-size: 1em;       /* <= some browsers don't set it correctly */
60}
61UL, DL, LI { text-align: left;}
62TABLE {                 /* horizontaly centered */
63  margin-left: auto;
64  margin-right: auto;
65}
66/* for debugging purpose */
67PRE { text-align:left; }
68
69/** forms **/
70
71FORM { padding: 0em; }
72
73FORM P {
74        text-align: center;
75        margin-top: 2em;
76        margin-bottom: 2em;
77}
78
79FORM FIELDSET P {
80        margin-top: 1em;
81        margin-bottom: 0;
82}
83
84.small {
85        font-size: 80%;
86}
87
88TEXTAREA.description {
89  height: 6em;
90  width: 40em;
91  overflow: auto;
92}
93
94SELECT.categoryList {
95  height: 20em;
96  width: auto;
97}
98
99DIV.comment BLOCKQUOTE {
100  padding: 0.5em;
101  overflow: auto;       /* no solution for IE6 */
102  min-height: 2.75em;   /* fix a Gecko bug whith scrollbar and 1 line only */
103}
104
105
106/**
107 * Filter forms are displayed label by label with the input (or select...)
108 * below the label. Use an UL to make a group (radiobox for instance).
109 * Use a SPAN to group objects in line
110 */
111FIELDSET {
112  padding: 1em;
113  margin: 1em;
114  overflow: hidden; /* <- makes Opera happy */
115}
116
117FORM.filter FIELDSET UL {
118  margin: 0;
119}
120FORM.filter FIELDSET UL,
121FORM.filter FIELDSET LABEL {
122  display: block;
123  float: left;
124  margin-right: 1em;
125  padding: 0;
126}
127
128FORM.filter FIELDSET LI {
129  list-style: none;
130  margin-bottom: 0.5em;
131}
132
133FORM.filter FIELDSET LI LABEL {
134  display: inline;
135  float: none;
136}
137
138FORM.filter FIELDSET UL.tagSelection LABEL {
139  display: inline;
140  float: none;
141  margin-right:0.5em;/*reduce from above*/
142}
143
144/* cannot use FIELDSET>LABEL because of IE<=6 */
145FORM.filter FIELDSET LABEL INPUT,
146FORM.filter FIELDSET LABEL SELECT,
147FORM.filter FIELDSET LABEL SPAN,
148FORM.filter FIELDSET LABEL TEXTAREA {
149  display: block;
150  margin: 0.5em 0;
151}
152FORM.filter FIELDSET * LABEL INPUT,
153FORM.filter FIELDSET * LABEL SELECT,
154FORM.filter FIELDSET * LABEL TEXTAREA,
155FORM.filter FIELDSET LABEL SPAN INPUT,
156FORM.filter FIELDSET LABEL SPAN SELECT,
157FORM.filter FIELDSET LABEL SPAN TEXTAREA {
158  display: inline;
159  vertical-align: top;
160  margin: 0 0.5em 0 0;
161}
162
163FORM.filter FIELDSET UL.tagSelection LI LABEL INPUT {
164  margin-right:0;
165}
166
167/* following declaration is important to avoid strange FF behaviour */
168FORM.filter FIELDSET LABEL SPAN SELECT {
169  margin: 0;
170}
171
172FORM.filter FIELDSET P
173{
174  clear: left;
175  display: block;
176}
177
178FORM.filter INPUT[type="submit"] {
179  margin-top: 1em;
180}
181
182FORM.properties UL, FORM#update UL {
183  list-style-type: none;
184  margin: 0;
185  padding: 0;
186}
187
188FORM.properties LI, FORM#update UL  {
189  margin-bottom: 0.5em;
190  padding: 0;
191  line-height: 1.8em;
192  clear: left;
193}
194
195FORM.properties SPAN.property {
196  font-weight: bold;
197  float: left;
198  width: 50%;
199  text-align: right;
200  margin: 0;
201  padding: 0 0.5em 0 0;
202}
203
204#theHeader H1 {
205  margin-bottom: 0.5em;
206}
207
208/* button tools */
209UL.actions {
210  text-indent: 0;
211  list-style: none;
212}
213UL.actions  LI {
214  display: inline;
215}
216UL.actions  A {
217  border: none;
218}
219
220UL.tagSelection {
221  width: 99%;
222  margin: 1em 0 1em 0;
223  padding: 0;
224}
225
226UL.tagSelection LI {
227  display: inline;
228  white-space: nowrap;
229}
230
231#fullTagCloud {
232  font-size: 120%;
233  text-align: justify;
234  padding: 0;
235  margin: 1em 2em 1em 2em;
236}
237
238#fullTagCloud LI {
239  display: inline;
240  white-space: nowrap;
241  margin: 0 2px;
242}
243
244
245.tagLevel5 { font-size: 150%; }
246.tagLevel4 { font-size: 140%; }
247.tagLevel3 { font-size: 120%; }
248.tagLevel2 { font-size: 100%; }
249.tagLevel1 { font-size: 90%; }
250
251
252/* Popup help page */
253BODY#thePopuphelpPage #copyright {
254  display: none;
255}
256
257BODY#thePopuphelpPage #content P {
258  text-align: justify;
259  padding: 0.5em;
260}
261
262BODY#thePopuphelpPage #content OL LI,
263BODY#thePopuphelpPage #content UL LI
264{
265  margin-bottom: 0.5em;
266}
267
268BODY#thePopuphelpPage P#pageBottomActions A {
269  border: none;
270}
Note: See TracBrowser for help on using the repository browser.