Saturday, 21 March 2009

Modifying the color of disabled form fields

From stunnware:

Modifying the color of disabled form fields

Disabled form fields are sometimes hard to read. Making the color a little bit darker greatly helps to read all of the content without loosing the information that a field is read-only.

Open the following file in your CRM web: /_forms/controls/controls.css. Then find the following style:

INPUT.ro,TEXTAREA.ro,DIV.ro,SPAN.ro
{
background-color: #ffffff;
color: #808080;
border-color: #808080;
}

The color attribute is the light gray you're seeing by default. You may change it to #404040 to get a slightly darker gray. If you don't see the new colors in IE, hit CTRL-F5 to reload the source files, including the updated css file.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home