Ticket #23935: 23935.tooltips-checkbox-status.patch
File 23935.tooltips-checkbox-status.patch, 3.3 KB (added by , 11 years ago) |
---|
-
wp-admin/js/revisions.js
397 397 }, 398 398 399 399 addTooltip: function( handle, message ) { 400 handle.attr( 'title', '' ).tooltip({ 401 track: false, 402 403 position: { 404 my: "left-30 top-66", 405 at: "top left", 406 using: function( position, feedback ) { 407 $( this ).css( position ); 408 $( "<div>" ) 409 .addClass( "arrow" ) 410 .addClass( feedback.vertical ) 411 .addClass( feedback.horizontal ) 412 .appendTo( $( this ) ); 413 } 414 }, 415 show: false, 416 hide: false, 417 content: function() { 418 return message; 419 } 420 421 } ); 400 handle.find( '.ui-slider-tooltip' ).html( message ) 422 401 }, 423 402 424 403 width: function() { … … 431 410 432 411 refresh: function( options, slide ) { 433 412 $( '#diff-slider' ).slider( 'option', options ); 413 414 // reset all of the slider tooltips during a refresh 415 $( 'a.ui-slider-handle' ).html( '<span class="ui-slider-tooltip ui-widget-content ui-corner-all"></span>' ); 434 416 435 417 // Triggers the slide event 436 418 if ( slide ) -
wp-admin/css/wp-admin.css
3575 3575 position: relative; 3576 3576 } 3577 3577 3578 #revisions-diff { 3579 position: relative; 3580 border-top: 1px solid #dfdfdf; 3581 } 3582 3578 3583 #toggle-revision-compare-mode { 3579 3584 position: absolute; 3580 3585 top: 0; 3581 3586 right: 0; 3582 padding -top: 15px;3587 padding: 9px 9px 0 0; 3583 3588 } 3584 3589 3585 3590 #loading-status { 3586 position: absolute;3587 top: 0;3588 right: 170px;3589 3591 line-height: 30px; 3590 3592 display: none; 3591 margin: 9px 0 0; 3593 margin: 0 0 9px; 3594 text-align:center; 3592 3595 } 3593 3596 3594 3597 #loading-status .spinner { 3595 float: left; 3598 float: none; 3599 display: inline-block; 3596 3600 } 3597 3601 3598 3602 #revision-interact { 3599 border-bottom: 1px solid #dfdfdf;3600 3603 padding: 20px 0; 3601 3604 } 3602 3605 … … 3622 3625 width: 95%; 3623 3626 } 3624 3627 3628 #diff-slider .ui-slider-tooltip { 3629 display: none; 3630 } 3631 3632 #diff-slider .ui-state-active .ui-slider-tooltip, #diff-slider .ui-state-focus .ui-slider-tooltip, #diff-slider .ui-state-hover .ui-slider-tooltip { 3633 display:block; 3634 position:absolute; 3635 border-color: #d7d7d7; 3636 background-color: #fff; 3637 bottom:20px; 3638 margin-left:-4em; 3639 } 3640 3625 3641 #diff-title-to strong { 3626 3642 display: none; 3627 3643 } … … 3688 3704 .comparing-two-revisions #diff-title-from, 3689 3705 .left-model-loading #loading-status, 3690 3706 .right-model-loading #loading-status, 3691 .left-model-loading #loading-status .spinner,3692 .right-model-loading #loading-status .spinner,3693 3707 .comparing-two-revisions #diff-header-from { 3694 3708 display: block; 3695 3709 } … … 3747 3761 float: none; 3748 3762 } 3749 3763 3750 .ui-tooltip-content img {3764 .ui-tooltip-content img, .ui-slider-tooltip img { 3751 3765 float: left; 3752 3766 margin-right: 5px; 3753 3767 } … … 3755 3769 3756 3770 /* jQuery UI Tooltip 1.10.1 */ 3757 3771 3758 .ui-tooltip {3772 .ui-tooltip, .ui-slider-tooltip { 3759 3773 padding: 8px; 3760 3774 position: absolute; 3761 3775 z-index: 9999; … … 3763 3777 min-width: 130px; 3764 3778 } 3765 3779 3766 body .ui-tooltip {3780 body .ui-tooltip, body .ui-slider-tooltip { 3767 3781 border-width: 1px; 3768 3782 } 3769 3783 3770 .ui-tooltip, . arrow:after {3784 .ui-tooltip, .ui-slider-tooltip, .arrow:after { 3771 3785 border: 1px solid #d7d7d7; 3772 3786 } 3773 3787 3774 .ui-tooltip {3788 .ui-tooltip, .ui-slider-tooltip { 3775 3789 padding: 5px 10px; 3776 3790 } 3777 3791