Commit be6060f0a74e8a86bbb1ef9e45243065faae7534
1 parent
d2978a30
Exists in
master
and in
87 other branches
Fix z-index definition for mask (cf. #8314)
Showing
2 changed files
with
13 additions
and
9 deletions
Show diff stats
desktop.php
@@ -118,16 +118,8 @@ | @@ -118,16 +118,8 @@ | ||
118 | if (interactivePlot) | 118 | if (interactivePlot) |
119 | msg += ' <br/> <p align="center"><input id="killopBtn" type="button" value="Kill process" /></p>'; | 119 | msg += ' <br/> <p align="center"><input id="killopBtn" type="button" value="Kill process" /></p>'; |
120 | 120 | ||
121 | - var mask = Ext.getBody().mask(msg); | 121 | + var mask = Ext.getBody().mask(msg, 'amda-mask'); |
122 | 122 | ||
123 | - mask.dom.style.zIndex = '99998'; | ||
124 | - | ||
125 | - var maskMsg = Ext.DomQuery.select('div[class=x-mask-msg]'); | ||
126 | - if (maskMsg) | ||
127 | - maskMsg = maskMsg[0]; | ||
128 | - | ||
129 | - if (maskMsg) | ||
130 | - maskMsg.style.zIndex = '99999'; | ||
131 | if (interactivePlot) | 123 | if (interactivePlot) |
132 | { | 124 | { |
133 | var killBtn = Ext.get('killopBtn'); | 125 | var killBtn = Ext.get('killopBtn'); |
js/resources/css/amda.css
@@ -587,3 +587,15 @@ p + p { | @@ -587,3 +587,15 @@ p + p { | ||
587 | padding: 4px; | 587 | padding: 4px; |
588 | white-space: normal; | 588 | white-space: normal; |
589 | } | 589 | } |
590 | + | ||
591 | +.amda-mask { | ||
592 | + z-index: 99999; | ||
593 | +} | ||
594 | + | ||
595 | +.x-mask { | ||
596 | + filter: alpha(opacity=50); | ||
597 | + opacity: .5; | ||
598 | + background: #ccc; | ||
599 | + cursor: default; | ||
600 | + z-index: 99998; | ||
601 | +} |