This is a migrated thread and some comments may be shown as answers.

opacity for modal background

2 Answers 321 Views
Window
This is a migrated thread and some comments may be shown as answers.
Piyush Bhatt
Top achievements
Rank 2
Piyush Bhatt asked on 26 Mar 2008, 02:19 PM
I wanted to change the opacity/background color when a radwindow is displayed as modal  popup. I checked the output code in Firefox and saw that it generates a div with following class and a style property.
.TelerikModalOverlay

Now, the style property has the "opacity" and background color; hence changing the above class does not make difference.

What should be done in this case - how can I be able to change the opacity for the background div?

Thanks,
Piyush

2 Answers, 1 is accepted

Sort by
0
Accepted
Georgi Tunev
Telerik team
answered on 26 Mar 2008, 02:32 PM
Hello Piyush,

You can use the following style in the head section of your page:

.TelerikModalOverlay  
    {  
        filter: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=90) !important;  
        opacity: .9 !important;  
        -moz-opacity: .9 !important;  
    }  
 




All the best,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Piyush Bhatt
Top achievements
Rank 2
answered on 26 Mar 2008, 05:31 PM
Thank you it worked! You guys are CSS genius.
Tags
Window
Asked by
Piyush Bhatt
Top achievements
Rank 2
Answers by
Georgi Tunev
Telerik team
Piyush Bhatt
Top achievements
Rank 2
Share this question
or