aboutsummaryrefslogtreecommitdiff
path: root/gitweb/static/gitweb.css
diff options
context:
space:
mode:
authorJakub Narebski <jnareb@gmail.com>2012-01-31 01:20:54 +0100
committerJunio C Hamano <gitster@pobox.com>2012-02-01 12:52:50 -0800
commita1e1b2d77b9fc5866d12bf984214b15f1dccf4a8 (patch)
tree563ef0b8c276ddc79de99f09c3036d43600aba74 /gitweb/static/gitweb.css
parent4426ba2919697d57ab8b6335ca63b2c14e4e6339 (diff)
downloadgit-a1e1b2d77b9fc5866d12bf984214b15f1dccf4a8.tar.gz
git-a1e1b2d77b9fc5866d12bf984214b15f1dccf4a8.tar.xz
gitweb: improve usability of projects search form
Refactor generating project search form into git_project_search_form(). Make text field wider and add on mouse over explanation (via "title" attribute), add an option to use regular expressions, and replace 'Search:' label with [Search] button. Also add "List all projects" link to make it easier to go back from search result to list of all projects (note that an empty search term is disallowed). Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/static/gitweb.css')
-rw-r--r--gitweb/static/gitweb.css7
1 files changed, 6 insertions, 1 deletions
diff --git a/gitweb/static/gitweb.css b/gitweb/static/gitweb.css
index c7827e8f1..c530355a7 100644
--- a/gitweb/static/gitweb.css
+++ b/gitweb/static/gitweb.css
@@ -520,8 +520,13 @@ div.search {
right: 12px
}
-p.projsearch {
+div.projsearch {
text-align: center;
+ margin: 20px 0px;
+}
+
+div.projsearch form {
+ margin-bottom: 2px;
}
td.linenr {