]> git.ozlabs.org Git - patchwork/blob - htdocs/css/style.css
943e39dad20cd54f971036bc4491738be36877e7
[patchwork] / htdocs / css / style.css
1 body {
2         background-color: white;
3         color: black;
4         margin: 0em;
5         font-size: 9pt;
6 }
7
8 .floaty {
9         position: fixed;
10         left: 0.1em;
11         top: 17em;
12 }
13
14
15 #title {
16         background: url('/images/title-background.png') top left repeat-x;
17         background-color: #786fb4;
18         margin: 0px;
19         padding-top: 0.1em;
20         padding-bottom: 0.0em;
21         padding-left: 2em;
22 }
23
24 #title h1, #title h1 a {
25         font-size: 16pt;
26         color: white;
27         margin-bottom: 0;
28 }
29
30 .beta {
31         font-size: 60%;
32         vertical-align: sub;
33         line-height: 2em;
34 }
35
36 #auth {
37         border-left: thin solid white;
38         padding-top: 0em;
39         padding-left: 1.5em;
40         padding-right: 1.5em;
41         padding-top: 0.5em;
42         padding-bottom: 0.5em;
43         font-size: 90%;
44         float: right;
45         color: white;
46 }
47 #auth a {
48         color: white;
49 }
50
51 #nav {
52         background: #e8e8e8;
53         border-bottom: 0.2em solid #786fb4;
54         font-size: 90%;
55         padding: 0.2em 0.5em;
56 }
57
58 #nav a {
59         text-decoration: underline;
60 }
61
62
63 #content {
64         padding: 1em;
65 }
66
67 form {
68         padding: 0em;
69         margin: 0em;
70 }
71
72 a:visited { color: #000000; }
73 a { color: #786fb4; }
74
75 table {
76         border-collapse: collapse;
77 }
78
79 img {
80         border: 0;
81 }
82
83 input {
84         border: thin solid #909090;
85 }
86
87 dl dt {
88         margin-top: 0.8em;
89 }
90
91 #footer {
92         padding: 1em;
93         font-size: small;
94         text-align: center;
95         color: #909090;
96 }
97
98 #footer a {
99         color: #909090;
100 }
101
102 /* messages */
103 #messages {
104         background: #e0e0f0;
105         margin: 0.5em 1em 0.0em 0.5em;
106         padding: 0.3em;
107 }
108
109 #messages .message {
110         color: green;
111 }
112
113 /* patch lists */
114 table.patchlist {
115         width: 98%;
116         border: thin solid black;
117         padding: 0em 1em;
118 }
119
120 table.patchlist th {
121         background: #eeeeee;
122         border-bottom: thin solid black;
123         text-align: left;
124         padding-left: 6px;
125 }
126
127 table.patchlist th img {
128         vertical-align: bottom;
129 }
130
131 table.patchlist td {
132         padding: 2px 6px 2px 6px;
133         margin: 0px;
134         margin-top: 10px;
135 }
136
137 table.patchlist td img {
138         vertical-align: bottom;
139 }
140
141 table.patchlist td.patchlistfilters {
142         background: #c0c0ff;
143         border-top: thin solid gray;
144         border-bottom: thin solid black;
145         font-size: smaller;
146
147 }
148 table.patchlist tr.odd {
149         background: #ffffff;
150 }
151
152 table.patchlist tr.even {
153         background: #e8e8e8;
154 }
155
156 a.colinactive, a.colactive {
157         color: black;
158         text-decoration: none;
159 }
160
161 a.colinactive:hover {
162         color: red;
163 }
164
165 div.filters {
166 }
167
168 /* list pagination */
169 .paginator { padding-bottom: 1em; padding-top: 1em; font-size: 80%; }
170
171 .paginator .prev-na,
172 .paginator .next-na {
173         padding:.3em;
174         font-weight: normal;
175         border: 0.1em solid #c0c0c0;
176         background-color: #f9f9f9;
177         color: #a0a0a0;
178 }
179
180 .paginator .prev a, .paginator .prev a:visited,
181 .paginator .next a, .paginator .next a:visited {
182         border: 0.1em solid #b0b0d0;
183         background-color: #eeeeee;
184         color: #786fb4;
185         padding: .3em;
186         font-weight: bold;
187 }
188
189 .paginator .prev, .paginator .prev-na { margin-right:.5em; }
190 .paginator .next, .paginator .next-na { margin-left:.5em; }
191
192 .paginator .page a, .paginator .page a:visited, .paginator .curr {
193         padding: .25em;
194         font-weight: bold;
195         border: 1px solid #b0b0d0;
196         background-color: #eeeeee;
197         margin: 0em .25em;
198         color: #786fb4;
199 }
200
201 .paginator .curr {
202         background-color: #b0b0d0;
203         color:#fff;
204         border:1px solid #c0c0ff;
205         font-weight:bold;
206 }
207
208 .paginator .page a:hover,
209 .paginator .curr a:hover,
210 .paginator .prev a:hover,
211 .paginator .next a:hover {
212         color: #ffffff;
213         background-color: #c0c0ff;
214         border:1px solid #234f32;
215 }
216
217 /* patch view */
218 table.patchmeta th {
219         text-align: left;
220 }
221
222 table.patchmeta tr th, table.patchmeta tr td {
223         text-align: left;
224         padding: 3px 10px 3px 10px;
225         vertical-align: middle;
226 }
227
228 .patchnav {
229         padding-left: 1em;
230         padding-top: 1em;
231 }
232
233 .comment .meta {
234         background: #f0f0f0;
235 }
236
237 .patch .content {
238         border: thin solid gray;
239         padding: 1em;
240 }
241
242 .quote {
243         color: #007f00;
244 }
245
246 span.p_header   { color: #2e8b57; font-weight: bold; }
247 span.p_chunk    { color: #a52a2a; font-weight: bold; }
248 span.p_context  { color: #a020f0; }
249 span.p_add      { color: #008b8b; }
250 span.p_del      { color: #6a5acd; }
251 span.p_mod      { color: #0000ff; }
252
253 .acked-by {
254         color: #2d4566;
255
256 }
257
258 .signed-off-by {
259         color: #672d45;
260         font-weight: bold;
261 }
262
263 .from {
264         font-weight: bold;
265 }
266
267 /* bundles */
268 table.bundlelist {
269         margin-top: 2em;
270         margin-bottom: 4em;
271         margin-left: auto;
272         margin-right: auto;
273         border: thin solid black;
274 }
275
276 table.bundlelist th {
277         padding-left: 2em;
278         padding-right: 2em;
279         background: #eeeeee;
280         border-bottom: thin solid black;
281 }
282
283 table.bundlelist td
284 {
285         padding-left: 2em;
286         padding-right: 2em;
287 }
288
289 /* forms that appear for a patch */
290 div.patchform {
291         border: thin solid gray;
292         padding-left: 0.6em;
293         padding-right: 0.6em;
294         float: left;
295         margin: 0.5em 1em;
296 }
297
298 div.patchform h3 {
299         margin-top: 0em;
300         margin-left: -0.6em;
301         margin-right: -0.6em;
302         padding-left: 0.3em;
303         padding-right: 0.3em;
304         background: #786fb4;
305         color: white;
306         font-size: 100%;
307 }
308
309 div.patchform ul {
310         list-style-type: none;
311         padding-left: 0.2em;
312         margin-top: 0em;
313 }
314
315 /* forms */
316 table.form {
317 }
318
319 span.help_text {
320         font-size: 80%;
321 }
322
323
324 table.form td {
325         padding: 0.6em;
326         vertical-align: top;
327 }
328
329 table.form th.headerrow {
330         background: #786fb4;
331         color: white;
332         font-weight: bold;
333         text-align: center;
334 }
335
336 table.form th {
337         font-weight: normal;
338         text-align: left;
339         vertical-align: top;
340         padding-top: 0.6em;
341 }
342
343 table.form td.form-help {
344         font-size: smaller;
345         padding-bottom: 1em;
346         padding-top: 0em;
347 }
348
349 table.form tr td.submitrow {
350         border-bottom: 0.2em solid #786fb4;
351         text-align: center;
352 }
353
354 table.registerform {
355         margin-left: auto;
356         margin-right: auto;
357 }
358 table.loginform {
359         margin-left: auto;
360         margin-right: auto;
361         width: 30em;
362 }
363
364 /* form errors */
365 .errorlist {
366         color: red;
367         list-style-type: none;
368         padding-left: 0.2em;
369         margin: 0em;
370 }
371
372 /* generic table with header columns on the left */
373 table.horizontal {
374         border-collapse: collapse;
375         border: thin solid #e8e8e8;
376 }
377
378 table.horizontal th {
379         text-align: left;
380 }
381
382 table.horizontal td, table.horizontal th {
383         padding: 0.5em 1em;
384         border: thin solid #e8e8e8;
385 }
386
387 /* generic table with header row */
388 table.vertical {
389         border-collapse: collapse;
390 }
391 table.vertical th {
392         background: #786fb4;
393         color: white;
394         font-weight: bold;
395         text-align: center;
396 }
397
398 table.vertical th, table.vertical td {
399         padding: 0.2em 0.8em;
400         border: thin solid #e8e8e8;
401 }
402
403 td.numberformat {
404         text-align: right;
405 }
406
407 /* boxes */
408 div.box {
409         border: thin solid gray;
410         margin: 1em;
411         padding: 0.5em;
412 }
413
414 div.box h2 {
415         background: #786fb4;
416         color: white;
417         margin: -0.5em -0.5em 1em; -0.5em;
418         padding: 0em 0.5em;
419         font-size: 100%;
420 }
421
422 div.box table.vertical {
423         margin-left: auto;
424         margin-right: auto;
425 }
426
427 /* columns */
428 .leftcol {
429         float: left;
430         width: 49%;
431 }
432
433 .rightcol {
434         float: right;
435         width: 49%;
436 }