aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/default-layout.css
blob: b1256e1bcd4bb0a720565f586a411c37d052aa4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
/* $Id$ */

BODY {
    margin: 5px;
    padding: 0;
    font-size: 0.8em;
    font-family: Bitsream Vera Sans, Helvetica, Arial, sans-serif;
    text-align: center; /* be nice to IE5 */
}

#the_page {
    /* Just in case another template needs an inner frame */
}

H1 {
    text-align: center;
    font-size: 150%;
    font-weight: bold;
    padding: 0; margin: 1ex 0 2ex 0;
}

H2 {
    margin: 0;
    padding: 5px 5px 5px 5px;
    text-align: left;
    font-size: 120%;
}

A {
    text-decoration:none;
    border-bottom: 1px dotted #005e89;
}
A:hover {
    border-bottom: 1px solid #858460;
}

IMG {
    border: none;
}

HR.separation {
  visibility: hidden;
  clear: both;
}

#copyright {
    clear: both;
    font-size: 83%;
    text-align: center;
    margin: 0 0 10px 0;
}

/** General defaults **/
INPUT {margin: 0;}
ul, dl, li { text-align: left;}
TABLE {			/* horizontaly centered */
  margin-left: auto;
  margin-right: auto;
}
/* for debugging purpose */
pre { text-align:left; }

/** forms **/

form { padding: 0em; }

form p {
	text-align: center;
	margin-top: 2em;
	margin-bottom: 2em;
}
.small {
	font-size: 80%;
}

textarea.description {
  height: 100px;
  width: 500px;
  overflow: auto;
}
select.categoryList {
  width: 100%;
}

/** go to an admin.css ? **/

.table2 {
  border: 1px solid black;
  margin: 1em auto;
  padding: 0;
}

.table2 TD, .table2 TH {
  padding: 0 1em;
}

form#add_virtual p { text-align: left; }
FORM#categoryOrdering, FORM#addVirtual {
  padding-left: 1em; /* same as FIELDSET margin (there is no fieldset in this form) */
  padding-right: 1em; /* same as FIELDSET margin (there is no fieldset in this form) */
}
FORM#categoryOrdering p {
	text-align: left;
	margin-top: 1em;
	margin-bottom: 1em;
}
UL.categoryUl {
  list-style: none;
  padding: 0;
  margin: 0;
}

LI.categoryLi {
  border: 1px solid gray;
  padding: 0px 5px;
  margin-bottom: 5px;
}

FORM#categoryOrdering UL.categoryActions {
  float: right;
  margin-top: 5px;
}

FORM#cat_modify TABLE { width: auto; }

/**
 * Filter forms are displayed label by label with the input (or select...)
 * below the label. Use a SPAN to group objects in a single line.
 */
FIELDSET {
  padding: 1em;
  margin: 1em;
  overflow: hidden; /* <- makes Opera happy */
}

FORM.filter FIELDSET LABEL {
  display: block;
  float: left;
  width: auto;
  margin-right: 1em;
  padding: 0;
}
FORM.filter FIELDSET UL LABEL {
  display: inline;
  float: none;
}

/* cannot use FIELDSET>LABEL because of IE<=6 */
FORM.filter FIELDSET LABEL INPUT,
FORM.filter FIELDSET LABEL SELECT,
FORM.filter FIELDSET LABEL SPAN,
FORM.filter FIELDSET LABEL TEXTAREA {
  display: block;
  margin: 0.5em 0;
}
FORM.filter FIELDSET * LABEL INPUT,
FORM.filter FIELDSET LABEL * INPUT,
FORM.filter FIELDSET * LABEL SELECT,
FORM.filter FIELDSET LABEL * SELECT,
FORM.filter FIELDSET * LABEL TEXTAREA,
FORM.filter FIELDSET LABEL * TEXTAREA {
  display: inline;
  vertical-align: top;
  margin: 0 0.5em 0 0;
}

/* following declaration is important to avoid strange FF behaviour */
FORM.filter FIELDSET LABEL SPAN SELECT {
  margin: 0;
}

FORM.filter FIELDSET P,
{
  clear: left;
  display: block;
}

FORM.filter INPUT[type="submit"] {
  margin-top: 1em;
}

FORM.properties UL, FORM#update UL {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

FORM.properties LI, FORM#update UL  {
  margin-bottom: 0.5em;
  padding: 0;
  line-height: 1.8em;
}

FORM.properties SPAN.property {
  font-weight: bold;
  float: left;
  width: 50%;
  text-align: right;
  margin: 0;
  padding: 0 0.5em 0 0;
}

FIELDSET.elementEdit A {
  display: block;
  float: right;
}

TABLE.doubleSelect {
  text-align: center;
  margin: 0 auto;
  width: 100%;
}

TABLE.doubleSelect TD {
  padding: 0 5px;
  width: 50%;
}

FORM#categoryPermissions LI {
  display:inline;
  white-space: nowrap;
}

#theHeader H1 {
  margin-bottom: 0.5em;
}

#theHeader P {
  margin-top: 0;
  padding: 0;
}

BODY#theAdminPage #theHeader P {
  display: none;
}

BODY#thePopuphelpPage #copyright {
  color: green;
  display: none;
}

FORM#addComment FIELDSET LABEL {
  clear: both;
}

FORM#addComment FIELDSET INPUT[type="hidden"] {
  display: none;
}

/* button tools */
UL.actions {
  text-indent: 0;
  list-style: none;
}
UL.actions  LI {
  display: inline;
}
UL.actions  A {
  border: none;
}

UL.tagSelection {
  width: 40em;
  margin: 1em 0 1em 0;
  padding: 0;
}

UL.tagSelection LI {
  display: inline;
  white-space: nowrap;
}

#fullTagCloud { font-size: 140%; }

#fullTagCloud LI { display: inline; }

.tagLevel5 { font-size: 150%; }
.tagLevel4 { font-size: 140%; }
.tagLevel3 { font-size: 120%; }
.tagLevel2 { font-size: 100%; }
.tagLevel1 { font-size: 90%; }