From a0c5090fec592f7a478581678e14d8aa1c652a0a Mon Sep 17 00:00:00 2001 From: donchambers Date: Thu, 15 Nov 2007 15:49:33 +0000 Subject: [PATCH] BP: Add livesearch support for navbar quicksearch. Note: all stylesheets changed from selector navbarsearchform to #sitenav #searchform {} --- templates/bulletproof/base.css | 2 +- templates/bulletproof/blue_style.css | 2 +- templates/bulletproof/green_style.css | 2 +- templates/bulletproof/index.tpl | 14 ++++++++++++-- templates/bulletproof/info.txt | 2 +- templates/bulletproof/purple_style.css | 2 +- templates/bulletproof/style.css | 4 ++-- 7 files changed, 19 insertions(+), 9 deletions(-) diff --git a/templates/bulletproof/base.css b/templates/bulletproof/base.css index c5294ce..694b3d3 100644 --- a/templates/bulletproof/base.css +++ b/templates/bulletproof/base.css @@ -46,7 +46,7 @@ body { display: inline; } -#navbarsearchform { +#sitenav #searchform { float: right; display: inline; } diff --git a/templates/bulletproof/blue_style.css b/templates/bulletproof/blue_style.css index 9cb10a8..afd82e1 100644 --- a/templates/bulletproof/blue_style.css +++ b/templates/bulletproof/blue_style.css @@ -241,7 +241,7 @@ input#serendipityQuickSearchTermField { border: 1px solid #1F5F7F!important; } -#navbarsearchform input { +#sitenav #searchform input { border: 1px solid #1f5f7f; } diff --git a/templates/bulletproof/green_style.css b/templates/bulletproof/green_style.css index 6d3900e..654a350 100644 --- a/templates/bulletproof/green_style.css +++ b/templates/bulletproof/green_style.css @@ -242,7 +242,7 @@ input#serendipityQuickSearchTermField { border: 1px solid #224c03!important; } -#navbarsearchform input { +#sitenav #searchform input { border: 1px solid #224c03; } diff --git a/templates/bulletproof/index.tpl b/templates/bulletproof/index.tpl index df0903c..43489ec 100644 --- a/templates/bulletproof/index.tpl +++ b/templates/bulletproof/index.tpl @@ -93,7 +93,12 @@ {if $template_option.sitenav_quicksearch == 'true'} - +
+ + + +
+ {serendipity_hookPlugin hook="quicksearch_plugin" hookAll="true"} {/if} {/if} @@ -119,7 +124,12 @@ {if $template_option.sitenav_quicksearch == 'true'} - +
+ + + +
+ {serendipity_hookPlugin hook="quicksearch_plugin" hookAll="true"} {/if} {/if} diff --git a/templates/bulletproof/info.txt b/templates/bulletproof/info.txt index e881608..2d6044b 100644 --- a/templates/bulletproof/info.txt +++ b/templates/bulletproof/info.txt @@ -1,4 +1,4 @@ Name: Bulletproof v1.2 beta (s9y-bulletproof.com) Author: Bulletproof development team -Date: 2007-10-30 +Date: 2007-11-15 Require Serendipity: 1.2 diff --git a/templates/bulletproof/purple_style.css b/templates/bulletproof/purple_style.css index 2ba2b9a..375b19b 100644 --- a/templates/bulletproof/purple_style.css +++ b/templates/bulletproof/purple_style.css @@ -250,7 +250,7 @@ input#serendipityQuickSearchTermField { border: 1px solid #823995!important; } -#navbarsearchform input { +#sitenav #searchform input { border: 1px solid #823995; } diff --git a/templates/bulletproof/style.css b/templates/bulletproof/style.css index 32f08ca..edbf4a2 100644 --- a/templates/bulletproof/style.css +++ b/templates/bulletproof/style.css @@ -409,11 +409,11 @@ input#serendipityQuickSearchTermField { background: #ffffff url('{TEMPLATE_PATH}img/quicksearch.png') no-repeat 97% 50%; } -#navbarsearchform { +#sitenav #searchform { margin: 0 10px 0 0; } -#navbarsearchform input { +#sitenav #searchform input { width: 165px; margin-top: 3px; padding-left: 3px; -- 2.39.5