I am working on a ExtJS 4.2.1 application which contains lot of alerts and Ajax call.
I found out that the same CSS class for the mask (.x-mask)is used for the loading and the modal mask when showing windows modally.
How can I use different behaviors for these two different things?
Problem:
Any Help will be greatly appreciated.
Since both of loading and modal is using the same mask . I use the hack to solve the issue. use the below css.
div.x-message-box + div.x-mask {
background: red;
}
You could use the sibling selector to solve the issue.
对于loadMask,请使用maskCls更改蒙版样式
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.