PDA

View Full Version : ExtJS 4.2.1 Different CSS Mask for loading indication and Modal Window



nckenn
11 Aug 2014, 11:49 PM
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:

For Modal window i need to get the red as a background color
For Loading mask i need to get the green as a background color
Any Help will be greatly appreciated.

skirtle
12 Aug 2014, 5:47 AM
Here's one way you could attempt it:

8ot

nckenn
12 Aug 2014, 5:55 PM
hi, thank you for the response but is there other way? it seems i need to add a custom css.. what i need is to overide the css of modal window at the same time doesnt affect the loading mask :) thanks