Forums de discussion

Theme styles not visible in portlet's configuration view

David Knol, modifié il y a 7 années.

Theme styles not visible in portlet's configuration view

Junior Member Publications: 29 Date d'inscription: 19/06/15 Publications récentes
Hi,
Despite I've set certain styles in my custom theme, this styles are not visible in portlet's configuration popup:
- go to "Notifications" -> Configuration
- WebContentView portlet -> Edit Web Content

This popups are whole html blocks inside page original html block. My styles are not visible there. What can I do to override some styles in this popups?

Pièces jointes:

thumbnail
David H Nebinger, modifié il y a 7 années.

RE: Theme styles not visible in portlet's configuration view

Liferay Legend Publications: 14919 Date d'inscription: 02/09/06 Publications récentes
I believe these are not managed by the custom theme as much as they are by lexicon.
David Knol, modifié il y a 7 années.

RE: Theme styles not visible in portlet's configuration view

Junior Member Publications: 29 Date d'inscription: 19/06/15 Publications récentes
Is there any chance to override those styles? How can I do that?
Patrick Yeo, modifié il y a 7 années.

RE: Theme styles not visible in portlet's configuration view (Réponse)

Junior Member Publications: 61 Date d'inscription: 08/02/13 Publications récentes
Hey David,

Those styles are controlled by the admin theme. You will have to overwrite them with a custom admin theme. There is some info about changing the admin theme at https://web.liferay.com/community/forums/-/message_boards/message/81239034.
David Knol, modifié il y a 7 années.

RE: Theme styles not visible in portlet's configuration view

Junior Member Publications: 29 Date d'inscription: 19/06/15 Publications récentes
I've created a custom admin theme and copied there default one from 'frontend-theme-admin'. It's working but there's one problem. AUI icons are not visible (for example icon-circle-arrow-right icon in Control Panel->Configuration->Instance Settings->Miscellaneous). What's weird, after inspecting that in browser's developer tool and disabling-enabling one of the style rule, icons become visible. Any ideas how to fix that?
Patrick Yeo, modifié il y a 7 années.

RE: Theme styles not visible in portlet's configuration view

Junior Member Publications: 61 Date d'inscription: 08/02/13 Publications récentes
It's hard to say without seeing your theme files. I just tested with a duplicate admin theme on master and ga3 and I'm not running into that issue on chrome, ff and ie. My best guess is that it might be a css related issue, like a missing semi colon or bracket.
David Knol, modifié il y a 7 années.

RE: Theme styles not visible in portlet's configuration view

Junior Member Publications: 29 Date d'inscription: 19/06/15 Publications récentes
The issue was trivial - after restarting a browser everything works fine, so it's probably because of Chrome cache emoticon
Patrick Yeo, modifié il y a 7 années.

RE: Theme styles not visible in portlet's configuration view

Junior Member Publications: 61 Date d'inscription: 08/02/13 Publications récentes
Glad you figured it out!