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

Last change on this file since 1708 was 1708, checked in by vdigital, 17 years ago

Bug 615 : (Draft version to solve it) obtain a better display related to new categories within category management.
Languages have to be modified, and maybe a test has to be included but it already works like this.

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