From cebf455f3fd54b72e530942f308097ec54b408cd Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Thu, 07 Apr 2011 09:46:30 -0400
Subject: [PATCH] Let Wicket manage resources and use markup inheritance.

---
 resources/gitblit.css |  106 ++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 101 insertions(+), 5 deletions(-)

diff --git a/resources/gitblit.css b/resources/gitblit.css
index 032b26e..675a258 100644
--- a/resources/gitblit.css
+++ b/resources/gitblit.css
@@ -18,8 +18,9 @@
     padding: 0px;
 }
 
-pre.prettyprint, pre.plainprint {
+pre, pre.prettyprint, pre.plainprint {
 	color: black;
+	font-family: monospace;
 	font-size:12px;
 	border:0px;
 }
@@ -60,6 +61,10 @@
 	float: right;
 	border-width: 0px;
 	padding: 8px;
+}
+
+div.repositories_message {
+	line-height: inherit;
 }
 
 div.header {
@@ -175,6 +180,96 @@
 	border-width: 1px 0px 1px;
 }
 
+div.bug_open, span.bug_open {
+	padding: 2px;
+	background-color: #800000;
+	color: white;	
+	text-align: center;
+}
+
+div.bug_resolved, span.bug_resolved {
+	padding: 2px;
+	background-color: #008000;
+	color: white;
+	text-align: center;
+}
+
+div.bug_invalid, span.bug_invalid {
+	padding: 2px;
+	background-color: gray;
+	text-align: center;
+}
+
+div.bug_hold, span.bug_hold {
+	padding: 2px;
+	background-color: orange;
+	text-align: center;
+}
+
+div.diff {
+	font-family: monospace;
+}
+
+div.diff.header {
+	-moz-border-bottom-colors: none;
+    -moz-border-image: none;
+    -moz-border-left-colors: none;
+    -moz-border-right-colors: none;
+    -moz-border-top-colors: none;
+    background-color: #EDECE6;
+    border-color: #D9D8D1;
+    border-style: solid;
+    border-width: 1px 0;
+    font-weight: bold;
+    margin-top: 4px;
+    padding: 4px 0 2px;
+}
+
+div.diff.extended_header {
+	background-color: #F6F5EE;
+    padding: 2px 0;
+    font-family: inherit;
+}
+
+div.diff.add {
+	color: #008800;
+	font-family: inherit;
+}
+
+div.diff.remove {
+	color: #cc0000;
+	font-family: inherit;
+}
+
+div.diff.unchanged {
+	color: inherit;
+	font-family: inherit;
+}
+
+div.diff.hunk_header {
+	-moz-border-bottom-colors: none;
+    -moz-border-image: none;
+    -moz-border-left-colors: none;
+    -moz-border-right-colors: none;
+    -moz-border-top-colors: none;
+    border-color: #FFE0FF;
+    border-style: dotted;
+    border-width: 1px 0 0;
+    margin-top: 2px;
+    font-family: inherit;
+}
+
+span.diff.hunk_info {
+	background-color: #FFEEFF;	
+	color: #990099;
+	font-family: inherit;
+}
+
+span.diff.hunk_section {	
+	color: #AA22AA;
+	font-family: inherit;
+}
+
 a.list {
 	text-decoration: none;
 	color: #000000;
@@ -213,9 +308,9 @@
 }
 
 table.repositories th {
-	background-color:#000070;
+	background-color:#D2C3AF;
 	padding: 4px;
-	border-bottom: 1px solid #bbb;
+	border-bottom: 1px solid #808080;
 }
 
 table.repositories td {
@@ -223,7 +318,7 @@
 }
 
 table.repositories th a {
-	color:#ddd;
+	color:black;/*#ddd;*/
 	text-decoration: none;
 	font-weight: normal;
 }
@@ -233,7 +328,8 @@
 }
 
 table.repositories th.wicket_orderDown a, table.repositories th.wicket_orderUp a {
-	color: yellow;
+	color: black;
+	font-weight: bold;
 }
 
 tr th a { padding-right: 15px; background-position: right; background-repeat:no-repeat; }

--
Gitblit v1.9.1