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

Hover property of Today button

1 Answer 57 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 13 Jul 2009, 08:54 PM
 Hi,
 I m using the latest version of calendar from Telerik. The issue is when I move my mouse over TODAY,OK,CANCEL button in month/year navigation popup the button style changes and I dont want like that. How to do it ?

Let me know

Thanks 

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 14 Jul 2009, 07:39 AM
Hello John,

In order to disable the hover styles, you have to override some styles in the RadCalendar skin. For example, these are the styles in the Office2007 skin:

.RadCalendarMonthView_Office2007 input
{
    border:1px solid #7793b9;
    padding:1px 0 0;
    background:#e8f1fc 0 -2300px repeat-x url('........');
    color:#00156e;
    font:12px "segoe ui",arial,sans-serif;
    cursor:pointer;
}

.RadCalendarMonthView_Office2007 input:hover
{
    border-color:#d8ca95 #b89f73 #c6b99c;
    background-color:#ffe18a;
    background-position:0 -2350px;
    color:#000;
}


You need to add the following CSS rule to your website:

table.RadCalendarMonthView_Office2007  input:hover
{
    border-color: #7793b9 ;
    background-color: #e8f1fc;
    background-position:0 -2300px;
    color: #00156e ;
}

In this way you will reapply the normal state styles for the hover state.

If you are using another skin, you can see the correct styles by using Firebug or by inspecting the non-embedded versions of the RadCalendar skins, which are located in the /Skins/ subfolder of your RadControls installation.


Kind regards,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Calendar
Asked by
John
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or