PDA

View Full Version : How to override theme's style



Fabrizio.ExDev
19 Feb 2015, 12:00 AM
Hi to everyone.
First of all, I'm not very skilled about css and ext themes usage.
I'm testing crisp-touch theme and I've noticed that buttons inside grids bbar are painted in gray.
Other buttons are blue but in certain cases I would like to set them the same look of the bbar-buttons.
Could you please suggest me how to do this? (Application is generated using sencha cmd).
Thanks alot.

51790

Gary Schlosberg
20 Feb 2015, 11:28 AM
If you haven't checked it out, the theming guide is an informational read:
http://docs.sencha.com/extjs/5.1/core_concepts/theming.html

There's a section on theme overrides (http://docs.sencha.com/extjs/5.1/core_concepts/theming.html#Theme_JS_Overrides). Here's a blog post that might also help you get things looking the way you like.
http://www.sencha.com/blog/creating-theme-specific-overrides-in-ext-js/

Fabrizio.ExDev
22 Feb 2015, 11:27 PM
Hello, unfortunately, at the moment I've got not time to take a look to these documents. (I was looking for a fast solution).Anyway, thanks for your answer.