c1add3fb84125d68d6eb43c4012ffa762c2362c8
[gitweb.git] / gitweb.css
1 body {
2 font-family: sans-serif;
3 font-size: small;
4 border: solid #d9d8d1;
5 border-width: 1px;
6 margin: 10px;
7 background-color: #ffffff;
8 color: #000000;
9 }
10
11 a {
12 color: #0000cc;
13 }
14
15 a:hover, a:visited, a:active {
16 color: #880000;
17 }
18
19 span.cntrl {
20 border: dashed #aaaaaa;
21 border-width: 1px;
22 padding: 0px 2px 0px 2px;
23 margin: 0px 2px 0px 2px;
24 }
25
26 img.logo {
27 float: right;
28 border-width: 0px;
29 }
30
31 img.avatar {
32 vertical-align: middle;
33 }
34
35 a.list img.avatar {
36 border-style: none;
37 }
38
39 div.page_header {
40 height: 25px;
41 padding: 8px;
42 font-size: 150%;
43 font-weight: bold;
44 background-color: #d9d8d1;
45 }
46
47 div.page_header a:visited, a.header {
48 color: #0000cc;
49 }
50
51 div.page_header a:hover {
52 color: #880000;
53 }
54
55 div.page_nav {
56 padding: 8px;
57 }
58
59 div.page_nav a:visited {
60 color: #0000cc;
61 }
62
63 div.page_path {
64 padding: 8px;
65 font-weight: bold;
66 border: solid #d9d8d1;
67 border-width: 0px 0px 1px;
68 }
69
70 div.page_footer {
71 height: 17px;
72 padding: 4px 8px;
73 background-color: #d9d8d1;
74 }
75
76 div.page_footer_text {
77 float: left;
78 color: #555555;
79 font-style: italic;
80 }
81
82 div#generating_info {
83 margin: 4px;
84 font-size: smaller;
85 text-align: center;
86 color: #505050;
87 }
88
89 div.page_body {
90 padding: 8px;
91 font-family: monospace;
92 }
93
94 div.title, a.title {
95 display: block;
96 padding: 6px 8px;
97 font-weight: bold;
98 background-color: #edece6;
99 text-decoration: none;
100 color: #000000;
101 }
102
103 div.readme {
104 padding: 8px;
105 }
106
107 a.title:hover {
108 background-color: #d9d8d1;
109 }
110
111 div.title_text {
112 padding: 6px 0px;
113 border: solid #d9d8d1;
114 border-width: 0px 0px 1px;
115 font-family: monospace;
116 }
117
118 div.log_body {
119 padding: 8px 8px 8px 150px;
120 }
121
122 span.age {
123 position: relative;
124 float: left;
125 width: 142px;
126 font-style: italic;
127 }
128
129 span.signoff {
130 color: #888888;
131 }
132
133 div.log_link {
134 padding: 0px 8px;
135 font-size: 70%;
136 font-family: sans-serif;
137 font-style: normal;
138 position: relative;
139 float: left;
140 width: 136px;
141 }
142
143 div.list_head {
144 padding: 6px 8px 4px;
145 border: solid #d9d8d1;
146 border-width: 1px 0px 0px;
147 font-style: italic;
148 }
149
150 .author_date, .author {
151 font-style: italic;
152 }
153
154 div.author_date {
155 padding: 8px;
156 border: solid #d9d8d1;
157 border-width: 0px 0px 1px 0px;
158 }
159
160 a.list {
161 text-decoration: none;
162 color: #000000;
163 }
164
165 a.subject, a.name {
166 font-weight: bold;
167 }
168
169 table.tags a.subject {
170 font-weight: normal;
171 }
172
173 a.list:hover {
174 text-decoration: underline;
175 color: #880000;
176 }
177
178 a.text {
179 text-decoration: none;
180 color: #0000cc;
181 }
182
183 a.text:visited {
184 text-decoration: none;
185 color: #880000;
186 }
187
188 a.text:hover {
189 text-decoration: underline;
190 color: #880000;
191 }
192
193 table {
194 padding: 8px 4px;
195 border-spacing: 0;
196 }
197
198 table.shortlog td {
199 padding: 0px 8px;
200 vertical-align: middle;
201 height:20px;
202 }
203
204 img.graph {
205 padding: 0px;
206 margin: 0px;
207 display: block;
208 }
209
210 table.diff_tree {
211 font-family: monospace;
212 }
213
214 table.combined.diff_tree th {
215 text-align: center;
216 }
217
218 table.combined.diff_tree td {
219 padding-right: 24px;
220 }
221
222 table.combined.diff_tree th.link,
223 table.combined.diff_tree td.link {
224 padding: 0px 2px;
225 }
226
227 table.combined.diff_tree td.nochange a {
228 color: #6666ff;
229 }
230
231 table.combined.diff_tree td.nochange a:hover,
232 table.combined.diff_tree td.nochange a:visited {
233 color: #d06666;
234 }
235
236 table.blame {
237 border-collapse: collapse;
238 }
239
240 table.blame td {
241 padding: 0px 5px;
242 font-size: 100%;
243 vertical-align: top;
244 }
245
246 th {
247 padding: 2px 5px;
248 font-size: 100%;
249 text-align: left;
250 }
251
252 /* do not change row style on hover for 'blame' view */
253 tr.light,
254 table.blame .light:hover {
255 background-color: #ffffff;
256 }
257
258 tr.dark,
259 table.blame .dark:hover {
260 background-color: #f6f6f0;
261 }
262
263 tr.header {
264 background-color: #d9d8d1;
265 }
266
267 tr.header td {
268 vertical-align: center;
269 }
270
271 /* currently both use the same, but it can change */
272 tr.light:hover,
273 tr.dark:hover {
274 background-color: #edece6;
275 }
276
277 /* boundary commits in 'blame' view */
278 /* and commits without "previous" */
279 tr.boundary td.sha1,
280 tr.no-previous td.linenr {
281 font-weight: bold;
282 }
283
284 /* for 'blame_incremental', during processing */
285 tr.color1 { background-color: #f6fff6; }
286 tr.color2 { background-color: #f6f6ff; }
287 tr.color3 { background-color: #fff6f6; }
288
289 td {
290 padding: 2px 5px;
291 font-size: 100%;
292 vertical-align: top;
293 }
294
295 td.link, td.selflink {
296 padding: 2px 5px;
297 font-family: sans-serif;
298 font-size: 70%;
299 }
300
301 td.selflink {
302 padding-right: 0px;
303 }
304
305 td.sha1 {
306 font-family: monospace;
307 }
308
309 .error {
310 color: red;
311 background-color: yellow;
312 }
313
314 td.current_head {
315 text-decoration: underline;
316 }
317
318 table.diff_tree span.file_status.new {
319 color: #008000;
320 }
321
322 table.diff_tree span.file_status.deleted {
323 color: #c00000;
324 }
325
326 table.diff_tree span.file_status.moved,
327 table.diff_tree span.file_status.mode_chnge {
328 color: #777777;
329 }
330
331 table.diff_tree span.file_status.copied {
332 color: #70a070;
333 }
334
335 /* noage: "No commits" */
336 .noage {
337 color: #808080;
338 font-style: italic;
339 }
340
341 /* age2: 60*60*24*2 <= age */
342 .age2 {
343 font-style: italic;
344 }
345
346 /* age1: 60*60*2 <= age < 60*60*24*2 */
347 .age1 {
348 color: #009900;
349 background: transparent;
350 }
351
352 /* age0: age < 60*60*2 */
353
354 .age0 {
355 color: #009900;
356 background: transparent;
357 font-weight: bold;
358 }
359
360 td.pre, div.pre, div.diff {
361 font-family: monospace;
362 font-size: 12px;
363 white-space: pre;
364 }
365
366 td.mode {
367 font-family: monospace;
368 }
369
370 /* progress of blame_interactive */
371 div#progress_bar {
372 height: 2px;
373 margin-bottom: -2px;
374 background-color: #d8d9d0;
375 }
376 div#progress_info {
377 float: right;
378 text-align: right;
379 }
380
381 /* format of (optional) objects size in 'tree' view */
382 td.size {
383 font-family: monospace;
384 text-align: right;
385 }
386
387 /* styling of diffs (patchsets): commitdiff and blobdiff views */
388 div.diff.header,
389 div.diff.extended_header {
390 white-space: normal;
391 }
392
393 div.diff.header {
394 font-weight: bold;
395
396 background-color: #edece6;
397
398 margin-top: 4px;
399 padding: 4px 0px 2px 0px;
400 border: solid #d9d8d1;
401 border-width: 1px 0px 1px 0px;
402 }
403
404 div.diff.header a.path {
405 text-decoration: underline;
406 }
407
408 div.diff.extended_header,
409 div.diff.extended_header a.path,
410 div.diff.extended_header a.hash {
411 color: #777777;
412 }
413
414 div.diff.extended_header .info {
415 color: #b0b0b0;
416 }
417
418 div.diff.extended_header {
419 background-color: #f6f5ee;
420 padding: 2px 0px 2px 0px;
421 }
422
423 div.diff a.list,
424 div.diff a.path,
425 div.diff a.hash {
426 text-decoration: none;
427 }
428
429 div.diff a.list:hover,
430 div.diff a.path:hover,
431 div.diff a.hash:hover {
432 text-decoration: underline;
433 }
434
435 div.diff.to_file a.path,
436 div.diff.to_file {
437 color: #000000;
438 }
439
440 div.diff.from_file a.path,
441 div.diff.from_file {
442 color: #000000;
443 }
444 .rem ,
445 .from_file {
446 background: #ffdddd;
447 }
448 .add ,
449 .to_file{
450 background: #ddffdd;
451 }
452
453 div.diff.chunk_header a,
454 div.diff.chunk_header {
455 color: #990099;
456 }
457
458 div.diff.chunk_header {
459 border: dotted #ffe0ff;
460 border-width: 1px 0px 0px 0px;
461 margin-top: 2px;
462 }
463
464 div.diff.chunk_header span.chunk_info {
465 background-color: #ffeeff;
466 }
467
468 div.diff.chunk_header span.section {
469 color: #aa22aa;
470 }
471
472 div.diff.incomplete {
473 color: #cccccc;
474 }
475
476 div.diff.nodifferences {
477 font-weight: bold;
478 color: #600000;
479 }
480
481 div.index_include {
482 border: solid #d9d8d1;
483 border-width: 0px 0px 1px;
484 padding: 12px 8px;
485 }
486
487 div.search {
488 font-size: 100%;
489 font-weight: normal;
490 margin: 4px 8px;
491 float: right;
492 top: 56px;
493 right: 12px
494 }
495
496 p.projsearch {
497 text-align: center;
498 }
499
500 td.linenr {
501 text-align: right;
502 }
503
504 a.linenr {
505 color: #999999;
506 text-decoration: none
507 }
508
509 a.rss_logo {
510 float: right;
511 padding: 3px 0px;
512 width: 35px;
513 line-height: 10px;
514 border: 1px solid;
515 border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
516 color: #ffffff;
517 background-color: #ff6600;
518 font-weight: bold;
519 font-family: sans-serif;
520 font-size: 70%;
521 text-align: center;
522 text-decoration: none;
523 }
524
525 a.rss_logo:hover {
526 background-color: #ee5500;
527 }
528
529 a.rss_logo.generic {
530 background-color: #ff8800;
531 }
532
533 a.rss_logo.generic:hover {
534 background-color: #ee7700;
535 }
536
537 span.refs span {
538 padding: 0px 4px;
539 font-size: 70%;
540 font-weight: normal;
541 border: 1px solid;
542 background-color: #ffaaff;
543 border-color: #ffccff #ff00ee #ff00ee #ffccff;
544 }
545
546 span.refs span a {
547 text-decoration: none;
548 color: inherit;
549 }
550
551 span.refs span a:hover {
552 text-decoration: underline;
553 }
554
555 span.refs span.indirect {
556 font-style: italic;
557 }
558
559 span.refs span.ref {
560 background-color: #aaaaff;
561 border-color: #ccccff #0033cc #0033cc #ccccff;
562 }
563
564 span.refs span.tag {
565 background-color: #ffffaa;
566 border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
567 }
568
569 span.refs span.head {
570 background-color: #aaffaa;
571 border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
572 }
573
574 span.atnight {
575 color: #cc0000;
576 }
577
578 span.match {
579 color: #e00000;
580 }
581
582 div.binary {
583 font-style: italic;
584 }
585
586 /* Style definition generated by highlight 2.4.5, http://www.andre-simon.de/ */
587
588 /* Highlighting theme definition: */
589
590 .num { color:#2928ff; }
591 .esc { color:#ff00ff; }
592 .str { color:#ff0000; }
593 .dstr { color:#818100; }
594 .slc { color:#838183; font-style:italic; }
595 .com { color:#838183; font-style:italic; }
596 .dir { color:#008200; }
597 .sym { color:#000000; }
598 .line { color:#555555; }
599 .kwa { color:#000000; font-weight:bold; }
600 .kwb { color:#830000; }
601 .kwc { color:#000000; font-weight:bold; }
602 .kwd { color:#010181; }