You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Adrian Crum (JIRA)" <ji...@apache.org> on 2007/02/01 06:39:05 UTC

[jira] Updated: (OFBIZ-633) Remove redunant style decarations from maincss.css

     [ https://issues.apache.org/jira/browse/OFBIZ-633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrian Crum updated OFBIZ-633:
------------------------------

    Attachment: experimental_3.patch

experimental_3.patch builds upon and improves the experimental_2.patch. (Let's just pretend experimental_1.patch never happened, okay?)

I refactored the party manager viewProfile page as a test for the new CSS classes. The existing viewProfile page looks terrible and the layout is easily broken when the browser window is resized. This patch makes the page look neat and organized regardless of window size.

I continued the CSS class decorator pattern with the button bars located at the top of the viewProfile page. Look for the line

<div class="buttonBar buttonStyle1">

in partyMenus.ftl and add the "toolBar" decorator to it. It's not fancy, but it demonstrates what can be done with the button bars.

View the page source (HTML markup) of the patched pages. The markup contains minimal styling information and it's well structured. Also notice the screenlet IDs. These can be used as named anchors. Try this link in a patched installation:

https://localhost:8443/partymgr/control/viewprofile?partyId=DemoCustomer#partyNotes

Now you can link directly to a screenlet!


> Remove redunant style decarations from maincss.css
> --------------------------------------------------
>
>                 Key: OFBIZ-633
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-633
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Sub-task
>            Reporter: Chris Howe
>            Priority: Minor
>         Attachments: experimental_1.patch, experimental_2.patch, experimental_3.patch, maincss.css
>
>
> This will be used to contain comments regarding the consolidated maincss.css file that are rather unrelated to the combining of maincss.css and tabstyles.css

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