[Erp5-report] r31726 jerome - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: Skin...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jan 13 15:21:44 CET 2010


Author: jerome
Date: Wed Jan 13 15:21:42 2010
New Revision: 31726

URL: http://svn.erp5.org?rev=31726&view=rev
Log:
To apply the same CSS style on the first page quick search than on the navigation bar's quick search, define a CSS class and apply it to both input fields.
Reviewed by: Fabien

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderQuickSearchDialog.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/navigation_box_render.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderQuickSearchDialog.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderQuickSearchDialog.xml?rev=31726&r1=31725&r2=31726&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderQuickSearchDialog.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderQuickSearchDialog.xml [utf8] Wed Jan 13 15:21:42 2010
@@ -44,7 +44,7 @@
   tal:define="dummy python: request.RESPONSE.setHeader(\'Content-Type\', \n
                                                        \'text/html;; charset=utf-8\');">\n
   <div tal:define="search_default_text python:here.Base_translateString(\'Search\')">\n
-    <input type="text" onkeypress="submitFormOnEnter(event, this.form, \'ERP5Site_processAdvancedSearch\');"\n
+    <input class="quick_search_field" type="text" onkeypress="submitFormOnEnter(event, this.form, \'ERP5Site_processAdvancedSearch\');"\n
       value="Search" tal:attributes="value string:${search_default_text};\n
                                      onfocus string:if (this.value==\'${search_default_text}\') this.value=\'\';"\n
       onfocus="this.value=\'\';"\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml?rev=31726&r1=31725&r2=31726&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml [utf8] Wed Jan 13 15:21:42 2010
@@ -816,8 +816,8 @@
   background-image: url(\'<dtml-var expr="portal_url()">/images/language.png\');\n
 }\n
 \n
-#search input {color:#777777;}\n
-#search input:focus {color:#000000;}\n
+.quick_search_field {color:#777777;}\n
+.quick_search_field:focus {color:#000000;}\n
 \n
 #search button .image {\n
   background-image: url(\'<dtml-var expr="portal_url()">/images/search.png\');\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/navigation_box_render.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/navigation_box_render.xml?rev=31726&r1=31725&r2=31726&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/navigation_box_render.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/navigation_box_render.xml [utf8] Wed Jan 13 15:21:42 2010
@@ -126,7 +126,7 @@
       <span class="separator"><!--separator--></span>\n
       <span id="search" tal:define="search_default_text python:here.Base_translateString(\'Search\')">\n
         <input type="hidden" name="all_languages" value="1" />\n
-        <input accesskey="4" type="text" name="field_your_search_text"\n
+        <input class="quick_search_field" accesskey="4" type="text" name="field_your_search_text"\n
           value="Search" tal:attributes="value string:${search_default_text};\n
                                          onfocus string:if (this.value==\'${search_default_text}\') this.value=\'\';"\n
           onfocus="this.value=\'\';"\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=31726&r1=31725&r2=31726&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] Wed Jan 13 15:21:42 2010
@@ -1,1 +1,1 @@
-869
+872




More information about the Erp5-report mailing list