jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/331827 )

Change subject: Split ve.ui.MWMathPage.css from ve.ui.MWMathDialog.css
......................................................................


Split ve.ui.MWMathPage.css from ve.ui.MWMathDialog.css

There are separate JS files for them, so the CSS should be separate, too.

This is a part of the refactoring that is required for bug T153365.

Change-Id: Iadbe5eeccff25ed1d184658945a4eb52e465d863
---
M extension.json
M modules/ve-math/ve.ui.MWMathDialog.css
A modules/ve-math/ve.ui.MWMathPage.css
3 files changed, 59 insertions(+), 57 deletions(-)

Approvals:
  Tchanders: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/extension.json b/extension.json
index a059655..8f74d56 100644
--- a/extension.json
+++ b/extension.json
@@ -161,6 +161,7 @@
                                "ve-math/ve.ce.MWMathNode.css",
                                "ve-math/ve.ui.MWMathIcons.css",
                                "ve-math/ve.ui.MWMathInspector.css",
+                               "ve-math/ve.ui.MWMathPage.css",
                                "ve-math/ve.ui.MWMathDialog.css"
                        ],
                        "dependencies": [
diff --git a/modules/ve-math/ve.ui.MWMathDialog.css 
b/modules/ve-math/ve.ui.MWMathDialog.css
index 5ce983e..4c056ab 100644
--- a/modules/ve-math/ve.ui.MWMathDialog.css
+++ b/modules/ve-math/ve.ui.MWMathDialog.css
@@ -34,58 +34,6 @@
        bottom: 10em;
 }
 
-.ve-ui-mwMathPage-symbol {
-       background-position: center;
-       background-repeat: no-repeat;
-       cursor: pointer;
-       font-size: 1.5em;
-       width: 1.8em;
-       height: 1.8em;
-       display: inline-block;
-       vertical-align: middle;
-       margin: 0 0.1em 0.1em 0;
-       box-sizing: border-box;
-       border: 1px solid #e6e6e6;
-       /* stylelint-disable no-unsupported-browser-features */
-       -webkit-transition: border-color 200ms;
-       -moz-transition: border-color 200ms;
-       transition: border-color 200ms;
-       /* stylelint-enable no-unsupported-browser-features */
-}
-
-.ve-ui-mwMathPage-symbol-wide {
-       /* 2(symbol width) + margin */
-       width: 3.7em;
-}
-
-.ve-ui-mwMathPage-symbol-wider {
-       /* 2.5(symbol width) + 1.5(margin) */
-       width: 4.65em;
-}
-
-.ve-ui-mwMathPage-symbol-widest {
-       /* 3(symbol width) + 2(margin) */
-       width: 5.6em;
-}
-
-.ve-ui-mwMathPage-symbol-contain {
-       background-size: contain; /* stylelint-disable-line 
no-unsupported-browser-features */
-}
-
-.ve-ui-mwMathPage-symbol-largeLayout {
-       height: 3.7em;
-       width: 4.65em;
-}
-
-.ve-ui-mwMathPage-symbol-largeLayout.ve-ui-mwMathPage-symbol-wide {
-       /* 5(symbol width) + 4(margin) */
-       width: 9.4em;
-}
-
-.ve.ui.mwMathPage-symbol:hover {
-       border-color: #ccc;
-}
-
 .ve-ui-mwMathDialog-preview {
        text-align: center;
        line-height: 10em;
@@ -100,9 +48,4 @@
 /* Ensures the preview image is vertically centred */
 .ve-ui-mwMathDialog-preview .mwe-math-fallback-image-display {
        display: inline-block;
-}
-
-.ve-ui-mwMathPage-outline {
-       padding: 0.5em;
-       color: #555;
 }
diff --git a/modules/ve-math/ve.ui.MWMathPage.css 
b/modules/ve-math/ve.ui.MWMathPage.css
new file mode 100644
index 0000000..c064966
--- /dev/null
+++ b/modules/ve-math/ve.ui.MWMathPage.css
@@ -0,0 +1,58 @@
+/*!
+ * VisualEditor UserInterface MWMathPage styles.
+ *
+ * @copyright 2011-2015 VisualEditor Team and others; see AUTHORS.txt
+ * @license The MIT License (MIT); see LICENSE.txt
+ */
+
+.ve-ui-mwMathPage-symbol {
+       background-position: center;
+       background-repeat: no-repeat;
+       cursor: pointer;
+       font-size: 1.5em;
+       width: 1.8em;
+       height: 1.8em;
+       display: inline-block;
+       vertical-align: middle;
+       margin: 0 0.1em 0.1em 0;
+       box-sizing: border-box;
+       border: 1px solid #e6e6e6;
+       /* stylelint-disable no-unsupported-browser-features */
+       -webkit-transition: border-color 200ms;
+       -moz-transition: border-color 200ms;
+       transition: border-color 200ms;
+       /* stylelint-enable no-unsupported-browser-features */
+}
+
+.ve-ui-mwMathPage-symbol-wide {
+       /* 2(symbol width) + margin */
+       width: 3.7em;
+}
+
+.ve-ui-mwMathPage-symbol-wider {
+       /* 2.5(symbol width) + 1.5(margin) */
+       width: 4.65em;
+}
+
+.ve-ui-mwMathPage-symbol-widest {
+       /* 3(symbol width) + 2(margin) */
+       width: 5.6em;
+}
+
+.ve-ui-mwMathPage-symbol-contain {
+       background-size: contain; /* stylelint-disable-line 
no-unsupported-browser-features */
+}
+
+.ve-ui-mwMathPage-symbol-largeLayout {
+       height: 3.7em;
+       width: 4.65em;
+}
+
+.ve-ui-mwMathPage-symbol-largeLayout.ve-ui-mwMathPage-symbol-wide {
+       /* 5(symbol width) + 4(margin) */
+       width: 9.4em;
+}
+
+.ve.ui.mwMathPage-symbol:hover {
+       border-color: #ccc;
+}

-- 
To view, visit https://gerrit.wikimedia.org/r/331827
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iadbe5eeccff25ed1d184658945a4eb52e465d863
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Math
Gerrit-Branch: master
Gerrit-Owner: Amire80 <amir.ahar...@mail.huji.ac.il>
Gerrit-Reviewer: Esanders <esand...@wikimedia.org>
Gerrit-Reviewer: Physikerwelt <w...@physikerwelt.de>
Gerrit-Reviewer: Tchanders <thalia.e.c...@googlemail.com>
Gerrit-Reviewer: TheDJ <hartman.w...@gmail.com>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to