Hi Sandro,
I'm not necessarily suggesting we attempt to translate standard CSS style
properties to Pivot skin properties. I think that's something that has to
fall out of a prototype implementation. I am suggesting we use and
support a subset of the CSS syntax for documents, selectors, properties,
etc.
I am working on a prototype, though I'm not sure when I'll make it public.
Again, it depends on how it goes.... :)
Michael
On Sun, 4 Jul 2010, Sandro Martini wrote:
Hi to all,
I agree with Michael that designers etc would prefer another standard
for styling Pivot applications, at least as a starting point.
But I agree with Greg, I think that a practical solution for Pivot
could be a CSSSerializer, used with the new syntax like this:
<bxml:include bxml:id="styles" src="styles.css"/>
fter this, there is the problem to map css standard properties to
Pivot components, but maybe this could be done using another (related)
component, like CSSTransformer / CSSMapper ... but to have this work
in a transparent way probably we need some adjustment to Pivot, and
here Greg can tell us if this is a reasonable change.
Because changing Pivot styles to adhere to CSS naming I think it's NOT
a good idea, and otherwise I don't think someone will write a CSS NOT
containing standard definitions.
What do you think ?
Michael, can you create an issue for this in JIRA (possibly with a
reference to all this discussion) ? Or tell me, I will do it ...
Bye,
Sandro