aboutsummaryrefslogtreecommitdiff
path: root/gitweb/gitweb.css
diff options
context:
space:
mode:
authorJakub Narebski <jnareb@gmail.com>2006-07-31 11:22:13 +0200
committerJunio C Hamano <junkio@cox.net>2006-07-31 03:09:28 -0700
commit9f5dcb8168d5ea9f0169e11f017ecd9710d85797 (patch)
tree4c848ea0203ab2b2a8e32053f02fb2158ff923fa /gitweb/gitweb.css
parent594e212bc849039a204deef1d16c2eddcc451532 (diff)
downloadgit-9f5dcb8168d5ea9f0169e11f017ecd9710d85797.tar.gz
git-9f5dcb8168d5ea9f0169e11f017ecd9710d85797.tar.xz
gitweb: Refactor generation of shortlog, tags and heads body
Add git_shortlog_body, git_tags_body and git_heads_body to generate table with shortlog, tags and heads respectively in git_summary and git_shortlog, git_tags, git_heads respectively. Better support for lightweight tags in git_read_refs; currently only lightweight tag pointing to tag object is not resolved fully. Shortlog, tags and heads body tables have proper class now (we could use id instead of class). Add support for showing full comment on mouseover to tags list when comment is shortened, similar to how full title of commit was/is shown on mouseover when title was shortened. Changed layout of tags table to better show lightweight tags. Add showing which branch (head) is current branch (current head), using "current_head" class (we could use id instead). Corrected "</table\n>" and hit_header_div instead of git_header_div. Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'gitweb/gitweb.css')
-rw-r--r--gitweb/gitweb.css10
1 files changed, 9 insertions, 1 deletions
diff --git a/gitweb/gitweb.css b/gitweb/gitweb.css
index fffdb13d0..460e72871 100644
--- a/gitweb/gitweb.css
+++ b/gitweb/gitweb.css
@@ -181,12 +181,16 @@ td {
vertical-align: top;
}
-td.link {
+td.link, td.selflink {
padding: 2px 5px;
font-family: sans-serif;
font-size: 10px;
}
+td.selflink {
+ padding-right: 0px;
+}
+
td.sha1 {
font-family: monospace;
}
@@ -196,6 +200,10 @@ td.error {
background-color: yellow;
}
+td.current_head {
+ text-decoration: underline;
+}
+
table.diff_tree span.file_status.new {
color: #008000;
}