mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-04 02:39:02 +00:00
d88fd9b6a8
With related changes to the DOM in the new Vector skin, most skin styles are no longer necessary for Vector 2022. This patch also fixes an issue with the font-size of the toolbar when $wgVectorTitleAboveTabs = true. Bug: T310197 Depends-On: Idae6755c90eacaab1a9daa88c6e28850d427810c Change-Id: I6776f08b24f83cf4daeef70bfdeb73dfeafc785a
26 lines
866 B
Plaintext
26 lines
866 B
Plaintext
/*!
|
|
* VisualEditor MediaWiki DesktopArticleTarget Vector-2022 skin init styles.
|
|
*
|
|
* @copyright 2011-2020 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
// Local copy of Vector variables.
|
|
@padding-top-content: 0.5em;
|
|
@padding-horizontal-content: 0.5em;
|
|
// End local copy of Vector variables.
|
|
|
|
@padding-top-toolbar: -@padding-top-content/0.875;
|
|
@padding-horizontal-toolbar: -@padding-horizontal-content/0.875;
|
|
|
|
.ve-init-mw-desktopArticleTarget-toolbar,
|
|
.ve-init-mw-desktopArticleTarget-toolbarPlaceholder {
|
|
|
|
// New Vector with $wgVectorTitleAboveTabs = false
|
|
/* stylelint-disable-next-line selector-max-id */
|
|
#content.ve-init-mw-desktopArticleTarget-targetContainer & {
|
|
font-size: 0.875em;
|
|
margin: @padding-top-toolbar @padding-horizontal-toolbar -@padding-top-toolbar @padding-horizontal-toolbar;
|
|
}
|
|
}
|