MtDu has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/370828 )

Change subject: Monobook uses x-small and a globalWrapper to make everything 
inside of it appear normal. However, the revslider-tooltips are not inside this 
globalWrapper, and thus need a separate CSS rule.
......................................................................

Monobook uses x-small and a globalWrapper to make everything inside
of it appear normal. However, the revslider-tooltips are not inside
this globalWrapper, and thus need a separate CSS rule.

Bug: T166231
Change-Id: I2115688fee75145349e062b9586713a56541afa0
---
M extension.json
A modules/ext.RevisionSlider.modern.css
A modules/ext.RevisionSlider.monobook.css
3 files changed, 22 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/RevisionSlider 
refs/changes/28/370828/1

diff --git a/extension.json b/extension.json
index 6b188b5..7ee0604 100644
--- a/extension.json
+++ b/extension.json
@@ -53,6 +53,14 @@
                        "styles": [
                                "modules/ext.RevisionSlider.css"
                        ],
+                       "skinStyles": {
+                               "monobook": [
+                                       
"modules/ext.RevisionSlider.monobook.css"
+                               ],
+                               "modern": [
+                                       "modules/ext.RevisionSlider.modern.css"
+                               ]
+                       },
                        "dependencies": [
                                "oojs-ui",
                                "oojs-ui.styles.icons-movement",
diff --git a/modules/ext.RevisionSlider.modern.css 
b/modules/ext.RevisionSlider.modern.css
new file mode 100644
index 0000000..417c7f9
--- /dev/null
+++ b/modules/ext.RevisionSlider.modern.css
@@ -0,0 +1,7 @@
+/* HACK: Modern uses x-small and a globalWrapper to make everything
+   inside of it appear normal. However, the revslider-tooltips are
+   not inside this globalWrapper, and thus need a separate CSS rule.
+   Once this issue is fixed, this rule can be removed. (T166231) */
+.mw-revslider-tooltip {
+       font-size: 0.8rem;
+}
\ No newline at end of file
diff --git a/modules/ext.RevisionSlider.monobook.css 
b/modules/ext.RevisionSlider.monobook.css
new file mode 100644
index 0000000..770c350
--- /dev/null
+++ b/modules/ext.RevisionSlider.monobook.css
@@ -0,0 +1,7 @@
+/* HACK: Monobook uses x-small and a globalWrapper to make everything
+   inside of it appear normal. However, the revslider-tooltips are
+   not inside this globalWrapper, and thus need a separate CSS rule.
+   Once this issue is fixed, this rule can be removed. (T166231) */
+.mw-revslider-tooltip {
+       font-size: 0.8rem;
+}
\ No newline at end of file

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2115688fee75145349e062b9586713a56541afa0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/RevisionSlider
Gerrit-Branch: master
Gerrit-Owner: MtDu <justin.d...@gmail.com>

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

Reply via email to