From a3ed7666e227a7e03d71632ae92b71739d7ec0a8 Mon Sep 17 00:00:00 2001 From: alistair3149 Date: Thu, 26 Jan 2023 19:13:10 -0500 Subject: [PATCH] =?UTF-8?q?fix(OOUI):=20=F0=9F=90=9B=20standardize=20OOUI?= =?UTF-8?q?=20window=20z-index?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The original z-index (4) was too low and inconsistent with Citizen and Codex. This should also fix the z-index issues related to OOUI --- skinStyles/ooui/oojs-ui-windows.less | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/skinStyles/ooui/oojs-ui-windows.less b/skinStyles/ooui/oojs-ui-windows.less index d349888c..dd4122db 100644 --- a/skinStyles/ooui/oojs-ui-windows.less +++ b/skinStyles/ooui/oojs-ui-windows.less @@ -8,6 +8,8 @@ * Date: 2022-11-30 */ +@import '../../resources/variables.less'; + /** * OOUI has some layout issues when the font size is not * same as what is being used in Vector. This is a dirty @@ -17,6 +19,12 @@ font-size: 0.875rem; } +// Align z-index stack with Citizen and Codex +// T285592 +.oo-ui-windowManager-modal > .oo-ui-dialog { + z-index: @z-index-overlay; +} + .oo-ui-messageDialog-content > .oo-ui-window-foot { outline: 1px solid var( --border-color-base ); }