Hi Adrian. Ok i got this and thanks for the clarification. But just in sake for a better understanding of Ofbiz. Where would i add a css Class to an Element which is defined in Xml like the bespoken Menu?
On 16 May 2014 16:54, Adrian Crum <[email protected]>wrote: > The current markup and styling follows the OFBiz HTML and CSS Best > Practices: > > https://cwiki.apache.org/confluence/display/OFBADMIN/ > HTML+and+CSS+Best+Practices > > Having application-specific CSS classes violates the concept of visual > themes. The styling should always work the same - regardless of the > application. > > > Adrian Crum > Sandglass Software > www.sandglass-software.com > > On 5/14/2014 6:40 AM, Adrian Stern wrote: > >> I've played around with visual themes and so far i really like the ease of >> use. But something bothers me anyways. >> >> There seems to be no CSS-classes given to elements besides some very basic >> ones. This makes it basically impossible to style forms relative to the >> Application they're in. >> >> A global div-wrap with class=app-application would already help a big >> deal. >> Also a class telling me which sub menu is selected would be valuable. >> >> app-accounting = application >> app-acc-payments = app navigation >> app-screen-name = maybe better than app navigation >> >> I think from something like this, everyone would benefit and I would >> happily do it. What does the community think? Maybe there is a reason for >> the lack of this? >> Would it be possible to arrange such an improvement? >> >> Such an improvement would not break any themes but instead opening the >> door >> for new, more beautiful themes. >> >>
