mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-14 18:15:19 +00:00
Merge "Remove temporary compat for $wgVectorTitleAboveTabs = false"
This commit is contained in:
commit
f23bd2706c
|
@ -375,8 +375,7 @@
|
|||
"modules/ve-mw/preinit/styles/ve.init.mw.DesktopArticleTarget.init-vector.less"
|
||||
],
|
||||
"vector-2022": [
|
||||
"modules/ve-mw/preinit/styles/ve.init.mw.DesktopArticleTarget.init-wikimediatheme.css",
|
||||
"modules/ve-mw/preinit/styles/ve.init.mw.DesktopArticleTarget.init-vector-2022.less"
|
||||
"modules/ve-mw/preinit/styles/ve.init.mw.DesktopArticleTarget.init-wikimediatheme.css"
|
||||
],
|
||||
"monobook": [
|
||||
"modules/ve-mw/preinit/styles/ve.init.mw.DesktopArticleTarget.init-apextheme.css"
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
/*!
|
||||
* 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;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue