From: Robert Stojnić Date: Thu, 2 Jul 2009 00:25:27 +0000 (+0000) Subject: Fix background color of the searchbox and "did you mean" link table... since this... X-Git-Tag: 1.31.0-rc.0~41139 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=4089af73f1113964ae73b2d37e684f868a16a724;p=lhc%2Fweb%2Fwiklou.git Fix background color of the searchbox and "did you mean" link table... since this had no style it used the white background of content tables which is bad since some wikis have custom background colors for special pages. --- diff --git a/includes/specials/SpecialSearch.php b/includes/specials/SpecialSearch.php index 2434964041..77cdb806e5 100644 --- a/includes/specials/SpecialSearch.php +++ b/includes/specials/SpecialSearch.php @@ -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 ) . diff --git a/skins/common/shared.css b/skins/common/shared.css index 8fe16216d3..d4f5899a75 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -288,6 +288,10 @@ div.searchdidyoumean em { font-weight: bold; } +table#mw-search-top-table { + background-color:inherit; +} + /* * Advanced PowerSearch box