Jump to content

ScreenMask color, background


markokas

Recommended Posts

Hello,

It looks that setting for ScreenMask has no effect ...

also changing class not help .. I always get silver background ..

.x-mask {
   opacity: 0.5;
   background: rgb(0, 0, 0) none repeat scroll 0% 0%;
}

Any idea, how to change background?

 

Br, Marko.

 

 

16-08-2022 22-22-59.png

16-08-2022 22-27-35.png

Link to comment
Share on other sites

hello, i look that and

//big rectangle chere the mask is applied
.x-mask{
     opacity: 0.5;
   background: rgb(255, 0, 0) none repeat scroll 0% 0%;
}

//rectangle around screen mask message
.x-mask-msg{
   opacity: 0.5;
   background: rgb(0, 255, 0) none repeat scroll 0% 0%;

}

//interior of screenmask message
.x-mask-msg-inner{
   opacity: 0.5;
   background: rgb(255, 0, 0) none repeat scroll 0% 0%;

}


//part text of screen mask
.-x-mask-msg-text{
   opacity: 0.5;
   background: rgb(0, 0, 255) none repeat scroll 0% 0%;

}

in your case i think you must modified the .x-mask-msg-inner

Link to comment
Share on other sites

Thanks for insight

this works globally, also background on all forms changed when close pressed. But must be that mask works. After that mask classes get effect.

.x-mask{
    opacity:1;
    background:red none repeat scroll 0% 0%;
}

So I made subclass, attached to mask control, and now works fine

.maskclass .x-mask{
    opacity:1;
    background:red none repeat scroll 0% 0%;
}

Br, Marko

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...