Make WordPress Core

Ticket #35126: 35126.patch

File 35126.patch, 1.1 KB (added by Cheffheid, 9 years ago)

Takes the "extend what we have" approach, rather than "adjust the default and update what's affected" one.

  • src/wp-includes/css/buttons.css

     
    216216        outline: #5b9dd9 solid 1px;
    217217}
    218218
     219.wp-core-ui .button-link.like-anchor {
     220        color: #0073aa;
     221        text-decoration: underline;
     222        -webkit-transition-property: border, background, color;
     223        transition-property: border, background, color;
     224        -webkit-transition-duration: .05s;
     225        transition-duration: .05s;
     226        -webkit-transition-timing-function: ease-in-out;
     227        transition-timing-function: ease-in-out;
     228}
     229
     230.wp-core-ui .button-link.like-anchor:hover,
     231.wp-core-ui .button-link.like-anchor:active {
     232        color: #00a0d2;
     233}
     234
     235.wp-core-ui .button-link.like-anchor:focus {
     236        color: #124964;
     237        -webkit-box-shadow:
     238                0 0 0 1px #5b9dd9,
     239                0 0 2px 1px rgba(30, 140, 190, .8);
     240        box-shadow:
     241                0 0 0 1px #5b9dd9,
     242                0 0 2px 1px rgba(30, 140, 190, .8);
     243}
     244
    219245/* ----------------------------------------------------------------------------
    220246  3.0 - Primary Button Style
    221247---------------------------------------------------------------------------- */