Esanders has uploaded a new change for review.
https://gerrit.wikimedia.org/r/248235
Change subject: Create separate skinStyles for target loading bar
......................................................................
Create separate skinStyles for target loading bar
Change-Id: I74eff697711641a7c111564ddb9e493ad358b8d4
---
M extension.json
A modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.init-monobook.css
A modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.init-vector.css
M modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.init.css
4 files changed, 51 insertions(+), 6 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor
refs/changes/35/248235/1
diff --git a/extension.json b/extension.json
index 90d3dfc..1a87342 100644
--- a/extension.json
+++ b/extension.json
@@ -253,6 +253,14 @@
"class": "VisualEditorDesktopArticleTargetInitModule",
"scripts":
"modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.init.js",
"styles":
"modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.init.css",
+ "skinStyles": {
+ "vector": [
+
"modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.init-vector.css"
+ ],
+ "monobook": [
+
"modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.init-monobook.css"
+ ]
+ },
"dependencies": [
"jquery.client",
"mediawiki.page.startup",
diff --git
a/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.init-monobook.css
b/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.init-monobook.css
new file mode 100644
index 0000000..185743d
--- /dev/null
+++
b/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.init-monobook.css
@@ -0,0 +1,23 @@
+/*!
+ * VisualEditor MediaWiki DesktopArticleTarget Monobook init styles.
+ *
+ * @copyright 2011-2015 VisualEditor Team and others; see AUTHORS.txt
+ * @license The MIT License (MIT); see LICENSE.txt
+ */
+
+.ve-init-mw-desktopArticleTarget-progress {
+ border: 1px solid #ccc;
+ background: #fff;
+ border-radius: 0.25em;
+}
+
+.ve-init-mw-desktopArticleTarget-progress-bar {
+ border-right: 1px solid #ccc;
+ background: #cde7f4;
+ filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,
startColorstr='#eaf4fa', endColorstr='#b0d9ee');
+ background-image: -webkit-gradient(linear, right top, right bottom,
color-stop(0%, #eaf4fa), color-stop(100%, #b0d9ee));
+ background-image: -webkit-linear-gradient(top, #eaf4fa 0%, #b0d9ee
100%);
+ background-image: -moz-linear-gradient(top, #eaf4fa 0%, #b0d9ee 100%);
+ background-image: -o-linear-gradient(top, #eaf4fa 0%, #b0d9ee 100%);
+ background-image: linear-gradient(to bottom, #eaf4fa 0%, #b0d9ee 100%);
+}
diff --git
a/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.init-vector.css
b/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.init-vector.css
new file mode 100644
index 0000000..0ea11a7
--- /dev/null
+++ b/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.init-vector.css
@@ -0,0 +1,18 @@
+/*!
+ * VisualEditor MediaWiki DesktopArticleTarget Vector init styles.
+ *
+ * @copyright 2011-2015 VisualEditor Team and others; see AUTHORS.txt
+ * @license The MIT License (MIT); see LICENSE.txt
+ */
+
+.ve-init-mw-desktopArticleTarget-progress {
+ height: 0.75em;
+ border: 1px solid #347bff;
+ background: #fff;
+ border-radius: 2px;
+}
+
+.ve-init-mw-desktopArticleTarget-progress-bar {
+ height: 0.75em;
+ background: #347bff;
+}
diff --git a/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.init.css
b/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.init.css
index 87534a9..9ef44df 100644
--- a/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.init.css
+++ b/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.init.css
@@ -64,18 +64,14 @@
}
.ve-init-mw-desktopArticleTarget-progress {
- border: 1px solid #347bff;
- background: #fff;
- height: 0.75em;
- border-radius: 2px;
+ height: 1em;
overflow: hidden;
margin: 0 25%;
}
.ve-init-mw-desktopArticleTarget-progress-bar {
+ height: 1em;
width: 0;
- height: 0.75em;
- background: #347bff;
}
/* Section edit links */
--
To view, visit https://gerrit.wikimedia.org/r/248235
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I74eff697711641a7c111564ddb9e493ad358b8d4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Esanders <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits