From 269719fbfef07a19f84f87c9a87fc6c811dcc3ba Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Sun, 19 Apr 2009 03:41:15 -0400
Subject: [PATCH] - Make quicksearchbox looking the same in all browsers (checked in IE6, FF3, Opera9, Konqueror3, Chrome1, Safari4)

---
 skins/default/common.css                 |    8 +-------
 CHANGELOG                                |    1 +
 skins/default/templates/mail.html        |    2 +-
 skins/default/templates/addressbook.html |    2 +-
 4 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/CHANGELOG b/CHANGELOG
index f04e628..ecc2a0a 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,7 @@
 CHANGELOG RoundCube Webmail
 ===========================
 
+- Fix quicksearchbox look in Chrome and Konqueror (#1484841)
 - Fix UTF-8 byte-order mark removing (#1485514)
 - Fix folders subscribtions on Konqueror (#1484841) 
 - Fix debug console on Konqueror and Safari
diff --git a/skins/default/common.css b/skins/default/common.css
index ec2cd52..34ea1d2 100644
--- a/skins/default/common.css
+++ b/skins/default/common.css
@@ -364,17 +364,11 @@
   top: 2px;
   left: 20px;
   width: 140px;
+  height: 15px;
   font-size: 11px;
   padding: 0px;
   border: none;
 }
-
-
-/*\*/
-html>body*#quicksearchbar[id$="quicksearchbar"]:not([class="none"]) { background-image: none; }
-html>body*#quicksearchbar[id$="quicksearchbar"]:not([class="none"]) a { top: 5px; }
-html>body*#quicksearchbar[id$="quicksearchbar"]:not([class="none"]) #quicksearchbox { width: 180px; top:0px; right: 1px; left: auto; }
-/**/
 
 
 /***** roundcube webmail pre-defined classes *****/
diff --git a/skins/default/templates/addressbook.html b/skins/default/templates/addressbook.html
index 326ded2..ce29556 100644
--- a/skins/default/templates/addressbook.html
+++ b/skins/default/templates/addressbook.html
@@ -41,7 +41,7 @@
 </div>
 
 <div id="quicksearchbar">
-<roundcube:object name="searchform" type="search" results="5" id="quicksearchbox" /><roundcube:button command="reset-search" id="searchreset" image="/images/icons/reset.gif" title="resetsearch" />
+<roundcube:object name="searchform" id="quicksearchbox" /><roundcube:button command="reset-search" id="searchreset" image="/images/icons/reset.gif" title="resetsearch" />
 </div>
 
 <roundcube:if condition="config:ldap_public" />
diff --git a/skins/default/templates/mail.html b/skins/default/templates/mail.html
index fb887ba..96be0f6 100644
--- a/skins/default/templates/mail.html
+++ b/skins/default/templates/mail.html
@@ -136,7 +136,7 @@
 </div>
 
 <div id="quicksearchbar">
-<roundcube:object name="searchform" type="search" results="5" id="quicksearchbox" /><roundcube:button command="reset-search" id="searchreset" image="/images/icons/reset.gif" title="resetsearch" />
+<roundcube:object name="searchform" id="quicksearchbox" /><roundcube:button command="reset-search" id="searchreset" image="/images/icons/reset.gif" title="resetsearch" />
 </div>
 
 </body>

--
Gitblit v1.9.1