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