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

RadAlert OK hover

5 Answers 90 Views
Window
This is a migrated thread and some comments may be shown as answers.
Annette
Top achievements
Rank 1
Annette asked on 07 Apr 2011, 05:44 PM
I can't get the "OK" button on the rad alert hover to change.  I checked the CSS and skins with no luck.

5 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 08 Apr 2011, 08:05 AM
Hello Annette,

I am not quite sure about the the CSS style that you are using and this issue may be because you may override the default CSS class for the RadWindow.

Please take a look at the following documentation and check with your CSS
RadWindow CSS Classes and Their Use

Thanks,
Shinu.
0
Annette
Top achievements
Rank 1
answered on 08 Apr 2011, 11:45 AM
I tried changing the .rwPopupButton:hover but it didn't make any difference.
0
Shinu
Top achievements
Rank 2
answered on 11 Apr 2011, 07:00 AM
Hello Annette,

I have tried to override the CSS like below and that changed the hover style as expected.
CSS:
.rwPopupButton:hover .rwInnerSpan
       {
           color:Red;
       }

Please make a double check with yours.
Thanks,
Shinu.
0
Annette
Top achievements
Rank 1
answered on 11 Apr 2011, 12:13 PM
That only changes the color of the text.  I'm trying to change the background color.
0
Marin Bratanov
Telerik team
answered on 11 Apr 2011, 01:40 PM
Hello Annette,

As the previous post suggested - the button is rendered with some span elements, so you should style them, too. You need to also modify the background image according to your preferences. The exact CSS rules you need may vary depending on the skin you are using. These are the most probable reasons your initial approach didn't work.

For your convenience I have attached a simple page illustrating the approach. In it I remove the background image and set some rules to the :hover and :active pseudoclasses.


Greetings,
Marin
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Window
Asked by
Annette
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Annette
Top achievements
Rank 1
Marin Bratanov
Telerik team
Share this question
or