|
diff --git a/cgit.css b/cgit.css index 0c88b65..a2a685b 100644 --- a/ cgit.css+++ b/ cgit.css |
|
@@ -361,385 +361,399 @@ div.diffstat-header { |
361 | } |
361 | } |
362 | |
362 | |
363 | table.diffstat { |
363 | table.diffstat { |
364 | border-collapse: collapse; |
364 | border-collapse: collapse; |
365 | border: solid 1px #aaa; |
365 | border: solid 1px #aaa; |
366 | background-color: #eee; |
366 | background-color: #eee; |
367 | } |
367 | } |
368 | |
368 | |
369 | table.diffstat th { |
369 | table.diffstat th { |
370 | font-weight: normal; |
370 | font-weight: normal; |
371 | text-align: left; |
371 | text-align: left; |
372 | text-decoration: underline; |
372 | text-decoration: underline; |
373 | padding: 0.1em 1em 0.1em 0.1em; |
373 | padding: 0.1em 1em 0.1em 0.1em; |
374 | font-size: 100%; |
374 | font-size: 100%; |
375 | } |
375 | } |
376 | |
376 | |
377 | table.diffstat td { |
377 | table.diffstat td { |
378 | padding: 0.2em 0.2em 0.1em 0.1em; |
378 | padding: 0.2em 0.2em 0.1em 0.1em; |
379 | font-size: 100%; |
379 | font-size: 100%; |
380 | border: none; |
380 | border: none; |
381 | } |
381 | } |
382 | |
382 | |
383 | table.diffstat td.mode { |
383 | table.diffstat td.mode { |
384 | white-space: nowrap; |
384 | white-space: nowrap; |
385 | } |
385 | } |
386 | |
386 | |
387 | table.diffstat td span.modechange { |
387 | table.diffstat td span.modechange { |
388 | padding-left: 1em; |
388 | padding-left: 1em; |
389 | color: red; |
389 | color: red; |
390 | } |
390 | } |
391 | |
391 | |
392 | table.diffstat td.add a { |
392 | table.diffstat td.add a { |
393 | color: green; |
393 | color: green; |
394 | } |
394 | } |
395 | |
395 | |
396 | table.diffstat td.del a { |
396 | table.diffstat td.del a { |
397 | color: red; |
397 | color: red; |
398 | } |
398 | } |
399 | |
399 | |
400 | table.diffstat td.upd a { |
400 | table.diffstat td.upd a { |
401 | color: blue; |
401 | color: blue; |
402 | } |
402 | } |
403 | |
403 | |
404 | table.diffstat td.graph { |
404 | table.diffstat td.graph { |
405 | width: 500px; |
405 | width: 500px; |
406 | vertical-align: middle; |
406 | vertical-align: middle; |
407 | } |
407 | } |
408 | |
408 | |
409 | table.diffstat td.graph table { |
409 | table.diffstat td.graph table { |
410 | border: none; |
410 | border: none; |
411 | } |
411 | } |
412 | |
412 | |
413 | table.diffstat td.graph td { |
413 | table.diffstat td.graph td { |
414 | padding: 0px; |
414 | padding: 0px; |
415 | border: 0px; |
415 | border: 0px; |
416 | height: 7pt; |
416 | height: 7pt; |
417 | } |
417 | } |
418 | |
418 | |
419 | table.diffstat td.graph td.add { |
419 | table.diffstat td.graph td.add { |
420 | background-color: #5c5; |
420 | background-color: #5c5; |
421 | } |
421 | } |
422 | |
422 | |
423 | table.diffstat td.graph td.rem { |
423 | table.diffstat td.graph td.rem { |
424 | background-color: #c55; |
424 | background-color: #c55; |
425 | } |
425 | } |
426 | |
426 | |
427 | div.diffstat-summary { |
427 | div.diffstat-summary { |
428 | color: #888; |
428 | color: #888; |
429 | padding-top: 0.5em; |
429 | padding-top: 0.5em; |
430 | } |
430 | } |
431 | |
431 | |
432 | table.diff { |
432 | table.diff { |
433 | width: 100%; |
433 | width: 100%; |
434 | } |
434 | } |
435 | |
435 | |
436 | table.diff td { |
436 | table.diff td { |
437 | font-family: monospace; |
437 | font-family: monospace; |
438 | white-space: pre; |
438 | white-space: pre; |
439 | } |
439 | } |
440 | |
440 | |
441 | table.diff td div.head { |
441 | table.diff td div.head { |
442 | font-weight: bold; |
442 | font-weight: bold; |
443 | margin-top: 1em; |
443 | margin-top: 1em; |
444 | color: black; |
444 | color: black; |
445 | } |
445 | } |
446 | |
446 | |
447 | table.diff td div.hunk { |
447 | table.diff td div.hunk { |
448 | color: #009; |
448 | color: #009; |
449 | } |
449 | } |
450 | |
450 | |
451 | table.diff td div.add { |
451 | table.diff td div.add { |
452 | color: green; |
452 | color: green; |
453 | } |
453 | } |
454 | |
454 | |
455 | table.diff td div.del { |
455 | table.diff td div.del { |
456 | color: red; |
456 | color: red; |
457 | } |
457 | } |
458 | |
458 | |
459 | .sha1 { |
459 | .sha1 { |
460 | font-family: monospace; |
460 | font-family: monospace; |
461 | font-size: 90%; |
461 | font-size: 90%; |
462 | } |
462 | } |
463 | |
463 | |
464 | .left { |
464 | .left { |
465 | text-align: left; |
465 | text-align: left; |
466 | } |
466 | } |
467 | |
467 | |
468 | .right { |
468 | .right { |
469 | text-align: right; |
469 | text-align: right; |
470 | } |
470 | } |
471 | |
471 | |
472 | table.list td.reposection { |
472 | table.list td.reposection { |
473 | font-style: italic; |
473 | font-style: italic; |
474 | color: #888; |
474 | color: #888; |
475 | } |
475 | } |
476 | |
476 | |
477 | a.button { |
477 | a.button { |
478 | font-size: 80%; |
478 | font-size: 80%; |
479 | padding: 0em 0.5em; |
479 | padding: 0em 0.5em; |
480 | } |
480 | } |
481 | |
481 | |
482 | a.primary { |
482 | a.primary { |
483 | font-size: 100%; |
483 | font-size: 100%; |
484 | } |
484 | } |
485 | |
485 | |
486 | a.secondary { |
486 | a.secondary { |
487 | font-size: 90%; |
487 | font-size: 90%; |
488 | } |
488 | } |
489 | |
489 | |
490 | td.toplevel-repo { |
490 | td.toplevel-repo { |
491 | |
491 | |
492 | } |
492 | } |
493 | |
493 | |
494 | table.list td.sublevel-repo { |
494 | table.list td.sublevel-repo { |
495 | padding-left: 1.5em; |
495 | padding-left: 1.5em; |
496 | } |
496 | } |
497 | |
497 | |
498 | div.pager { |
498 | div.pager { |
499 | text-align: center; |
499 | text-align: center; |
500 | margin: 1em 0em 0em 0em; |
500 | margin: 1em 0em 0em 0em; |
501 | } |
501 | } |
502 | |
502 | |
503 | div.pager a { |
503 | div.pager a { |
504 | color: #777; |
504 | color: #777; |
505 | margin: 0em 0.5em; |
505 | margin: 0em 0.5em; |
506 | } |
506 | } |
507 | |
507 | |
508 | span.age-mins { |
508 | span.age-mins { |
509 | font-weight: bold; |
509 | font-weight: bold; |
510 | color: #080; |
510 | color: #080; |
511 | } |
511 | } |
512 | |
512 | |
513 | span.age-hours { |
513 | span.age-hours { |
514 | color: #080; |
514 | color: #080; |
515 | } |
515 | } |
516 | |
516 | |
517 | span.age-days { |
517 | span.age-days { |
518 | color: #040; |
518 | color: #040; |
519 | } |
519 | } |
520 | |
520 | |
521 | span.age-weeks { |
521 | span.age-weeks { |
522 | color: #444; |
522 | color: #444; |
523 | } |
523 | } |
524 | |
524 | |
525 | span.age-months { |
525 | span.age-months { |
526 | color: #888; |
526 | color: #888; |
527 | } |
527 | } |
528 | |
528 | |
529 | span.age-years { |
529 | span.age-years { |
530 | color: #bbb; |
530 | color: #bbb; |
531 | } |
531 | } |
532 | div.footer { |
532 | div.footer { |
533 | margin-top: 0.5em; |
533 | margin-top: 0.5em; |
534 | text-align: center; |
534 | text-align: center; |
535 | font-size: 80%; |
535 | font-size: 80%; |
536 | color: #ccc; |
536 | color: #ccc; |
537 | } |
537 | } |
538 | a.branch-deco { |
538 | a.branch-deco { |
539 | margin: 0px 0.5em; |
539 | margin: 0px 0.5em; |
540 | padding: 0px 0.25em; |
540 | padding: 0px 0.25em; |
541 | background-color: #88ff88; |
541 | background-color: #88ff88; |
542 | border: solid 1px #007700; |
542 | border: solid 1px #007700; |
543 | } |
543 | } |
544 | a.tag-deco { |
544 | a.tag-deco { |
545 | margin: 0px 0.5em; |
545 | margin: 0px 0.5em; |
546 | padding: 0px 0.25em; |
546 | padding: 0px 0.25em; |
547 | background-color: #ffff88; |
547 | background-color: #ffff88; |
548 | border: solid 1px #777700; |
548 | border: solid 1px #777700; |
549 | } |
549 | } |
550 | a.remote-deco { |
550 | a.remote-deco { |
551 | margin: 0px 0.5em; |
551 | margin: 0px 0.5em; |
552 | padding: 0px 0.25em; |
552 | padding: 0px 0.25em; |
553 | background-color: #ccccff; |
553 | background-color: #ccccff; |
554 | border: solid 1px #000077; |
554 | border: solid 1px #000077; |
555 | } |
555 | } |
556 | a.deco { |
556 | a.deco { |
557 | margin: 0px 0.5em; |
557 | margin: 0px 0.5em; |
558 | padding: 0px 0.25em; |
558 | padding: 0px 0.25em; |
559 | background-color: #ff8888; |
559 | background-color: #ff8888; |
560 | border: solid 1px #770000; |
560 | border: solid 1px #770000; |
561 | } |
561 | } |
562 | |
562 | |
563 | div.commit-subject a.branch-deco, |
563 | div.commit-subject a.branch-deco, |
564 | div.commit-subject a.tag-deco, |
564 | div.commit-subject a.tag-deco, |
565 | div.commit-subject a.remote-deco, |
565 | div.commit-subject a.remote-deco, |
566 | div.commit-subject a.deco { |
566 | div.commit-subject a.deco { |
567 | margin-left: 1em; |
567 | margin-left: 1em; |
568 | font-size: 75%; |
568 | font-size: 75%; |
569 | } |
569 | } |
570 | |
570 | |
571 | table.stats { |
571 | table.stats { |
572 | border: solid 1px black; |
572 | border: solid 1px black; |
573 | border-collapse: collapse; |
573 | border-collapse: collapse; |
574 | } |
574 | } |
575 | |
575 | |
576 | table.stats th { |
576 | table.stats th { |
577 | text-align: left; |
577 | text-align: left; |
578 | padding: 1px 0.5em; |
578 | padding: 1px 0.5em; |
579 | background-color: #eee; |
579 | background-color: #eee; |
580 | border: solid 1px black; |
580 | border: solid 1px black; |
581 | } |
581 | } |
582 | |
582 | |
583 | table.stats td { |
583 | table.stats td { |
584 | text-align: right; |
584 | text-align: right; |
585 | padding: 1px 0.5em; |
585 | padding: 1px 0.5em; |
586 | border: solid 1px black; |
586 | border: solid 1px black; |
587 | } |
587 | } |
588 | |
588 | |
589 | table.stats td.total { |
589 | table.stats td.total { |
590 | font-weight: bold; |
590 | font-weight: bold; |
591 | text-align: left; |
591 | text-align: left; |
592 | } |
592 | } |
593 | |
593 | |
594 | table.stats td.sum { |
594 | table.stats td.sum { |
595 | color: #c00; |
595 | color: #c00; |
596 | font-weight: bold; |
596 | font-weight: bold; |
597 | /*background-color: #eee; */ |
597 | /*background-color: #eee; */ |
598 | } |
598 | } |
599 | |
599 | |
600 | table.stats td.left { |
600 | table.stats td.left { |
601 | text-align: left; |
601 | text-align: left; |
602 | } |
602 | } |
603 | |
603 | |
604 | table.vgraph { |
604 | table.vgraph { |
605 | border-collapse: separate; |
605 | border-collapse: separate; |
606 | border: solid 1px black; |
606 | border: solid 1px black; |
607 | height: 200px; |
607 | height: 200px; |
608 | } |
608 | } |
609 | |
609 | |
610 | table.vgraph th { |
610 | table.vgraph th { |
611 | background-color: #eee; |
611 | background-color: #eee; |
612 | font-weight: bold; |
612 | font-weight: bold; |
613 | border: solid 1px white; |
613 | border: solid 1px white; |
614 | padding: 1px 0.5em; |
614 | padding: 1px 0.5em; |
615 | } |
615 | } |
616 | |
616 | |
617 | table.vgraph td { |
617 | table.vgraph td { |
618 | vertical-align: bottom; |
618 | vertical-align: bottom; |
619 | padding: 0px 10px; |
619 | padding: 0px 10px; |
620 | } |
620 | } |
621 | |
621 | |
622 | table.vgraph div.bar { |
622 | table.vgraph div.bar { |
623 | background-color: #eee; |
623 | background-color: #eee; |
624 | } |
624 | } |
625 | |
625 | |
626 | table.hgraph { |
626 | table.hgraph { |
627 | border: solid 1px black; |
627 | border: solid 1px black; |
628 | width: 800px; |
628 | width: 800px; |
629 | } |
629 | } |
630 | |
630 | |
631 | table.hgraph th { |
631 | table.hgraph th { |
632 | background-color: #eee; |
632 | background-color: #eee; |
633 | font-weight: bold; |
633 | font-weight: bold; |
634 | border: solid 1px black; |
634 | border: solid 1px black; |
635 | padding: 1px 0.5em; |
635 | padding: 1px 0.5em; |
636 | } |
636 | } |
637 | |
637 | |
638 | table.hgraph td { |
638 | table.hgraph td { |
639 | vertical-align: center; |
639 | vertical-align: center; |
640 | padding: 2px 2px; |
640 | padding: 2px 2px; |
641 | } |
641 | } |
642 | |
642 | |
643 | table.hgraph div.bar { |
643 | table.hgraph div.bar { |
644 | background-color: #eee; |
644 | background-color: #eee; |
645 | height: 1em; |
645 | height: 1em; |
646 | } |
646 | } |
647 | |
647 | |
648 | table.ssdiff { |
648 | table.ssdiff { |
649 | width: 100%; |
649 | width: 100%; |
650 | } |
650 | } |
651 | |
651 | |
652 | table.ssdiff td { |
652 | table.ssdiff td { |
653 | font-size: 75%; |
653 | font-size: 75%; |
654 | font-family: monospace; |
654 | font-family: monospace; |
655 | white-space: pre; |
655 | white-space: pre; |
656 | padding: 1px 4px 1px 4px; |
656 | padding: 1px 4px 1px 4px; |
657 | border-left: solid 1px #aaa; |
657 | border-left: solid 1px #aaa; |
658 | border-right: solid 1px #aaa; |
658 | border-right: solid 1px #aaa; |
659 | } |
659 | } |
660 | |
660 | |
661 | table.ssdiff td.add { |
661 | table.ssdiff td.add { |
662 | color: black; |
662 | color: black; |
663 | background: #cfc; |
663 | background: #cfc; |
664 | min-width: 50%; |
664 | min-width: 50%; |
665 | } |
665 | } |
666 | |
666 | |
667 | table.ssdiff td.add_dark { |
667 | table.ssdiff td.add_dark { |
668 | color: black; |
668 | color: black; |
669 | background: #aca; |
669 | background: #aca; |
670 | min-width: 50%; |
670 | min-width: 50%; |
671 | } |
671 | } |
672 | |
672 | |
673 | table.ssdiff span.add { |
673 | table.ssdiff span.add { |
674 | background: #cfc; |
674 | background: #cfc; |
675 | font-weight: bold; |
675 | font-weight: bold; |
676 | } |
676 | } |
677 | |
677 | |
678 | table.ssdiff td.del { |
678 | table.ssdiff td.del { |
679 | color: black; |
679 | color: black; |
680 | background: #fcc; |
680 | background: #fcc; |
681 | min-width: 50%; |
681 | min-width: 50%; |
682 | } |
682 | } |
683 | |
683 | |
684 | table.ssdiff td.del_dark { |
684 | table.ssdiff td.del_dark { |
685 | color: black; |
685 | color: black; |
686 | background: #caa; |
686 | background: #caa; |
687 | min-width: 50%; |
687 | min-width: 50%; |
688 | } |
688 | } |
689 | |
689 | |
690 | table.ssdiff span.del { |
690 | table.ssdiff span.del { |
691 | background: #fcc; |
691 | background: #fcc; |
692 | font-weight: bold; |
692 | font-weight: bold; |
693 | } |
693 | } |
694 | |
694 | |
695 | table.ssdiff td.changed { |
695 | table.ssdiff td.changed { |
696 | color: black; |
696 | color: black; |
697 | background: #ffc; |
697 | background: #ffc; |
698 | min-width: 50%; |
698 | min-width: 50%; |
699 | } |
699 | } |
700 | |
700 | |
701 | table.ssdiff td.changed_dark { |
701 | table.ssdiff td.changed_dark { |
702 | color: black; |
702 | color: black; |
703 | background: #cca; |
703 | background: #cca; |
704 | min-width: 50%; |
704 | min-width: 50%; |
705 | } |
705 | } |
706 | |
706 | |
707 | table.ssdiff td.lineno { |
707 | table.ssdiff td.lineno { |
708 | color: black; |
708 | color: black; |
709 | background: #eee; |
709 | background: #eee; |
710 | text-align: right; |
710 | text-align: right; |
711 | width: 3em; |
711 | width: 3em; |
712 | min-width: 3em; |
712 | min-width: 3em; |
713 | } |
713 | } |
714 | |
714 | |
715 | table.ssdiff td.hunk { |
715 | table.ssdiff td.hunk { |
716 | color: #black; |
716 | color: #black; |
717 | background: #ccf; |
717 | background: #ccf; |
718 | border-top: solid 1px #aaa; |
718 | border-top: solid 1px #aaa; |
719 | border-bottom: solid 1px #aaa; |
719 | border-bottom: solid 1px #aaa; |
720 | } |
720 | } |
721 | |
721 | |
722 | table.ssdiff td.head { |
722 | table.ssdiff td.head { |
723 | border-top: solid 1px #aaa; |
723 | border-top: solid 1px #aaa; |
724 | border-bottom: solid 1px #aaa; |
724 | border-bottom: solid 1px #aaa; |
725 | } |
725 | } |
726 | |
726 | |
727 | table.ssdiff td.head div.head { |
727 | table.ssdiff td.head div.head { |
728 | font-weight: bold; |
728 | font-weight: bold; |
729 | color: black; |
729 | color: black; |
730 | } |
730 | } |
731 | |
731 | |
732 | table.ssdiff td.foot { |
732 | table.ssdiff td.foot { |
733 | border-top: solid 1px #aaa; |
733 | border-top: solid 1px #aaa; |
734 | border-left: none; |
734 | border-left: none; |
735 | border-right: none; |
735 | border-right: none; |
736 | border-bottom: none; |
736 | border-bottom: none; |
737 | } |
737 | } |
738 | |
738 | |
739 | table.ssdiff td.space { |
739 | table.ssdiff td.space { |
740 | border: none; |
740 | border: none; |
741 | } |
741 | } |
742 | |
742 | |
743 | table.ssdiff td.space div { |
743 | table.ssdiff td.space div { |
744 | min-height: 3em; |
744 | min-height: 3em; |
745 | }
\ No newline at end of file |
745 | } |
| |
746 | |
| |
747 | /* Syntax highlighting */ |
| |
748 | table.blob .num { color:#2928ff; } |
| |
749 | table.blob .esc { color:#ff00ff; } |
| |
750 | table.blob .str { color:#ff0000; } |
| |
751 | table.blob .dstr { color:#818100; } |
| |
752 | table.blob .slc { color:#838183; font-style:italic; } |
| |
753 | table.blob .com { color:#838183; font-style:italic; } |
| |
754 | table.blob .dir { color:#008200; } |
| |
755 | table.blob .sym { color:#000000; } |
| |
756 | table.blob .kwa { color:#000000; font-weight:bold; } |
| |
757 | table.blob .kwb { color:#830000; } |
| |
758 | table.blob .kwc { color:#000000; font-weight:bold; } |
| |
759 | table.blob .kwd { color:#010181; } |
|