summaryrefslogtreecommitdiffabout
path: root/cgit.css
Unidiff
Diffstat (limited to 'cgit.css') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.css148
1 files changed, 145 insertions, 3 deletions
diff --git a/cgit.css b/cgit.css
index c47ebc9..0c88b65 100644
--- a/cgit.css
+++ b/cgit.css
@@ -43,90 +43,96 @@ table#header td.main a {
43 color: #000; 43 color: #000;
44} 44}
45 45
46table#header td.form { 46table#header td.form {
47 text-align: right; 47 text-align: right;
48 vertical-align: bottom; 48 vertical-align: bottom;
49 padding-right: 1em; 49 padding-right: 1em;
50 padding-bottom: 2px; 50 padding-bottom: 2px;
51 white-space: nowrap; 51 white-space: nowrap;
52} 52}
53 53
54table#header td.form form, 54table#header td.form form,
55table#header td.form input, 55table#header td.form input,
56table#header td.form select { 56table#header td.form select {
57 font-size: 90%; 57 font-size: 90%;
58} 58}
59 59
60table#header td.sub { 60table#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
74table.tabs td { 74table.tabs td {
75 padding: 0px 1em; 75 padding: 0px 1em;
76 vertical-align: bottom; 76 vertical-align: bottom;
77} 77}
78 78
79table.tabs td a { 79table.tabs td a {
80 padding: 2px 0.75em; 80 padding: 2px 0.75em;
81 color: #777; 81 color: #777;
82 font-size: 110%; 82 font-size: 110%;
83} 83}
84 84
85table.tabs td a.active { 85table.tabs td a.active {
86 color: #000; 86 color: #000;
87 background-color: #ccc; 87 background-color: #ccc;
88} 88}
89 89
90table.tabs td.form { 90table.tabs td.form {
91 text-align: right; 91 text-align: right;
92} 92}
93 93
94table.tabs td.form form { 94table.tabs td.form form {
95 padding-bottom: 2px; 95 padding-bottom: 2px;
96 font-size: 90%; 96 font-size: 90%;
97 white-space: nowrap; 97 white-space: nowrap;
98} 98}
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%;
115 border: none; 121 border: none;
116 border-collapse: collapse; 122 border-collapse: collapse;
117} 123}
118 124
119table.list tr { 125table.list tr {
120 background: white; 126 background: white;
121} 127}
122 128
123table.list tr.logheader { 129table.list tr.logheader {
124 background: #eee; 130 background: #eee;
125} 131}
126 132
127table.list tr:hover { 133table.list tr:hover {
128 background: #eee; 134 background: #eee;
129} 135}
130 136
131table.list tr.nohover:hover { 137table.list tr.nohover:hover {
132 background: white; 138 background: white;
@@ -137,52 +143,68 @@ table.list th {
137 /* color: #888; 143 /* color: #888;
138 border-top: dashed 1px #888; 144 border-top: dashed 1px #888;
139 border-bottom: dashed 1px #888; 145 border-bottom: dashed 1px #888;
140 */ 146 */
141 padding: 0.1em 0.5em 0.05em 0.5em; 147 padding: 0.1em 0.5em 0.05em 0.5em;
142 vertical-align: baseline; 148 vertical-align: baseline;
143} 149}
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
150table.list td.logsubject { 156table.list td.logsubject {
151 font-family: monospace; 157 font-family: monospace;
152 font-weight: bold; 158 font-weight: bold;
153} 159}
154 160
155table.list td.logmsg { 161table.list td.logmsg {
156 font-family: monospace; 162 font-family: monospace;
157 white-space: pre; 163 white-space: pre;
158 padding: 1em 0.5em 2em 0.5em; 164 padding: 1em 0.5em 2em 0.5em;
159} 165}
160 166
167table.list td.lognotes-label {
168 text-align:right;
169 vertical-align:top;
170}
171
172table.list td.lognotes {
173 font-family: monospace;
174 white-space: pre;
175 padding: 0em 0.5em 2em 0.5em;
176}
177
161table.list td a { 178table.list td a {
162 color: black; 179 color: black;
163} 180}
164 181
182table.list td a.ls-dir {
183 font-weight: bold;
184 color: #00f;
185}
186
165table.list td a:hover { 187table.list td a:hover {
166 color: #00f; 188 color: #00f;
167} 189}
168 190
169img { 191img {
170 border: none; 192 border: none;
171} 193}
172 194
173input#switch-btn { 195input#switch-btn {
174 margin: 2px 0px 0px 0px; 196 margin: 2px 0px 0px 0px;
175} 197}
176 198
177td#sidebar input.txt { 199td#sidebar input.txt {
178 width: 100%; 200 width: 100%;
179 margin: 2px 0px 0px 0px; 201 margin: 2px 0px 0px 0px;
180} 202}
181 203
182table#grid { 204table#grid {
183 margin: 0px; 205 margin: 0px;
184} 206}
185 207
186td#content { 208td#content {
187 vertical-align: top; 209 vertical-align: top;
188 padding: 1em 2em 1em 1em; 210 padding: 1em 2em 1em 1em;
@@ -294,48 +316,66 @@ table.commit-info {
294table.commit-info th { 316table.commit-info th {
295 text-align: left; 317 text-align: left;
296 font-weight: normal; 318 font-weight: normal;
297 padding: 0.1em 1em 0.1em 0.1em; 319 padding: 0.1em 1em 0.1em 0.1em;
298 vertical-align: top; 320 vertical-align: top;
299} 321}
300 322
301table.commit-info td { 323table.commit-info td {
302 font-weight: normal; 324 font-weight: normal;
303 padding: 0.1em 1em 0.1em 0.1em; 325 padding: 0.1em 1em 0.1em 0.1em;
304} 326}
305 327
306div.commit-subject { 328div.commit-subject {
307 font-weight: bold; 329 font-weight: bold;
308 font-size: 125%; 330 font-size: 125%;
309 margin: 1.5em 0em 0.5em 0em; 331 margin: 1.5em 0em 0.5em 0em;
310 padding: 0em; 332 padding: 0em;
311} 333}
312 334
313div.commit-msg { 335div.commit-msg {
314 white-space: pre; 336 white-space: pre;
315 font-family: monospace; 337 font-family: monospace;
316} 338}
317 339
340div.notes-header {
341 font-weight: bold;
342 padding-top: 1.5em;
343}
344
345div.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
354div.notes-footer {
355 clear: left;
356}
357
318div.diffstat-header { 358div.diffstat-header {
319 font-weight: bold; 359 font-weight: bold;
320 padding-top: 1.5em; 360 padding-top: 1.5em;
321} 361}
322 362
323table.diffstat { 363table.diffstat {
324 border-collapse: collapse; 364 border-collapse: collapse;
325 border: solid 1px #aaa; 365 border: solid 1px #aaa;
326 background-color: #eee; 366 background-color: #eee;
327} 367}
328 368
329table.diffstat th { 369table.diffstat th {
330 font-weight: normal; 370 font-weight: normal;
331 text-align: left; 371 text-align: left;
332 text-decoration: underline; 372 text-decoration: underline;
333 padding: 0.1em 1em 0.1em 0.1em; 373 padding: 0.1em 1em 0.1em 0.1em;
334 font-size: 100%; 374 font-size: 100%;
335} 375}
336 376
337table.diffstat td { 377table.diffstat td {
338 padding: 0.2em 0.2em 0.1em 0.1em; 378 padding: 0.2em 0.2em 0.1em 0.1em;
339 font-size: 100%; 379 font-size: 100%;
340 border: none; 380 border: none;
341} 381}
@@ -499,49 +539,52 @@ a.branch-deco {
499 margin: 0px 0.5em; 539 margin: 0px 0.5em;
500 padding: 0px 0.25em; 540 padding: 0px 0.25em;
501 background-color: #88ff88; 541 background-color: #88ff88;
502 border: solid 1px #007700; 542 border: solid 1px #007700;
503} 543}
504a.tag-deco { 544a.tag-deco {
505 margin: 0px 0.5em; 545 margin: 0px 0.5em;
506 padding: 0px 0.25em; 546 padding: 0px 0.25em;
507 background-color: #ffff88; 547 background-color: #ffff88;
508 border: solid 1px #777700; 548 border: solid 1px #777700;
509} 549}
510a.remote-deco { 550a.remote-deco {
511 margin: 0px 0.5em; 551 margin: 0px 0.5em;
512 padding: 0px 0.25em; 552 padding: 0px 0.25em;
513 background-color: #ccccff; 553 background-color: #ccccff;
514 border: solid 1px #000077; 554 border: solid 1px #000077;
515} 555}
516a.deco { 556a.deco {
517 margin: 0px 0.5em; 557 margin: 0px 0.5em;
518 padding: 0px 0.25em; 558 padding: 0px 0.25em;
519 background-color: #ff8888; 559 background-color: #ff8888;
520 border: solid 1px #770000; 560 border: solid 1px #770000;
521} 561}
522 562
523div.commit-subject a { 563div.commit-subject a.branch-deco,
564div.commit-subject a.tag-deco,
565div.commit-subject a.remote-deco,
566div.commit-subject a.deco {
524 margin-left: 1em; 567 margin-left: 1em;
525 font-size: 75%; 568 font-size: 75%;
526} 569}
527 570
528table.stats { 571table.stats {
529 border: solid 1px black; 572 border: solid 1px black;
530 border-collapse: collapse; 573 border-collapse: collapse;
531} 574}
532 575
533table.stats th { 576table.stats th {
534 text-align: left; 577 text-align: left;
535 padding: 1px 0.5em; 578 padding: 1px 0.5em;
536 background-color: #eee; 579 background-color: #eee;
537 border: solid 1px black; 580 border: solid 1px black;
538} 581}
539 582
540table.stats td { 583table.stats td {
541 text-align: right; 584 text-align: right;
542 padding: 1px 0.5em; 585 padding: 1px 0.5em;
543 border: solid 1px black; 586 border: solid 1px black;
544} 587}
545 588
546table.stats td.total { 589table.stats td.total {
547 font-weight: bold; 590 font-weight: bold;
@@ -580,24 +623,123 @@ table.vgraph div.bar {
580 background-color: #eee; 623 background-color: #eee;
581} 624}
582 625
583table.hgraph { 626table.hgraph {
584 border: solid 1px black; 627 border: solid 1px black;
585 width: 800px; 628 width: 800px;
586} 629}
587 630
588table.hgraph th { 631table.hgraph th {
589 background-color: #eee; 632 background-color: #eee;
590 font-weight: bold; 633 font-weight: bold;
591 border: solid 1px black; 634 border: solid 1px black;
592 padding: 1px 0.5em; 635 padding: 1px 0.5em;
593} 636}
594 637
595table.hgraph td { 638table.hgraph td {
596 vertical-align: center; 639 vertical-align: center;
597 padding: 2px 2px; 640 padding: 2px 2px;
598} 641}
599 642
600table.hgraph div.bar { 643table.hgraph div.bar {
601 background-color: #eee; 644 background-color: #eee;
602 height: 1em; 645 height: 1em;
603} 646}
647
648table.ssdiff {
649 width: 100%;
650}
651
652table.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
661table.ssdiff td.add {
662 color: black;
663 background: #cfc;
664 min-width: 50%;
665}
666
667table.ssdiff td.add_dark {
668 color: black;
669 background: #aca;
670 min-width: 50%;
671}
672
673table.ssdiff span.add {
674 background: #cfc;
675 font-weight: bold;
676}
677
678table.ssdiff td.del {
679 color: black;
680 background: #fcc;
681 min-width: 50%;
682}
683
684table.ssdiff td.del_dark {
685 color: black;
686 background: #caa;
687 min-width: 50%;
688}
689
690table.ssdiff span.del {
691 background: #fcc;
692 font-weight: bold;
693}
694
695table.ssdiff td.changed {
696 color: black;
697 background: #ffc;
698 min-width: 50%;
699}
700
701table.ssdiff td.changed_dark {
702 color: black;
703 background: #cca;
704 min-width: 50%;
705}
706
707table.ssdiff td.lineno {
708 color: black;
709 background: #eee;
710 text-align: right;
711 width: 3em;
712 min-width: 3em;
713}
714
715table.ssdiff td.hunk {
716 color: #black;
717 background: #ccf;
718 border-top: solid 1px #aaa;
719 border-bottom: solid 1px #aaa;
720}
721
722table.ssdiff td.head {
723 border-top: solid 1px #aaa;
724 border-bottom: solid 1px #aaa;
725}
726
727table.ssdiff td.head div.head {
728 font-weight: bold;
729 color: black;
730}
731
732table.ssdiff td.foot {
733 border-top: solid 1px #aaa;
734 border-left: none;
735 border-right: none;
736 border-bottom: none;
737}
738
739table.ssdiff td.space {
740 border: none;
741}
742
743table.ssdiff td.space div {
744 min-height: 3em;
745} \ No newline at end of file