From 5b4508d6444141c4693cdab4e2c2b71dbeea33c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Dziewo=C5=84ski?= Date: Fri, 12 Jan 2018 22:52:54 +0100 Subject: [PATCH] OOjs UI: Fix z-index and font size for default overlay OOUI dropdown menus should appear on top of the fixed header and their font size should match the body text. For example, on Special:MovePage: * Before: https://phabricator.wikimedia.org/F12517634 * After: https://phabricator.wikimedia.org/F12517632 Bug: T183069 Change-Id: I291d852f49507e58082ac95e59cb115170aa809a --- resources/ooui.less | 4 ++++ skin.json | 1 + 2 files changed, 5 insertions(+) create mode 100644 resources/ooui.less diff --git a/resources/ooui.less b/resources/ooui.less new file mode 100644 index 0000000..efa2c96 --- /dev/null +++ b/resources/ooui.less @@ -0,0 +1,4 @@ +.oo-ui-defaultOverlay { + z-index: 101; + font-size: 0.95em; +} diff --git a/skin.json b/skin.json index 525ee10..cb2e151 100644 --- a/skin.json +++ b/skin.json @@ -80,6 +80,7 @@ }, "ResourceModuleSkinStyles": { "timeless": { + "+oojs-ui-core.styles": "resources/ooui.less", "+ext.echo.styles.badge": "resources/extensions/Echo.less", "+ext.visualEditor.core": "resources/extensions/VisualEditor.core.less", "+ext.visualEditor.desktopArticleTarget.noscript": "resources/extensions/VisualEditor.article.less"