From 57db39c7bfd4f6f7c3e50c0c930d5a69ef309cca Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Mon, 30 Aug 2004 11:57:40 +0000
Subject: [PATCH] give a class name to input images

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1457 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/skins/erp5_html_style/erp5.css.dtml     | 8 +++++++-
 product/ERP5/skins/erp5_html_style/navigation_box.pt | 9 +++++----
 2 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/product/ERP5/skins/erp5_html_style/erp5.css.dtml b/product/ERP5/skins/erp5_html_style/erp5.css.dtml
index 3a72a88024..18cc1a79aa 100755
--- a/product/ERP5/skins/erp5_html_style/erp5.css.dtml
+++ b/product/ERP5/skins/erp5_html_style/erp5.css.dtml
@@ -1,4 +1,4 @@
-<dtml-with stylesheet_properties>
+<dtml-with erp5_stylesheet_properties>
 
 /*______________           CSS ERP5-CORAMY          _________________ */
 
@@ -69,6 +69,12 @@ TABLE.px{
  font-family:  &dtml-default_font_family;;
 }
 
+.input_image{
+ border:none;
+ background-color=transparent;
+ color=transparent;
+ }
+
 
 /*   _________________ Menu Box _________________ */
 
diff --git a/product/ERP5/skins/erp5_html_style/navigation_box.pt b/product/ERP5/skins/erp5_html_style/navigation_box.pt
index 91e7327fc0..093cf9fbb1 100755
--- a/product/ERP5/skins/erp5_html_style/navigation_box.pt
+++ b/product/ERP5/skins/erp5_html_style/navigation_box.pt
@@ -41,7 +41,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
         <td valign="middle" align="center" nowrap>
           <!-- Hidden button as explained in http://ppewww.ph.gla.ac.uk/~flavell/www/formquestion.html -->
           <!-- We should probably call the default method instead -->
-          <input type="image" src="/images/pro/images/spacer.png" width="3" height="3" border="0"
+          <input class="input_image" type="image" src="/images/pro/images/spacer.png" width="3" height="3" border="0"
                  alt="dummy" name="doSelect:method"
                  tal:define="form_action form/action | form/id | template/id | script/id"
                  tal:attributes="name python:form_action + ':method';
@@ -97,7 +97,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
           </select>
         </td>
         <td valign="middle" align="left" nowrap>
-          <input type="image" src="/images/pro/images/favourite.png" title="Select Favorite"
+          <input class="input_image" type="image" src="/images/pro/images/favourite.png" title="Select Favorite"
               i18n:attributes="title" i18n:domain="ui"
               alt="Select Favorite" name="doFavorite:method"
               tal:attributes="src string:$portal_url/images/favourite.png"/>&nbsp;
@@ -117,7 +117,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
             </select>
         </td>
         <td align="left" valign="middle" nowrap>
-          <input type="image" src="/images/pro/images/appearance.png" title="Select Module"
+          <input class="input_image" type="image" src="/images/pro/images/appearance.png" title="Select Module"
               i18n:attributes="title" i18n:domain="ui"
               alt="Select Module" name="doModule:method" tal:attributes="src string:$portal_url/images/appearance.png"/>&nbsp;
           <!--img src="/images/pro/images/sepafon.png"  alt="img" />&nbsp;
@@ -143,7 +143,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
             <input type="text" name="SearchableText">
         </td>
         <td  align="right" valign="middle">
-          <input type="image" src="/images/pro/images/info.png"
+          <input class="input_image" type="image"
+src="/images/pro/images/info.png"
                  title="Search" alt="Search"  name="search:method"
                  i18n:attributes="title" i18n:domain="ui"
                  tal:attributes="src string:$portal_url/images/info.png" />
-- 
2.30.9