You can just add your style sheets after the GWT one in the *.gwt.xml file
<stylesheet src="my.css"/>
relative to the /war/ directory
These are added after the HTML is processed and therefore overwrite them
On 26 June 2010 15:54, andreas <[email protected]> wrote:
>
>
> On 26 Jun., 15:13, Thomas Broyer <[email protected]> wrote:
> > On 26 juin, 13:14, andreas <[email protected]> wrote:
> >
> > > Are you sure it is possible to overwrite the default gwt-Button style?
> >
> > Yes.
>
> Well, actually it is, but not by only adding .gwt-Button style in my
> custom stylesheet and adding different values than in the standard.css
> file where the original css values are in. As you said those
> overwriting values will be overwritten by those in the standard.css
> since these are injected, right? So by only "overwriting" it is not.
> You have to do the resource trick and manually copy/add standard.css.
> In this setup you can literally overwrite standard.css settings. Did I
> get you right there?
>
> >
> > > See Thomas Broyers answer. You can not overwrite default GWT styles,
> > > unless using important rules.
> >
> > Please follow the links from my message there, this is NOT what I
> > said.
> http://groups.google.com/group/google-web-toolkit/msg/a741cc9a600109c7
>
> You're right sorry about that. This "important rule"-thing was an
> advice from someone else.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.