diff options
Diffstat (limited to 'cgit.css')
-rw-r--r-- | cgit.css | 184 |
1 files changed, 179 insertions, 5 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 | ||
@@ -147,6 +153,35 @@ table.list td { | |||
147 | padding: 0.1em 0.5em 0.1em 0.5em; | 153 | padding: 0.1em 0.5em 0.1em 0.5em; |
148 | } | 154 | } |
149 | 155 | ||
156 | table.list td.commitgraph { | ||
157 | font-family: monospace; | ||
158 | white-space: pre; | ||
159 | } | ||
160 | |||
161 | table.list td.commitgraph .column1 { | ||
162 | color: #a00; | ||
163 | } | ||
164 | |||
165 | table.list td.commitgraph .column2 { | ||
166 | color: #0a0; | ||
167 | } | ||
168 | |||
169 | table.list td.commitgraph .column3 { | ||
170 | color: #aa0; | ||
171 | } | ||
172 | |||
173 | table.list td.commitgraph .column4 { | ||
174 | color: #00a; | ||
175 | } | ||
176 | |||
177 | table.list td.commitgraph .column5 { | ||
178 | color: #a0a; | ||
179 | } | ||
180 | |||
181 | table.list td.commitgraph .column6 { | ||
182 | color: #0aa; | ||
183 | } | ||
184 | |||
150 | table.list td.logsubject { | 185 | table.list td.logsubject { |
151 | font-family: monospace; | 186 | font-family: monospace; |
152 | font-weight: bold; | 187 | font-weight: bold; |
@@ -155,13 +190,18 @@ table.list td.logsubject { | |||
155 | table.list td.logmsg { | 190 | table.list td.logmsg { |
156 | font-family: monospace; | 191 | font-family: monospace; |
157 | white-space: pre; | 192 | white-space: pre; |
158 | padding: 1em 0.5em 2em 0.5em; | 193 | padding: 0 0.5em; |
159 | } | 194 | } |
160 | 195 | ||
161 | table.list td a { | 196 | table.list td a { |
162 | color: black; | 197 | color: black; |
163 | } | 198 | } |
164 | 199 | ||
200 | table.list td a.ls-dir { | ||
201 | font-weight: bold; | ||
202 | color: #00f; | ||
203 | } | ||
204 | |||
165 | table.list td a:hover { | 205 | table.list td a:hover { |
166 | color: #00f; | 206 | color: #00f; |
167 | } | 207 | } |
@@ -253,7 +293,7 @@ table.blob pre { | |||
253 | padding: 0; margin: 0; | 293 | padding: 0; margin: 0; |
254 | } | 294 | } |
255 | 295 | ||
256 | table.blob a.no { | 296 | table.blob a.no, table.ssdiff a.no { |
257 | color: gray; | 297 | color: gray; |
258 | text-align: right; | 298 | text-align: right; |
259 | text-decoration: none; | 299 | text-decoration: none; |
@@ -315,6 +355,24 @@ div.commit-msg { | |||
315 | font-family: monospace; | 355 | font-family: monospace; |
316 | } | 356 | } |
317 | 357 | ||
358 | div.notes-header { | ||
359 | font-weight: bold; | ||
360 | padding-top: 1.5em; | ||
361 | } | ||
362 | |||
363 | div.notes { | ||
364 | white-space: pre; | ||
365 | font-family: monospace; | ||
366 | border: solid 1px #ee9; | ||
367 | background-color: #ffd; | ||
368 | padding: 0.3em 2em 0.3em 1em; | ||
369 | float: left; | ||
370 | } | ||
371 | |||
372 | div.notes-footer { | ||
373 | clear: left; | ||
374 | } | ||
375 | |||
318 | div.diffstat-header { | 376 | div.diffstat-header { |
319 | font-weight: bold; | 377 | font-weight: bold; |
320 | padding-top: 1.5em; | 378 | padding-top: 1.5em; |
@@ -520,7 +578,10 @@ a.deco { | |||
520 | border: solid 1px #770000; | 578 | border: solid 1px #770000; |
521 | } | 579 | } |
522 | 580 | ||
523 | div.commit-subject a { | 581 | div.commit-subject a.branch-deco, |
582 | div.commit-subject a.tag-deco, | ||
583 | div.commit-subject a.remote-deco, | ||
584 | div.commit-subject a.deco { | ||
524 | margin-left: 1em; | 585 | margin-left: 1em; |
525 | font-size: 75%; | 586 | font-size: 75%; |
526 | } | 587 | } |
@@ -601,3 +662,116 @@ table.hgraph div.bar { | |||
601 | background-color: #eee; | 662 | background-color: #eee; |
602 | height: 1em; | 663 | height: 1em; |
603 | } | 664 | } |
665 | |||
666 | table.ssdiff { | ||
667 | width: 100%; | ||
668 | } | ||
669 | |||
670 | table.ssdiff td { | ||
671 | font-size: 75%; | ||
672 | font-family: monospace; | ||
673 | white-space: pre; | ||
674 | padding: 1px 4px 1px 4px; | ||
675 | border-left: solid 1px #aaa; | ||
676 | border-right: solid 1px #aaa; | ||
677 | } | ||
678 | |||
679 | table.ssdiff td.add { | ||
680 | color: black; | ||
681 | background: #cfc; | ||
682 | min-width: 50%; | ||
683 | } | ||
684 | |||
685 | table.ssdiff td.add_dark { | ||
686 | color: black; | ||
687 | background: #aca; | ||
688 | min-width: 50%; | ||
689 | } | ||
690 | |||
691 | table.ssdiff span.add { | ||
692 | background: #cfc; | ||
693 | font-weight: bold; | ||
694 | } | ||
695 | |||
696 | table.ssdiff td.del { | ||
697 | color: black; | ||
698 | background: #fcc; | ||
699 | min-width: 50%; | ||
700 | } | ||
701 | |||
702 | table.ssdiff td.del_dark { | ||
703 | color: black; | ||
704 | background: #caa; | ||
705 | min-width: 50%; | ||
706 | } | ||
707 | |||
708 | table.ssdiff span.del { | ||
709 | background: #fcc; | ||
710 | font-weight: bold; | ||
711 | } | ||
712 | |||
713 | table.ssdiff td.changed { | ||
714 | color: black; | ||
715 | background: #ffc; | ||
716 | min-width: 50%; | ||
717 | } | ||
718 | |||
719 | table.ssdiff td.changed_dark { | ||
720 | color: black; | ||
721 | background: #cca; | ||
722 | min-width: 50%; | ||
723 | } | ||
724 | |||
725 | table.ssdiff td.lineno { | ||
726 | color: black; | ||
727 | background: #eee; | ||
728 | text-align: right; | ||
729 | width: 3em; | ||
730 | min-width: 3em; | ||
731 | } | ||
732 | |||
733 | table.ssdiff td.hunk { | ||
734 | color: #black; | ||
735 | background: #ccf; | ||
736 | border-top: solid 1px #aaa; | ||
737 | border-bottom: solid 1px #aaa; | ||
738 | } | ||
739 | |||
740 | table.ssdiff td.head { | ||
741 | border-top: solid 1px #aaa; | ||
742 | border-bottom: solid 1px #aaa; | ||
743 | } | ||
744 | |||
745 | table.ssdiff td.head div.head { | ||
746 | font-weight: bold; | ||
747 | color: black; | ||
748 | } | ||
749 | |||
750 | table.ssdiff td.foot { | ||
751 | border-top: solid 1px #aaa; | ||
752 | border-left: none; | ||
753 | border-right: none; | ||
754 | border-bottom: none; | ||
755 | } | ||
756 | |||
757 | table.ssdiff td.space { | ||
758 | border: none; | ||
759 | } | ||
760 | |||
761 | table.ssdiff td.space div { | ||
762 | min-height: 3em; | ||
763 | } | ||
764 | |||
765 | /* Syntax highlighting */ | ||
766 | table.blob .num { color:#2928ff; } | ||
767 | table.blob .esc { color:#ff00ff; } | ||
768 | table.blob .str { color:#ff0000; } | ||
769 | table.blob .dstr { color:#818100; } | ||
770 | table.blob .slc { color:#838183; font-style:italic; } | ||
771 | table.blob .com { color:#838183; font-style:italic; } | ||
772 | table.blob .dir { color:#008200; } | ||
773 | table.blob .sym { color:#000000; } | ||
774 | table.blob .kwa { color:#000000; font-weight:bold; } | ||
775 | table.blob .kwb { color:#830000; } | ||
776 | table.blob .kwc { color:#000000; font-weight:bold; } | ||
777 | table.blob .kwd { color:#010181; } | ||