From 531cd203f387f8358a2e15da5f6171f5871ea688 Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Wed, 20 Apr 2011 20:16:31 -0400
Subject: [PATCH] Support Markdown rendering.  Use Wicket GoogleCharts from Maven.

---
 src/com/gitblit/wicket/resources/gitblit.css |   87 +++++++++++++++++++++++++++++++++----------
 1 files changed, 66 insertions(+), 21 deletions(-)

diff --git a/src/com/gitblit/wicket/resources/gitblit.css b/src/com/gitblit/wicket/resources/gitblit.css
index da0c317..3c5aca8 100644
--- a/src/com/gitblit/wicket/resources/gitblit.css
+++ b/src/com/gitblit/wicket/resources/gitblit.css
@@ -4,7 +4,11 @@
 html, body, table, dl, dt, dd, ol, ul, li, form, a, span, tr, th, td, div, em {
 	font-family: verdana, sans-serif;
 	font-size: 12px;
-	line-height: 15px;
+	line-height: 1.35em;
+	margin: 0;
+	padding: 0;
+	border: 0;
+	outline: 0;
 }
 
 body {
@@ -18,7 +22,7 @@
     padding: 0px;
 }
 
-pre, pre.prettyprint, pre.plainprint {
+pre, code, pre.prettyprint, pre.plainprint {
 	color: black;
 	font-family: monospace;
 	font-size:12px;
@@ -71,6 +75,7 @@
 	background-color: #D2C3AF;
 	padding: 3px;
 	border: 1px solid #808080;
+	border-radius: 3px 3px 0 0;
 }
 
 div.header a {
@@ -87,26 +92,15 @@
 	padding: 0px 0px 15px 5px;
 }
 
-div.link {
-	padding: 2px 5px;
+span.link, span.link a {
 	font-family: sans-serif;
 	font-size: 11px;
 }
 
-div.link span {
-	font-family: inherit;
-	font-size: inherit;
-}
-
-div.link a {
-	font-family: inherit;
-	font-size: inherit;
-}
-
-div.link em, div.link span em {
+span.link em, div.link span em {
 	font-style: normal;
-	font-family: inherit;
-	font-size: inherit;
+	font-family: sans-serif;
+	font-size: 11px;
 }
 
 div.page_header {
@@ -115,7 +109,7 @@
 	font-family: sans-serif;
 	font-weight: bold;
 	font-size: 150%;
-	color: #bbb;
+	color: #888;
 	background-color: #ffffff;
 }
 
@@ -140,6 +134,7 @@
 }
 
 div.page_footer {
+	clear: both;
 	height: 17px;
 	color: black;
 	background-color: #ffffff;
@@ -151,7 +146,8 @@
 div.page_nav {
 	color: #ddd;
 	background-color: #000070;
-	padding: 5px;
+	padding: 7px;
+	border-radius: 3px;
 }
 
 div.page_nav a {
@@ -169,6 +165,13 @@
 
 div.page_nav2 {
 	padding: 2px 5px 7px 5px;	
+}
+
+div.search {
+	color:yellow;
+	text-align:right;
+	float:right;
+	padding:4px 4px 3px 3px;	
 }
 
 .repositories_message {
@@ -280,9 +283,42 @@
 	font-family: inherit;
 }
 
+span.addition, span.modification, span.deletion, span.rename {
+	border: 1px solid #888;
+	float: left;
+	height: 0.8em;
+	margin: 0.2em 0.5em 0 0;
+	overflow: hidden;
+	width: 0.8em;
+}
+
+span.addition {
+	background-color: #bbffbb;
+}
+
+span.modification {
+	background-color: #ffdd88;
+}
+
+span.deletion {
+	background-color: #ff8888;
+}
+
+span.rename {
+	background-color: #8888ff;
+}
+
 a.list {
 	text-decoration: none;
 	color: #000000;
+}
+
+a.list.subject {
+	font-weight: bold;
+}
+
+a.list.name {
+	font-weight: bold;	
 }
 
 a.list:hover {
@@ -304,11 +340,20 @@
 	padding: 8px;
 }
 
-table.pretty, table.repositories {
+table.pretty, table.repositories, table.comments {
 	margin-bottom:5px;
 	border-spacing: 0px;
 	border-left: 1px solid #bbb;
 	border-right: 1px solid #bbb;	
+}
+
+table.pretty td {
+	padding: 2px 4px;
+}
+
+table.comments td {
+	padding: 4px;
+	line-height: 17px;
 }
 
 table.repositories {
@@ -388,7 +433,7 @@
 	font-style: italic;	
 }
 
-td.sha1, td.sha1 span {
+span.sha1, span.sha1 a, span.sha1 a span {
 	font-family: monospace;
 	font-size: 13px;
 }

--
Gitblit v1.9.1