You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (Jira)" <ji...@apache.org> on 2021/09/03 06:35:00 UTC
[jira] [Updated] (OFBIZ-6706) The Widget-style of a menuItem in its
link when the menu is selected
[ https://issues.apache.org/jira/browse/OFBIZ-6706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux updated OFBIZ-6706:
-----------------------------------
Summary: The Widget-style of a menuItem in its link when the menu is selected (was: The Widget-style of a menuItem in his link when the menu is selected)
> The Widget-style of a menuItem in its link when the menu is selected
> --------------------------------------------------------------------
>
> Key: OFBIZ-6706
> URL: https://issues.apache.org/jira/browse/OFBIZ-6706
> Project: OFBiz
> Issue Type: Bug
> Components: workeffort
> Affects Versions: Release Branch 13.07, Release Branch 14.12
> Environment: all
> Reporter: Julien NICOLAS
> Assignee: Julien NICOLAS
> Priority: Major
> Labels: css, style, widget-style
> Fix For: 14.12.01, 13.07.03, 16.11.01
>
> Attachments: JIRA-6706-13.07.patch, JIRA-6706-14.12.patch, JIRA-6706.patch
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> This impact the menu style.
> When a widget-style is defined at the menuItem level, and the menuItem is selected, the widget-style of the item is pushed in the link level of the menuItem.
> Adrian explain that :
> In the "old days" screen widgets had styles assigned at a very granular level. Around 2007 or so, that was changed so only a widget's container (an HTML <div> for example) was styled, and the elements it contained were styled with descendent CSS selectors (CSS inheritance).
> You can see that concept at work here:
> https://cwiki.apache.org/confluence/display/OFBADMIN/HTML+and+CSS+Best+Practices
> "...styles should be applied to containers, and the container's style should style all of the elements it contains."
> and here:
> https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+maincss.css+HTML+Element+Collection+Styles
> Don't assume the widget code is correct. It may be in need of an update.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)