[
https://issues.apache.org/jira/browse/TRINIDAD-962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12661239#action_12661239
]
Don Kleppinger commented on TRINIDAD-962:
-----------------------------------------
In Firefox you can modify the default stylesheet and style the "select" element
which the SelectOneChoice is based on. The issue is that the options are
marked !Important so they can't be overridden.
in [FirefoxInstallDir]\res\forms.css
find
select:focus > optgroup > option:checked {
background-color: Highlight ! important;
color: HighlightText ! important;
}
Change Highlight to some other color to change hover background
> It is not possible to style the options in a SelectOneChoice
> ------------------------------------------------------------
>
> Key: TRINIDAD-962
> URL: https://issues.apache.org/jira/browse/TRINIDAD-962
> Project: MyFaces Trinidad
> Issue Type: Improvement
> Components: Skinning
> Affects Versions: 1.0.1-core, 1.0.2-core, 1.0.3-core, 1.0.4-core,
> 1.0.5-core, 1.0.6-core
> Reporter: Rafael Pérez
> Priority: Minor
>
> By now, there is no way to add style information to tr:selectItem (options in
> a SelectOneChoice). In some cases it is necessary to add a background color o
> change the font color to some options in a drop down list to point some
> differences between the elements.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.