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