Make WordPress Core

Ticket #38660: 38660.3.diff

File 38660.3.diff, 1.8 KB (added by MarcosAlexandre, 7 years ago)

Displays menu edit button on monitors with resolution of 1280x1024

  • src/wp-includes/css/customize-preview.css

     
    3131
    3232.widget .customize-partial-edit-shortcut button:active,
    3333.customize-partial-edit-shortcut button:active {
    34         padding: 0;
    35         border: 0;
     34        padding: 3;
     35        border: 1px solid #0085ba;
    3636}
    3737
    3838/* Styles for the actual shortcut */
     
    3939.widget .customize-partial-edit-shortcut button,
    4040.customize-partial-edit-shortcut button {
    4141        position: absolute;
    42         left: -36px;
     42        left: -29px;
    4343        color: #fff;
    4444        width: 30px;
    4545        height: 30px;
     
    5555        -webkit-box-shadow: 0 2px 1px rgba(46,68,83,0.15);
    5656        box-shadow: 0 2px 1px rgba(46,68,83,0.15);
    5757        text-align: center;
    58         display: -webkit-box;
    59         display: -webkit-flex;
    60         display: -moz-box;
    61         display: -ms-flexbox;
    62         display: flex;
    63         -webkit-box-orient: horizontal;
    64         -webkit-box-direction: normal;
    65         -webkit-flex-direction: row;
    66         -moz-box-orient: horizontal;
    67         -moz-box-direction: normal;
    68         -ms-flex-direction: row;
    69         flex-direction: row;
    70         -webkit-box-pack: center;
    71         -webkit-justify-content: center;
    72         -moz-box-pack: center;
    73         -ms-flex-pack: center;
    74         justify-content: center;
    75         -webkit-box-align: center;
    76         -webkit-align-items: center;
    77         -moz-box-align: center;
    78         -ms-flex-align: center;
    79         align-items: center;
    8058        cursor: pointer;
    81         padding: 0;
     59        box-sizing: border-box;
     60        padding: 3px;
    8261        -webkit-animation-fill-mode: both;
    8362        animation-fill-mode: both;
    8463        -webkit-animation-duration: .4s;
     
    123102}
    124103
    125104.customize-partial-edit-shortcut-left-margin.customize-partial-edit-shortcut button {
    126         left: 0;
     105        left: 2px;
     106        top: 2px;
    127107}
    128108
    129109@-webkit-keyframes customize-partial-edit-shortcut-bounce-appear {