[jira] [Commented] (OFBIZ-6689) Have more flexibility in framework and applications regarding theming frameworks.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-6689) Have more flexibility in framework and applications regarding theming frameworks.

Nicolas Malin (Jira)

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

Scott Gray commented on OFBIZ-6689:
-----------------------------------

It seems to me like a lot of the DOM manipulation in bootified.js could be replaced by using a CSS pre-processor like Sass or LESS

For example the file contains:
{code:javascript}
//Transform a:buttontext
jQuery('a.buttontext').removeClass('buttontext').addClass('btn btn-link btn-sm');
{code}

Which could be done in Sass with something like:
{code}
a.buttontext {
    @extend .btn, .btn-link, .btn-sm;
}
{code}

My point is, I think it would be simpler to extend the CSS framework than it would to try and make CSS class names configurable throughout the entire application suite.

> Have more flexibility in framework and applications regarding theming frameworks.
> ---------------------------------------------------------------------------------
>
>                 Key: OFBIZ-6689
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6689
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL APPLICATIONS, framework, themes
>    Affects Versions: Trunk
>            Reporter: Pierre Smits
>            Assignee: Pierre Smits
>
> Modern theming frameworks like Bootstrap and Foundation define their own styling elements. In order to facilitate these frameworks (and others), the framework and applications need to be improved.
> This is an umbrella issue to track associated issues and sub tasks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)