From 7203a415392b5372c0866991f1c2810eb5e3527a Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Mon, 18 Apr 2011 17:50:31 -0400 Subject: [PATCH] Add search form to the page nav links panel within a repository. --- src/com/gitblit/wicket/resources/gitblit.css | 56 +++++++++++++++++++++++++++++++++++++------------------- 1 files changed, 37 insertions(+), 19 deletions(-) diff --git a/src/com/gitblit/wicket/resources/gitblit.css b/src/com/gitblit/wicket/resources/gitblit.css index da0c317..8264cbb 100644 --- a/src/com/gitblit/wicket/resources/gitblit.css +++ b/src/com/gitblit/wicket/resources/gitblit.css @@ -5,6 +5,10 @@ font-family: verdana, sans-serif; font-size: 12px; line-height: 15px; + margin: 0; + padding: 0; + border: 0; + outline: 0; } body { @@ -87,26 +91,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 +108,7 @@ font-family: sans-serif; font-weight: bold; font-size: 150%; - color: #bbb; + color: #888; background-color: #ffffff; } @@ -140,6 +133,7 @@ } div.page_footer { + clear: both; height: 17px; color: black; background-color: #ffffff; @@ -151,7 +145,7 @@ div.page_nav { color: #ddd; background-color: #000070; - padding: 5px; + padding: 7px; } div.page_nav a { @@ -169,6 +163,13 @@ div.page_nav2 { padding: 2px 5px 7px 5px; +} + +div.search { + color:yellow; + text-align:right; + float:right; + padding:3px; } .repositories_message { @@ -285,6 +286,14 @@ color: #000000; } +a.list.subject { + font-weight: bold; +} + +a.list.name { + font-weight: bold; +} + a.list:hover { text-decoration: underline; color: #880000; @@ -304,11 +313,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 +406,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