CFWINDOW change modal mask color
Posted At : October 9, 2007 6:22 AM
| Posted By : Dave
Related Categories:
ColdFusion 8
I as noticing that the modal mask for cfwindow was rather minor. Also, I wanted to change its color to match the theme of the site I was working on. So, using my buddy firebug, I was able to get the class used for the mask.
background-color: #000000;
opacity:0.50;
}
I was then able to use it to change the color and opacity of the overlay. Just put this code before the cfwindow tag or in your site's css file.
--Dave

I have tried this but the style didn't change. Have you had to change anything?
Tim - use <style> tags around it and place it above the cfwindow call.
Note: The mask colour did not change at first, but then I added "!important" and it overwrote the default.
.x-dlg-mask{
background-color: #000000 !important;
opacity:0.50;
}
VERSION: ColdFusion 8,0,0,176276