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