Thursday, September 9, 2010

How to use non standard CSS selectors in a CSSResource

Hello,

I am trying to use styles for the scrollbars in webkit. The CSS
selectors are looking like this:

::-webkit-scrollbar-corner
::-webkit-scrollbar-track-piece:disabled

and so on.

When I use those in a ClientBundle as a CSSResource, the compiler is
complaining about those selectors. This results in warnings during
compile time, not errors.
But those styles aren't being applied.

I tried to escape the colons, dashes etc. without luck.
The literal function doesn't apply here either as it is only used in
combination with values, not selectors.
I also used the @external annotation to avoid obfuscation of the
selectors.

Nothing seems to work.

Has anyone an idea how to get those styles into my ClientBundle?


Greetings,
Matthias

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment