留言板

Default button styling for portlets

alexandra krasnosselskikh,修改在12 年前。

Default button styling for portlets

New Member 发布: 1 加入日期: 12-4-2 最近的帖子
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,修改在12 年前。

RE: Default button styling for portlets

Liferay Legend 帖子: 14919 加入日期: 06-9-2 最近的帖子
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,修改在12 年前。

RE: Default button styling for portlets

Liferay Legend 帖子: 7942 加入日期: 10-3-24 最近的帖子
Where and how are you setting these css settings?