Amire80 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/197867

Change subject: Make the font in the callout larger on monobook
......................................................................

Make the font in the callout larger on monobook

Change-Id: Ia10b584066cbf84f0ec6ff2025bd1028b173b3c1
---
M Resources.php
R modules/widgets/callout/ext.cx.callout.less
2 files changed, 5 insertions(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ContentTranslation 
refs/changes/67/197867/1

diff --git a/Resources.php b/Resources.php
index 1c959bb..3d47506 100644
--- a/Resources.php
+++ b/Resources.php
@@ -726,7 +726,7 @@
                'widgets/callout/ext.cx.callout.js',
        ),
        'styles' => array(
-               'widgets/callout/ext.cx.callout.css',
+               'widgets/callout/ext.cx.callout.less',
        ),
 ) + $resourcePaths;
 
diff --git a/modules/widgets/callout/ext.cx.callout.css 
b/modules/widgets/callout/ext.cx.callout.less
similarity index 98%
rename from modules/widgets/callout/ext.cx.callout.css
rename to modules/widgets/callout/ext.cx.callout.less
index 1414d2e..d9a22e5 100644
--- a/modules/widgets/callout/ext.cx.callout.css
+++ b/modules/widgets/callout/ext.cx.callout.less
@@ -9,6 +9,10 @@
        border-radius: 3px;
        max-width: 500px;
        z-index: 100000;
+
+       .skin-monobook & {
+               font-size: small;
+       }
 }
 
 /* @noflip */.cx-callout-w::after, .cx-callout-w::before {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia10b584066cbf84f0ec6ff2025bd1028b173b3c1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: Amire80 <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to