PDA

View Full Version : personal css



macistina
30 Jul 2009, 5:33 AM
Hi all,
I need to undestand how Ext manage the css classes.
The default xtheme is xtheme-blue.css.
I copied the defult css and I renamed it in xtheme-orange.css
My application has a tabPanel component.
I tried to change some backgroud-color in the class concernig the tabPanels in this file.
After this, I used Ext.util.CSS.swapStyleSheet('theme', '../../lib/resources/css/xtheme-orange.css',this) . I verified that the css to which the application refer is my new css file,
but all background of the components doesn't change their layout color.
Please help me ora explain me how is the ext behaviour about css.
Regards,

arthurakay
30 Jul 2009, 8:34 AM
Did you try looking in Firebug to see what classes are being applied? I'd start there.

macistina
3 Aug 2009, 2:29 AM
Thanks arthurakay, I saw firebug. When a css class refer to an image, I tried to modify the image to which it refer, but nothing occurs.
Had you something to suggest me?
Thanks.