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

Last change on this file since 2550 was 2550, checked in by vdigital, 16 years ago

Index page: Scrolling start above the category when description is too long.
Sql Trace in a <div> clear:both.
French de-à => du-au

  • 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 2550 2008-09-19 19:38:15Z vdigital $ */
2BODY {
3        margin: 5px;
4        padding: 0;
5        font-size: 0.8em;
6        font-family:  Univers, Helvetica, Optima, "Bitstream Vera Sans", sans-serif;
7}
8
9
10H1 {
11        text-align: center;
12        font-size: 150%;
13        font-weight: bold;
14        padding: 0;
15        margin: 0.5em 0 1em 0;
16}
17
18H2 {
19        margin: 0;
20        padding: 5px 0.5em 5px 0.5em;
21        text-align: left;
22        font-size: 120%;
23}
24
25A {
26        text-decoration:none;
27        border-bottom: 1px dotted #005e89;
28}
29A:hover {
30        border-bottom: 1px solid #858460;
31}
32A.button, A.button:hover { 
33        border: 0; 
34}
35IMG {
36        border: none;
37}
38
39HR.separation {
40        visibility: hidden;
41        clear: both;
42}
43
44#copyright {
45        clear: both;
46        font-size: 83%;
47        text-align: center;
48        margin: 0 0 10px 0;
49}
50
51/** General defaults **/
52INPUT, SELECT {
53        margin: 0;
54        font-size: 1em; /* <= some browsers don't set it correctly */
55}
56
57TABLE { /* horizontaly centered */
58        margin-left: auto;
59        margin-right: auto;
60}
61
62/** forms **/
63
64FORM { padding: 0; margin: 0; }
65
66FORM P {
67        text-align: center;
68        margin-top: 2em;
69        margin-bottom: 2em;
70}
71
72FORM FIELDSET P {
73        margin-top: 1em;
74        margin-bottom: 0;
75}
76
77TEXTAREA.description {
78        height: 6em;
79        width: 40em;
80        overflow: auto;
81}
82
83SELECT.categoryList {
84        height: 20em;
85        width: auto;
86}
87
88
89/**
90 * Filter forms are displayed label by label with the input (or select...)
91 * below the label. Use an UL to make a group (radiobox for instance).
92 * Use a SPAN to group objects in line
93 */
94FIELDSET {
95        padding: 1em;
96        margin: 1em;
97        overflow: hidden; /* <- makes Opera happy */
98}
99
100FORM.filter FIELDSET UL {
101  margin: 0;
102}
103FORM.filter FIELDSET UL,
104FORM.filter FIELDSET LABEL {
105        display: block;
106        float: left;
107        margin-right: 1em;
108        padding: 0;
109}
110
111FORM.filter FIELDSET LI {
112        list-style: none;
113        margin-bottom: 0.5em;
114}
115
116FORM.filter FIELDSET LI LABEL {
117        display: inline;
118        float: none;
119}
120
121FORM.filter FIELDSET UL.tagSelection LABEL {
122        display: inline;
123        float: none;
124        margin-right:0.5em;/*reduce from above*/
125}
126
127/* cannot use FIELDSET>LABEL because of IE<=6 */
128FORM.filter FIELDSET LABEL INPUT,
129FORM.filter FIELDSET LABEL SELECT,
130FORM.filter FIELDSET LABEL SPAN,
131FORM.filter FIELDSET LABEL TEXTAREA {
132  display: block;
133  margin: 0.5em 0;
134}
135FORM.filter FIELDSET * LABEL INPUT,
136FORM.filter FIELDSET * LABEL SELECT,
137FORM.filter FIELDSET * LABEL TEXTAREA,
138FORM.filter FIELDSET LABEL SPAN INPUT,
139FORM.filter FIELDSET LABEL SPAN SELECT,
140FORM.filter FIELDSET LABEL SPAN TEXTAREA {
141        display: inline;
142        vertical-align: top;
143        margin: 0 0.5em 0 0;
144}
145
146FORM.filter FIELDSET UL.tagSelection LI LABEL INPUT {
147        margin-right:0;
148}
149
150/* following declaration is important to avoid strange FF behaviour */
151FORM.filter FIELDSET LABEL SPAN SELECT {
152        margin: 0;
153}
154
155FORM.filter FIELDSET P
156{
157        clear: left;
158        display: block;
159}
160
161FORM.filter INPUT[type="submit"] {
162        margin-top: 1em;
163}
164
165FORM.properties UL {
166        list-style-type: none;
167        margin: 0;
168        padding: 0;
169}
170
171FORM.properties LI {
172        margin-bottom: 0.5em;
173        padding: 0;
174        line-height: 1.8em;
175        clear: left;
176}
177
178FORM.properties SPAN.property {
179        font-weight: bold;
180        float: left;
181        width: 50%;
182        text-align: right;
183        margin: 0;
184        padding: 0 0.5em 0 0;
185}
186
187/* button tools */
188UL.actions {
189        text-indent: 0;
190        list-style: none;
191}
192UL.actions LI {
193        display: inline;
194}
195UL.actions A, UL.actions IMG {
196        border: none;
197}
198
199UL.tagSelection {
200        width: 99%;
201        margin: 1em 0 1em 0;
202        padding: 0;
203}
204
205UL.tagSelection LI {
206        display: inline;
207        white-space: nowrap;
208}
209
210#fullTagCloud {
211        font-size: 120%;
212        text-align: justify;
213        padding: 0;
214        margin: 1em 2em 1em 2em;
215}
216
217#fullTagCloud LI {
218        display: inline;
219        white-space: nowrap;
220        margin: 0 2px;
221}
222
223
224.tagLevel5 { font-size: 150%; }
225.tagLevel4 { font-size: 140%; }
226.tagLevel3 { font-size: 120%; }
227.tagLevel2 { font-size: 100%; }
228.tagLevel1 { font-size: 90%; }
229
230
231/* Popup help page */
232BODY#thePopuphelpPage #copyright {
233        display: none;
234}
235
236BODY#thePopuphelpPage .content P {
237        text-align: justify;
238        padding: 0.5em;
239}
240
241BODY#thePopuphelpPage .content OL LI,
242BODY#thePopuphelpPage .content UL LI
243{
244        margin-bottom: 0.5em;
245}
246
247TR.tagLine {
248        border-bottom: 1px solid #ddd;
249}
250TD.nbEntries {
251        text-align: right;
252        font-style: italic;
253        font-size: 90%;
254}
255
256FIELDSET.tagLetter {
257        border: 1px solid #d3d3d3;
258        width: 200px;
259        margin: 0.5em;
260        padding: 10px;
261}
262
263LEGEND.tagLetterLegend {
264        border: 1px solid #d3d3d3;
265        font-size:120%;
266        font-weight: bold;
267        padding: 0 5px;
268        font-style: normal;
269}
270
271TABLE.tagLetterContent {
272        width:100%;
273        font-size:80%;
274        border-collapse : collapse;
275}
276#theHeader {text-align: center;}
277#debug { margin: 15px 15px 5px 248px; font-size:12px; clear: both; word-wrap:break-word;}
Note: See TracBrowser for help on using the repository browser.