[richfaces-issues] [JBoss JIRA] Issue Comment Edited: (RF-10539) Themes: wine theme show almost invisible text for disabled inputtext in Google Chrome.

OLga Chikvina (JIRA) jira-events at lists.jboss.org
Mon Feb 21 08:15:16 EST 2011


    [ https://issues.jboss.org/browse/RF-10539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583566#comment-12583566 ] 

OLga Chikvina edited comment on RF-10539 at 2/21/11 8:14 AM:
-------------------------------------------------------------

I investigated the issue. The problem is that Chrome & Safari add their own styling to disabled inputs which makes text lighter. The solution is to overwrite these styles by adding webkit property: 

textarea[disabled], input[type="text"][disabled], input[type="password"][disabled], select[disabled] {
color: #B6AD84;
cursor: default;
-webkit-text-fill-color: #B6AD84;
}

or to use the other skin parameter for disabled element: tabDisabledTextColor. It will make the color a bit darker in Chrome and Safari, but still it will be different from the real color.


      was (Author: OChikvina):
    I investigated the issue. The problem is that Chrome & Safari adds their own styling to disabled inputs which makes text lighter. The solution is to overwrite these styles by adding webkit property: 

textarea[disabled], input[type="text"][disabled], input[type="password"][disabled], select[disabled] {
color: #B6AD84;
cursor: default;
-webkit-text-fill-color: #B6AD84;
}

or to use the other skin parameter for disabled element: tabDisabledTextColor. It will make the color a bit darker in Chrome and Safari, but still it will be different from the real color.

  
> Themes: wine theme show almost invisible text for disabled inputtext in Google Chrome.
> --------------------------------------------------------------------------------------
>
>                 Key: RF-10539
>                 URL: https://issues.jboss.org/browse/RF-10539
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: 4.0.0.Milestone6
>         Environment: Tomcat 7.0.8/ Mojarra 2.0.4/ Richfaces 4 M6
>            Reporter: Flávio Henrique
>            Assignee: OLga Chikvina
>            Priority: Trivial
>              Labels: richfaces
>             Fix For: 4.0.0.Final
>
>
> Richfaces theme "Wine" in Google Chrome display almost invisible text for disabled inputtextes.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the richfaces-issues mailing list