mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-09-23 18:29:49 +00:00
Merge "Add support for page status indicators"
This commit is contained in:
commit
8437d301e8
|
@ -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();
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue