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

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