cgit.css (view raw)
1body, table, form {
2 padding: 0em;
3 margin: 0em;
4}
5
6body {
7 font-family: sans-serif;
8 font-size: 10pt;
9 color: #333;
10 background: white;
11 padding: 4px;
12}
13
14a {
15 color: blue;
16 text-decoration: none;
17}
18
19a:hover {
20 text-decoration: underline;
21}
22
23table {
24 border-collapse: collapse;
25}
26
27table#header {
28 width: 100%;
29 margin-bottom: 1em;
30}
31
32table#header td.logo {
33 width: 96px;
34}
35
36table#header td.main {
37 font-size: 250%;
38 padding-left: 10px;
39 white-space: nowrap;
40}
41
42table#header td.main a {
43 color: #000;
44}
45
46table#header td.form {
47 text-align: right;
48 vertical-align: bottom;
49 padding-right: 1em;
50 padding-bottom: 2px;
51 white-space: nowrap;
52}
53
54table#header td.form form,
55table#header td.form input,
56table#header td.form select {
57 font-size: 90%;
58}
59
60table#header td.sub {
61 color: #777;
62 border-top: solid 1px #ccc;
63 padding-left: 10px;
64}
65
66table.tabs {
67 border-bottom: solid 3px #ccc;
68 border-collapse: collapse;
69 margin-top: 2em;
70 margin-bottom: 0px;
71 width: 100%;
72}
73
74table.tabs td {
75 padding: 0px 1em;
76 vertical-align: bottom;
77}
78
79table.tabs td a {
80 padding: 2px 0.75em;
81 color: #777;
82 font-size: 110%;
83}
84
85table.tabs td a.active {
86 color: #000;
87 background-color: #ccc;
88}
89
90table.tabs td.form {
91 text-align: right;
92}
93
94table.tabs td.form form {
95 padding-bottom: 2px;
96 font-size: 90%;
97 white-space: nowrap;
98}
99
100table.tabs td.form input,
101table.tabs td.form select {
102 font-size: 90%;
103}
104
105div.path {
106 margin: 0px;
107 padding: 5px 2em 2px 2em;
108 color: #000;
109 background-color: #eee;
110}
111
112div.content {
113 margin: 0px;
114 padding: 2em;
115 border-bottom: solid 3px #ccc;
116}
117
118
119table.list {
120 width: 100%;
121 border: none;
122 border-collapse: collapse;
123}
124
125table.list tr {
126 background: white;
127}
128
129table.list tr.logheader {
130 background: #eee;
131}
132
133table.list tr:hover {
134 background: #eee;
135}
136
137table.list tr.nohover:hover {
138 background: white;
139}
140
141table.list th {
142 font-weight: bold;
143 /* color: #888;
144 border-top: dashed 1px #888;
145 border-bottom: dashed 1px #888;
146 */
147 padding: 0.1em 0.5em 0.05em 0.5em;
148 vertical-align: baseline;
149}
150
151table.list td {
152 border: none;
153 padding: 0.1em 0.5em 0.1em 0.5em;
154}
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
185table.list td.logsubject {
186 font-family: monospace;
187 font-weight: bold;
188}
189
190table.list td.logmsg {
191 font-family: monospace;
192 white-space: pre;
193 padding: 0 0.5em;
194}
195
196table.list td a {
197 color: black;
198}
199
200table.list td a.ls-dir {
201 font-weight: bold;
202 color: #00f;
203}
204
205table.list td a:hover {
206 color: #00f;
207}
208
209img {
210 border: none;
211}
212
213input#switch-btn {
214 margin: 2px 0px 0px 0px;
215}
216
217td#sidebar input.txt {
218 width: 100%;
219 margin: 2px 0px 0px 0px;
220}
221
222table#grid {
223 margin: 0px;
224}
225
226td#content {
227 vertical-align: top;
228 padding: 1em 2em 1em 1em;
229 border: none;
230}
231
232div#summary {
233 vertical-align: top;
234 margin-bottom: 1em;
235}
236
237table#downloads {
238 float: right;
239 border-collapse: collapse;
240 border: solid 1px #777;
241 margin-left: 0.5em;
242 margin-bottom: 0.5em;
243}
244
245table#downloads th {
246 background-color: #ccc;
247}
248
249div#blob {
250 border: solid 1px black;
251}
252
253div.error {
254 color: red;
255 font-weight: bold;
256 margin: 1em 2em;
257}
258
259a.ls-blob, a.ls-dir, a.ls-mod {
260 font-family: monospace;
261}
262
263td.ls-size {
264 text-align: right;
265 font-family: monospace;
266 width: 10em;
267}
268
269td.ls-mode {
270 font-family: monospace;
271 width: 10em;
272}
273
274table.blob {
275 margin-top: 0.5em;
276 border-top: solid 1px black;
277}
278
279table.blob td.lines {
280 margin: 0; padding: 0 0 0 0.5em;
281 vertical-align: top;
282 color: black;
283}
284
285table.blob td.linenumbers {
286 margin: 0; padding: 0 0.5em 0 0.5em;
287 vertical-align: top;
288 text-align: right;
289 border-right: 1px solid gray;
290}
291
292table.blob pre {
293 padding: 0; margin: 0;
294}
295
296table.blob a.no, table.ssdiff a.no {
297 color: gray;
298 text-align: right;
299 text-decoration: none;
300}
301
302table.blob a.no a:hover {
303 color: black;
304}
305
306table.bin-blob {
307 margin-top: 0.5em;
308 border: solid 1px black;
309}
310
311table.bin-blob th {
312 font-family: monospace;
313 white-space: pre;
314 border: solid 1px #777;
315 padding: 0.5em 1em;
316}
317
318table.bin-blob td {
319 font-family: monospace;
320 white-space: pre;
321 border-left: solid 1px #777;
322 padding: 0em 1em;
323}
324
325table.nowrap td {
326 white-space: nowrap;
327}
328
329table.commit-info {
330 border-collapse: collapse;
331 margin-top: 1.5em;
332}
333
334div.cgit-panel {
335 float: right;
336 margin-top: 1.5em;
337}
338
339div.cgit-panel table {
340 border-collapse: collapse;
341 border: solid 1px #aaa;
342 background-color: #eee;
343}
344
345div.cgit-panel th {
346 text-align: center;
347}
348
349div.cgit-panel td {
350 padding: 0.25em 0.5em;
351}
352
353div.cgit-panel td.label {
354 padding-right: 0.5em;
355}
356
357div.cgit-panel td.ctrl {
358 padding-left: 0.5em;
359}
360
361table.commit-info th {
362 text-align: left;
363 font-weight: normal;
364 padding: 0.1em 1em 0.1em 0.1em;
365 vertical-align: top;
366}
367
368table.commit-info td {
369 font-weight: normal;
370 padding: 0.1em 1em 0.1em 0.1em;
371}
372
373div.commit-subject {
374 font-weight: bold;
375 font-size: 125%;
376 margin: 1.5em 0em 0.5em 0em;
377 padding: 0em;
378}
379
380div.commit-msg {
381 white-space: pre;
382 font-family: monospace;
383}
384
385div.notes-header {
386 font-weight: bold;
387 padding-top: 1.5em;
388}
389
390div.notes {
391 white-space: pre;
392 font-family: monospace;
393 border: solid 1px #ee9;
394 background-color: #ffd;
395 padding: 0.3em 2em 0.3em 1em;
396 float: left;
397}
398
399div.notes-footer {
400 clear: left;
401}
402
403div.diffstat-header {
404 font-weight: bold;
405 padding-top: 1.5em;
406}
407
408table.diffstat {
409 border-collapse: collapse;
410 border: solid 1px #aaa;
411 background-color: #eee;
412}
413
414table.diffstat th {
415 font-weight: normal;
416 text-align: left;
417 text-decoration: underline;
418 padding: 0.1em 1em 0.1em 0.1em;
419 font-size: 100%;
420}
421
422table.diffstat td {
423 padding: 0.2em 0.2em 0.1em 0.1em;
424 font-size: 100%;
425 border: none;
426}
427
428table.diffstat td.mode {
429 white-space: nowrap;
430}
431
432table.diffstat td span.modechange {
433 padding-left: 1em;
434 color: red;
435}
436
437table.diffstat td.add a {
438 color: green;
439}
440
441table.diffstat td.del a {
442 color: red;
443}
444
445table.diffstat td.upd a {
446 color: blue;
447}
448
449table.diffstat td.graph {
450 width: 500px;
451 vertical-align: middle;
452}
453
454table.diffstat td.graph table {
455 border: none;
456}
457
458table.diffstat td.graph td {
459 padding: 0px;
460 border: 0px;
461 height: 7pt;
462}
463
464table.diffstat td.graph td.add {
465 background-color: #5c5;
466}
467
468table.diffstat td.graph td.rem {
469 background-color: #c55;
470}
471
472div.diffstat-summary {
473 color: #888;
474 padding-top: 0.5em;
475}
476
477table.diff {
478 width: 100%;
479}
480
481table.diff td {
482 font-family: monospace;
483 white-space: pre;
484}
485
486table.diff td div.head {
487 font-weight: bold;
488 margin-top: 1em;
489 color: black;
490}
491
492table.diff td div.hunk {
493 color: #009;
494}
495
496table.diff td div.add {
497 color: green;
498}
499
500table.diff td div.del {
501 color: red;
502}
503
504.sha1 {
505 font-family: monospace;
506 font-size: 90%;
507}
508
509.left {
510 text-align: left;
511}
512
513.right {
514 text-align: right;
515}
516
517table.list td.reposection {
518 font-style: italic;
519 color: #888;
520}
521
522a.button {
523 font-size: 80%;
524 padding: 0em 0.5em;
525}
526
527a.primary {
528 font-size: 100%;
529}
530
531a.secondary {
532 font-size: 90%;
533}
534
535td.toplevel-repo {
536
537}
538
539table.list td.sublevel-repo {
540 padding-left: 1.5em;
541}
542
543div.pager {
544 text-align: center;
545 margin: 1em 0em 0em 0em;
546}
547
548div.pager a {
549 color: #777;
550 margin: 0em 0.5em;
551}
552
553span.age-mins {
554 font-weight: bold;
555 color: #080;
556}
557
558span.age-hours {
559 color: #080;
560}
561
562span.age-days {
563 color: #040;
564}
565
566span.age-weeks {
567 color: #444;
568}
569
570span.age-months {
571 color: #888;
572}
573
574span.age-years {
575 color: #bbb;
576}
577div.footer {
578 margin-top: 0.5em;
579 text-align: center;
580 font-size: 80%;
581 color: #ccc;
582}
583a.branch-deco {
584 margin: 0px 0.5em;
585 padding: 0px 0.25em;
586 background-color: #88ff88;
587 border: solid 1px #007700;
588}
589a.tag-deco {
590 margin: 0px 0.5em;
591 padding: 0px 0.25em;
592 background-color: #ffff88;
593 border: solid 1px #777700;
594}
595a.remote-deco {
596 margin: 0px 0.5em;
597 padding: 0px 0.25em;
598 background-color: #ccccff;
599 border: solid 1px #000077;
600}
601a.deco {
602 margin: 0px 0.5em;
603 padding: 0px 0.25em;
604 background-color: #ff8888;
605 border: solid 1px #770000;
606}
607
608div.commit-subject a.branch-deco,
609div.commit-subject a.tag-deco,
610div.commit-subject a.remote-deco,
611div.commit-subject a.deco {
612 margin-left: 1em;
613 font-size: 75%;
614}
615
616table.stats {
617 border: solid 1px black;
618 border-collapse: collapse;
619}
620
621table.stats th {
622 text-align: left;
623 padding: 1px 0.5em;
624 background-color: #eee;
625 border: solid 1px black;
626}
627
628table.stats td {
629 text-align: right;
630 padding: 1px 0.5em;
631 border: solid 1px black;
632}
633
634table.stats td.total {
635 font-weight: bold;
636 text-align: left;
637}
638
639table.stats td.sum {
640 color: #c00;
641 font-weight: bold;
642/* background-color: #eee; */
643}
644
645table.stats td.left {
646 text-align: left;
647}
648
649table.vgraph {
650 border-collapse: separate;
651 border: solid 1px black;
652 height: 200px;
653}
654
655table.vgraph th {
656 background-color: #eee;
657 font-weight: bold;
658 border: solid 1px white;
659 padding: 1px 0.5em;
660}
661
662table.vgraph td {
663 vertical-align: bottom;
664 padding: 0px 10px;
665}
666
667table.vgraph div.bar {
668 background-color: #eee;
669}
670
671table.hgraph {
672 border: solid 1px black;
673 width: 800px;
674}
675
676table.hgraph th {
677 background-color: #eee;
678 font-weight: bold;
679 border: solid 1px black;
680 padding: 1px 0.5em;
681}
682
683table.hgraph td {
684 vertical-align: middle;
685 padding: 2px 2px;
686}
687
688table.hgraph div.bar {
689 background-color: #eee;
690 height: 1em;
691}
692
693table.ssdiff {
694 width: 100%;
695}
696
697table.ssdiff td {
698 font-size: 75%;
699 font-family: monospace;
700 white-space: pre;
701 padding: 1px 4px 1px 4px;
702 border-left: solid 1px #aaa;
703 border-right: solid 1px #aaa;
704}
705
706table.ssdiff td.add {
707 color: black;
708 background: #cfc;
709 min-width: 50%;
710}
711
712table.ssdiff td.add_dark {
713 color: black;
714 background: #aca;
715 min-width: 50%;
716}
717
718table.ssdiff span.add {
719 background: #cfc;
720 font-weight: bold;
721}
722
723table.ssdiff td.del {
724 color: black;
725 background: #fcc;
726 min-width: 50%;
727}
728
729table.ssdiff td.del_dark {
730 color: black;
731 background: #caa;
732 min-width: 50%;
733}
734
735table.ssdiff span.del {
736 background: #fcc;
737 font-weight: bold;
738}
739
740table.ssdiff td.changed {
741 color: black;
742 background: #ffc;
743 min-width: 50%;
744}
745
746table.ssdiff td.changed_dark {
747 color: black;
748 background: #cca;
749 min-width: 50%;
750}
751
752table.ssdiff td.lineno {
753 color: black;
754 background: #eee;
755 text-align: right;
756 width: 3em;
757 min-width: 3em;
758}
759
760table.ssdiff td.hunk {
761 color: black;
762 background: #ccf;
763 border-top: solid 1px #aaa;
764 border-bottom: solid 1px #aaa;
765}
766
767table.ssdiff td.head {
768 border-top: solid 1px #aaa;
769 border-bottom: solid 1px #aaa;
770}
771
772table.ssdiff td.head div.head {
773 font-weight: bold;
774 color: black;
775}
776
777table.ssdiff td.foot {
778 border-top: solid 1px #aaa;
779 border-left: none;
780 border-right: none;
781 border-bottom: none;
782}
783
784table.ssdiff td.space {
785 border: none;
786}
787
788table.ssdiff td.space div {
789 min-height: 3em;
790}
791
792/* Syntax highlighting */
793table.blob .num { color:#2928ff; }
794table.blob .esc { color:#ff00ff; }
795table.blob .str { color:#ff0000; }
796table.blob .dstr { color:#818100; }
797table.blob .slc { color:#838183; font-style:italic; }
798table.blob .com { color:#838183; font-style:italic; }
799table.blob .dir { color:#008200; }
800table.blob .sym { color:#000000; }
801table.blob .kwa { color:#000000; font-weight:bold; }
802table.blob .kwb { color:#830000; }
803table.blob .kwc { color:#000000; font-weight:bold; }
804table.blob .kwd { color:#010181; }