Fórum

Default button styling for portlets

alexandra krasnosselskikh, modificado 12 Anos atrás.

Default button styling for portlets

New Member Mensagem: 1 Data de Entrada: 02/04/12 Postagens Recentes
Hi,

I'm making a custom theme based on the "classic" theme (using the _diffs/custom.css file).
But I have a problem finding the right css entry to change the color of the text on portlet's buttons.
I tried several ways ( .aui-button-content, .aui-button-input aui-button-input-submit, .aui-button) but the color doesn't change.
I also want to reskin the hover method.

Can anyone got this problem and knows which property is the good one?

Thanks a lot.
thumbnail
David H Nebinger, modificado 12 Anos atrás.

RE: Default button styling for portlets

Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
This is where a modern browser (such as chrome) is your friend...

Using chrome I can right click on a button and choose "Inspect Element". This will show you not only the DOM tree, but it also shows the style tree w/ the matched CSS rules top-down (so you can see what CSS classes you need to change) and the CSS files where the rule(s) are defined.
thumbnail
Hitoshi Ozawa, modificado 12 Anos atrás.

RE: Default button styling for portlets

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
Where and how are you setting these css settings?