Make WordPress Core

Ticket #35296: 35296.patch

File 35296.patch, 2.0 KB (added by afercia, 9 years ago)
  • src/wp-admin/css/media.css

     
    875875.imgedit-wait {
    876876        position: absolute;
    877877        top: 0;
    878         background: #fff url(../images/spinner.gif) no-repeat center;
    879         -webkit-background-size: 20px 20px;
    880         background-size: 20px 20px;
     878        bottom: 0;
     879        width: 100%;
     880        background: #fff;
    881881        opacity: 0.7;
    882882        filter: alpha(opacity=70);
    883         width: 100%;
    884         height: 500px;
    885883        display: none;
    886884}
    887885
     886.imgedit-wait:before {
     887        content: "";
     888        display: block;
     889        width: 20px;
     890        height: 20px;
     891        position: absolute;
     892        left: 50%;
     893        top: 50%;
     894        margin: -10px 0 0 -10px;
     895        background: transparent url(../images/spinner.gif) no-repeat center;
     896        -webkit-background-size: 20px 20px;
     897        background-size: 20px 20px;
     898        -webkit-transform: translateZ(0);
     899        transform: translateZ(0);
     900}
     901
    888902.no-float {
    889903        float: none;
    890904}
     
    10931107@media print,
    10941108  (-webkit-min-device-pixel-ratio: 1.25),
    10951109  (min-resolution: 120dpi) {
    1096         .imgedit-wait {
     1110        .imgedit-wait:before {
    10971111                background-image: url(../images/spinner-2x.gif);
    10981112        }
    10991113}
  • src/wp-admin/js/image-edit.js

     
    5656                var wait = $('#imgedit-wait-' + postid);
    5757
    5858                if ( toggle ) {
    59                         wait.height( $('#imgedit-panel-' + postid).height() ).fadeIn('fast');
     59                        wait.fadeIn( 'fast' );
    6060                } else {
    6161                        wait.fadeOut('fast');
    6262                }
  • src/wp-includes/css/media-views.css

     
    17211721        position: static;
    17221722}
    17231723
    1724 .media-modal .imgedit-wait {
    1725         height: auto !important;
    1726         right: 0;
    1727         bottom: 0;
    1728         left: 0;
    1729 }
    1730 
    17311724.media-modal .imgedit-wrap .imgedit-panel-content {
    17321725        padding: 16px;
    17331726        position: absolute;