Re: Theming a custom widget

2008-11-15 Thread Riyaz Mansoor
Hoping to get a response as I didn't get any before. For a custom widget with panels, I would like to stylize the panels based on the selected theme - ie different styles for different themes. How could I do this? On Nov 13, 7:45 pm, Riyaz Mansoor [EMAIL PROTECTED] wrote: Yes this is my

Re: Theming a custom widget

2008-11-13 Thread kilkenny
Hi Mansoor I don't quite understand what you are up to. What components does your custom-widget consist of? If you use things like buttons or checkboxes, they pick up the style from the standard theme. If you have panels and tables in your custom-widget you have to define the CSS rules yourself.

Re: Theming a custom widget

2008-11-13 Thread Riyaz Mansoor
Yes this is my problem. I've got panels that I am styling with css. I would like to detect what is currently selected/applied theme and apply appropriate styles to these panels so that there is a formatting consistency when the theme is changed to, say, Chrome. have panels and tables in your