From 44e64fb6037836139f9f8bf17e6c5fc5e7f2c1e0 Mon Sep 17 00:00:00 2001 From: AVRS Aditya Sastry Date: Thu, 18 Apr 2013 18:34:11 +0530 Subject: [PATCH] SpecialPreferences: Remove invalid tag in successbox Using CSS font-weight instead. Also removed all traces of #mw-pref-clear. They are redundant since the preferences form already has class "visualClear". Bug: 33438 Change-Id: If606203218ece5974a956a3d41d5db40f55b2d5c --- includes/specials/SpecialPreferences.php | 2 +- skins/common/oldshared.css | 3 --- skins/common/shared.css | 1 + skins/modern/main.css | 5 ----- 4 files changed, 2 insertions(+), 9 deletions(-) diff --git a/includes/specials/SpecialPreferences.php b/includes/specials/SpecialPreferences.php index a50e7c188e..5fcf9ae212 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/skins/common/oldshared.css b/skins/common/oldshared.css index 6dcdf6f168..ec9e861dc6 100644 --- a/skins/common/oldshared.css +++ b/skins/common/oldshared.css @@ -161,9 +161,6 @@ img { border: none; } } /* preference page with js-genrated toc */ -#mw-pref-clear { - clear: both; -} #preftoc { float: left; margin: 1em 1em 1em 1em; diff --git a/skins/common/shared.css b/skins/common/shared.css index 6e1c94fd36..1ea9963418 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -546,6 +546,7 @@ table.collapsed tr.collapsable { float: left; margin-bottom: 2em; color: #000; + font-weight: bold; } .errorbox { border-color: red; diff --git a/skins/modern/main.css b/skins/modern/main.css index f201209d22..7e7758a697 100644 --- a/skins/modern/main.css +++ b/skins/modern/main.css @@ -412,11 +412,6 @@ h1, h2, h3, h4, h5, h6 { text-decoration: none; color: white; } - -#mw-pref-clear { - clear: both; -} - #mw_content a.external, #mw_content a.external[href ^="gopher://"] { /* @embed */ -- 2.20.1