Shaun,
I had issues with these @def's last fall. Here is what I learned:
1) Make sure the @def's are placed at the very top of the CSS file,
anywhere else and they'll be trouble (this face is not
documentedhttps://code.google.com/p/google-web-toolkit/issues/detail?id=6536
).
2) Use the
Hi -
I'm having trouble using a defined constant inside of a css property that
has its own parenthetical reference. What I mean is:
@def HEADER_ROW_BACKGROUND_COLOR #b2bbc9;
This works:
background: HEADER_ROW_BACKGROUND_COLOR;
This does not work.
background-image: linear-gradient(top,
This is because the gradient functions are not valid CSS2, and GWT uses a
CSS2 parser for CssResources.
See http://code.google.com/p/google-web-toolkit/issues/detail?id=5771
On Thursday, March 8, 2012 4:43:52 PM UTC+1, Shaun Tarves wrote:
Hi -
I'm having trouble using a defined constant
But using them without the constant definitions works fine. If I put in
explicit colors everywhere, my gradients show up.
- Shaun
On Mar 8, 2012, at 12:25 PM, Thomas Broyer t.bro...@gmail.com wrote:
This is because the gradient functions are not valid CSS2, and GWT uses a
CSS2 parser for