Fix background color of the searchbox and "did you mean" link table... since this...
authorRobert Stojnić <rainman@users.mediawiki.org>
Thu, 2 Jul 2009 00:25:27 +0000 (00:25 +0000)
committerRobert Stojnić <rainman@users.mediawiki.org>
Thu, 2 Jul 2009 00:25:27 +0000 (00:25 +0000)
which is bad since some wikis have custom background colors for special pages.

includes/specials/SpecialSearch.php
skins/common/shared.css

index 2434964..77cdb80 100644 (file)
@@ -203,7 +203,7 @@ class SpecialSearch {
                        )
                );
                $wgOut->addHtml(
-                       Xml::openElement( 'table', array( 'border'=>0, 'cellpadding'=>0, 'cellspacing'=>0 ) ) .
+                       Xml::openElement( 'table', array( 'id'=>'mw-search-top-table', 'border'=>0, 'cellpadding'=>0, 'cellspacing'=>0 ) ) .
                        Xml::openElement( 'tr' ) .
                        Xml::openElement( 'td' ) . "\n" .
                        $this->shortDialog( $term ) .
index 8fe1621..d4f5899 100644 (file)
@@ -288,6 +288,10 @@ div.searchdidyoumean em {
        font-weight: bold;
 }
 
+table#mw-search-top-table {
+       background-color:inherit;
+}
+
 
 /*
  * Advanced PowerSearch box