Changeset 23507
- Timestamp:
- 02/28/2013 03:40:44 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/css/wp-admin.css
r23506 r23507 3524 3524 } 3525 3525 3526 table.diff td, table.diff th { 3526 table.diff td, 3527 table.diff th { 3527 3528 padding: .5em; 3528 3529 font-family: Consolas, Monaco, monospace; … … 3530 3531 } 3531 3532 3532 table.diff .diff-deletedline del, table.diff .diff-addedline ins { 3533 table.diff .diff-deletedline del, 3534 table.diff .diff-addedline ins { 3533 3535 text-decoration: none; 3534 3536 } 3537 3538 #revisions-meta-mostrecent, 3539 #revisions-meta-stored, 3540 #revisions-meta-oldest, 3541 #revisions-meta-link { 3542 line-height: 30px; 3543 height: 30px; 3544 vertical-align: middle; 3545 padding-right: 10px; 3546 } 3547 3548 #revisions-meta-mostrecent img, 3549 #revisions-meta-oldest img { 3550 vertical-align: middle; 3551 } 3552 3553 .revisiondiffcontainer { 3554 width: 96%; 3555 } 3556 3557 .revisiondiffcontainer input.button { 3558 margin: 2px; 3559 } 3560 3561 #diffrestore, 3562 #diffnext, 3563 #diffcancel { 3564 float: right; 3565 margin-right: 5px; 3566 } 3567 3568 #diffprevious, 3569 #difftitle, 3570 #difftitlefrom, 3571 #diff_from_current_revision { 3572 float: left; 3573 margin-left: 5px; 3574 height: 35px; 3575 } 3576 3577 #diffprevious, 3578 #diffnext { 3579 margin-top: 7px; 3580 height: 30px; 3581 } 3582 3583 #diffheader, #diffsubheader { 3584 clear: both; 3585 width: 100%; 3586 } 3587 3588 #diffheader { 3589 border-bottom: 2px solid #999; 3590 width: 100%; 3591 height: 45px; 3592 line-height: 45px; 3593 padding-top: 10px; 3594 } 3595 3596 #diffsubheader { 3597 background-color: #eee; 3598 border-bottom: 2px solid #999; 3599 width: 100%; 3600 height:35px; 3601 line-height: 35px; 3602 } 3603 3604 #diffslider { 3605 width: 70%; 3606 margin-left: auto; 3607 margin-right: auto; 3608 text-align: center; 3609 height: 3.5em; 3610 } 3611 3612 #revisioncount { 3613 width: 50%; 3614 margin-left: auto; 3615 margin-right: auto; 3616 margin-top: 0; 3617 line-height: 1em; 3618 height: 1em; 3619 text-align: center; 3620 clear: none; 3621 padding: 5px; 3622 } 3623 3624 .revisiondiffcontainer { 3625 margin-top: 10px; 3626 } 3627 3628 #diffsliderwrap { 3629 width: 80%; 3630 margin-left: auto; 3631 margin-right: auto; 3632 } 3633 3634 #diffsliderwrap #sliderinner { 3635 position: relative; 3636 top: 47px; 3637 } 3638 3639 #removedandadded { 3640 width: 100%; 3641 padding-bottom: 30px; 3642 padding-top: 3px; 3643 font-size: 16px; 3644 } 3645 3646 #removed, 3647 #added { 3648 width: auto; 3649 text-align: left; 3650 padding-left: 5px; 3651 padding-right: 5px; 3652 padding-top: 5px; 3653 padding-bottom: 5px; 3654 float: left; 3655 } 3656 3657 .diffsplit #added { 3658 float: right; 3659 width: 47%; 3660 text-align: left; 3661 } 3662 3663 .diffsplit #removedandadded { 3664 width: 100%; 3665 } 3666 3667 #added { 3668 padding-left: 10px; 3669 color: #00a100; 3670 } 3671 3672 #removed { 3673 padding-left: 0px; 3674 color: #d2281f; 3675 } 3676 3677 #comparetworevisions { 3678 float: right; 3679 line-height: 35px; 3680 padding-right: 5px; 3681 } 3682 3683 #comparetworevisions input { 3684 margin-right: 2px; 3685 } 3686 3687 #difftitle img, 3688 #difftitlefrom img { 3689 vertical-align: middle; 3690 margin-left: 5px; 3691 } 3692 3693 #showsplitviewoption, 3694 #toggleshowautosavesoption { 3695 float: right; 3696 padding-left: 10px; 3697 padding-right: 10px; 3698 } 3699 3700 #revisionoptions { 3701 margin-top: 0px; 3702 line-height: 40px; 3703 clear: both; 3704 width: 100%; 3705 } 3706 3707 .comparetwo #diffslider { 3708 width: 95%; 3709 } 3710 3711 .comparetwo #diffprevious, 3712 .comparetwo #diffnext, 3713 span#diff_left_current_revision, 3714 span#diff_from_current_revision, 3715 .currentversion span#diff_left_count, 3716 .currentversion span#diff_left_count_inner, 3717 .currentversion #difftitlefrom, 3718 .comparetwo.currentversion #difftitlefrom { 3719 display: none; 3720 } 3721 3722 .currentversion span#diff_left_current_revision, 3723 span#diff_left_count, 3724 span#diff_left_count_inner, 3725 .comparetwo #difftitlefrom, 3726 .comparetwo.currentversion span#diff_from_current_revision, 3727 .leftmodelloading #modelsloading, 3728 .rightmodelloading #modelsloading, 3729 .leftmodelloading #modelsloading .spinner, 3730 .rightmodelloading #modelsloading .spinner { 3731 display: inline; 3732 } 3733 3734 #difftitlefrom { 3735 float: left; 3736 display: none; 3737 } 3738 3739 #modelsloading { 3740 float: right; 3741 line-height: 30px; 3742 display: none; 3743 clear: none; 3744 margin: 0; 3745 margin-top: -40px; 3746 } 3747 3748 #modelsloading .spinner { 3749 float: left; 3750 } 3751 3535 3752 3536 3753 /*------------------------------------------------------------------------------ … … 8821 9038 margin-left: 8em; 8822 9039 } 8823 8824 #revisions-meta-mostrecent,8825 #revisions-meta-stored,8826 #revisions-meta-oldest,8827 #revisions-meta-link {8828 line-height: 30px;8829 height: 30px;8830 vertical-align: middle;8831 padding-right: 10px;8832 }8833 #revisions-meta-mostrecent img,8834 #revisions-meta-oldest img {8835 vertical-align: middle;8836 } -
trunk/wp-admin/revision.php
r23506 r23507 74 74 $parent_file = $submenu_file = 'edit.php'; 75 75 76 wp_enqueue_style( ' revisions' );76 wp_enqueue_style( 'wp-jquery-ui-slider' ); 77 77 wp_enqueue_script( 'revisions' ); 78 78 -
trunk/wp-includes/script-loader.php
r23506 r23507 544 544 $styles->add( 'buttons', "/wp-includes/css/buttons$suffix.css" ); 545 545 $styles->add( 'wp-jquery-ui-slider', "/wp-includes/css/jquery-ui-slider$suffix.css" ); 546 $styles->add( 'revisions', "/wp-admin/css/revisions$suffix.css", array( 'wp-jquery-ui-slider' ) );547 546 548 547 foreach ( $rtl_styles as $rtl_style ) {
Note: See TracChangeset
for help on using the changeset viewer.