Make WordPress Core

Ticket #27173: 27173.alt.diff

File 27173.alt.diff, 730 bytes (added by celloexpressions, 11 years ago)

Alternate approach, only changing the focused outline color for checkboxes and radio inputs.

  • wp-admin/css/forms.css

     
    232232input[type="search"]:focus,
    233233input[type="tel"]:focus,
    234234input[type="url"]:focus,
    235 input[type="checkbox"]:focus,
    236 input[type="radio"]:focus,
    237235select:focus {
    238236        border-color: #999;
    239237        -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.1);
     
    240238        box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    241239}
    242240
     241input[type="checkbox"]:focus,
     242input[type="radio"]:focus {
     243        border-color: #555;
     244        -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.1);
     245        box-shadow: 0 1px 2px rgba(0,0,0,0.1); 
     246}
     247
    243248input[readonly] {
    244249        background-color: #eee;
    245250}