Make WordPress Core

Ticket #47498: 47498-alternate.diff

File 47498-alternate.diff, 1.3 KB (added by kjellr, 4 years ago)
  • src/wp-admin/css/forms.css

     
    125125        display: inline-block;
    126126        vertical-align: middle;
    127127        width: 16px;
    128         font: normal 21px/1 dashicons;
    129128        speak: none;
    130129        -webkit-font-smoothing: antialiased;
    131130        -moz-osx-font-smoothing: grayscale;
     
    132131}
    133132
    134133input[type="checkbox"]:checked:before {
    135         content: "\f147";
     134        /* Checkmark uses the "Yes" Dashicon */
     135        content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><rect x='0' fill='none' width='20' height='20'/><g><path d='M14.83 4.89l1.34.94-5.81 8.38H9.02L5.78 9.67l1.34-1.25 2.57 2.4z' fill='#1e8cbe'/></g></svg>");
    136136        margin: -3px 0 0 -4px;
    137         color: #1e8cbe;
     137        height: 21px;
     138        width: 21px;
    138139}
    139140
    140141input[type="radio"]:checked:before {
    141         content: "\2022";
    142         text-indent: -9999px;
    143         border-radius: 50px;
    144         font-size: 24px;
     142        content: "";
     143        border-radius: 50%;
    145144        width: 6px;
    146145        height: 6px;
    147146        margin: 4px;
     
    12741273        .widefat th input[type="checkbox"]:before,
    12751274        .widefat thead td input[type="checkbox"]:before,
    12761275        .widefat tfoot td input[type="checkbox"]:before {
    1277                 font: normal 30px/1 dashicons;
     1276                width: 30px;
     1277                height: 30px;
    12781278                margin: -3px -5px;
    12791279        }
    12801280