incubator-adffaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Winer" <awi...@gmail.com>
Subject Re: panelBox and simple skin
Date Tue, 31 Oct 2006 00:19:47 GMT
I agree...  though this is confusing...  I can't
think of anything better, though.

Do we have a Wiki page yet for skinning?  This'd
be a good thing to throw up there.

-- Adam


On 10/30/06, Simon Lessard <simon.lessard.3@gmail.com> wrote:
>
> Hello all,
>
> There was a post this morning about a skin selector not working in
> panelBox
> (my implementation). Anyway, the user was trying to use the following:
>
> af|panelBox::body {
>     background-color: black;
> }
>
> However, the background was not changing. This is because simple skin
> defines af|panelBox::light af|panelBox::body {background-color: aColor;}
> and
> it get generated after the root selector in the final CSS, thus giving it
> priority.
>
> There's three way to fix that:
>
> 1) Users can overload the 4 selectors (for each background) to set the
> desired color;
> 2) Users can use af|panelBox::body, but overload all 4 other body
> selectors
> in order to inhibit the inherited property;
> 3) Remove colors from simple skin and move them to minimal instead.
>
>
> Personally I think users should opt for 2) and we should not change simple
> skin. Anyone has comments about that?
>
>
> Regards,
>
> ~ Simon
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message