Add .warningbox to .mw-warning-with-logexcerpt container to standardize
Standardizing system warning message by using general `.warningbox` class. Bug: T234509 Change-Id: If814916af9b9a095cb038d64d859339e0f290c72
This commit is contained in:
parent
3dbc58222c
commit
6fd6651c17
3 changed files with 4 additions and 7 deletions
|
|
@ -694,7 +694,7 @@ class LogEventsList extends ContextSource {
|
|||
$lang = $context->getLanguage()->getHtmlCode();
|
||||
|
||||
$s = Xml::openElement( 'div', [
|
||||
'class' => "mw-warning-with-logexcerpt mw-content-$dir",
|
||||
'class' => "warningbox mw-warning-with-logexcerpt mw-content-$dir",
|
||||
'dir' => $dir,
|
||||
'lang' => $lang,
|
||||
] );
|
||||
|
|
|
|||
|
|
@ -291,7 +291,7 @@ class MovePageForm extends UnlistedSpecialPage {
|
|||
# Then it must be protected based on static groups (regular)
|
||||
$noticeMsg = 'protectedpagemovewarning';
|
||||
}
|
||||
$out->addHTML( "<div class='mw-warning-with-logexcerpt'>\n" );
|
||||
$out->addHTML( "<div class='warningbox mw-warning-with-logexcerpt'>\n" );
|
||||
$out->addWikiMsg( $noticeMsg );
|
||||
LogEventsList::showLogExtract(
|
||||
$out,
|
||||
|
|
|
|||
|
|
@ -277,14 +277,11 @@ p.mw-delete-editreasons {
|
|||
* Page protection warning
|
||||
* incl. log entries for these warnings
|
||||
*/
|
||||
div.mw-warning-with-logexcerpt {
|
||||
padding: 3px;
|
||||
margin-bottom: 3px;
|
||||
border: 2px solid #2a4b8d;
|
||||
.mw-warning-with-logexcerpt {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
div.mw-warning-with-logexcerpt ul li {
|
||||
.mw-warning-with-logexcerpt ul li {
|
||||
font-size: 90%;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue