Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where can I modify the style of CSS in gwt-cal #49

Closed
GoogleCodeExporter opened this issue Sep 9, 2015 · 1 comment
Closed

Where can I modify the style of CSS in gwt-cal #49

GoogleCodeExporter opened this issue Sep 9, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Bonjour,

   I see the style for calendar such as gwt-calendar,but I can not find 
the css file. where is it? thank you very much

Original issue reported on code.google.com by bienvenueqin@gmail.com on 19 Apr 2010 at 2:09

@GoogleCodeExporter
Copy link
Author

The CSS files are embedded in the gwt-cal jar file. At compile-time, gwt moves 
the 
files into a folder that gwt creates. It is typically in /war/[your modules 
name/

I would not recommend editing this file, since whenever you compile it will get 
overwritten. Here is the approach I take (for gwt-cal and for any gwt widget)

1) Give my page's body tag an id, like this <body id="myProject">
2) Override specific styles for a widget in my own css file
example: #myProject ..gwt-cal .major-time-interval { ... }

If you look at the iCal theme in the demo project, you will see that I use this 
approach to override the default style of gwt's DatePicker to give it a Mac 
look & 
feel.

Original comment by Brad.Ryd...@gmail.com on 19 Apr 2010 at 4:41

  • Changed state: Invalid
  • Added labels: Type-Other
  • Removed labels: Type-Defect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant