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