From c87b010da044de05f266d6cccba9947f7f5dd17e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Dziewo=C5=84ski?= Date: Tue, 6 Nov 2018 17:24:22 +0100 Subject: [PATCH] ve.init.mw.DesktopArticleTarget: Edit surface padding and gutter for Minerva Bug: T208102 Change-Id: I0a43550c938144f79f04dc91c2c742229f939177 --- extension.json | 6 ++++++ .../ve.init.mw.DesktopArticleTarget-minerva.css | 14 ++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget-minerva.css diff --git a/extension.json b/extension.json index c29cf483fc..259730de2f 100644 --- a/extension.json +++ b/extension.json @@ -387,6 +387,9 @@ ], "monobook": [ "modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget-monobook.css" + ], + "minerva": [ + "modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget-minerva.css" ] }, "dependencies": [ @@ -481,6 +484,9 @@ ], "monobook": [ "modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget-monobook.css" + ], + "minerva": [ + "modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget-minerva.css" ] }, "dependencies": [ diff --git a/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget-minerva.css b/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget-minerva.css new file mode 100644 index 0000000000..f1ef456827 --- /dev/null +++ b/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget-minerva.css @@ -0,0 +1,14 @@ +/*! + * VisualEditor MediaWiki Initialization DesktopArticleTarget Minerva skin styles. + * + * @copyright 2011-2018 VisualEditor Team and others; see AUTHORS.txt + * @license The MIT License (MIT); see LICENSE.txt + */ + +.ve-init-mw-desktopArticleTarget .ve-init-mw-target-surface .ve-ce-documentNode, +.ve-init-mw-desktopArticleTarget .ve-init-mw-target-surface .ve-ui-surface-placeholder { + padding: 0; + /* Provide clickable gutter */ + padding-left: 1000px; + margin-left: -1000px; +}