Newbee CSS questions

2010-02-05 Thread dhoffer
How can I make some simple changes to the CSS GWT 2.0 uses for the standard theme? How can I change the font family/name used for everything? (Is there a global place for this?) How can I change the color of the font used for everything? (Is there a global place for this?) How can I change the

Re: Newbee CSS questions

2010-02-05 Thread Gal Dolber
You can... ..copy the entire theme and customized it. or ..overlap the css classes that you want to customize in a css and include it (on each Widget there is a description of what css classes it uses) 2010/2/5 dhoffer dhoff...@gmail.com How can I make some simple changes to the CSS GWT 2.0

Re: Newbee CSS questions

2010-02-05 Thread Sky
I just include my own CSS file (you can include it in the top html file) and create styles inside it and set the style name via myWidget.setStyleName(). If I just want to change one or two CSS properties I use a global method: MyJS.setStyle(Widget w, String style, String value)

Re: Newbee CSS questions

2010-02-05 Thread dhoffer
So is there a global way to change all font? Or is this done per class and completely separate from each other? I've tried just adding some css to my app's css (which is specified in the html) like: .qwt-Label{ color: #DF0101; font: normal 12px tahoma, arial, helvetica, sans-serif;

Re: Newbee CSS questions

2010-02-05 Thread Sky
There is no global way to override more specific styles. Thats just how CSS works. The more specific style is going to override the more general style. If you have no need for GWT's css, remove it from your project and create your own. Then you can specify font styles for the body, which will be

Re: Newbee CSS questions

2010-02-05 Thread Abdullah Shaikh
Hey Dave, I dont know if you have copy/pasted the css from your css file or typed it down here. It should be gwt-Label instead of qwt-Label, note the G instead of Q. - Abdullah On Sat, Feb 6, 2010 at 6:59 AM, dhoffer dhoff...@gmail.com wrote: So is there a global way to change all font? Or