How to add css Style to Alert Window

2,899 views
Skip to first unread message

Girish

unread,
Dec 13, 2007, 1:43:22 AM12/13/07
to flex_...@googlegroups.com
Hi All
 
I want to apply CSS Styles to Alert message box, how can i achieve this
 
 
 
 
Regards
Girish

Ajay k

unread,
Dec 13, 2007, 2:11:07 AM12/13/07
to flex_...@googlegroups.com

Alert{
color : #0f3177;
title-style-name : "alertTitle";
header-height:19;
border-thickness: 1;
drop-shadow-enabled: true;
drop-shadow-color :#d1ddf7;
background-color: #ffffff;
corner-radius :6;
border-style :solid;
header-colors : #90a4d1, #5970a0;
footer-colors : #9db6d9, #ffffff;
border-color : #5970a0;
}

.alertTitle{
font-family :Verdana;
font-size :10;
font-weight :bold;
text-align :left;
color :#ffffff;
}

--
Ajay K

Dinesh Kulkarni

unread,
Dec 13, 2007, 2:16:17 AM12/13/07
to flex_...@googlegroups.com
Try this;

Alert{
    borderStyle:solid;
    borderColor:#333333;
    background-color:#ffffff;
    borderAlpha:0;
    borderThickness:1;
    roundedBottomCorners:true;
    cornerRadius:2;
    headerHeight:21;
    backgroundAlpha:0.9;
    highlightAlphas:0.46, 0.19;
    headerColors:#ffffff, #ffffff;
    titleStyleName:"alertTitle";
    message-style-name:"messageStyle";
    button-style-name:"AlertButtons";
}

.alertTitle
{
    fontFamily:Arial;
    fontSize:11;
    color:#333333;
    font-weight:bold;
}
.messageStyle
{
    letterSpacing:0;
    color:#333333;
    textAlign:left;
    fontFamily:Arial;
    fontSize:11;
    font-weight:normal;
}

.AlertButtons{
    cornerRadius:4;
    highlightAlphas:0.59, 0.5;
    fillAlphas:1, 1, 1, 1;
    fillColors:#040404, #4c4c4c, #c60303, #ff4300;
    color:#ffffff;
    textRollOverColor:#ffffff;
    borderColor:#474747;
    themeColor:#333333;
    fontFamily:Arial;
    fontSize:11; fontWeight:bold;
}

On Dec 13, 2007 12:13 PM, Girish < send2...@gmail.com> wrote:



--
Dinesh Kulkarni
Lead Developer
Mumbai

Giribabu

unread,
Dec 13, 2007, 8:19:32 AM12/13/07
to Flex India Community
Thanks for your reply

I done that

Mohammed Saleem

unread,
Dec 17, 2007, 1:31:46 PM12/17/07
to flex_...@googlegroups.com
Try this:
On Dec 13, 2007 8:19 AM, Giribabu <send2...@gmail.com> wrote:

Thanks for your reply

I done that







--
Regards,
Mohammed Saleem

"Jack of all trades. Master of some."
Reply all
Reply to author
Forward
0 new messages