You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Fe...@t-systems.com on 2009/02/09 18:20:39 UTC
Replacing font color with trinidad skinning?
Hi,
Trinidad/myfaces is using a special green for required "*" and for table
headers. This green doesn't fit to our corporate identity so I want tot
change it to another color. Do I have to parse the whole trinidad
stylesheet file and replace the green at every place through my own or
is there a more comfortable way to do this?
Thank you and best regards
Felix
Re: Replacing font color with trinidad skinning?
Posted by Matthias Wessendorf <ma...@apache.org>.
On Tue, Feb 10, 2009 at 2:56 PM, <Fe...@t-systems.com> wrote:
> Hi Omar,
>
>
>
> The solution you suggested changed the color of the "*" required char, but
> the color of the tr:dataTable is still the default myfaces green.
>
>
>
> Any other solution?
af|column::header-text
{
background-color:#0066FF;
color:#FFFFFF;
}
IMO the best is to disable (on development) the CSS comression and
than, use firefox to inspect
the DOM for the CSS classes/selectors.
another option is looking here:
http://myfaces.apache.org/trinidad/skin-selectors.html
HTH,
Matthias
>
> Thanks
>
>
>
> Felix
>
>
>
> ________________________________
>
> From: Omar Elprince [mailto:general.equal.700@gmail.com]
> Sent: Tuesday, February 10, 2009 2:40 AM
> To: MyFaces Discussion
> Subject: Re: Replacing font color with trinidad skinning?
>
>
>
> try modifying those selectors in you css.
>
>
>
> .AFRequiredIconStyle
>
>
>
> .AFRequiredIconStyle:alias
>
>
>
> On Feb 9, 2009, at 12:20 PM, <Fe...@t-systems.com>
> <Fe...@t-systems.com> wrote:
>
> Hi,
>
>
>
> Trinidad/myfaces is using a special green for required „*" and for table
> headers. This green doesn't fit to our corporate identity so I want tot
> change it to another color. Do I have to parse the whole trinidad stylesheet
> file and replace the green at every place through my own or is there a more
> comfortable way to do this?
>
>
>
> Thank you and best regards
>
>
>
> Felix
>
>
--
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
Re: Replacing font color with trinidad skinning?
Posted by Matthias Wessendorf <ma...@apache.org>.
trying to send the advice again...
af|column::header-text
{
background-color:#0066FF;
color:#FFFFFF;
}
IMO the best is to disable (on development) the CSS comression and
than, use firefox to inspect
the DOM for the CSS classes/selectors.
another option is looking here:
http://myfaces.apache.org/trinidad/skin-selectors.html
HTH,
Matthias
On Wed, Feb 11, 2009 at 4:38 PM, <Fe...@t-systems.com> wrote:
> Hi Omar!
>
>
>
> Thank you, but that did not solve my problem. The table headers are in the
> right color now, but the color of a panelCaptionGroup is still wrong. It
> doesn't help me if you send me the selector for changing this, if there are
> other components which are not affected by this selector. This trial and
> error is exactly what I want to prevent. Is there any documentation about
> this CSS file selector names?
>
>
>
> Thanks
>
>
>
> Felix
>
>
>
> ________________________________
>
> From: Omar Elprince [mailto:general.equal.700@gmail.com]
> Sent: Wednesday, February 11, 2009 2:22 AM
> To: MyFaces Discussion
> Subject: Re: Replacing font color with trinidad skinning?
>
>
>
> try those selectors
>
>
>
> af|column::header-text
>
> af|column::header-number
>
> af|column::header-icon-format
>
> On Feb 10, 2009, at 8:56 AM, <Fe...@t-systems.com>
> <Fe...@t-systems.com> wrote:
>
> Hi Omar,
>
>
>
> The solution you suggested changed the color of the "*" required char, but
> the color of the tr:dataTable is still the default myfaces green.
>
>
>
> Any other solution?
>
> Thanks
>
>
>
> Felix
>
>
>
> ________________________________
>
> From: Omar Elprince [mailto:general.equal.700@gmail.com]
> Sent: Tuesday, February 10, 2009 2:40 AM
> To: MyFaces Discussion
> Subject: Re: Replacing font color with trinidad skinning?
>
>
>
> try modifying those selectors in you css.
>
>
>
> .AFRequiredIconStyle
>
>
>
> .AFRequiredIconStyle:alias
>
>
>
> On Feb 9, 2009, at 12:20 PM, <Fe...@t-systems.com>
> <Fe...@t-systems.com> wrote:
>
>
> Hi,
>
>
>
> Trinidad/myfaces is using a special green for required „*" and for table
> headers. This green doesn't fit to our corporate identity so I want tot
> change it to another color. Do I have to parse the whole trinidad stylesheet
> file and replace the green at every place through my own or is there a more
> comfortable way to do this?
>
>
>
> Thank you and best regards
>
>
>
> Felix
>
>
>
>
--
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
RE: Replacing font color with trinidad skinning?
Posted by Fe...@t-systems.com.
Hi Omar!
Thank you, but that did not solve my problem. The table headers are in
the right color now, but the color of a panelCaptionGroup is still
wrong. It doesn't help me if you send me the selector for changing this,
if there are other components which are not affected by this selector.
This trial and error is exactly what I want to prevent. Is there any
documentation about this CSS file selector names?
Thanks
Felix
________________________________
From: Omar Elprince [mailto:general.equal.700@gmail.com]
Sent: Wednesday, February 11, 2009 2:22 AM
To: MyFaces Discussion
Subject: Re: Replacing font color with trinidad skinning?
try those selectors
af|column::header-text
af|column::header-number
af|column::header-icon-format
On Feb 10, 2009, at 8:56 AM, <Fe...@t-systems.com>
<Fe...@t-systems.com> wrote:
Hi Omar,
The solution you suggested changed the color of the "*" required char,
but the color of the tr:dataTable is still the default myfaces green.
Any other solution?
Thanks
Felix
________________________________
From: Omar Elprince [mailto:general.equal.700@gmail.com]
Sent: Tuesday, February 10, 2009 2:40 AM
To: MyFaces Discussion
Subject: Re: Replacing font color with trinidad skinning?
try modifying those selectors in you css.
.AFRequiredIconStyle
.AFRequiredIconStyle:alias
On Feb 9, 2009, at 12:20 PM, <Fe...@t-systems.com>
<Fe...@t-systems.com> wrote:
Hi,
Trinidad/myfaces is using a special green for required "*" and for table
headers. This green doesn't fit to our corporate identity so I want tot
change it to another color. Do I have to parse the whole trinidad
stylesheet file and replace the green at every place through my own or
is there a more comfortable way to do this?
Thank you and best regards
Felix
Re: Replacing font color with trinidad skinning?
Posted by Omar Elprince <ge...@gmail.com>.
try those selectors
af|column::header-text
af|column::header-number
af|column::header-icon-format
On Feb 10, 2009, at 8:56 AM, <Fe...@t-systems.com> <Felix.Becker@t-systems.com
> wrote:
> Hi Omar,
>
> The solution you suggested changed the color of the “*” required
> char, but the color of the tr:dataTable is still the default myfaces
> green.
>
> Any other solution?
>
> Thanks
>
> Felix
>
> From: Omar Elprince [mailto:general.equal.700@gmail.com]
> Sent: Tuesday, February 10, 2009 2:40 AM
> To: MyFaces Discussion
> Subject: Re: Replacing font color with trinidad skinning?
>
> try modifying those selectors in you css.
>
> .AFRequiredIconStyle
>
> .AFRequiredIconStyle:alias
>
> On Feb 9, 2009, at 12:20 PM, <Fe...@t-systems.com> <Felix.Becker@t-systems.com
> > wrote:
>
>
> Hi,
>
> Trinidad/myfaces is using a special green for required „*“ and for
> table headers. This green doesn’t fit to our corporate identity so I
> want tot change it to another color. Do I have to parse the whole
> trinidad stylesheet file and replace the green at every place
> through my own or is there a more comfortable way to do this?
>
> Thank you and best regards
>
> Felix
>
RE: Replacing font color with trinidad skinning?
Posted by Fe...@t-systems.com.
Hi Omar,
The solution you suggested changed the color of the "*" required char,
but the color of the tr:dataTable is still the default myfaces green.
Any other solution?
Thanks
Felix
________________________________
From: Omar Elprince [mailto:general.equal.700@gmail.com]
Sent: Tuesday, February 10, 2009 2:40 AM
To: MyFaces Discussion
Subject: Re: Replacing font color with trinidad skinning?
try modifying those selectors in you css.
.AFRequiredIconStyle
.AFRequiredIconStyle:alias
On Feb 9, 2009, at 12:20 PM, <Fe...@t-systems.com>
<Fe...@t-systems.com> wrote:
Hi,
Trinidad/myfaces is using a special green for required "*" and for table
headers. This green doesn't fit to our corporate identity so I want tot
change it to another color. Do I have to parse the whole trinidad
stylesheet file and replace the green at every place through my own or
is there a more comfortable way to do this?
Thank you and best regards
Felix
Re: Replacing font color with trinidad skinning?
Posted by Omar Elprince <ge...@gmail.com>.
try modifying those selectors in you css.
.AFRequiredIconStyle
.AFRequiredIconStyle:alias
On Feb 9, 2009, at 12:20 PM, <Fe...@t-systems.com> <Felix.Becker@t-systems.com
> wrote:
> Hi,
>
> Trinidad/myfaces is using a special green for required „*“ and for
> table headers. This green doesn’t fit to our corporate identity so I
> want tot change it to another color. Do I have to parse the whole
> trinidad stylesheet file and replace the green at every place
> through my own or is there a more comfortable way to do this?
>
> Thank you and best regards
>
> Felix