[ 
https://issues.apache.org/jira/browse/OFBIZ-4092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12980862#action_12980862
 ] 

Ryan Foster commented on OFBIZ-4092:
------------------------------------

I agree with you on the casing for the navigation and title.  

The casing on the buttons, and in fact the buttons themselves, are a different 
issue entirely.  The reason why I changed the casing with CSS is because there 
is no consistency in casing in the markup and labels.  Some button labels and 
values are all caps, some are lowercase, some are normal case; it's all over 
the map. 

Button styling in OFBiz has been something that has bugged me for years and I 
think it would be very beneficial to look at this as a separate issue in the 
near future.  There are currently 13, yes 13!, different button styles 
currently defined right now.  Just look at lines 2556 through 2573 in 
maincss.css.  We have:

.buttontext,
.buttontextbig,
.smallSubmit,
.mediumSubmit, 
.largeSubmit, 
.loginButton,
.button-style-1,
.button-style-2,
.button,
button,
input[type="reset"],
input[type="submit"],
input[type="button"]

it's kind of ridiculous.  Why can't we simply have 1 button class and call it 
some obvious like .button or .btn?  We have been having a great discussion on 
UI labeling consistency, "Edit" vs. "Update" vs. "Save", etc. which is awesome, 
but I think all of that is meaningless if the buttons themselves don't look the 
same.  Okay, I'll end my rant there.  Can you tell this is something of a hot 
button issue with me, pun completely intended ;)


> Update The Flat Grey Visual Theme
> ---------------------------------
>
>                 Key: OFBIZ-4092
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4092
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Adrian Crum
>            Assignee: Adrian Crum
>            Priority: Minor
>         Attachments: ac_flatgrey.patch, ac_images.zip, accounting800x600.png, 
> brushed-aluminum.gif, catalog800x600.png, catalogManager.png, 
> content800x600.png, contentManager.png, flatgrey.patch, flatgrey.patch, 
> flatgrey.patch, flatgrey.patch, flatgrey.patch, images.zip, ofbiz_logo.gif, 
> partyDetail.png, partyManager.png, screenshot.gif, timeSheet.png
>
>
> Update the Flat Grey visual theme. Design objectives:
> 1. Floating, flexible layout - screen can be resized.
> 2. Sight impaired accessible - users can change font size in their browser.
> 3. Supports RTL layout.
> 4. Does not require JavaScript. JavaScript can be used to add embellishments, 
> but the theme can't depend on it.

-- 
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