You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by ni...@apache.org on 2004/09/07 11:57:05 UTC

svn commit: rev 43462 - in forrest/trunk/src/core/context/skins/pelt: css xslt/html

Author: nicolaken
Date: Tue Sep  7 02:57:04 2004
New Revision: 43462

Modified:
   forrest/trunk/src/core/context/skins/pelt/css/screen.css
   forrest/trunk/src/core/context/skins/pelt/xslt/html/site2xhtml.xsl
Log:
Fix search box round corners in pelt.

Modified: forrest/trunk/src/core/context/skins/pelt/css/screen.css
==============================================================================
--- forrest/trunk/src/core/context/skins/pelt/css/screen.css	(original)
+++ forrest/trunk/src/core/context/skins/pelt/css/screen.css	Tue Sep  7 02:57:04 2004
@@ -99,6 +99,9 @@
     color: white;
     background-color: #000000;
     z-index:0;
+    background-image: url(images/rc-t-l-5-1header-2searchbox-3searchbox.png);
+    background-repeat: no-repeat;
+    background-position: top left;    
     bottom: -1px; /* compensate for IE rendering issue */
 }
 html>body #top .searchbox {
@@ -215,10 +218,11 @@
    border: none;
    display: block !important;
 }
-#roundtopsmall { 
+
+.roundtopsmall { 
     background-image: url(images/rc-t-r-5-1header-2searchbox-3searchbox.png);
     background-repeat: no-repeat;
-    background-position: top right;
+    background-position: top right;    
 }
 
 #roundbottomsmall {

Modified: forrest/trunk/src/core/context/skins/pelt/xslt/html/site2xhtml.xsl
==============================================================================
--- forrest/trunk/src/core/context/skins/pelt/xslt/html/site2xhtml.xsl	(original)
+++ forrest/trunk/src/core/context/skins/pelt/xslt/html/site2xhtml.xsl	Tue Sep  7 02:57:04 2004
@@ -173,13 +173,7 @@
     |start Search
     +</xsl:comment> 
             <div class="searchbox">
-        <div id="roundtopsmall">
-            <img 
-                src="{$skin-img-dir}/rc-t-l-5-1header-2searchbox-3searchbox.png" 
-                alt="" width="5" height="5" class="cornersmall" 
-                style="display: none" />
-        </div>
-                <form method="get" action="http://www.google.com/search"> 
+                <form class="roundtopsmall" method="get" action="http://www.google.com/search"> 
                     <input type="hidden" 
                     name="sitesearch" value="{$config/searchsite-domain}"/> 
                     <input type="text" id="query" name="q" size="15"