Ticket #24736: 24736-combined.3.diff
File 24736-combined.3.diff, 2.2 KB (added by , 12 years ago) |
---|
-
wp-admin/css/wp-admin.css
3500 3500 /*------------------------------------------------------------------------------ 3501 3501 11.2 - Post Revisions 3502 3502 ------------------------------------------------------------------------------*/ 3503 body.revision-php {3504 overflow-y: scroll; /* Force a scrollbar, so centering doesn't jump */3505 }3506 3507 3503 .revisions-control-frame, 3508 3504 .revisions-diff-frame { 3509 3505 position: relative; … … 3522 3518 3523 3519 .revisions-tickmarks { 3524 3520 position: relative; 3525 margin: 0 auto 0;3521 margin: 0 auto; 3526 3522 height: 0.8em; 3527 3523 z-index: 2; 3528 3524 top: 7px; 3529 3525 width: 70%; 3530 3526 -moz-box-sizing: border-box; 3531 3527 -webkit-box-sizing: border-box; 3532 -ms-box-sizing: border-box; /* ie8 only */3533 3528 box-sizing: border-box; 3534 3529 } 3535 3530 … … 3542 3537 border-width: 0 0 0 1px; 3543 3538 -moz-box-sizing: border-box; 3544 3539 -webkit-box-sizing: border-box; 3545 -ms-box-sizing: border-box; /* ie8 only */3546 3540 box-sizing: border-box; 3547 3541 } 3548 3542 3549 .revisions-tickmarks > div:first- of-type{3543 .revisions-tickmarks > div:first-child { 3550 3544 border-left-width: 0; 3551 3545 } 3552 3546 … … 3559 3553 text-align: center; 3560 3554 vertical-align: middle; 3561 3555 opacity: 0; 3556 filter: alpha(opacity=0); /* ie8 and earlier */ 3562 3557 margin: 0 auto; 3563 3558 width: 100%; 3564 3559 height: 32px; … … 3573 3568 3574 3569 .revisions.loading .loading-indicator { 3575 3570 opacity: 1; 3571 filter: alpha(opacity=100); /* ie8 and earlier */ 3576 3572 } 3577 3573 3578 3574 .revisions .diff { … … 3585 3581 3586 3582 .revisions.loading .diff { 3587 3583 opacity: 0.5; 3584 filter: alpha(opacity=50); /* ie8 and earlier */ 3588 3585 } 3589 3586 3590 3587 .revisions-meta { … … 3612 3609 3613 3610 .wp-slider { 3614 3611 width: 70%; 3615 margin: 0 auto 0;3612 margin: 0 auto; 3616 3613 top: -3px; 3617 3614 } 3618 3615 -
wp-admin/js/revisions.js
452 452 render: function() { 453 453 wp.Backbone.View.prototype.render.apply( this, arguments ); 454 454 455 $('html').css( 'overflow-y', 'scroll' ); 455 456 $('#wpbody-content .wrap').append( this.el ); 456 457 this.updateCompareTwoMode(); 457 458 this.renderDiff( this.model.diff() );