Yes, I highly recommend using Firebug's css inspector to help you with skinning.

Here are some tips and tricks that might help:

http://myfaces.apache.org/trinidad/devguide/skinning.html#Tips_and_Tricks

[EMAIL PROTECTED] wrote, On 4/11/2008 2:02 AM PT:
don't forget to add  !important to your css properties
use firebug to see if your css properties are not overriden by the
default OraLink class


af|showDetail::prompt-disclosed .OraLink:link {
 color:#FF0000 !important;
 background-color:#FF0000 !important;
}

On 4/11/08, Döring Markus <[EMAIL PROTECTED]> wrote:
Hi,

thanks for help so far, this is what I have in my skins.css now:



af|showDetail::prompt-disclosed .OraLink:active { color:#FF0000;
background-color:#FF0000;}

af|showDetail::prompt-disclosed .OraLink:link { color:#FF0000;
background-color:#FF0000;}

af|showDetail::prompt-disclosed .OraLink:hover { color:#FF0000;
background-color:#FF0000;}

af|showDetail::prompt-undisclosed .OraLink:active { color:#FF0000;
background-color:#FF0000;}

af|showDetail::prompt-undisclosed .OraLink:link { color:#FF0000;
background-color:#FF0000;}

af|showDetail::prompt-undisclosed .OraLink:hover { color:#FF0000;
background-color:#FF0000;}



but nothing happens at all.

I choose red to definitely see if something changes and seprerated it to
test what happens if I only use one of these selectors, but whatever I do I
see no changes on the showDetail at all.



With best regards

Markus Döring

TCC Products GmbH



Von: Cristi Toth [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 10. April 2008 18:15
An: MyFaces Discussion
Betreff: Re: [Trinidad] skining showDetails component



Hi,

Skinning the link itself is quite nasty, because all the links in trinidad
also have the OraLink styleClass
that's because you can't use :link :active :hover pseudo-classes on
skin-selectors

so what you could do is something like this:
af|showDetail::prompt-disclosed .OraLink:link,
af|showDetail::prompt-undisclosed .OraLink:link {
.. properties
}

and try add !important on the css properties you put in the selector
do so also for :active, :hover, ... if you need it

regards,

On Thu, Apr 10, 2008 at 4:35 PM, Döring Markus
<[EMAIL PROTECTED]> wrote:

Hi all,

I'm trying to skin the link of the showDetails component (change the color
of the link and the font size)

I've managed to change the color by skinning .AFLinkForeground:alias but I
don't want to change every link.

af|showDetail:: prompt-link is not working for me at all.

Can someone please give me the correct skinSelector for showDetails?`



Thanks

Greetings



Markus Döring

TCC Products GmbH




--
Cristi Toth

-------------
Codebeat
www.codebeat.ro




Reply via email to