Make WordPress Core

Ticket #32490: 32490.patch

File 32490.patch, 598 bytes (added by liljimmi, 9 years ago)

We looked at the pale pink background color in an accessibility tool and it did not provide enough contrast to be helpful. I removed the background and added a red shadow for emphasis.

  • wp-admin/css/forms.css

     
    232232   color: #a9a9a9;
    233233}
    234234
    235 .form-invalid {
    236         background-color: #ffebe8 !important;
    237 }
    238 
    239 .form-invalid input,
    240 .form-invalid select {
     235.form-invalid input, .form-invalid input:focus,
     236.form-invalid select, .form-invalid select:focus {
    241237        border-color: #c00 !important;
     238        -webkit-box-shadow: 0 0 2px rgba( 204,0,0, 0.8 );
     239        box-shadow: 0 0 2px rgba( 204,0,0, 0.8 );
    242240}
    243241
    244242.form-input-tip {