Fix z-index of navigation menus

After the DOM order of content and navigation was swapped,
z-index of menus must be higher than the VisualEditor toolbar,
rather than the same, to continue overlapping it.

Bug: T264379
Change-Id: I4f5ce0b7ce85fd53727b38b1d7c31079945893f0
This commit is contained in:
Bartosz Dziewoński 2020-12-18 18:51:44 +01:00
parent 209c245717
commit bd2c739b68
1 changed files with 2 additions and 2 deletions

View File

@ -118,7 +118,7 @@
// @z-index-ui-datepicker-cover: -1;
@z-index-base: 0;
// Header z-index-header higher than z-index-menu so that search results overlay variants and more menu
@z-index-header: 3;
@z-index-header: 4;
@z-index-sidebar: 1;
@z-index-menu-checkbox: 1;
@z-index-search-button: 1;
@ -128,7 +128,7 @@
// See skinStyles/jquery.ui/jquery.ui.slider.css.
// @z-index-ui-slider-range: 1;
// Menus must overlap indicators (@z-index-indicators) and VisualEditor toolbar (z-index: 2).
@z-index-menu: 2;
@z-index-menu: 3;
// See skinStyles/jquery.ui/jquery.ui.slider.css.
// @z-index-ui-slider-handle: 2;
// Display on top of page tabs (T39158, T50078).