summaryrefslogtreecommitdiffabout
path: root/cgit.css
Unidiff
Diffstat (limited to 'cgit.css') (more/less context) (show whitespace changes)
-rw-r--r--cgit.css184
1 files changed, 179 insertions, 5 deletions
diff --git a/cgit.css b/cgit.css
index c47ebc9..1d90057 100644
--- a/cgit.css
+++ b/cgit.css
@@ -61,13 +61,13 @@ table#header td.sub {
61 color: #777; 61 color: #777;
62 border-top: solid 1px #ccc; 62 border-top: solid 1px #ccc;
63 padding-left: 10px; 63 padding-left: 10px;
64} 64}
65 65
66table.tabs { 66table.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;
71 width: 100%; 71 width: 100%;
72} 72}
73 73
@@ -99,16 +99,22 @@ table.tabs td.form form {
99 99
100table.tabs td.form input, 100table.tabs td.form input,
101table.tabs td.form select { 101table.tabs td.form select {
102 font-size: 90%; 102 font-size: 90%;
103} 103}
104 104
105div.path {
106 margin: 0px;
107 padding: 5px 2em 2px 2em;
108 color: #000;
109 background-color: #eee;
110}
111
105div.content { 112div.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
112 118
113table.list { 119table.list {
114 width: 100%; 120 width: 100%;
@@ -144,27 +150,61 @@ table.list th {
144 150
145table.list td { 151table.list td {
146 border: none; 152 border: none;
147 padding: 0.1em 0.5em 0.1em 0.5em; 153 padding: 0.1em 0.5em 0.1em 0.5em;
148} 154}
149 155
156table.list td.commitgraph {
157 font-family: monospace;
158 white-space: pre;
159}
160
161table.list td.commitgraph .column1 {
162 color: #a00;
163}
164
165table.list td.commitgraph .column2 {
166 color: #0a0;
167}
168
169table.list td.commitgraph .column3 {
170 color: #aa0;
171}
172
173table.list td.commitgraph .column4 {
174 color: #00a;
175}
176
177table.list td.commitgraph .column5 {
178 color: #a0a;
179}
180
181table.list td.commitgraph .column6 {
182 color: #0aa;
183}
184
150table.list td.logsubject { 185table.list td.logsubject {
151 font-family: monospace; 186 font-family: monospace;
152 font-weight: bold; 187 font-weight: bold;
153} 188}
154 189
155table.list td.logmsg { 190table.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
161table.list td a { 196table.list td a {
162 color: black; 197 color: black;
163} 198}
164 199
200table.list td a.ls-dir {
201 font-weight: bold;
202 color: #00f;
203}
204
165table.list td a:hover { 205table.list td a:hover {
166 color: #00f; 206 color: #00f;
167} 207}
168 208
169img { 209img {
170 border: none; 210 border: none;
@@ -250,13 +290,13 @@ table.blob td.linenumbers {
250} 290}
251 291
252table.blob pre { 292table.blob pre {
253 padding: 0; margin: 0; 293 padding: 0; margin: 0;
254} 294}
255 295
256table.blob a.no { 296table.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;
260} 300}
261 301
262table.blob a.no a:hover { 302table.blob a.no a:hover {
@@ -312,12 +352,30 @@ div.commit-subject {
312 352
313div.commit-msg { 353div.commit-msg {
314 white-space: pre; 354 white-space: pre;
315 font-family: monospace; 355 font-family: monospace;
316} 356}
317 357
358div.notes-header {
359 font-weight: bold;
360 padding-top: 1.5em;
361}
362
363div.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
372div.notes-footer {
373 clear: left;
374}
375
318div.diffstat-header { 376div.diffstat-header {
319 font-weight: bold; 377 font-weight: bold;
320 padding-top: 1.5em; 378 padding-top: 1.5em;
321} 379}
322 380
323table.diffstat { 381table.diffstat {
@@ -517,13 +575,16 @@ a.deco {
517 margin: 0px 0.5em; 575 margin: 0px 0.5em;
518 padding: 0px 0.25em; 576 padding: 0px 0.25em;
519 background-color: #ff8888; 577 background-color: #ff8888;
520 border: solid 1px #770000; 578 border: solid 1px #770000;
521} 579}
522 580
523div.commit-subject a { 581div.commit-subject a.branch-deco,
582div.commit-subject a.tag-deco,
583div.commit-subject a.remote-deco,
584div.commit-subject a.deco {
524 margin-left: 1em; 585 margin-left: 1em;
525 font-size: 75%; 586 font-size: 75%;
526} 587}
527 588
528table.stats { 589table.stats {
529 border: solid 1px black; 590 border: solid 1px black;
@@ -598,6 +659,119 @@ table.hgraph td {
598} 659}
599 660
600table.hgraph div.bar { 661table.hgraph div.bar {
601 background-color: #eee; 662 background-color: #eee;
602 height: 1em; 663 height: 1em;
603} 664}
665
666table.ssdiff {
667 width: 100%;
668}
669
670table.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
679table.ssdiff td.add {
680 color: black;
681 background: #cfc;
682 min-width: 50%;
683}
684
685table.ssdiff td.add_dark {
686 color: black;
687 background: #aca;
688 min-width: 50%;
689}
690
691table.ssdiff span.add {
692 background: #cfc;
693 font-weight: bold;
694}
695
696table.ssdiff td.del {
697 color: black;
698 background: #fcc;
699 min-width: 50%;
700}
701
702table.ssdiff td.del_dark {
703 color: black;
704 background: #caa;
705 min-width: 50%;
706}
707
708table.ssdiff span.del {
709 background: #fcc;
710 font-weight: bold;
711}
712
713table.ssdiff td.changed {
714 color: black;
715 background: #ffc;
716 min-width: 50%;
717}
718
719table.ssdiff td.changed_dark {
720 color: black;
721 background: #cca;
722 min-width: 50%;
723}
724
725table.ssdiff td.lineno {
726 color: black;
727 background: #eee;
728 text-align: right;
729 width: 3em;
730 min-width: 3em;
731}
732
733table.ssdiff td.hunk {
734 color: #black;
735 background: #ccf;
736 border-top: solid 1px #aaa;
737 border-bottom: solid 1px #aaa;
738}
739
740table.ssdiff td.head {
741 border-top: solid 1px #aaa;
742 border-bottom: solid 1px #aaa;
743}
744
745table.ssdiff td.head div.head {
746 font-weight: bold;
747 color: black;
748}
749
750table.ssdiff td.foot {
751 border-top: solid 1px #aaa;
752 border-left: none;
753 border-right: none;
754 border-bottom: none;
755}
756
757table.ssdiff td.space {
758 border: none;
759}
760
761table.ssdiff td.space div {
762 min-height: 3em;
763}
764
765/* Syntax highlighting */
766table.blob .num { color:#2928ff; }
767table.blob .esc { color:#ff00ff; }
768table.blob .str { color:#ff0000; }
769table.blob .dstr { color:#818100; }
770table.blob .slc { color:#838183; font-style:italic; }
771table.blob .com { color:#838183; font-style:italic; }
772table.blob .dir { color:#008200; }
773table.blob .sym { color:#000000; }
774table.blob .kwa { color:#000000; font-weight:bold; }
775table.blob .kwb { color:#830000; }
776table.blob .kwc { color:#000000; font-weight:bold; }
777table.blob .kwd { color:#010181; }