]> git.ozlabs.org Git - patchwork/blob - htdocs/css/style.css
4d1e4406bbe5c6611d28c4d019705fa23b55a47d
[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 div.patchforms {
178         margin-top: 2em;
179 }
180
181 /* list pagination */
182 .paginator { padding-bottom: 1em; padding-top: 1em; font-size: 80%; }
183
184 .paginator .prev-na,
185 .paginator .next-na {
186         padding:.3em;
187         font-weight: normal;
188         border: 0.1em solid #c0c0c0;
189         background-color: #f9f9f9;
190         color: #a0a0a0;
191 }
192
193 .paginator .prev a, .paginator .prev a:visited,
194 .paginator .next a, .paginator .next a:visited {
195         border: 0.1em solid #b0b0d0;
196         background-color: #eeeeee;
197         color: #786fb4;
198         padding: .3em;
199         font-weight: bold;
200 }
201
202 .paginator .prev, .paginator .prev-na { margin-right:.5em; }
203 .paginator .next, .paginator .next-na { margin-left:.5em; }
204
205 .paginator .page a, .paginator .page a:visited, .paginator .curr {
206         padding: .25em;
207         font-weight: bold;
208         border: 1px solid #b0b0d0;
209         background-color: #eeeeee;
210         margin: 0em .25em;
211         color: #786fb4;
212 }
213
214 .paginator .curr {
215         background-color: #b0b0d0;
216         color:#fff;
217         border:1px solid #c0c0ff;
218         font-weight:bold;
219 }
220
221 .paginator .page a:hover,
222 .paginator .curr a:hover,
223 .paginator .prev a:hover,
224 .paginator .next a:hover {
225         color: #ffffff;
226         background-color: #c0c0ff;
227         border:1px solid #234f32;
228 }
229
230 /* patch view */
231 table.patchmeta th {
232         text-align: left;
233 }
234
235 table.patchmeta tr th, table.patchmeta tr td {
236         text-align: left;
237         padding: 3px 10px 3px 10px;
238         vertical-align: middle;
239 }
240
241 .patchnav {
242         padding-left: 1em;
243         padding-top: 1em;
244 }
245
246 .comment .meta {
247         background: #f0f0f0;
248 }
249
250 .patch .content {
251         border: thin solid gray;
252         padding: 1em;
253 }
254
255 .quote {
256         color: #007f00;
257 }
258
259 span.p_header   { color: #2e8b57; font-weight: bold; }
260 span.p_chunk    { color: #a52a2a; font-weight: bold; }
261 span.p_context  { color: #a020f0; }
262 span.p_add      { color: #008b8b; }
263 span.p_del      { color: #6a5acd; }
264 span.p_mod      { color: #0000ff; }
265
266 .acked-by {
267         color: #2d4566;
268
269 }
270
271 .signed-off-by {
272         color: #672d45;
273         font-weight: bold;
274 }
275
276 .from {
277         font-weight: bold;
278 }
279
280 /* bundles */
281 table.bundlelist {
282         margin-top: 2em;
283         margin-bottom: 4em;
284         margin-left: auto;
285         margin-right: auto;
286         border: thin solid black;
287 }
288
289 table.bundlelist th {
290         padding-left: 2em;
291         padding-right: 2em;
292         background: #eeeeee;
293         border-bottom: thin solid black;
294 }
295
296 table.bundlelist td
297 {
298         padding-left: 2em;
299         padding-right: 2em;
300 }
301
302 /* forms that appear for a patch */
303 div.patchform {
304         border: thin solid gray;
305         padding-left: 0.6em;
306         padding-right: 0.6em;
307         float: left;
308         margin: 0.5em 1em;
309 }
310
311 div.patchform h3 {
312         margin-top: 0em;
313         margin-left: -0.6em;
314         margin-right: -0.6em;
315         padding-left: 0.3em;
316         padding-right: 0.3em;
317         background: #786fb4;
318         color: white;
319         font-size: 100%;
320 }
321
322 div.patchform ul {
323         list-style-type: none;
324         padding-left: 0.2em;
325         margin-top: 0em;
326 }
327
328 /* forms */
329 table.form {
330 }
331
332 span.help_text {
333         font-size: 80%;
334 }
335
336
337 table.form td {
338         padding: 0.6em;
339         vertical-align: top;
340 }
341
342 table.form th.headerrow {
343         background: #786fb4;
344         color: white;
345         font-weight: bold;
346         text-align: center;
347 }
348
349 table.form th {
350         font-weight: normal;
351         text-align: left;
352         vertical-align: top;
353         padding-top: 0.6em;
354 }
355
356 table.form td.form-help {
357         font-size: smaller;
358         padding-bottom: 1em;
359         padding-top: 0em;
360 }
361
362 table.form tr td.submitrow {
363         border-bottom: 0.2em solid #786fb4;
364         text-align: center;
365 }
366
367 table.registerform {
368         margin-left: auto;
369         margin-right: auto;
370 }
371 table.loginform {
372         margin-left: auto;
373         margin-right: auto;
374         width: 30em;
375 }
376
377 /* form errors */
378 .errorlist {
379         color: red;
380         list-style-type: none;
381         padding-left: 0.2em;
382         margin: 0em;
383 }
384
385 /* generic table with header columns on the left */
386 table.horizontal {
387         border-collapse: collapse;
388         border: thin solid #e8e8e8;
389 }
390
391 table.horizontal th {
392         text-align: left;
393 }
394
395 table.horizontal td, table.horizontal th {
396         padding: 0.5em 1em;
397         border: thin solid #e8e8e8;
398 }
399
400 /* generic table with header row */
401 table.vertical {
402         border-collapse: collapse;
403 }
404 table.vertical th {
405         background: #786fb4;
406         color: white;
407         font-weight: bold;
408         text-align: center;
409 }
410
411 table.vertical th, table.vertical td {
412         padding: 0.2em 0.8em;
413         border: thin solid #e8e8e8;
414 }
415
416 td.numberformat {
417         text-align: right;
418 }
419
420 /* boxes */
421 div.box {
422         border: thin solid gray;
423         margin: 1em;
424         padding: 0.5em;
425 }
426
427 div.box h2 {
428         background: #786fb4;
429         color: white;
430         margin: -0.5em -0.5em 1em; -0.5em;
431         padding: 0em 0.5em;
432         font-size: 100%;
433 }
434
435 div.box table.vertical {
436         margin-left: auto;
437         margin-right: auto;
438 }
439
440 /* columns */
441 .leftcol {
442         float: left;
443         width: 49%;
444 }
445
446 .rightcol {
447         float: right;
448         width: 49%;
449 }