[ 
https://issues.apache.org/jira/browse/OFBIZ-671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12475954
 ] 

Chris Howe commented on OFBIZ-671:
----------------------------------

The issue with 2 is with having a style like so

basic-table.dark-grid{
}

the following should work fine
basic-table{
} 
dark-grid{
}

Meaning it should be able to inherit just fine.
The problem is that you cannot specify styles that only affect the divs when 
they have both.


> Remove HTML styling code from widgets
> -------------------------------------
>
>                 Key: OFBIZ-671
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-671
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Sub-task
>          Components: framework
>            Reporter: Adrian Crum
>            Priority: Minor
>         Attachments: formwidget.patch, formwidget.patch, formwidget.patch, 
> menuwidget.patch, menuwidget.patch, menuwidget.patch, treewidget.patch, 
> treewidget.patch
>
>
> Widgets have embedded styling code in them. Styling should be left to the css 
> files. A CSS class should be created called "alert" or something similar, and 
> that class should be used instead of the hard-coded color="red" found in the 
> widgets.
> Files affected (as far as I can tell): htmlMenuRenderer.java and 
> htmlFormRenderer.java.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to