Merge "Add support for page status indicators"

This commit is contained in:
jenkins-bot 2014-10-27 20:23:28 +00:00 committed by Gerrit Code Review
commit 8437d301e8
2 changed files with 24 additions and 4 deletions

View file

@ -102,6 +102,7 @@ class VectorTemplate extends BaseTemplate {
<?php
}
?>
<?php echo $this->getIndicators(); ?>
<h1 id="firstHeading" class="firstHeading" lang="<?php
$this->data['pageLanguage'] =
$this->getSkin()->getTitle()->getPageViewLanguage()->getHtmlCode();

View file

@ -50,16 +50,14 @@ body {
}
h1,
h2,
#firstHeading {
h2 {
font-family: @content-heading-font-family;
line-height: @heading-line-height;
margin-bottom: 0.25em;
padding: 0;
}
h1,
#firstHeading {
h1 {
font-size: @content-heading-font-size;
}
@ -98,6 +96,27 @@ body {
font-size: 100%; /* (reset) */
font-family: @content-font-family;
}
.firstHeading {
/* Change the default from mediawiki.skinning CSS to let indicators float into heading area */
overflow: visible;
}
.mw-indicators {
float: right;
line-height: @content-line-height;
font-size: @content-font-size;
/* Ensure that this is displayed on top of .mw-body-content and clickable */
position: relative;
z-index: 1;
}
.mw-indicator {
display: -moz-inline-block;
display: inline-block;
zoom: 1;
*display: inline;
}
}
/* Hide empty portlets */