In GWT, how to reference an external (obfuscated) CSS in another CSS file

Tags: css,gwt

Problem :

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)

Solution :

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.

public CssResource css();

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

    CSS Howto..

    How to spread elements evenly (horizonatly)?

    How do I refer to an image resource from CSS in grails?

    How to change image size on featured images in wordpress?

    How to align links on top of each other inside of a box with CSS?

    How change the background colour of the kendo ui datepicker using css [duplicate]

    I want to override some CSS that says border:none to have border bottom. How can I do this?

    how to remove and add css class to a specific textbox inside gridview in c#

    How to make balloon textbook talking style using css

    html, how to make elements not shift when browser zooms?

    How to create a frosted glass effect using CSS?

    Web page not responsive: how to use position absolute and relative?

    How to change just the css inside a DIV and not anywhere else?

    How to make a all the three tables to display at same height

    How can browsers resolve icon libraries that aren't specifically referenced in the frontend code?

    How can you implement a grabbing cursor icon in Chrome?

    How to set ASP dropdownlist to read only with css or javascript?

    How to style a list so that it looks like a table, with various line height?

    How to center my navigation using .css

    Css overflow-y: how to show only when needed

    How to Align a Link HTML/CSS

    How to override GWT obfuscated style for DataGrid header

    How can I make a pointy arrow with a div in CSS

    How to align div elements while using css tables

    How do I Align The Border Of Text To An Image? (HTML/CSS) | (Extra [Answered]): How do I Fullscreen with Inspect? |

    How to remove the border on the hover element in nvd3

    How to line up images horizontally and center with css when using a premade javascript magnifying glass?

    How to make css styles in the document body only specific to a div

    How to use two JavaScript (.js) files on one website?

    How to style