summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.css16
1 files changed, 15 insertions, 1 deletions
diff --git a/cgit.css b/cgit.css
index 0c88b65..a2a685b 100644
--- a/cgit.css
+++ b/cgit.css
@@ -361,385 +361,399 @@ div.diffstat-header {
361} 361}
362 362
363table.diffstat { 363table.diffstat {
364 border-collapse: collapse; 364 border-collapse: collapse;
365 border: solid 1px #aaa; 365 border: solid 1px #aaa;
366 background-color: #eee; 366 background-color: #eee;
367} 367}
368 368
369table.diffstat th { 369table.diffstat th {
370 font-weight: normal; 370 font-weight: normal;
371 text-align: left; 371 text-align: left;
372 text-decoration: underline; 372 text-decoration: underline;
373 padding: 0.1em 1em 0.1em 0.1em; 373 padding: 0.1em 1em 0.1em 0.1em;
374 font-size: 100%; 374 font-size: 100%;
375} 375}
376 376
377table.diffstat td { 377table.diffstat td {
378 padding: 0.2em 0.2em 0.1em 0.1em; 378 padding: 0.2em 0.2em 0.1em 0.1em;
379 font-size: 100%; 379 font-size: 100%;
380 border: none; 380 border: none;
381} 381}
382 382
383table.diffstat td.mode { 383table.diffstat td.mode {
384 white-space: nowrap; 384 white-space: nowrap;
385} 385}
386 386
387table.diffstat td span.modechange { 387table.diffstat td span.modechange {
388 padding-left: 1em; 388 padding-left: 1em;
389 color: red; 389 color: red;
390} 390}
391 391
392table.diffstat td.add a { 392table.diffstat td.add a {
393 color: green; 393 color: green;
394} 394}
395 395
396table.diffstat td.del a { 396table.diffstat td.del a {
397 color: red; 397 color: red;
398} 398}
399 399
400table.diffstat td.upd a { 400table.diffstat td.upd a {
401 color: blue; 401 color: blue;
402} 402}
403 403
404table.diffstat td.graph { 404table.diffstat td.graph {
405 width: 500px; 405 width: 500px;
406 vertical-align: middle; 406 vertical-align: middle;
407} 407}
408 408
409table.diffstat td.graph table { 409table.diffstat td.graph table {
410 border: none; 410 border: none;
411} 411}
412 412
413table.diffstat td.graph td { 413table.diffstat td.graph td {
414 padding: 0px; 414 padding: 0px;
415 border: 0px; 415 border: 0px;
416 height: 7pt; 416 height: 7pt;
417} 417}
418 418
419table.diffstat td.graph td.add { 419table.diffstat td.graph td.add {
420 background-color: #5c5; 420 background-color: #5c5;
421} 421}
422 422
423table.diffstat td.graph td.rem { 423table.diffstat td.graph td.rem {
424 background-color: #c55; 424 background-color: #c55;
425} 425}
426 426
427div.diffstat-summary { 427div.diffstat-summary {
428 color: #888; 428 color: #888;
429 padding-top: 0.5em; 429 padding-top: 0.5em;
430} 430}
431 431
432table.diff { 432table.diff {
433 width: 100%; 433 width: 100%;
434} 434}
435 435
436table.diff td { 436table.diff td {
437 font-family: monospace; 437 font-family: monospace;
438 white-space: pre; 438 white-space: pre;
439} 439}
440 440
441table.diff td div.head { 441table.diff td div.head {
442 font-weight: bold; 442 font-weight: bold;
443 margin-top: 1em; 443 margin-top: 1em;
444 color: black; 444 color: black;
445} 445}
446 446
447table.diff td div.hunk { 447table.diff td div.hunk {
448 color: #009; 448 color: #009;
449} 449}
450 450
451table.diff td div.add { 451table.diff td div.add {
452 color: green; 452 color: green;
453} 453}
454 454
455table.diff td div.del { 455table.diff td div.del {
456 color: red; 456 color: red;
457} 457}
458 458
459.sha1 { 459.sha1 {
460 font-family: monospace; 460 font-family: monospace;
461 font-size: 90%; 461 font-size: 90%;
462} 462}
463 463
464.left { 464.left {
465 text-align: left; 465 text-align: left;
466} 466}
467 467
468.right { 468.right {
469 text-align: right; 469 text-align: right;
470} 470}
471 471
472table.list td.reposection { 472table.list td.reposection {
473 font-style: italic; 473 font-style: italic;
474 color: #888; 474 color: #888;
475} 475}
476 476
477a.button { 477a.button {
478 font-size: 80%; 478 font-size: 80%;
479 padding: 0em 0.5em; 479 padding: 0em 0.5em;
480} 480}
481 481
482a.primary { 482a.primary {
483 font-size: 100%; 483 font-size: 100%;
484} 484}
485 485
486a.secondary { 486a.secondary {
487 font-size: 90%; 487 font-size: 90%;
488} 488}
489 489
490td.toplevel-repo { 490td.toplevel-repo {
491 491
492} 492}
493 493
494table.list td.sublevel-repo { 494table.list td.sublevel-repo {
495 padding-left: 1.5em; 495 padding-left: 1.5em;
496} 496}
497 497
498div.pager { 498div.pager {
499 text-align: center; 499 text-align: center;
500 margin: 1em 0em 0em 0em; 500 margin: 1em 0em 0em 0em;
501} 501}
502 502
503div.pager a { 503div.pager a {
504 color: #777; 504 color: #777;
505 margin: 0em 0.5em; 505 margin: 0em 0.5em;
506} 506}
507 507
508span.age-mins { 508span.age-mins {
509 font-weight: bold; 509 font-weight: bold;
510 color: #080; 510 color: #080;
511} 511}
512 512
513span.age-hours { 513span.age-hours {
514 color: #080; 514 color: #080;
515} 515}
516 516
517span.age-days { 517span.age-days {
518 color: #040; 518 color: #040;
519} 519}
520 520
521span.age-weeks { 521span.age-weeks {
522 color: #444; 522 color: #444;
523} 523}
524 524
525span.age-months { 525span.age-months {
526 color: #888; 526 color: #888;
527} 527}
528 528
529span.age-years { 529span.age-years {
530 color: #bbb; 530 color: #bbb;
531} 531}
532div.footer { 532div.footer {
533 margin-top: 0.5em; 533 margin-top: 0.5em;
534 text-align: center; 534 text-align: center;
535 font-size: 80%; 535 font-size: 80%;
536 color: #ccc; 536 color: #ccc;
537} 537}
538a.branch-deco { 538a.branch-deco {
539 margin: 0px 0.5em; 539 margin: 0px 0.5em;
540 padding: 0px 0.25em; 540 padding: 0px 0.25em;
541 background-color: #88ff88; 541 background-color: #88ff88;
542 border: solid 1px #007700; 542 border: solid 1px #007700;
543} 543}
544a.tag-deco { 544a.tag-deco {
545 margin: 0px 0.5em; 545 margin: 0px 0.5em;
546 padding: 0px 0.25em; 546 padding: 0px 0.25em;
547 background-color: #ffff88; 547 background-color: #ffff88;
548 border: solid 1px #777700; 548 border: solid 1px #777700;
549} 549}
550a.remote-deco { 550a.remote-deco {
551 margin: 0px 0.5em; 551 margin: 0px 0.5em;
552 padding: 0px 0.25em; 552 padding: 0px 0.25em;
553 background-color: #ccccff; 553 background-color: #ccccff;
554 border: solid 1px #000077; 554 border: solid 1px #000077;
555} 555}
556a.deco { 556a.deco {
557 margin: 0px 0.5em; 557 margin: 0px 0.5em;
558 padding: 0px 0.25em; 558 padding: 0px 0.25em;
559 background-color: #ff8888; 559 background-color: #ff8888;
560 border: solid 1px #770000; 560 border: solid 1px #770000;
561} 561}
562 562
563div.commit-subject a.branch-deco, 563div.commit-subject a.branch-deco,
564div.commit-subject a.tag-deco, 564div.commit-subject a.tag-deco,
565div.commit-subject a.remote-deco, 565div.commit-subject a.remote-deco,
566div.commit-subject a.deco { 566div.commit-subject a.deco {
567 margin-left: 1em; 567 margin-left: 1em;
568 font-size: 75%; 568 font-size: 75%;
569} 569}
570 570
571table.stats { 571table.stats {
572 border: solid 1px black; 572 border: solid 1px black;
573 border-collapse: collapse; 573 border-collapse: collapse;
574} 574}
575 575
576table.stats th { 576table.stats th {
577 text-align: left; 577 text-align: left;
578 padding: 1px 0.5em; 578 padding: 1px 0.5em;
579 background-color: #eee; 579 background-color: #eee;
580 border: solid 1px black; 580 border: solid 1px black;
581} 581}
582 582
583table.stats td { 583table.stats td {
584 text-align: right; 584 text-align: right;
585 padding: 1px 0.5em; 585 padding: 1px 0.5em;
586 border: solid 1px black; 586 border: solid 1px black;
587} 587}
588 588
589table.stats td.total { 589table.stats td.total {
590 font-weight: bold; 590 font-weight: bold;
591 text-align: left; 591 text-align: left;
592} 592}
593 593
594table.stats td.sum { 594table.stats td.sum {
595 color: #c00; 595 color: #c00;
596 font-weight: bold; 596 font-weight: bold;
597 /*background-color: #eee; */ 597 /*background-color: #eee; */
598} 598}
599 599
600table.stats td.left { 600table.stats td.left {
601 text-align: left; 601 text-align: left;
602} 602}
603 603
604table.vgraph { 604table.vgraph {
605 border-collapse: separate; 605 border-collapse: separate;
606 border: solid 1px black; 606 border: solid 1px black;
607 height: 200px; 607 height: 200px;
608} 608}
609 609
610table.vgraph th { 610table.vgraph th {
611 background-color: #eee; 611 background-color: #eee;
612 font-weight: bold; 612 font-weight: bold;
613 border: solid 1px white; 613 border: solid 1px white;
614 padding: 1px 0.5em; 614 padding: 1px 0.5em;
615} 615}
616 616
617table.vgraph td { 617table.vgraph td {
618 vertical-align: bottom; 618 vertical-align: bottom;
619 padding: 0px 10px; 619 padding: 0px 10px;
620} 620}
621 621
622table.vgraph div.bar { 622table.vgraph div.bar {
623 background-color: #eee; 623 background-color: #eee;
624} 624}
625 625
626table.hgraph { 626table.hgraph {
627 border: solid 1px black; 627 border: solid 1px black;
628 width: 800px; 628 width: 800px;
629} 629}
630 630
631table.hgraph th { 631table.hgraph th {
632 background-color: #eee; 632 background-color: #eee;
633 font-weight: bold; 633 font-weight: bold;
634 border: solid 1px black; 634 border: solid 1px black;
635 padding: 1px 0.5em; 635 padding: 1px 0.5em;
636} 636}
637 637
638table.hgraph td { 638table.hgraph td {
639 vertical-align: center; 639 vertical-align: center;
640 padding: 2px 2px; 640 padding: 2px 2px;
641} 641}
642 642
643table.hgraph div.bar { 643table.hgraph div.bar {
644 background-color: #eee; 644 background-color: #eee;
645 height: 1em; 645 height: 1em;
646} 646}
647 647
648table.ssdiff { 648table.ssdiff {
649 width: 100%; 649 width: 100%;
650} 650}
651 651
652table.ssdiff td { 652table.ssdiff td {
653 font-size: 75%; 653 font-size: 75%;
654 font-family: monospace; 654 font-family: monospace;
655 white-space: pre; 655 white-space: pre;
656 padding: 1px 4px 1px 4px; 656 padding: 1px 4px 1px 4px;
657 border-left: solid 1px #aaa; 657 border-left: solid 1px #aaa;
658 border-right: solid 1px #aaa; 658 border-right: solid 1px #aaa;
659} 659}
660 660
661table.ssdiff td.add { 661table.ssdiff td.add {
662 color: black; 662 color: black;
663 background: #cfc; 663 background: #cfc;
664 min-width: 50%; 664 min-width: 50%;
665} 665}
666 666
667table.ssdiff td.add_dark { 667table.ssdiff td.add_dark {
668 color: black; 668 color: black;
669 background: #aca; 669 background: #aca;
670 min-width: 50%; 670 min-width: 50%;
671} 671}
672 672
673table.ssdiff span.add { 673table.ssdiff span.add {
674 background: #cfc; 674 background: #cfc;
675 font-weight: bold; 675 font-weight: bold;
676} 676}
677 677
678table.ssdiff td.del { 678table.ssdiff td.del {
679 color: black; 679 color: black;
680 background: #fcc; 680 background: #fcc;
681 min-width: 50%; 681 min-width: 50%;
682} 682}
683 683
684table.ssdiff td.del_dark { 684table.ssdiff td.del_dark {
685 color: black; 685 color: black;
686 background: #caa; 686 background: #caa;
687 min-width: 50%; 687 min-width: 50%;
688} 688}
689 689
690table.ssdiff span.del { 690table.ssdiff span.del {
691 background: #fcc; 691 background: #fcc;
692 font-weight: bold; 692 font-weight: bold;
693} 693}
694 694
695table.ssdiff td.changed { 695table.ssdiff td.changed {
696 color: black; 696 color: black;
697 background: #ffc; 697 background: #ffc;
698 min-width: 50%; 698 min-width: 50%;
699} 699}
700 700
701table.ssdiff td.changed_dark { 701table.ssdiff td.changed_dark {
702 color: black; 702 color: black;
703 background: #cca; 703 background: #cca;
704 min-width: 50%; 704 min-width: 50%;
705} 705}
706 706
707table.ssdiff td.lineno { 707table.ssdiff td.lineno {
708 color: black; 708 color: black;
709 background: #eee; 709 background: #eee;
710 text-align: right; 710 text-align: right;
711 width: 3em; 711 width: 3em;
712 min-width: 3em; 712 min-width: 3em;
713} 713}
714 714
715table.ssdiff td.hunk { 715table.ssdiff td.hunk {
716 color: #black; 716 color: #black;
717 background: #ccf; 717 background: #ccf;
718 border-top: solid 1px #aaa; 718 border-top: solid 1px #aaa;
719 border-bottom: solid 1px #aaa; 719 border-bottom: solid 1px #aaa;
720} 720}
721 721
722table.ssdiff td.head { 722table.ssdiff td.head {
723 border-top: solid 1px #aaa; 723 border-top: solid 1px #aaa;
724 border-bottom: solid 1px #aaa; 724 border-bottom: solid 1px #aaa;
725} 725}
726 726
727table.ssdiff td.head div.head { 727table.ssdiff td.head div.head {
728 font-weight: bold; 728 font-weight: bold;
729 color: black; 729 color: black;
730} 730}
731 731
732table.ssdiff td.foot { 732table.ssdiff td.foot {
733 border-top: solid 1px #aaa; 733 border-top: solid 1px #aaa;
734 border-left: none; 734 border-left: none;
735 border-right: none; 735 border-right: none;
736 border-bottom: none; 736 border-bottom: none;
737} 737}
738 738
739table.ssdiff td.space { 739table.ssdiff td.space {
740 border: none; 740 border: none;
741} 741}
742 742
743table.ssdiff td.space div { 743table.ssdiff td.space div {
744 min-height: 3em; 744 min-height: 3em;
745} \ No newline at end of file 745}
746
747/* Syntax highlighting */
748table.blob .num { color:#2928ff; }
749table.blob .esc { color:#ff00ff; }
750table.blob .str { color:#ff0000; }
751table.blob .dstr { color:#818100; }
752table.blob .slc { color:#838183; font-style:italic; }
753table.blob .com { color:#838183; font-style:italic; }
754table.blob .dir { color:#008200; }
755table.blob .sym { color:#000000; }
756table.blob .kwa { color:#000000; font-weight:bold; }
757table.blob .kwb { color:#830000; }
758table.blob .kwc { color:#000000; font-weight:bold; }
759table.blob .kwd { color:#010181; }