summaryrefslogtreecommitdiff
path: root/cgit.css
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2009-01-11 12:16:18 +0100
committerLars Hjemli <hjemli@gmail.com>2009-01-11 12:16:18 +0100
commitef2dc552b298e5c65db8fbe5ff1c375e50d0f057 (patch)
treeb3bbb563c58026c4fbf366424be08846bce3096e /cgit.css
parent5164be32778e2bca146e13904e5b9e79d0d6cca8 (diff)
downloadcgit-ef2dc552b298e5c65db8fbe5ff1c375e50d0f057.tar.gz
cgit-ef2dc552b298e5c65db8fbe5ff1c375e50d0f057.tar.bz2
cgit-ef2dc552b298e5c65db8fbe5ff1c375e50d0f057.zip
ui-log: show name-decorations in log output
Commits are now decorated with a clickable 'label' for each ref pointing at it, similar to how gitweb and gitk displays commit decorations. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to '')
-rw-r--r--cgit.css24
1 files changed, 24 insertions, 0 deletions
diff --git a/cgit.css b/cgit.css
index 7928c2f..f19446d 100644
--- a/cgit.css
+++ b/cgit.css
@@ -471,3 +471,27 @@ div.footer {
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;
+}