r53259 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53258‎ | r53259 | r53260 >
Date:20:21, 14 July 2009
Author:tparscal
Status:deferred
Tags:
Comment:
Added support for the Modern skin.
Modified paths:
  • /trunk/extensions/FundraiserPortal/FundraiserPortal.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FundraiserPortal/FundraiserPortal.hooks.php
@@ -23,6 +23,8 @@
2424
2525 wfLoadExtensionMessages( 'FundraiserPortal' );
2626
 27+ // Define CSS to make portal fit in with the 3 SkinTemplate based
 28+ // skins used on our projects
2729 $css = <<<CSS
2830 /* Monobook Style */
2931 body.skin-monobook div#p-DONATE h5 {
@@ -33,6 +35,19 @@
3436 margin: 0.5em;
3537 margin-bottom: 0.25em;
3638 }
 39+/* Modern Style */
 40+body.skin-modern div#p-DONATE {
 41+ padding-top: 0.25em;
 42+}
 43+body.skin-modern div#p-DONATE h5 {
 44+ display: none;
 45+}
 46+body.skin-modern div#p-DONATE div.pBody a {
 47+ display: block;
 48+ padding: 0;
 49+ margin: 0.5em;
 50+ margin-bottom: 0.25em;
 51+}
3752 /* Vector Style */
3853 body.skin-vector div#p-DONATE {
3954 padding-top: 1em;

Status & tagging log