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

Office2007 Skin: one color for selected tab another for unselected?

2 Answers 47 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 06 Oct 2008, 04:20 PM
Hi,

I am using the tabstrip with the office2007 skin. I want to change the colors slightly. I would like the selected tab font color to be green and the unselected tab font color to be red. Simple request, but I cannot seem to do this.

I have tried: (SelectedCssClass property = 'selectedtab')

.RadTabStrip_Office2007 .rtsLevel1 .rtsLI,  
.RadTabStrip_Office2007 .rtsLevel1 .rtsLink  
{  
    colorred !important;  
}  
 
 
.RadTabStrip_Office2007 .selectedtab  
{  
    colorgreen !important;   
}  
 


However, the !important of my first style always overwrites the selected style. If I do not have !important then the default for the skin is used.

Any help much appreciated.

Thanks,
Martin

 

 

2 Answers, 1 is accepted

Sort by
0
Accepted
Paul
Telerik team
answered on 07 Oct 2008, 11:19 AM
Hi Martin,

Please find below your modified CSS stykle that works as expected.

<style type="text/css">  
.RadTabStripTop_Office2007 .rtsLink  
{     
    colorred !important;      
}  
 
.RadTabStripTop_Office2007 .rtsSelected  
{     
    colorgreen !important;     
}  
</style> 


Sincerely yours,
Paul
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Martin
Top achievements
Rank 1
answered on 07 Oct 2008, 11:23 AM
Thanks. This solved it for me.
Tags
TabStrip
Asked by
Martin
Top achievements
Rank 1
Answers by
Paul
Telerik team
Martin
Top achievements
Rank 1
Share this question
or