Thursday, September 9, 2010

How to use an obfuscated css selector in a css file in a depending project

I've asked this on Stack Overflow, but noone seems to know:
http://stackoverflow.com/questions/3612146/use-obfusticated-css-name-from-clientbundle-in-down-stream-css

I've got a library with some CSS, and a depending project that expands
on the CSS. I'm trying to move both of them to ClientBundle.

Currently, library.css is:
.smallWindow { min-width: 10px; outline: none; }

And depProject.css is:
.sectionA .smallWindow { color: blue; }

I moved library.css and depProject.css into ClientBundles
(LibraryBundle and DepProjectBundle) in their respective projects, but
had to mark smallWindow as external in both. Is there a way to link
smallWindow in depProject.css to smallWindow in library.css and still
have smallWindow be obfusticated?

I'm hoping that instead of marking @external .smallWindow I could
leave it alone in library.css, and put something like
@replaceWithObfusticated smallWindow DepProjectBundle.css.smallWindow
at the top of depProject.css

--
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