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

Drop-shadow

2 Answers 133 Views
Window
This is a migrated thread and some comments may be shown as answers.
Steven Amani
Top achievements
Rank 1
Steven Amani asked on 18 Mar 2010, 06:24 PM
I have been playing with a few ASP AJAX packages including DevExpress, ComponentOne, Infragistics and ofc Telerik. I believe that Telerik offers the best all-round package, however, I noticed that the RadWindow equivalents from the other vendors all offer drop-shadows around the window. Is this something you are planning to add in the (near) future?

2 Answers, 1 is accepted

Sort by
0
Steven Amani
Top achievements
Rank 1
answered on 18 Mar 2010, 06:52 PM
To anyone else interested, I have found this CSS style that will add a drop shadow to the radwindow, radtooltip or just about anything else although it doesn't work in IE (I have commented out the IE section on purpose)

.module

 

{

 

 

/* offset left, top, thickness, color with alpha */

 

 

-webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);

 

 

-moz-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);

 

 

/*box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);

 

IE

filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=5, OffY=5, Color='gray');

slightly different syntax for IE8

-ms-filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=5, OffY=5, Color='gray')";*/

}

0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 19 Mar 2010, 12:34 AM
Sweet thanks :)

IEs crap anyway
Tags
Window
Asked by
Steven Amani
Top achievements
Rank 1
Answers by
Steven Amani
Top achievements
Rank 1
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Share this question
or