Unidiff1 files changed, 99 insertions, 0 deletions
|
diff --git a/cgit.css b/cgit.css index ef7d3c1..0cb894a 100644 --- a/ cgit.css+++ b/ cgit.css |
|
@@ -597,12 +597,111 @@ table.hgraph th { |
597 | padding: 1px 0.5em; |
597 | padding: 1px 0.5em; |
598 | } |
598 | } |
599 | |
599 | |
600 | table.hgraph td { |
600 | table.hgraph td { |
601 | vertical-align: center; |
601 | vertical-align: center; |
602 | padding: 2px 2px; |
602 | padding: 2px 2px; |
603 | } |
603 | } |
604 | |
604 | |
605 | table.hgraph div.bar { |
605 | table.hgraph div.bar { |
606 | background-color: #eee; |
606 | background-color: #eee; |
607 | height: 1em; |
607 | height: 1em; |
608 | } |
608 | } |
| |
609 | |
| |
610 | table.ssdiff { |
| |
611 | width: 100%; |
| |
612 | } |
| |
613 | |
| |
614 | table.ssdiff td { |
| |
615 | font-size: 75%; |
| |
616 | font-family: monospace; |
| |
617 | white-space: pre; |
| |
618 | padding: 1px 4px 1px 4px; |
| |
619 | border-left: solid 1px #aaa; |
| |
620 | border-right: solid 1px #aaa; |
| |
621 | } |
| |
622 | |
| |
623 | table.ssdiff td.add { |
| |
624 | color: black; |
| |
625 | background: #cfc; |
| |
626 | min-width: 50%; |
| |
627 | } |
| |
628 | |
| |
629 | table.ssdiff td.add_dark { |
| |
630 | color: black; |
| |
631 | background: #aca; |
| |
632 | min-width: 50%; |
| |
633 | } |
| |
634 | |
| |
635 | table.ssdiff span.add { |
| |
636 | background: #cfc; |
| |
637 | font-weight: bold; |
| |
638 | } |
| |
639 | |
| |
640 | table.ssdiff td.del { |
| |
641 | color: black; |
| |
642 | background: #fcc; |
| |
643 | min-width: 50%; |
| |
644 | } |
| |
645 | |
| |
646 | table.ssdiff td.del_dark { |
| |
647 | color: black; |
| |
648 | background: #caa; |
| |
649 | min-width: 50%; |
| |
650 | } |
| |
651 | |
| |
652 | table.ssdiff span.del { |
| |
653 | background: #fcc; |
| |
654 | font-weight: bold; |
| |
655 | } |
| |
656 | |
| |
657 | table.ssdiff td.changed { |
| |
658 | color: black; |
| |
659 | background: #ffc; |
| |
660 | min-width: 50%; |
| |
661 | } |
| |
662 | |
| |
663 | table.ssdiff td.changed_dark { |
| |
664 | color: black; |
| |
665 | background: #cca; |
| |
666 | min-width: 50%; |
| |
667 | } |
| |
668 | |
| |
669 | table.ssdiff td.lineno { |
| |
670 | color: black; |
| |
671 | background: #eee; |
| |
672 | text-align: right; |
| |
673 | width: 3em; |
| |
674 | min-width: 3em; |
| |
675 | } |
| |
676 | |
| |
677 | table.ssdiff td.hunk { |
| |
678 | color: #black; |
| |
679 | background: #ccf; |
| |
680 | border-top: solid 1px #aaa; |
| |
681 | border-bottom: solid 1px #aaa; |
| |
682 | } |
| |
683 | |
| |
684 | table.ssdiff td.head { |
| |
685 | border-top: solid 1px #aaa; |
| |
686 | border-bottom: solid 1px #aaa; |
| |
687 | } |
| |
688 | |
| |
689 | table.ssdiff td.head div.head { |
| |
690 | font-weight: bold; |
| |
691 | color: black; |
| |
692 | } |
| |
693 | |
| |
694 | table.ssdiff td.foot { |
| |
695 | border-top: solid 1px #aaa; |
| |
696 | border-left: none; |
| |
697 | border-right: none; |
| |
698 | border-bottom: none; |
| |
699 | } |
| |
700 | |
| |
701 | table.ssdiff td.space { |
| |
702 | border: none; |
| |
703 | } |
| |
704 | |
| |
705 | table.ssdiff td.space div { |
| |
706 | min-height: 3em; |
| |
707 | }
\ No newline at end of file |
|