Make WordPress Core

Ticket #32490: 32490-3.patch

File 32490-3.patch, 1.0 KB (added by liljimmi, 9 years ago)

Same patch as above without the "required" description in red.

  • src/wp-admin/css/forms.css

     
    232232   color: #a9a9a9;
    233233}
    234234
    235 .form-invalid {
    236         background-color: #ffebe8 !important;
     235.form-invalid input, .form-invalid input:focus,
     236.form-invalid select, .form-invalid select:focus {
     237        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 );
    237240}
    238241
    239 .form-invalid input,
    240 .form-invalid select {
    241         border-color: #c00 !important;
     242.form-table .form-required.form-invalid td:before {
     243        content: '\f158';
     244        font: normal 20px/1 'dashicons';
     245        color: #c00;
     246        margin: 6px 0 0 -24px;
     247        position: absolute;
     248        vertical-align: middle;
    242249}
    243250
    244251.form-input-tip {
     
    10791086                box-sizing: border-box;
    10801087        }
    10811088
     1089        .form-table .form-required.form-invalid td:before {
     1090                content: none;
     1091        }
     1092
    10821093        #wpbody .form-table td select {
    10831094                height: 40px;
    10841095        }