author | Lars Hjemli <hjemli@gmail.com> | 2009-12-08 18:32:48 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2009-12-08 18:32:48 (UTC) |
commit | f4f6210b4f9c214dc247567bbd06b1135c9ecd06 (patch) (unidiff) | |
tree | 432b3dc327e05220c6ac0aff9ca81cf38a47524c /cgit.css | |
parent | 57bb4fdb8419d7c250d4c6146910df3263943951 (diff) | |
parent | 735e15e38a484bf0daa98776fa7cde270a271cda (diff) | |
download | cgit-f4f6210b4f9c214dc247567bbd06b1135c9ecd06.zip cgit-f4f6210b4f9c214dc247567bbd06b1135c9ecd06.tar.gz cgit-f4f6210b4f9c214dc247567bbd06b1135c9ecd06.tar.bz2 |
Merge branch 'ro/ssdiff'
-rw-r--r-- | cgit.css | 99 |
1 files changed, 99 insertions, 0 deletions
@@ -353,256 +353,355 @@ table.diffstat td span.modechange { | |||
353 | padding-left: 1em; | 353 | padding-left: 1em; |
354 | color: red; | 354 | color: red; |
355 | } | 355 | } |
356 | 356 | ||
357 | table.diffstat td.add a { | 357 | table.diffstat td.add a { |
358 | color: green; | 358 | color: green; |
359 | } | 359 | } |
360 | 360 | ||
361 | table.diffstat td.del a { | 361 | table.diffstat td.del a { |
362 | color: red; | 362 | color: red; |
363 | } | 363 | } |
364 | 364 | ||
365 | table.diffstat td.upd a { | 365 | table.diffstat td.upd a { |
366 | color: blue; | 366 | color: blue; |
367 | } | 367 | } |
368 | 368 | ||
369 | table.diffstat td.graph { | 369 | table.diffstat td.graph { |
370 | width: 500px; | 370 | width: 500px; |
371 | vertical-align: middle; | 371 | vertical-align: middle; |
372 | } | 372 | } |
373 | 373 | ||
374 | table.diffstat td.graph table { | 374 | table.diffstat td.graph table { |
375 | border: none; | 375 | border: none; |
376 | } | 376 | } |
377 | 377 | ||
378 | table.diffstat td.graph td { | 378 | table.diffstat td.graph td { |
379 | padding: 0px; | 379 | padding: 0px; |
380 | border: 0px; | 380 | border: 0px; |
381 | height: 7pt; | 381 | height: 7pt; |
382 | } | 382 | } |
383 | 383 | ||
384 | table.diffstat td.graph td.add { | 384 | table.diffstat td.graph td.add { |
385 | background-color: #5c5; | 385 | background-color: #5c5; |
386 | } | 386 | } |
387 | 387 | ||
388 | table.diffstat td.graph td.rem { | 388 | table.diffstat td.graph td.rem { |
389 | background-color: #c55; | 389 | background-color: #c55; |
390 | } | 390 | } |
391 | 391 | ||
392 | div.diffstat-summary { | 392 | div.diffstat-summary { |
393 | color: #888; | 393 | color: #888; |
394 | padding-top: 0.5em; | 394 | padding-top: 0.5em; |
395 | } | 395 | } |
396 | 396 | ||
397 | table.diff { | 397 | table.diff { |
398 | width: 100%; | 398 | width: 100%; |
399 | } | 399 | } |
400 | 400 | ||
401 | table.diff td { | 401 | table.diff td { |
402 | font-family: monospace; | 402 | font-family: monospace; |
403 | white-space: pre; | 403 | white-space: pre; |
404 | } | 404 | } |
405 | 405 | ||
406 | table.diff td div.head { | 406 | table.diff td div.head { |
407 | font-weight: bold; | 407 | font-weight: bold; |
408 | margin-top: 1em; | 408 | margin-top: 1em; |
409 | color: black; | 409 | color: black; |
410 | } | 410 | } |
411 | 411 | ||
412 | table.diff td div.hunk { | 412 | table.diff td div.hunk { |
413 | color: #009; | 413 | color: #009; |
414 | } | 414 | } |
415 | 415 | ||
416 | table.diff td div.add { | 416 | table.diff td div.add { |
417 | color: green; | 417 | color: green; |
418 | } | 418 | } |
419 | 419 | ||
420 | table.diff td div.del { | 420 | table.diff td div.del { |
421 | color: red; | 421 | color: red; |
422 | } | 422 | } |
423 | 423 | ||
424 | .sha1 { | 424 | .sha1 { |
425 | font-family: monospace; | 425 | font-family: monospace; |
426 | font-size: 90%; | 426 | font-size: 90%; |
427 | } | 427 | } |
428 | 428 | ||
429 | .left { | 429 | .left { |
430 | text-align: left; | 430 | text-align: left; |
431 | } | 431 | } |
432 | 432 | ||
433 | .right { | 433 | .right { |
434 | text-align: right; | 434 | text-align: right; |
435 | } | 435 | } |
436 | 436 | ||
437 | table.list td.reposection { | 437 | table.list td.reposection { |
438 | font-style: italic; | 438 | font-style: italic; |
439 | color: #888; | 439 | color: #888; |
440 | } | 440 | } |
441 | 441 | ||
442 | a.button { | 442 | a.button { |
443 | font-size: 80%; | 443 | font-size: 80%; |
444 | padding: 0em 0.5em; | 444 | padding: 0em 0.5em; |
445 | } | 445 | } |
446 | 446 | ||
447 | a.primary { | 447 | a.primary { |
448 | font-size: 100%; | 448 | font-size: 100%; |
449 | } | 449 | } |
450 | 450 | ||
451 | a.secondary { | 451 | a.secondary { |
452 | font-size: 90%; | 452 | font-size: 90%; |
453 | } | 453 | } |
454 | 454 | ||
455 | td.toplevel-repo { | 455 | td.toplevel-repo { |
456 | 456 | ||
457 | } | 457 | } |
458 | 458 | ||
459 | table.list td.sublevel-repo { | 459 | table.list td.sublevel-repo { |
460 | padding-left: 1.5em; | 460 | padding-left: 1.5em; |
461 | } | 461 | } |
462 | 462 | ||
463 | div.pager { | 463 | div.pager { |
464 | text-align: center; | 464 | text-align: center; |
465 | margin: 1em 0em 0em 0em; | 465 | margin: 1em 0em 0em 0em; |
466 | } | 466 | } |
467 | 467 | ||
468 | div.pager a { | 468 | div.pager a { |
469 | color: #777; | 469 | color: #777; |
470 | margin: 0em 0.5em; | 470 | margin: 0em 0.5em; |
471 | } | 471 | } |
472 | 472 | ||
473 | span.age-mins { | 473 | span.age-mins { |
474 | font-weight: bold; | 474 | font-weight: bold; |
475 | color: #080; | 475 | color: #080; |
476 | } | 476 | } |
477 | 477 | ||
478 | span.age-hours { | 478 | span.age-hours { |
479 | color: #080; | 479 | color: #080; |
480 | } | 480 | } |
481 | 481 | ||
482 | span.age-days { | 482 | span.age-days { |
483 | color: #040; | 483 | color: #040; |
484 | } | 484 | } |
485 | 485 | ||
486 | span.age-weeks { | 486 | span.age-weeks { |
487 | color: #444; | 487 | color: #444; |
488 | } | 488 | } |
489 | 489 | ||
490 | span.age-months { | 490 | span.age-months { |
491 | color: #888; | 491 | color: #888; |
492 | } | 492 | } |
493 | 493 | ||
494 | span.age-years { | 494 | span.age-years { |
495 | color: #bbb; | 495 | color: #bbb; |
496 | } | 496 | } |
497 | div.footer { | 497 | div.footer { |
498 | margin-top: 0.5em; | 498 | margin-top: 0.5em; |
499 | text-align: center; | 499 | text-align: center; |
500 | font-size: 80%; | 500 | font-size: 80%; |
501 | color: #ccc; | 501 | color: #ccc; |
502 | } | 502 | } |
503 | a.branch-deco { | 503 | a.branch-deco { |
504 | margin: 0px 0.5em; | 504 | margin: 0px 0.5em; |
505 | padding: 0px 0.25em; | 505 | padding: 0px 0.25em; |
506 | background-color: #88ff88; | 506 | background-color: #88ff88; |
507 | border: solid 1px #007700; | 507 | border: solid 1px #007700; |
508 | } | 508 | } |
509 | a.tag-deco { | 509 | a.tag-deco { |
510 | margin: 0px 0.5em; | 510 | margin: 0px 0.5em; |
511 | padding: 0px 0.25em; | 511 | padding: 0px 0.25em; |
512 | background-color: #ffff88; | 512 | background-color: #ffff88; |
513 | border: solid 1px #777700; | 513 | border: solid 1px #777700; |
514 | } | 514 | } |
515 | a.remote-deco { | 515 | a.remote-deco { |
516 | margin: 0px 0.5em; | 516 | margin: 0px 0.5em; |
517 | padding: 0px 0.25em; | 517 | padding: 0px 0.25em; |
518 | background-color: #ccccff; | 518 | background-color: #ccccff; |
519 | border: solid 1px #000077; | 519 | border: solid 1px #000077; |
520 | } | 520 | } |
521 | a.deco { | 521 | a.deco { |
522 | margin: 0px 0.5em; | 522 | margin: 0px 0.5em; |
523 | padding: 0px 0.25em; | 523 | padding: 0px 0.25em; |
524 | background-color: #ff8888; | 524 | background-color: #ff8888; |
525 | border: solid 1px #770000; | 525 | border: solid 1px #770000; |
526 | } | 526 | } |
527 | 527 | ||
528 | div.commit-subject a { | 528 | div.commit-subject a { |
529 | margin-left: 1em; | 529 | margin-left: 1em; |
530 | font-size: 75%; | 530 | font-size: 75%; |
531 | } | 531 | } |
532 | 532 | ||
533 | table.stats { | 533 | table.stats { |
534 | border: solid 1px black; | 534 | border: solid 1px black; |
535 | border-collapse: collapse; | 535 | border-collapse: collapse; |
536 | } | 536 | } |
537 | 537 | ||
538 | table.stats th { | 538 | table.stats th { |
539 | text-align: left; | 539 | text-align: left; |
540 | padding: 1px 0.5em; | 540 | padding: 1px 0.5em; |
541 | background-color: #eee; | 541 | background-color: #eee; |
542 | border: solid 1px black; | 542 | border: solid 1px black; |
543 | } | 543 | } |
544 | 544 | ||
545 | table.stats td { | 545 | table.stats td { |
546 | text-align: right; | 546 | text-align: right; |
547 | padding: 1px 0.5em; | 547 | padding: 1px 0.5em; |
548 | border: solid 1px black; | 548 | border: solid 1px black; |
549 | } | 549 | } |
550 | 550 | ||
551 | table.stats td.total { | 551 | table.stats td.total { |
552 | font-weight: bold; | 552 | font-weight: bold; |
553 | text-align: left; | 553 | text-align: left; |
554 | } | 554 | } |
555 | 555 | ||
556 | table.stats td.sum { | 556 | table.stats td.sum { |
557 | color: #c00; | 557 | color: #c00; |
558 | font-weight: bold; | 558 | font-weight: bold; |
559 | /*background-color: #eee; */ | 559 | /*background-color: #eee; */ |
560 | } | 560 | } |
561 | 561 | ||
562 | table.stats td.left { | 562 | table.stats td.left { |
563 | text-align: left; | 563 | text-align: left; |
564 | } | 564 | } |
565 | 565 | ||
566 | table.vgraph { | 566 | table.vgraph { |
567 | border-collapse: separate; | 567 | border-collapse: separate; |
568 | border: solid 1px black; | 568 | border: solid 1px black; |
569 | height: 200px; | 569 | height: 200px; |
570 | } | 570 | } |
571 | 571 | ||
572 | table.vgraph th { | 572 | table.vgraph th { |
573 | background-color: #eee; | 573 | background-color: #eee; |
574 | font-weight: bold; | 574 | font-weight: bold; |
575 | border: solid 1px white; | 575 | border: solid 1px white; |
576 | padding: 1px 0.5em; | 576 | padding: 1px 0.5em; |
577 | } | 577 | } |
578 | 578 | ||
579 | table.vgraph td { | 579 | table.vgraph td { |
580 | vertical-align: bottom; | 580 | vertical-align: bottom; |
581 | padding: 0px 10px; | 581 | padding: 0px 10px; |
582 | } | 582 | } |
583 | 583 | ||
584 | table.vgraph div.bar { | 584 | table.vgraph div.bar { |
585 | background-color: #eee; | 585 | background-color: #eee; |
586 | } | 586 | } |
587 | 587 | ||
588 | table.hgraph { | 588 | table.hgraph { |
589 | border: solid 1px black; | 589 | border: solid 1px black; |
590 | width: 800px; | 590 | width: 800px; |
591 | } | 591 | } |
592 | 592 | ||
593 | table.hgraph th { | 593 | table.hgraph th { |
594 | background-color: #eee; | 594 | background-color: #eee; |
595 | font-weight: bold; | 595 | font-weight: bold; |
596 | border: solid 1px black; | 596 | border: solid 1px black; |
597 | padding: 1px 0.5em; | 597 | padding: 1px 0.5em; |
598 | } | 598 | } |
599 | 599 | ||
600 | table.hgraph td { | 600 | table.hgraph td { |
601 | vertical-align: center; | 601 | vertical-align: center; |
602 | padding: 2px 2px; | 602 | padding: 2px 2px; |
603 | } | 603 | } |
604 | 604 | ||
605 | table.hgraph div.bar { | 605 | table.hgraph div.bar { |
606 | background-color: #eee; | 606 | background-color: #eee; |
607 | height: 1em; | 607 | height: 1em; |
608 | } | 608 | } |
609 | |||
610 | table.ssdiff { | ||
611 | width: 100%; | ||
612 | } | ||
613 | |||
614 | table.ssdiff td { | ||
615 | font-size: 75%; | ||
616 | font-family: monospace; | ||
617 | white-space: pre; | ||
618 | padding: 1px 4px 1px 4px; | ||
619 | border-left: solid 1px #aaa; | ||
620 | border-right: solid 1px #aaa; | ||
621 | } | ||
622 | |||
623 | table.ssdiff td.add { | ||
624 | color: black; | ||
625 | background: #cfc; | ||
626 | min-width: 50%; | ||
627 | } | ||
628 | |||
629 | table.ssdiff td.add_dark { | ||
630 | color: black; | ||
631 | background: #aca; | ||
632 | min-width: 50%; | ||
633 | } | ||
634 | |||
635 | table.ssdiff span.add { | ||
636 | background: #cfc; | ||
637 | font-weight: bold; | ||
638 | } | ||
639 | |||
640 | table.ssdiff td.del { | ||
641 | color: black; | ||
642 | background: #fcc; | ||
643 | min-width: 50%; | ||
644 | } | ||
645 | |||
646 | table.ssdiff td.del_dark { | ||
647 | color: black; | ||
648 | background: #caa; | ||
649 | min-width: 50%; | ||
650 | } | ||
651 | |||
652 | table.ssdiff span.del { | ||
653 | background: #fcc; | ||
654 | font-weight: bold; | ||
655 | } | ||
656 | |||
657 | table.ssdiff td.changed { | ||
658 | color: black; | ||
659 | background: #ffc; | ||
660 | min-width: 50%; | ||
661 | } | ||
662 | |||
663 | table.ssdiff td.changed_dark { | ||
664 | color: black; | ||
665 | background: #cca; | ||
666 | min-width: 50%; | ||
667 | } | ||
668 | |||
669 | table.ssdiff td.lineno { | ||
670 | color: black; | ||
671 | background: #eee; | ||
672 | text-align: right; | ||
673 | width: 3em; | ||
674 | min-width: 3em; | ||
675 | } | ||
676 | |||
677 | table.ssdiff td.hunk { | ||
678 | color: #black; | ||
679 | background: #ccf; | ||
680 | border-top: solid 1px #aaa; | ||
681 | border-bottom: solid 1px #aaa; | ||
682 | } | ||
683 | |||
684 | table.ssdiff td.head { | ||
685 | border-top: solid 1px #aaa; | ||
686 | border-bottom: solid 1px #aaa; | ||
687 | } | ||
688 | |||
689 | table.ssdiff td.head div.head { | ||
690 | font-weight: bold; | ||
691 | color: black; | ||
692 | } | ||
693 | |||
694 | table.ssdiff td.foot { | ||
695 | border-top: solid 1px #aaa; | ||
696 | border-left: none; | ||
697 | border-right: none; | ||
698 | border-bottom: none; | ||
699 | } | ||
700 | |||
701 | table.ssdiff td.space { | ||
702 | border: none; | ||
703 | } | ||
704 | |||
705 | table.ssdiff td.space div { | ||
706 | min-height: 3em; | ||
707 | } \ No newline at end of file | ||