Ah! Thanks Anantha, thanks nino!

That's the trick!

I love the wicket mailing list!

Stefan

-----Ursprüngliche Nachricht-----
Von: Anantha Kumaran [mailto:ananthakuma...@gmail.com] 
Gesendet: Mittwoch, 3. Februar 2010 11:51
An: users
Betreff: Re: DatePicker css

this may work

 .yui-skin-sam .yui-calendar td.calcell.today a {
               background-color : #mycolor !important;
       }

On Wed, Feb 3, 2010 at 2:32 AM, Stefan Lindner <lind...@visionet.de> wrote:

> Hi nino,
>
> no it did not work. My Firebug tells me that the css rules of datepicker's
> css are always allied AFTER my css rules. Even if my CSS is the last one in
> header section.
> I was able to customize some things where no explicit rules are defined in
> datepicker's CSS but I was unable to e.g. change the background of today's
> box rule
>
>        .yui-skin-sam .yui-calendar td.calcell.today a {
>                background-color : #mycolor;
>         }
>
> Stefan
>
> -----Ursprüngliche Nachricht-----
> Von: nino martinez wael [mailto:nino.martinez.w...@gmail.com]
> Gesendet: Mittwoch, 3. Februar 2010 11:13
> An: users@wicket.apache.org
> Betreff: Re: DatePicker css
>
> but you should still be able todo it via class's
>
> <div class="container"><div class="datepicker"></div> </div>
>
> container datepicker{
> color:red;
> }
>
> should work and should override:
>
> datepicker{
> color:blue;
> }
>
> Something like that.
>
>
>
> 2010/2/3 Stefan Lindner <lind...@visionet.de>
>
> > That did not work in my case. Yes, it's normal CSS but it is applied in
> an
> > unusal way through the internal styling mechanism of yui. This means that
> a
> > css rule defined at the end of the <head> section i.e. the last css rule
> at
> > all does not override a css rule in the internal css of YUI-DatePicker
> from
> > wicket-datetime package.
> >
> > Stefan
> >
> > -----Ursprüngliche Nachricht-----
> > Von: nino martinez wael [mailto:nino.martinez.w...@gmail.com]
> > Gesendet: Mittwoch, 3. Februar 2010 09:51
> > An: users@wicket.apache.org
> > Betreff: Re: DatePicker css
> >
> > it's just ordinary css, so you should be able to override it. Try using
> > firebug and change the css there. Then make a new css and apply that :)
> >
> > 2010/2/2 Martin Makundi <martin.maku...@koodaripalvelut.com>
> >
> > > Lol.. let me know if you find a good trick for that. We worked around
> > > it by changing the surroundings' relative properties.
> > >
> > > **
> > > Martin
> > >
> > > 2010/2/2 wic...@geofflancaster.com <wic...@geofflancaster.com>:
> > > > Is it possible to edit the datepicker css? the datepicker is
> displaying
> > > > behind some other components on my page and i'd like to set the
> z-index
> > > so
> > > > it display on top of everything.
> > > >
> > > > --------------------------------------------------------------------
> > > > mail2web - Check your email from the web at
> > > > http://link.mail2web.com/mail2web
> > > >
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > > > For additional commands, e-mail: users-h...@wicket.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > > For additional commands, e-mail: users-h...@wicket.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
----
Anantha Kumaran

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to