From: AVRS Aditya Sastry Date: Tue, 7 May 2013 07:22:04 +0000 (+0530) Subject: skin: Revert font-weight on successbox and move to preferences X-Git-Tag: 1.31.0-rc.0~19741^2 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=fb3f2c2928cf4ad066b42389e91fbea9f7d891fb;p=lhc%2Fweb%2Fwiklou.git skin: Revert font-weight on successbox and move to preferences Removed the font-weight: bold from the css rule of the error, warning and successboxes and placed this css declaration in mediawiki.special.preferences.css under a new class "mw-sp-pref-successbox". Follows-up 44e64fb. Bug: 48197 Change-Id: I1a3d774c2daef158176479fba7828b383a195bb9 --- diff --git a/includes/specials/SpecialPreferences.php b/includes/specials/SpecialPreferences.php index 5fcf9ae212..ee5940fb1a 100644 --- a/includes/specials/SpecialPreferences.php +++ b/includes/specials/SpecialPreferences.php @@ -52,7 +52,7 @@ class SpecialPreferences extends SpecialPage { if ( $this->getRequest()->getCheck( 'success' ) ) { $out->wrapWikiMsg( - "
\n$1\n
", + "
\n$1\n
", 'savedprefs' ); } diff --git a/resources/mediawiki.special/mediawiki.special.preferences.css b/resources/mediawiki.special/mediawiki.special.preferences.css index 161efde30d..d455b2135d 100644 --- a/resources/mediawiki.special/mediawiki.special.preferences.css +++ b/resources/mediawiki.special/mediawiki.special.preferences.css @@ -9,3 +9,6 @@ /* .mw-email-authenticated .mw-input { } */ +.mw-sp-pref-successbox { + font-weight: bold; +} diff --git a/skins/common/shared.css b/skins/common/shared.css index 1ea9963418..6e1c94fd36 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -546,7 +546,6 @@ table.collapsed tr.collapsable { float: left; margin-bottom: 2em; color: #000; - font-weight: bold; } .errorbox { border-color: red;