From 722e2325300c7e5d73a93416e28c20354556fec4 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Thu, 23 May 2013 23:13:59 -0400 Subject: [PATCH] Implemented compare page for branch/tag/manual diffs (issue-75, issue-133) --- src/main/resources/gitblit.css | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/src/main/resources/gitblit.css b/src/main/resources/gitblit.css index 26dc480..0a1c3b0 100644 --- a/src/main/resources/gitblit.css +++ b/src/main/resources/gitblit.css @@ -119,6 +119,11 @@ color: #ffffff !important; } +.nav-pills > .active > a, .nav-pills > .active > a:hover { + color: #fff; + background-color: #002060; +} + .repositorynavbar { background-color: #fbfbfb; border-bottom: 1px solid #ccc; @@ -703,6 +708,16 @@ border-bottom: 0; border-radius: 3px 3px 0 0; font-weight: bold; + font-family: Helvetica,arial,freesans,clean,sans-serif; +} + +div.diffHeader { + /* CSS trick to workaround #link topOfWindow offset problem */ + border-top: 65px solid transparent; + margin-top: -65px; + -webkit-background-clip: padding-box; + -moz-background-clip: padding; + background-clip: padding-box; } div.commitHeader { @@ -858,6 +873,10 @@ font-family: inherit; } +div.diff table { + border: 1px solid #ddd; +} + span.diff.add { color: #008800; font-family: inherit; -- Gitblit v1.9.1