1

I am using a GWT library that defines a CssResource with some class names in the associated css file, e.g. .someWidget {...}

Now in my code I would like to reference this 'external' and possibly obfuscated class name in my own css file. For instance to do: .someWidget.animated {...}

Is there a way to achieve this?

(I know I could use @external .boxWidget if I would have control over the external library)

2
  • 1
    Is the external Library using a ClientBundle and CssResource Interfaces? If so you can extend that interface, add own *.css files and the original ones. Commented Dec 7, 2015 at 20:17
  • It seems yours is the only way. If you add it as an answer with some detail, I would be happy to except it. Commented Jan 19, 2016 at 18:40

1 Answer 1

2

Is the external Library using a ClientBundle and CssResource Interfaces? If so you can extend that interface, add own *.css files and the original ones.

@Source({"my.css","base.css"})
public CssResource css();

You also could completly disable css obfuscation. But thats not a good idea.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.