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

2010-09-10 Thread Thomas Broyer

On Sep 9, 11:44 pm, Steve Armstrong steve.armstr...@gmail.com wrote:
 I've asked this on Stack Overflow, but noone seems to 
 know:http://stackoverflow.com/questions/3612146/use-obfusticated-css-name-...

 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

If I'm understanding correctly, it should be possible using @Shared
scopes, but I honestly don't know how it actually works:
http://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.html#Shared_scopes

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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

2010-09-09 Thread Steve Armstrong
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.