Make WordPress Core

Ticket #44946: 44946.diff

File 44946.diff, 1.4 KB (added by afercia, 8 years ago)
  • src/js/_enqueues/admin/inline-edit-post.js

     
    529529                                row.addClass('wp-locked');
    530530                        }
    531531                } else if ( row.hasClass('wp-locked') ) {
     532                        row.removeClass( 'wp-locked' );
    532533                        // Make room for the CSS animation
    533                         row.removeClass('wp-locked').delay(1000).find('.locked-info span').empty();
     534                        setTimeout( function() {
     535                                row.find( '.locked-info span' ).empty()
     536                        }, 1000 );
    534537                }
    535538        });
    536539}).on( 'heartbeat-send.wp-check-locked-posts', function( e, data ) {
  • src/wp-admin/css/list-tables.css

     
    529529}
    530530
    531531tr.wp-locked .locked-indicator {
    532         margin-left: 6px;
     532        margin: -4px 0 0 6px;
    533533        height: 20px;
    534534        width: 16px;
    535535}
     
    553553}
    554554
    555555tr .locked-info {
    556         height: 0;
     556        max-height: 0px;
    557557        opacity: 0;
     558        transition: max-height 1s, opacity 1s;
    558559}
    559560
    560561tr.wp-locked .locked-info {
    561         margin-top: 4px;
    562         height: auto;
     562        max-height: 5em;
    563563        opacity: 1;
    564564}
    565565
     
    567567        vertical-align: top;
    568568}
    569569
    570 tr.locked-info, tr.wp-locked .locked-info {
    571         transition: height 1s, opacity 0.5s;
    572 }
    573 
    574570.fixed .column-comments .sorting-indicator {
    575571        margin-top: 3px;
    576572}