From 6f446e0d1ad2422c9bb7f92464dd71016a0ea441 Mon Sep 17 00:00:00 2001 From: "James D. Forrester" Date: Fri, 21 Nov 2014 13:29:16 -0800 Subject: [PATCH] Follow-up I19da270a: Make overlay appear above non-VE skin items in Monobook In I19da270a we bumped the z-index for the overlay from 4 down to 2, to avoid clashing with the toolbar. However, the site logo, search box and personal tools all have a z-index of 3, so 4 is required. Instead, bump the toolbar's z-index up by 1 to 5. Change-Id: I7e1edcf05cde054c7bcb8c13b5633930fb5ed3b5 --- .../ve-mw/init/styles/ve.init.mw.ViewPageTarget-monobook.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/ve-mw/init/styles/ve.init.mw.ViewPageTarget-monobook.css b/modules/ve-mw/init/styles/ve.init.mw.ViewPageTarget-monobook.css index 0a308633af..7a2d7ef72e 100644 --- a/modules/ve-mw/init/styles/ve.init.mw.ViewPageTarget-monobook.css +++ b/modules/ve-mw/init/styles/ve.init.mw.ViewPageTarget-monobook.css @@ -7,6 +7,8 @@ .ve-init-mw-viewPageTarget-toolbar { margin: -0.6em -0.8em 1em -0.8em; + /* So that the toolbar always appears over the overlay */ + z-index: 5; } /* Correct for Monobook's small font in toolbars and contexts, but beware: @@ -21,6 +23,7 @@ } .ve-ui-overlay { - z-index: 2; + /* So that the overlay always appears over the site logo, search box and personal tools */ + z-index: 4; font-size: 127%; }