author | Johan Herland <johan@herland.net> | 2010-06-18 15:56:11 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2010-06-19 10:20:09 (UTC) |
commit | 47187b33be1c3de43fbed6f350ab05bc978aacd0 (patch) (unidiff) | |
tree | 896a454446d2b6f5e19f96a212a2069898b05606 | |
parent | c8bc3fc04c9af0fd881fb43b8e540fd93920b851 (diff) | |
download | cgit-47187b33be1c3de43fbed6f350ab05bc978aacd0.zip cgit-47187b33be1c3de43fbed6f350ab05bc978aacd0.tar.gz cgit-47187b33be1c3de43fbed6f350ab05bc978aacd0.tar.bz2 |
Fix style of commit-filter links in commit-subject.
When using the commit-filter functionality to add e.g. bug tracker links to
commit messages, the style of those links is mangled by a CSS directive that
is meant to only apply to decorations that are listed on the commit-subject
line.
Fix this directive to only apply to the decorations.
Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgit.css | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -516,25 +516,28 @@ 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.branch-deco, |
529 | div.commit-subject a.tag-deco, | ||
530 | div.commit-subject a.remote-deco, | ||
531 | div.commit-subject a.deco { | ||
529 | margin-left: 1em; | 532 | margin-left: 1em; |
530 | font-size: 75%; | 533 | font-size: 75%; |
531 | } | 534 | } |
532 | 535 | ||
533 | table.stats { | 536 | table.stats { |
534 | border: solid 1px black; | 537 | border: solid 1px black; |
535 | border-collapse: collapse; | 538 | border-collapse: collapse; |
536 | } | 539 | } |
537 | 540 | ||
538 | table.stats th { | 541 | table.stats th { |
539 | text-align: left; | 542 | text-align: left; |
540 | padding: 1px 0.5em; | 543 | padding: 1px 0.5em; |