Sorry I misunderstood which fields you want to change the styles for, if you want all your fields to have the grey gradient background with rounded corners and white text then the css below should do it, I have copied the styles from your stylesheet. The only field this won't change is the select field which every browser handles differently so you might be better editing that dropdown field and enabling the enhanced interface which you can have more control over and then change the background gradient to match your other fields.
.gform_wrapper input[type=text], .gform_wrapper input[type=url], .gform_wrapper input[type=email], .gform_wrapper input[type=tel], .gform_wrapper input[type=number], .gform_wrapper input[type=password], .gform_wrapper textarea {
padding: 10px 8px 8px;
background: #1f1b1a; /* Old browsers */
border: none;
color: #fff;
background: -moz-linear-gradient(top, #1f1b1a 0%, #332e28 76%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1f1b1a), color-stop(76%,#332e28)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #1f1b1a 0%,#332e28 76%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #1f1b1a 0%,#332e28 76%); /* Opera11.10+ */
background: -ms-linear-gradient(top, #1f1b1a 0%,#332e28 76%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1f1b1a', endColorstr='#332e28',GradientType=0 ); /* IE6-9 */
background: linear-gradient(top, #1f1b1a 0%,#332e28 76%); /* W3C */
border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px;
box-shadow: 0 1px 0 rgba(255,255,255,0.2), 0 0 1px rgba(255,255,255,0.1);
-moz-box-shadow: 0 1px 0 rgba(255,255,255,0.2), 0 0 1px rgba(255,255,255,0.1);
-webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.2), 0 0 1px rgba(255,255,255,0.1);
}
Posted 11 years ago on Tuesday April 9, 2013 |
Permalink