From 309c55b5a9670e7c327ad8d4e5d94b8af840d00f Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Fri, 18 Nov 2011 17:46:06 -0500
Subject: [PATCH] Calculate repository color from name. Show swatch on repository list.

---
 resources/bootstrap.gb.css |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/resources/bootstrap.gb.css b/resources/bootstrap.gb.css
index 06c4670..32aac08 100644
--- a/resources/bootstrap.gb.css
+++ b/resources/bootstrap.gb.css
@@ -160,6 +160,15 @@
 	font-size: 11px;	
 }
 
+span.repositorySwatch {
+	border-radius: 3px;
+	padding: 2px 5px;	
+	color: #ffffff;
+}
+span.repositorySwatch a {
+	color: inherit;
+}
+
 img.inlineIcon {
 	padding-left: 1px;
 	padding-right: 1px;

--
Gitblit v1.9.1