Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
Bug 1532749, 1532743 - Keep message parent div always on top (z-index)
Browse files Browse the repository at this point in the history
Instead of resetting to auto all the z-index which are managed by gwt
Give the message div the highest (32bit max signed int) priority
  • Loading branch information
josejulio committed Jan 16, 2018
1 parent 9b3fed7 commit dc2fd39
Showing 1 changed file with 8 additions and 10 deletions.
Expand Up @@ -1875,16 +1875,14 @@ div[eventproxy^="isc_DateChooser"] {
}


/* bz 1144052, sets the z-index to auto to all related parents to reset the 'stacking context' */
body > div.normal[eventproxy*="HTMLFlow"],
body > div > div[eventproxy*="isc_HTMLFlow_0"],
body > div.normal,
body > div[eventproxy*="CoreGUI_RootCanvas"].normal,
body > div[eventproxy*="CoreGUI_RootCanvas"].normal > div[eventproxy*="CoreGUI_RootCanvas"] > div.overflowVisible[eventproxy*="MenuBarView"],
body > div[eventproxy*="CoreGUI_RootCanvas"].normal > div[eventproxy*="CoreGUI_RootCanvas"] > div.overflowVisible[eventproxy*="MenuBarView"] > div[eventproxy*="MenuBarView"],
body > div[eventproxy*="CoreGUI_RootCanvas"].normal > div[eventproxy*="CoreGUI_RootCanvas"] > div.overflowVisible[eventproxy*="MenuBarView"] > div[eventproxy*="MenuBarView"] > div.overflowVisible[eventproxy*="MenuBarView_LinkBar"],
body > div[eventproxy*="CoreGUI_RootCanvas"].normal > div[eventproxy*="CoreGUI_RootCanvas"] > div.overflowVisible[eventproxy*="MenuBarView"] > div[eventproxy*="MenuBarView"] > div.overflowVisible[eventproxy*="MenuBarView_LinkBar"] > div[eventproxy*="MenuBarView_LinkBar"] {
z-index: auto !important;
/*
bz 1144052, sets the z-index to auto to all related parents to reset the 'stacking context'
bz 1532749 and bz 1532743 Revert back that, (smart)gwt makes use of them and IE9/11 doesn't like to have them in auto.
Instead increase the message parent div z-index to max integer size to ensure is always on top of dialogs overlay
This also works solving previous 1144052 issue
*/
body > div.normal[eventproxy*="HTMLFlow"] {
z-index: 2147483647 !important; /* 32bits max signed int */
}

.switch-light span span {
Expand Down

0 comments on commit dc2fd39

Please sign in to comment.