config: make empty js= omit script tag
[cgit.git] / cgit.css
blob1b848cf712c9e93c3c29e299008786d6edae87d4
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;
11 div#cgit a {
12 color: blue;
13 text-decoration: none;
16 div#cgit a:hover {
17 text-decoration: underline;
20 div#cgit table {
21 border-collapse: collapse;
24 div#cgit table#header {
25 width: 100%;
26 margin-bottom: 1em;
29 div#cgit table#header td.logo {
30 width: 96px;
31 vertical-align: top;
34 div#cgit table#header td.main {
35 font-size: 250%;
36 padding-left: 10px;
37 white-space: nowrap;
40 div#cgit table#header td.main a {
41 color: #000;
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;
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%;
58 div#cgit table#header td.sub {
59 color: #777;
60 border-top: solid 1px #ccc;
61 padding-left: 10px;
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%;
72 div#cgit table.tabs td {
73 padding: 0px 1em;
74 vertical-align: bottom;
77 div#cgit table.tabs td a {
78 padding: 2px 0.75em;
79 color: #777;
80 font-size: 110%;
83 div#cgit table.tabs td a.active {
84 color: #000;
85 background-color: #ccc;
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;
94 div#cgit table.tabs td.form {
95 text-align: right;
98 div#cgit table.tabs td.form form {
99 padding-bottom: 2px;
100 font-size: 90%;
101 white-space: nowrap;
104 div#cgit table.tabs td.form input,
105 div#cgit table.tabs td.form select {
106 font-size: 90%;
109 div#cgit div.path {
110 margin: 0px;
111 padding: 5px 2em 2px 2em;
112 color: #000;
113 background-color: #eee;
116 div#cgit div.content {
117 margin: 0px;
118 padding: 2em;
119 border-bottom: solid 3px #ccc;
123 div#cgit table.list {
124 width: 100%;
125 border: none;
126 border-collapse: collapse;
129 div#cgit table.list tr {
130 background: white;
133 div#cgit table.list tr.logheader {
134 background: #eee;
137 div#cgit table.list tr:nth-child(even) {
138 background: #f7f7f7;
141 div#cgit table.list tr:nth-child(odd) {
142 background: white;
145 div#cgit table.list tr:hover {
146 background: #eee;
149 div#cgit table.list tr.nohover {
150 background: white;
153 div#cgit table.list tr.nohover:hover {
154 background: white;
157 div#cgit table.list tr.nohover-highlight:hover:nth-child(even) {
158 background: #f7f7f7;
161 div#cgit table.list tr.nohover-highlight:hover:nth-child(odd) {
162 background: white;
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;
171 padding: 0.1em 0.5em 0.05em 0.5em;
172 vertical-align: baseline;
175 div#cgit table.list td {
176 border: none;
177 padding: 0.1em 0.5em 0.1em 0.5em;
180 div#cgit table.list td.commitgraph {
181 font-family: monospace;
182 white-space: pre;
185 div#cgit table.list td.commitgraph .column1 {
186 color: #a00;
189 div#cgit table.list td.commitgraph .column2 {
190 color: #0a0;
193 div#cgit table.list td.commitgraph .column3 {
194 color: #aa0;
197 div#cgit table.list td.commitgraph .column4 {
198 color: #00a;
201 div#cgit table.list td.commitgraph .column5 {
202 color: #a0a;
205 div#cgit table.list td.commitgraph .column6 {
206 color: #0aa;
209 div#cgit table.list td.logsubject {
210 font-family: monospace;
211 font-weight: bold;
214 div#cgit table.list td.logmsg {
215 font-family: monospace;
216 white-space: pre;
217 padding: 0 0.5em;
220 div#cgit table.list td a {
221 color: black;
224 div#cgit table.list td a.ls-dir {
225 font-weight: bold;
226 color: #00f;
229 div#cgit table.list td a:hover {
230 color: #00f;
233 div#cgit img {
234 border: none;
237 div#cgit input#switch-btn {
238 margin: 2px 0px 0px 0px;
241 div#cgit td#sidebar input.txt {
242 width: 100%;
243 margin: 2px 0px 0px 0px;
246 div#cgit table#grid {
247 margin: 0px;
250 div#cgit td#content {
251 vertical-align: top;
252 padding: 1em 2em 1em 1em;
253 border: none;
256 div#cgit div#summary {
257 vertical-align: top;
258 margin-bottom: 1em;
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;
269 div#cgit table#downloads th {
270 background-color: #ccc;
273 div#cgit div#blob {
274 border: solid 1px black;
277 div#cgit div.error {
278 color: red;
279 font-weight: bold;
280 margin: 1em 2em;
283 div#cgit a.ls-blob, div#cgit a.ls-dir, div#cgit .ls-mod {
284 font-family: monospace;
287 div#cgit td.ls-size {
288 text-align: right;
289 font-family: monospace;
290 width: 10em;
293 div#cgit td.ls-mode {
294 font-family: monospace;
295 width: 10em;
298 div#cgit table.blob {
299 margin-top: 0.5em;
300 border-top: solid 1px black;
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;
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;
317 div#cgit table.blob pre {
318 padding: 0; margin: 0;
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;
328 div#cgit table.blob td.linenumbers a:hover,
329 div#cgit table.ssdiff td.lineno a:hover {
330 color: black;
333 div#cgit table.blame td.hashes,
334 div#cgit table.blame td.lines,
335 div#cgit table.blame td.linenumbers {
336 padding: 0;
339 div#cgit table.blame td.hashes div.alt,
340 div#cgit table.blame td.lines div.alt {
341 padding: 0 0.5em 0 0.5em;
344 div#cgit table.blame td.linenumbers div.alt {
345 padding: 0 0.5em 0 0;
348 div#cgit table.blame div.alt:nth-child(even) {
349 background: #eee;
352 div#cgit table.blame div.alt:nth-child(odd) {
353 background: white;
356 div#cgit table.blame td.lines > div {
357 position: relative;
360 div#cgit table.blame td.lines > div > pre {
361 padding: 0 0 0 0.5em;
362 position: absolute;
363 top: 0;
366 div#cgit table.blame .oid {
367 font-size: 100%;
370 div#cgit table.bin-blob {
371 margin-top: 0.5em;
372 border: solid 1px black;
375 div#cgit table.bin-blob th {
376 font-family: monospace;
377 white-space: pre;
378 border: solid 1px #777;
379 padding: 0.5em 1em;
382 div#cgit table.bin-blob td {
383 font-family: monospace;
384 white-space: pre;
385 border-left: solid 1px #777;
386 padding: 0em 1em;
389 div#cgit table.nowrap td {
390 white-space: nowrap;
393 div#cgit table.commit-info {
394 border-collapse: collapse;
395 margin-top: 1.5em;
398 div#cgit div.cgit-panel {
399 float: right;
400 margin-top: 1.5em;
403 div#cgit div.cgit-panel table {
404 border-collapse: collapse;
405 border: solid 1px #aaa;
406 background-color: #eee;
409 div#cgit div.cgit-panel th {
410 text-align: center;
413 div#cgit div.cgit-panel td {
414 padding: 0.25em 0.5em;
417 div#cgit div.cgit-panel td.label {
418 padding-right: 0.5em;
421 div#cgit div.cgit-panel td.ctrl {
422 padding-left: 0.5em;
425 div#cgit table.commit-info th {
426 text-align: left;
427 font-weight: normal;
428 padding: 0.1em 1em 0.1em 0.1em;
429 vertical-align: top;
432 div#cgit table.commit-info td {
433 font-weight: normal;
434 padding: 0.1em 1em 0.1em 0.1em;
437 div#cgit div.commit-subject {
438 font-weight: bold;
439 font-size: 125%;
440 margin: 1.5em 0em 0.5em 0em;
441 padding: 0em;
444 div#cgit div.commit-msg {
445 white-space: pre;
446 font-family: monospace;
449 div#cgit div.notes-header {
450 font-weight: bold;
451 padding-top: 1.5em;
454 div#cgit div.notes {
455 white-space: pre;
456 font-family: monospace;
457 border: solid 1px #ee9;
458 background-color: #ffd;
459 padding: 0.3em 2em 0.3em 1em;
460 float: left;
463 div#cgit div.notes-footer {
464 clear: left;
467 div#cgit div.diffstat-header {
468 font-weight: bold;
469 padding-top: 1.5em;
472 div#cgit table.diffstat {
473 border-collapse: collapse;
474 border: solid 1px #aaa;
475 background-color: #eee;
478 div#cgit table.diffstat th {
479 font-weight: normal;
480 text-align: left;
481 text-decoration: underline;
482 padding: 0.1em 1em 0.1em 0.1em;
483 font-size: 100%;
486 div#cgit table.diffstat td {
487 padding: 0.2em 0.2em 0.1em 0.1em;
488 font-size: 100%;
489 border: none;
492 div#cgit table.diffstat td.mode {
493 white-space: nowrap;
496 div#cgit table.diffstat td span.modechange {
497 padding-left: 1em;
498 color: red;
501 div#cgit table.diffstat td.add a {
502 color: green;
505 div#cgit table.diffstat td.del a {
506 color: red;
509 div#cgit table.diffstat td.upd a {
510 color: blue;
513 div#cgit table.diffstat td.graph {
514 width: 500px;
515 vertical-align: middle;
518 div#cgit table.diffstat td.graph table {
519 border: none;
522 div#cgit table.diffstat td.graph td {
523 padding: 0px;
524 border: 0px;
525 height: 7pt;
528 div#cgit table.diffstat td.graph td.add {
529 background-color: #5c5;
532 div#cgit table.diffstat td.graph td.rem {
533 background-color: #c55;
536 div#cgit div.diffstat-summary {
537 color: #888;
538 padding-top: 0.5em;
541 div#cgit table.diff {
542 width: 100%;
545 div#cgit table.diff td {
546 font-family: monospace;
547 white-space: pre;
550 div#cgit table.diff td div.head {
551 font-weight: bold;
552 margin-top: 1em;
553 color: black;
556 div#cgit table.diff td div.hunk {
557 color: #009;
560 div#cgit table.diff td div.add {
561 color: green;
564 div#cgit table.diff td div.del {
565 color: red;
568 div#cgit .oid {
569 font-family: monospace;
570 font-size: 90%;
573 div#cgit .left {
574 text-align: left;
577 div#cgit .right {
578 text-align: right;
581 div#cgit table.list td.reposection {
582 font-style: italic;
583 color: #888;
586 div#cgit a.button {
587 font-size: 80%;
588 padding: 0em 0.5em;
591 div#cgit a.primary {
592 font-size: 100%;
595 div#cgit a.secondary {
596 font-size: 90%;
599 div#cgit td.toplevel-repo {
603 div#cgit table.list td.sublevel-repo {
604 padding-left: 1.5em;
607 div#cgit ul.pager {
608 list-style-type: none;
609 text-align: center;
610 margin: 1em 0em 0em 0em;
611 padding: 0;
614 div#cgit ul.pager li {
615 display: inline-block;
616 margin: 0.25em 0.5em;
619 div#cgit ul.pager a {
620 color: #777;
623 div#cgit ul.pager .current {
624 font-weight: bold;
627 div#cgit span.age-mins {
628 font-weight: bold;
629 color: #080;
632 div#cgit span.age-hours {
633 color: #080;
636 div#cgit span.age-days {
637 color: #040;
640 div#cgit span.age-weeks {
641 color: #444;
644 div#cgit span.age-months {
645 color: #888;
648 div#cgit span.age-years {
649 color: #bbb;
652 div#cgit span.insertions {
653 color: #080;
656 div#cgit span.deletions {
657 color: #800;
660 div#cgit div.footer {
661 margin-top: 0.5em;
662 text-align: center;
663 font-size: 80%;
664 color: #ccc;
667 div#cgit div.footer a {
668 color: #ccc;
669 text-decoration: none;
672 div#cgit div.footer a:hover {
673 text-decoration: underline;
676 div#cgit a.branch-deco {
677 color: #000;
678 margin: 0px 0.5em;
679 padding: 0px 0.25em;
680 background-color: #88ff88;
681 border: solid 1px #007700;
684 div#cgit a.tag-deco {
685 color: #000;
686 margin: 0px 0.5em;
687 padding: 0px 0.25em;
688 background-color: #ffff88;
689 border: solid 1px #777700;
692 div#cgit a.tag-annotated-deco {
693 color: #000;
694 margin: 0px 0.5em;
695 padding: 0px 0.25em;
696 background-color: #ffcc88;
697 border: solid 1px #777700;
700 div#cgit a.remote-deco {
701 color: #000;
702 margin: 0px 0.5em;
703 padding: 0px 0.25em;
704 background-color: #ccccff;
705 border: solid 1px #000077;
708 div#cgit a.deco {
709 color: #000;
710 margin: 0px 0.5em;
711 padding: 0px 0.25em;
712 background-color: #ff8888;
713 border: solid 1px #770000;
716 div#cgit div.commit-subject a.branch-deco,
717 div#cgit div.commit-subject a.tag-deco,
718 div#cgit div.commit-subject a.tag-annotated-deco,
719 div#cgit div.commit-subject a.remote-deco,
720 div#cgit div.commit-subject a.deco {
721 margin-left: 1em;
722 font-size: 75%;
725 div#cgit table.stats {
726 border: solid 1px black;
727 border-collapse: collapse;
730 div#cgit table.stats th {
731 text-align: left;
732 padding: 1px 0.5em;
733 background-color: #eee;
734 border: solid 1px black;
737 div#cgit table.stats td {
738 text-align: right;
739 padding: 1px 0.5em;
740 border: solid 1px black;
743 div#cgit table.stats td.total {
744 font-weight: bold;
745 text-align: left;
748 div#cgit table.stats td.sum {
749 color: #c00;
750 font-weight: bold;
751 /* background-color: #eee; */
754 div#cgit table.stats td.left {
755 text-align: left;
758 div#cgit table.vgraph {
759 border-collapse: separate;
760 border: solid 1px black;
761 height: 200px;
764 div#cgit table.vgraph th {
765 background-color: #eee;
766 font-weight: bold;
767 border: solid 1px white;
768 padding: 1px 0.5em;
771 div#cgit table.vgraph td {
772 vertical-align: bottom;
773 padding: 0px 10px;
776 div#cgit table.vgraph div.bar {
777 background-color: #eee;
780 div#cgit table.hgraph {
781 border: solid 1px black;
782 width: 800px;
785 div#cgit table.hgraph th {
786 background-color: #eee;
787 font-weight: bold;
788 border: solid 1px black;
789 padding: 1px 0.5em;
792 div#cgit table.hgraph td {
793 vertical-align: middle;
794 padding: 2px 2px;
797 div#cgit table.hgraph div.bar {
798 background-color: #eee;
799 height: 1em;
802 div#cgit table.ssdiff {
803 width: 100%;
806 div#cgit table.ssdiff td {
807 font-size: 75%;
808 font-family: monospace;
809 white-space: pre;
810 padding: 1px 4px 1px 4px;
811 border-left: solid 1px #aaa;
812 border-right: solid 1px #aaa;
815 div#cgit table.ssdiff td.add {
816 color: black;
817 background: #cfc;
818 min-width: 50%;
821 div#cgit table.ssdiff td.add_dark {
822 color: black;
823 background: #aca;
824 min-width: 50%;
827 div#cgit table.ssdiff span.add {
828 background: #cfc;
829 font-weight: bold;
832 div#cgit table.ssdiff td.del {
833 color: black;
834 background: #fcc;
835 min-width: 50%;
838 div#cgit table.ssdiff td.del_dark {
839 color: black;
840 background: #caa;
841 min-width: 50%;
844 div#cgit table.ssdiff span.del {
845 background: #fcc;
846 font-weight: bold;
849 div#cgit table.ssdiff td.changed {
850 color: black;
851 background: #ffc;
852 min-width: 50%;
855 div#cgit table.ssdiff td.changed_dark {
856 color: black;
857 background: #cca;
858 min-width: 50%;
861 div#cgit table.ssdiff td.lineno {
862 color: black;
863 background: #eee;
864 text-align: right;
865 width: 3em;
866 min-width: 3em;
869 div#cgit table.ssdiff td.hunk {
870 color: black;
871 background: #ccf;
872 border-top: solid 1px #aaa;
873 border-bottom: solid 1px #aaa;
876 div#cgit table.ssdiff td.head {
877 border-top: solid 1px #aaa;
878 border-bottom: solid 1px #aaa;
881 div#cgit table.ssdiff td.head div.head {
882 font-weight: bold;
883 color: black;
886 div#cgit table.ssdiff td.foot {
887 border-top: solid 1px #aaa;
888 border-left: none;
889 border-right: none;
890 border-bottom: none;
893 div#cgit table.ssdiff td.space {
894 border: none;
897 div#cgit table.ssdiff td.space div {
898 min-height: 3em;