Calendar Popup Styling

Forum to discuss the Web client version of Servoy.

Calendar Popup Styling

Postby wvitpr » Wed Sep 28, 2011 11:01 am

HI,

I would like to change the default style of the Calendar Popup in webclient, I'm thinking that it should be possible if I copy the appropriate changes into the servoy_web_client_default.css and modify from there, but so far I have had no luck.
I have also added !important; which I read should force a over ride.
Regards,
Phillip Routley

Worldview IT
Sydney, Australia
User avatar
wvitpr
 
Posts: 219
Joined: Tue Apr 24, 2007 1:38 am

Re: Calendar Popup Styling

Postby jcompagner » Wed Sep 28, 2011 5:40 pm

all the css of the calendar popup comes from dhtmlgoodies_calender.css that is inside the wicket-calendar.jar

I guess you should be able to override those if you load the css with the overrides before the own of the wicket-calendar.

What you also can do is tweak the one inside the wicket-calendar.jar ...
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Calendar Popup Styling

Postby wvitpr » Tue Oct 04, 2011 4:56 am

HI Johan,

Thanks for you help so far, I have managed to style the calender now nicely. and have updated the css in the wicket-calander.jar but no joy. it still shows the old version in developer. I'm I missing something
Regards,
Phillip Routley

Worldview IT
Sydney, Australia
User avatar
wvitpr
 
Posts: 219
Joined: Tue Apr 24, 2007 1:38 am

Re: Calendar Popup Styling

Postby jcompagner » Tue Oct 04, 2011 9:18 am

please test these things in the real application server.
For developer you need to change other jars. then the jar inside the eclipse plugin is used:
developer\plugins\servoy_shared_6.0.1.1219.jar\lib\
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Calendar Popup Styling

Postby wvitpr » Tue Oct 04, 2011 9:29 am

jcompagner wrote:please test these things in the real application server.
For developer you need to change other jars. then the jar inside the eclipse plugin is used:
developer\plugins\servoy_shared_6.0.1.1219.jar\lib\


Hmm, i changed that one too??, could it be cached some else?
Regards,
Phillip Routley

Worldview IT
Sydney, Australia
User avatar
wvitpr
 
Posts: 219
Joined: Tue Apr 24, 2007 1:38 am

Re: Calendar Popup Styling

Postby jcompagner » Tue Oct 04, 2011 9:41 am

for the developer you have to change that one, that should be enough as far as i know
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Calendar Popup Styling

Postby Harjo » Tue Oct 04, 2011 9:44 am

You can override the calendar popup styling also in the default css. Did you try this: https://www.servoyforge.net/projects/servoy-default-css

I'm not sure if I updated that one already, but I have version, where I did some calendar tuning also.....
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: Calendar Popup Styling

Postby wvitpr » Tue Oct 04, 2011 10:00 am

HI Harjo,

That is the way we currently are doing it, but there seems to be no option to change the icon images arrows etc also I have almost completely overidden the whole style sheet. so I thought it may be neater to change the web component. But if the icons can be changed through your suggesting I would settle with that for the moment.
Regards,
Phillip Routley

Worldview IT
Sydney, Australia
User avatar
wvitpr
 
Posts: 219
Joined: Tue Apr 24, 2007 1:38 am

Re: Calendar Popup Styling

Postby Harjo » Tue Oct 04, 2011 10:19 am

Yes I know, the icons are fixed coded inside the .js, so you are right, that can't be done by overriding the css.....

I hope Servoy picks this up, thought I was the only one, seeing such (ugly! :oops: ) colored/designed calendar.....
I'm willing to let our designer, design and change the .js & css and donate the code to Servoy, to make it default, or overridable...

Johan, is that an option??
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: Calendar Popup Styling

Postby jcompagner » Tue Oct 04, 2011 10:23 am

you can always redesign it and patch your own.
and then post it here the result, then create a case with it and we can see if we can apply it
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Calendar Popup Styling

Postby Harjo » Tue Oct 04, 2011 10:33 am

Thanks Johan, will do that...
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 6 guests

cron