diff options
Diffstat (limited to 'cgit.css')
| -rw-r--r-- | cgit.css | 148 | 
1 files changed, 145 insertions, 3 deletions
| @@ -64,7 +64,7 @@ table#header td.sub { | |||
| 64 | } | 64 | } | 
| 65 | 65 | ||
| 66 | table.tabs { | 66 | table.tabs { | 
| 67 | /* border-bottom: solid 2px #ccc; */ | 67 | border-bottom: solid 3px #ccc; | 
| 68 | border-collapse: collapse; | 68 | border-collapse: collapse; | 
| 69 | margin-top: 2em; | 69 | margin-top: 2em; | 
| 70 | margin-bottom: 0px; | 70 | margin-bottom: 0px; | 
| @@ -102,10 +102,16 @@ table.tabs td.form select { | |||
| 102 | font-size: 90%; | 102 | font-size: 90%; | 
| 103 | } | 103 | } | 
| 104 | 104 | ||
| 105 | div.path { | ||
| 106 | margin: 0px; | ||
| 107 | padding: 5px 2em 2px 2em; | ||
| 108 | color: #000; | ||
| 109 | background-color: #eee; | ||
| 110 | } | ||
| 111 | |||
| 105 | div.content { | 112 | div.content { | 
| 106 | margin: 0px; | 113 | margin: 0px; | 
| 107 | padding: 2em; | 114 | padding: 2em; | 
| 108 | border-top: solid 3px #ccc; | ||
| 109 | border-bottom: solid 3px #ccc; | 115 | border-bottom: solid 3px #ccc; | 
| 110 | } | 116 | } | 
| 111 | 117 | ||
| @@ -158,10 +164,26 @@ table.list td.logmsg { | |||
| 158 | padding: 1em 0.5em 2em 0.5em; | 164 | padding: 1em 0.5em 2em 0.5em; | 
| 159 | } | 165 | } | 
| 160 | 166 | ||
| 167 | table.list td.lognotes-label { | ||
| 168 | text-align:right; | ||
| 169 | vertical-align:top; | ||
| 170 | } | ||
| 171 | |||
| 172 | table.list td.lognotes { | ||
| 173 | font-family: monospace; | ||
| 174 | white-space: pre; | ||
| 175 | padding: 0em 0.5em 2em 0.5em; | ||
| 176 | } | ||
| 177 | |||
| 161 | table.list td a { | 178 | table.list td a { | 
| 162 | color: black; | 179 | color: black; | 
| 163 | } | 180 | } | 
| 164 | 181 | ||
| 182 | table.list td a.ls-dir { | ||
| 183 | font-weight: bold; | ||
| 184 | color: #00f; | ||
| 185 | } | ||
| 186 | |||
| 165 | table.list td a:hover { | 187 | table.list td a:hover { | 
| 166 | color: #00f; | 188 | color: #00f; | 
| 167 | } | 189 | } | 
| @@ -315,6 +337,24 @@ div.commit-msg { | |||
| 315 | font-family: monospace; | 337 | font-family: monospace; | 
| 316 | } | 338 | } | 
| 317 | 339 | ||
| 340 | div.notes-header { | ||
| 341 | font-weight: bold; | ||
| 342 | padding-top: 1.5em; | ||
| 343 | } | ||
| 344 | |||
| 345 | div.notes { | ||
| 346 | white-space: pre; | ||
| 347 | font-family: monospace; | ||
| 348 | border: solid 1px #ee9; | ||
| 349 | background-color: #ffd; | ||
| 350 | padding: 0.3em 2em 0.3em 1em; | ||
| 351 | float: left; | ||
| 352 | } | ||
| 353 | |||
| 354 | div.notes-footer { | ||
| 355 | clear: left; | ||
| 356 | } | ||
| 357 | |||
| 318 | div.diffstat-header { | 358 | div.diffstat-header { | 
| 319 | font-weight: bold; | 359 | font-weight: bold; | 
| 320 | padding-top: 1.5em; | 360 | padding-top: 1.5em; | 
| @@ -520,7 +560,10 @@ a.deco { | |||
| 520 | border: solid 1px #770000; | 560 | border: solid 1px #770000; | 
| 521 | } | 561 | } | 
| 522 | 562 | ||
| 523 | div.commit-subject a { | 563 | div.commit-subject a.branch-deco, | 
| 564 | div.commit-subject a.tag-deco, | ||
| 565 | div.commit-subject a.remote-deco, | ||
| 566 | div.commit-subject a.deco { | ||
| 524 | margin-left: 1em; | 567 | margin-left: 1em; | 
| 525 | font-size: 75%; | 568 | font-size: 75%; | 
| 526 | } | 569 | } | 
| @@ -601,3 +644,102 @@ table.hgraph div.bar { | |||
| 601 | background-color: #eee; | 644 | background-color: #eee; | 
| 602 | height: 1em; | 645 | height: 1em; | 
| 603 | } | 646 | } | 
| 647 | |||
| 648 | table.ssdiff { | ||
| 649 | width: 100%; | ||
| 650 | } | ||
| 651 | |||
| 652 | table.ssdiff td { | ||
| 653 | font-size: 75%; | ||
| 654 | font-family: monospace; | ||
| 655 | white-space: pre; | ||
| 656 | padding: 1px 4px 1px 4px; | ||
| 657 | border-left: solid 1px #aaa; | ||
| 658 | border-right: solid 1px #aaa; | ||
| 659 | } | ||
| 660 | |||
| 661 | table.ssdiff td.add { | ||
| 662 | color: black; | ||
| 663 | background: #cfc; | ||
| 664 | min-width: 50%; | ||
| 665 | } | ||
| 666 | |||
| 667 | table.ssdiff td.add_dark { | ||
| 668 | color: black; | ||
| 669 | background: #aca; | ||
| 670 | min-width: 50%; | ||
| 671 | } | ||
| 672 | |||
| 673 | table.ssdiff span.add { | ||
| 674 | background: #cfc; | ||
| 675 | font-weight: bold; | ||
| 676 | } | ||
| 677 | |||
| 678 | table.ssdiff td.del { | ||
| 679 | color: black; | ||
| 680 | background: #fcc; | ||
| 681 | min-width: 50%; | ||
| 682 | } | ||
| 683 | |||
| 684 | table.ssdiff td.del_dark { | ||
| 685 | color: black; | ||
| 686 | background: #caa; | ||
| 687 | min-width: 50%; | ||
| 688 | } | ||
| 689 | |||
| 690 | table.ssdiff span.del { | ||
| 691 | background: #fcc; | ||
| 692 | font-weight: bold; | ||
| 693 | } | ||
| 694 | |||
| 695 | table.ssdiff td.changed { | ||
| 696 | color: black; | ||
| 697 | background: #ffc; | ||
| 698 | min-width: 50%; | ||
| 699 | } | ||
| 700 | |||
| 701 | table.ssdiff td.changed_dark { | ||
| 702 | color: black; | ||
| 703 | background: #cca; | ||
| 704 | min-width: 50%; | ||
| 705 | } | ||
| 706 | |||
| 707 | table.ssdiff td.lineno { | ||
| 708 | color: black; | ||
| 709 | background: #eee; | ||
| 710 | text-align: right; | ||
| 711 | width: 3em; | ||
| 712 | min-width: 3em; | ||
| 713 | } | ||
| 714 | |||
| 715 | table.ssdiff td.hunk { | ||
| 716 | color: #black; | ||
| 717 | background: #ccf; | ||
| 718 | border-top: solid 1px #aaa; | ||
| 719 | border-bottom: solid 1px #aaa; | ||
| 720 | } | ||
| 721 | |||
| 722 | table.ssdiff td.head { | ||
| 723 | border-top: solid 1px #aaa; | ||
| 724 | border-bottom: solid 1px #aaa; | ||
| 725 | } | ||
| 726 | |||
| 727 | table.ssdiff td.head div.head { | ||
| 728 | font-weight: bold; | ||
| 729 | color: black; | ||
| 730 | } | ||
| 731 | |||
| 732 | table.ssdiff td.foot { | ||
| 733 | border-top: solid 1px #aaa; | ||
| 734 | border-left: none; | ||
| 735 | border-right: none; | ||
| 736 | border-bottom: none; | ||
| 737 | } | ||
| 738 | |||
| 739 | table.ssdiff td.space { | ||
| 740 | border: none; | ||
| 741 | } | ||
| 742 | |||
| 743 | table.ssdiff td.space div { | ||
| 744 | min-height: 3em; | ||
| 745 | } \ No newline at end of file | ||
