From 0adceb4b64dfe0dd509da33c6d733a47fbf803a2 Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Wed, 01 Aug 2012 21:21:32 -0400
Subject: [PATCH] Regex exclusions for repository search (issue 103)

---
 resources/gitblit.css |   65 ++++++++++++++++++++++++++------
 1 files changed, 53 insertions(+), 12 deletions(-)

diff --git a/resources/gitblit.css b/resources/gitblit.css
index 7812ec4..b51637d 100644
--- a/resources/gitblit.css
+++ b/resources/gitblit.css
@@ -1,6 +1,6 @@
 body {
 	 /* 50px to start the container 10px below the navbar */
-	padding-top: 50px;
+	padding-top: 60px;
 }
 
 footer {
@@ -15,6 +15,9 @@
 
 ul, ol {
 	margin-bottom: 10px !important;
+}
+a:focus {
+	outline: none;
 }
 
 hr {
@@ -37,8 +40,17 @@
 	color: #0069D6;
 }
 
-.navbar {
-	height:40px !important;
+.navbar .brand {
+	padding: 10px 20px;
+}
+
+.navbar .pull-right {
+	margin: 0;
+}
+
+.navbar ul.nav {
+	margin: 0 !important;
+	padding: 4px 0px 0px 0px;
 }
 
 .navbar ul.nav li a {
@@ -49,10 +61,14 @@
 
 .navbar ul.nav li a:hover {
 	color: #abd4ff !important;
+	text-decoration: underline;
+}
+
+.navbar .nav .active > a:hover {
+	text-decoration: underline;
 }
 
 .navbar-inner {
-	height:40px !important;
 	background-color:#000050;
 	background-repeat:repeat-x;
 	background-image:-khtml-gradient(linear, left top, left bottom, from(#000060), to(#000040));
@@ -74,6 +90,7 @@
 	background-image: url(arrow_page.png);
 	background-position: center bottom;
 	outline: 0;
+	padding-bottom:3px;
 }
 
 .navbar .active a {
@@ -131,7 +148,7 @@
 }
 
 table {
-	margin-bottom:5px !important;
+	margin-bottom: 5px;
 	font-size: inherit;
 }
 
@@ -426,10 +443,11 @@
 	color: white;
 }
 
-pre.commit_message {	
+.commit_message {
 	padding: 8px;
 	border: solid #ddd;
 	border-width: 1px 0px 0px;
+	border-radius: 0px;
 }
 
 div.bug_open, span.bug_open {
@@ -632,7 +650,7 @@
 
 table.plain th, table.plain td {
 	white-space: nowrap;
-	padding: 1px 6px;
+	padding: 1px 3px;
 	border: 0;
 }
 
@@ -657,6 +675,16 @@
 	border-left: 0;
 }
 
+table.pretty td.message {
+	padding: 0px;
+}
+
+table.pretty table.nestedTable {
+	width: 100%;
+	margin-left: 4px !important;
+	margin-bottom: 0px !important;
+}
+
 table.comments td {
 	padding: 4px;
 	line-height: 17px;
@@ -673,13 +701,18 @@
 	border:0;
 }
 
+table.repositories th.right {	
+	border-right: 1px solid #ddd;	
+}	
+
 table.repositories td {
 	padding: 2px;
 	border-left: 0;
 }
 
 table.repositories td.rightAlign {	
-	text-align: right;	
+	text-align: right;
+	border-right: 1px solid #ddd;	
 }	
 
 table.repositories td.icon img {
@@ -688,6 +721,8 @@
 
 table.repositories tr.group {
 	background-color: #ccc;
+	border-left: 1px solid #ccc;
+	border-right: 1px solid #ccc;
 }
 
 table.repositories tr.group td {
@@ -760,7 +795,12 @@
 
 table.activity {
 	width: 100%;
-	margin-top: 5px;
+	margin-top: 10px;
+}
+
+table.activity td {
+	padding-top:7px;
+	padding-bottom:7px;
 }
 
 tr th a { background-position: right; padding-right: 15px; background-repeat:no-repeat; }
@@ -793,11 +833,12 @@
 }
 
 td.date {
-	/*font-style: italic !important;*/	
+	/*font-style: italic !important;*/
+	white-space: nowrap;
 }
 
-span.sha1, span.sha1 a, span.sha1 a span, pre.commit_message {
-	font-family: monospace;
+span.sha1, span.sha1 a, span.sha1 a span, .commit_message {
+	font-family: consolas, monospace;
 	font-size: 13px;
 }
 

--
Gitblit v1.9.1