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