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

Treeview - Apply Hay hover/selected to Forest

3 Answers 39 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Silver
Top achievements
Rank 1
Silver asked on 27 Feb 2012, 09:42 PM
hi,

I wanted to know hex code of Hay's hover and selected css class and I wanted to use it with forest skin. Right now Forest hover and selected color is Orange and I wanted to change that to Hay's green..

Where do I find the css file for Hay?

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 28 Feb 2012, 05:49 AM
Hello,

Try the following css.
CSS:
<style type="text/css">
 .RadTreeView_Forest .rtSelected .rtIn
  {
   background-color: #80C949 !important;
   background-image: url("WebResource.axd?d=lL53DaDsLQRRhkOKFS8uH7N3_xSQ4DQW4ZwnpBrSgmbLTs5eel6s7rZiA5xIn2MUK6CHgD9T1Cw3WIZQ9cRhqb7AhUOziI4kN9-M4zsuogheTC7-k_iOPmsLgTEBXhA_JyOrxfc3NxwvR6FnKA7S3VvKERuo3qnoTr5_ymZxmyMfS0WvJxlXnjAhXM_NL6du0&t=634648121040000000") !important;
   border-color: #2C8406 !important;
   color: #185D00 !important;
  }
 .RadTreeView_Forest .rtHover .rtIn
  {
   background-color: #D7F2C0 !important;
   background-image: url("WebResource.axd?d=kpmiH-ZYP468bTSlG7lZKUrQfwMzXak1mMW_70TxEwEgh_SENTAIcIjuF94_NpmPG_Ti2qutFk2_ATHRLvL8IljuD3ItMjuIlv8FGmZu77G83zLwjJAC76u2_MHWqpMMdf3oVJ1a13wsZ3TO55XR8jpsdim_vzJOTo-gPLIUxeOth16GbkKagOLA1j9ILDUi0&t=634648121040000000") !important;
   border-color: #47952A #39861B #2B780E !important;
   color: #279500 !important;
  }
</style>

Thanks,
Princy.
0
Silver
Top achievements
Rank 1
answered on 28 Feb 2012, 06:37 PM

That worked. Thanks.

btw, how to view the css files (Telerik css)? I can't find those in my computer
0
Princy
Top achievements
Rank 2
answered on 29 Feb 2012, 05:00 AM
Hello,

You may examine the html structure of any of the controls we provide by using either IE Dev Toolbar or Firebug. These are excellent tools that are strongly recommend for code troubleshooting. Also take a look into the following documentation.
Defining custom CSS styles

Thanks,
Princy.
Tags
TreeView
Asked by
Silver
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Silver
Top achievements
Rank 1
Share this question
or