Sigma Php Ajax framework, Ajax Components, GUI Builder
May 24, 2012, 11:39:49 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: TreeGrid styling?  (Read 569 times)
Bruce_Dickey
Sr. Member
****
Posts: 67


View Profile
« on: August 11, 2011, 02:51:25 PM »

Hi,

I've read the end of the Cookbook which speaks about creating a custom theme. There is says to copy an existing theme to a new folder -- images and css. I don't see any .css files in that directory tree, and I want to change the colors of the alternating row backgrounds and the header background. How can this be done?

Thanks,
Bruce
Logged
linb
Administrator
Hero Member
*****
Posts: 435


View Profile
« Reply #1 on: August 11, 2011, 09:50:18 PM »

There's a file 'theme.css' in aqua/vista.

And if you want to change several css style only, you can see this way: http://www.linb.net/Examples/linb/appearance/way1.html

CSS for the colors of the alternating row backgrounds :
----------------------------------
.linb-treegrid-hfcell, .linb-treegrid-hcell{
    background-color:#00ff00;
}
----------------------------------


CSS for the header background:
----------------------------------
.linb-treegrid-alt{
    background-color:#00ff00;
}
----------------------------------
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!