From 9e5beeecd2a462337ca5a893bf1458c25df26060 Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Wed, 05 Oct 2011 08:04:47 -0400
Subject: [PATCH] Refactored topbar navigation links to indicate current page.

---
 resources/bootstrap.gb.css |   62 ++++++++++++++++++++++++++-----
 1 files changed, 52 insertions(+), 10 deletions(-)

diff --git a/resources/bootstrap.gb.css b/resources/bootstrap.gb.css
index f7c2f8e..6ff047b 100644
--- a/resources/bootstrap.gb.css
+++ b/resources/bootstrap.gb.css
@@ -3,7 +3,7 @@
 }
 
 ul, ol {
-	margin:0 !important;
+	margin-bottom: 10px !important;
 }
 
 hr {
@@ -46,6 +46,12 @@
 	border-bottom: 2px solid #ff9900 !important;
 }
 
+.topbar ul li:focus, .topbar .active {
+	background-repeat:no-repeat;
+	background-image: url(arrow_page.png);
+	background-position: center bottom;
+}
+
 .breadcrumb {
 	margin-top: 5px !important;
 	margin-bottom: 5px !important;
@@ -77,6 +83,7 @@
 	font-size:12px;
 	border:0px;
 	padding: 0;
+	line-height: 1.35em;
 }
 
 table {
@@ -154,6 +161,11 @@
 	padding-right: 1px;
 }
 
+img.overview {
+	float:right;
+	border:1px solid #CCCCCC;
+}
+
 div.header, div.commitHeader, table.repositories th {
 	background-color:#e0e0e0;
 	background-repeat:repeat-x;
@@ -223,26 +235,41 @@
 	-webkit-border-radius:0;-moz-border-radius:0x;border-radius:0;
 	vertical-align: top;
 	background: url(search-icon.png) no-repeat 4px center;
-	color: #ddd;
 	background-color: transparent;
 	border: 1px solid transparent;
+	outline: none;
 	padding: 2px 2px 2px 22px;
+	text-shadow: none;
 	margin: 0px;
+	
+	color: #ddd;
 }
 
 div.search input:hover, div.search input:focus {
-	background: url(search-icon.png) no-repeat 4px center;
-	color: white;
+	background-color: transparent;
+	border: 1px solid transparent;
+	padding: 2px 2px 2px 22px;
+	text-shadow: none;
+	
+	color: #ddd;
 	border-bottom: 1px solid #ff9900;	
-	outline: none;
 }
 
-div.search input:focused {	
-	background: url(search-icon.png) no-repeat 4px center;
+div.search input:focus {
 	color: white;
-	border-bottom: 1px solid #ff9900;	
-	outline: none;
-	padding: 0 !important;
+}
+
+/* div.search input:focused { */
+/* 	background-color: transparent; */
+/* 	border: 1px solid transparent; */
+/* 	padding: 2px 2px 2px 22px; */
+/* 	text-shadow: none; */
+/* } */
+
+div.login input:focus {
+	background-color: rgba(255, 255, 255, 0.6);	
+	text-shadow: none;
+	color: white;
 }
 
 div.commit_message {
@@ -688,6 +715,21 @@
 	border-color: #00cc33;
 }
 
+table .palette td.buttons button {
+	-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;	
+	border: 1px solid #ccc !important;
+	padding: 10px;
+	margin-bottom: 10px;
+}
+
+table .palette td.buttons button:hover {
+	border: 1px solid #0069D6 !important;
+}
+
+table .palette td.buttons button:active {
+	border: 1px solid orange !important;
+}
+
 .feedbackPanelERROR, .feedbackPanelINFO {	
 	list-style: none;
 	line-height: 35px;

--
Gitblit v1.9.1