Make WordPress Core

Ticket #34220: 34220-update-revision-slider-1.diff

File 34220-update-revision-slider-1.diff, 1.1 KB (added by hugobaeta, 9 years ago)

Updates slider handle to match normal buttons new style and makes it slightly larger

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

     
    462462        -webkit-border-radius: 50%;
    463463        border-radius: 50%;
    464464        height: 18px;
    465         margin-top: -3px;
     465        margin-top: -5px;
    466466        outline: none;
     467        padding: 2px;
    467468        position: absolute;
    468469        width: 18px;
    469470        z-index: 2;
     
    474475.wp-slider .ui-slider-handle,
    475476.wp-slider .ui-slider-handle.ui-state-hover,
    476477.wp-slider .ui-slider-handle.focus {
    477         background: #00a0d2;
    478         border: 1px solid #0073aa;
    479         -webkit-box-shadow: inset 0 1px 0 #78c8e6, 0 1px 0 rgba(0,0,0,.15);
    480         box-shadow: inset 0 1px 0 #78c8e6, 0 1px 0 rgba(0,0,0,.15);
     478        background: #f7f7f7;
     479        border: 1px solid #ccc;
     480        -webkit-box-shadow: 0 1px 0 #cccccc;
     481        box-shadow: 0 1px 0 #cccccc;
    481482}
    482483
    483484.wp-slider .ui-slider-handle:before {
    484485        background: none;
    485486        position: absolute;
    486         top: 0;
    487         left: 0;
    488         color: #fff;
     487        top: 2px;
     488        left: 2px;
     489        color: #555;
    489490        content: "\f229";
    490491        font: normal 18px/1 dashicons;
    491492        speak: none;