掲示板

Theme styles not visible in portlet's configuration view

7年前 に David Knol によって更新されました。

Theme styles not visible in portlet's configuration view

Junior Member 投稿: 29 参加年月日: 15/06/19 最新の投稿
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?

添付ファイル:

thumbnail
7年前 に David H Nebinger によって更新されました。

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

Liferay Legend 投稿: 14916 参加年月日: 06/09/02 最新の投稿
I believe these are not managed by the custom theme as much as they are by lexicon.
7年前 に David Knol によって更新されました。

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

Junior Member 投稿: 29 参加年月日: 15/06/19 最新の投稿
Is there any chance to override those styles? How can I do that?
7年前 に Patrick Yeo によって更新されました。

RE: Theme styles not visible in portlet's configuration view (回答)

Junior Member 投稿: 61 参加年月日: 13/02/08 最新の投稿
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.
7年前 に David Knol によって更新されました。

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

Junior Member 投稿: 29 参加年月日: 15/06/19 最新の投稿
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?
7年前 に Patrick Yeo によって更新されました。

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

Junior Member 投稿: 61 参加年月日: 13/02/08 最新の投稿
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.
7年前 に David Knol によって更新されました。

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

Junior Member 投稿: 29 参加年月日: 15/06/19 最新の投稿
The issue was trivial - after restarting a browser everything works fine, so it's probably because of Chrome cache emoticon
7年前 に Patrick Yeo によって更新されました。

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

Junior Member 投稿: 61 参加年月日: 13/02/08 最新の投稿
Glad you figured it out!