From 02ca294e3634edf938e37f080b00662bedde5125 Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Tue, 01 Oct 2013 17:25:29 -0400
Subject: [PATCH] Tweak diffstat css

---
 src/main/resources/gitblit.css |   66 +++++++++++++++++++++++++++------
 1 files changed, 54 insertions(+), 12 deletions(-)

diff --git a/src/main/resources/gitblit.css b/src/main/resources/gitblit.css
index 05e6b8a..23f4312 100644
--- a/src/main/resources/gitblit.css
+++ b/src/main/resources/gitblit.css
@@ -539,21 +539,29 @@
 }
 
 /* CSS trick to workaround #link topOfWindow offset problem */
-#nums .num {
-    border-top: 160px solid transparent;
-    margin-top: -160px;
-    -webkit-background-clip: padding-box;
-    -moz-background-clip: padding;
-    background-clip: padding-box;
+#nums .jump {
+    border-top: 50px solid transparent;
+    margin-top: -50px;
+	background: url(arrow_line.png) no-repeat scroll bottom right transparent;	
+}
 
+#nums .jump:target {
+	border-left: 7px solid transparent;
+	margin-right: 3px;
+}
+
+#lines .line {
+    padding-left: 5px;
     color: #888;
 }
 
-#nums span:target {
+#nums a:hover {
 	background-color: #ffffbf;
 	color: black;
 	font-weight: bold;
+	border-top: 1px solid red;
 	border-bottom: 1px solid red;
+	text-decoration: none;
 }
 
 #lines table {
@@ -568,11 +576,6 @@
 	padding-left: 5px;
 }
 
-#lines a:hover {
-	background-color: #ffffbf;
-	text-decoration: none;
-}
-
 #lines tr:hover {
 	background-color: #ffffbf;
 }
@@ -584,7 +587,44 @@
 	background-color: #fafafa;
 }
 
+.diffstat {
+	padding: 1px 5px;
+	font-size: smaller;
+	background-color: #f5f5f5;
+	border: 1px solid #ccc;
+	color: #ccc;
+	font-weight:bold;
+}
 
+.diffstat-inline {
+	font-size: smaller;
+	color: #ccc;
+	font-weight:bold;	
+}
+
+.diffstat .diffstat-total {
+	color: black;
+	border-right: 1px solid #ccc;
+	padding-right: 4px;
+	margin-right: 2px;
+}
+
+.diffstat-inline .diffstat-total {
+	color: #999;
+	padding-right: 2px;
+}
+
+.diffstat-segments {
+	vertical-align: baseline;
+}
+
+.diffstat-insert {
+	color: #629E62; 
+}
+
+.diffstat-delete {
+	color: #B9583B; 
+}
 
 h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
     color: #888;
@@ -1152,6 +1192,8 @@
 table.pretty td.graph {
 	border-right: 1px solid #ddd;
 	border-bottom: 1px solid #ddd;
+	padding: 0px;
+	/*width: 1px;*/
 }
 
 table.pretty tr.commit {

--
Gitblit v1.9.1