summaryrefslogtreecommitdiffabout
authorJohan Herland <johan@herland.net>2010-06-18 15:56:11 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2010-06-19 10:20:09 (UTC)
commit47187b33be1c3de43fbed6f350ab05bc978aacd0 (patch) (side-by-side diff)
tree896a454446d2b6f5e19f96a212a2069898b05606
parentc8bc3fc04c9af0fd881fb43b8e540fd93920b851 (diff)
downloadcgit-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>
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--cgit.css5
1 files changed, 4 insertions, 1 deletions
diff --git a/cgit.css b/cgit.css
index 0cb894a..6198403 100644
--- a/cgit.css
+++ b/cgit.css
@@ -480,97 +480,100 @@ span.age-hours {
}
span.age-days {
color: #040;
}
span.age-weeks {
color: #444;
}
span.age-months {
color: #888;
}
span.age-years {
color: #bbb;
}
div.footer {
margin-top: 0.5em;
text-align: center;
font-size: 80%;
color: #ccc;
}
a.branch-deco {
margin: 0px 0.5em;
padding: 0px 0.25em;
background-color: #88ff88;
border: solid 1px #007700;
}
a.tag-deco {
margin: 0px 0.5em;
padding: 0px 0.25em;
background-color: #ffff88;
border: solid 1px #777700;
}
a.remote-deco {
margin: 0px 0.5em;
padding: 0px 0.25em;
background-color: #ccccff;
border: solid 1px #000077;
}
a.deco {
margin: 0px 0.5em;
padding: 0px 0.25em;
background-color: #ff8888;
border: solid 1px #770000;
}
-div.commit-subject a {
+div.commit-subject a.branch-deco,
+div.commit-subject a.tag-deco,
+div.commit-subject a.remote-deco,
+div.commit-subject a.deco {
margin-left: 1em;
font-size: 75%;
}
table.stats {
border: solid 1px black;
border-collapse: collapse;
}
table.stats th {
text-align: left;
padding: 1px 0.5em;
background-color: #eee;
border: solid 1px black;
}
table.stats td {
text-align: right;
padding: 1px 0.5em;
border: solid 1px black;
}
table.stats td.total {
font-weight: bold;
text-align: left;
}
table.stats td.sum {
color: #c00;
font-weight: bold;
/* background-color: #eee; */
}
table.stats td.left {
text-align: left;
}
table.vgraph {
border-collapse: separate;
border: solid 1px black;
height: 200px;
}
table.vgraph th {
background-color: #eee;
font-weight: bold;
border: solid 1px white;
padding: 1px 0.5em;