Changeset 24574
- Timestamp:
- 07/05/2013 10:15:37 PM (11 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/css/colors-classic.css
r24429 r24574 1486 1486 } 1487 1487 1488 #diff-slider .ui-slider-tooltip, 1489 #diff-slider-ticks .ui-slider-tooltip { 1488 .diff-slider .ui-slider-tooltip { 1490 1489 border-color: #d1e5ee; 1491 1490 background-color: #fff; … … 1494 1493 #diff-title-to strong { 1495 1494 color: #08a; 1496 }1497 1498 .revision-tick.completed-false {1499 background-color: #99c;1500 background: url(../images/wpspin_light.gif) no-repeat;1501 background-position: middle;1502 background-size: 1px 10px;1503 }1504 1505 .revision-tick.completed-false {1506 background-image: none;1507 }1508 1509 .revision-tick.scope-of-changes-none {1510 background-color: #d1e5ee;1511 }1512 1513 .revision-tick.scope-of-changes-vsmall {1514 background-color: #b4d5e3;1515 }1516 1517 .revision-tick.scope-of-changes-small {1518 background-color: #98c5d9;1519 }1520 1521 .revision-tick.scope-of-changes-med {1522 background-color: #7bb4ce;1523 }1524 1525 .revision-tick.scope-of-changes-large {1526 background-color: #5ea4c4;1527 }1528 1529 .revision-tick.scope-of-changes-vlarge {1530 background-color: #4493b7;1531 }1532 1533 .diff-label {1534 color: #666;1535 1495 } 1536 1496 -
trunk/wp-admin/css/colors-fresh.css
r24549 r24574 1380 1380 } 1381 1381 1382 .ui-slider-tooltip,1383 1382 .ui-slider-tooltip { 1384 1383 border-color: #d7d7d7; … … 1388 1387 #diff-title-to strong { 1389 1388 color: #08a; 1390 }1391 1392 .revision-tick.completed-false {1393 background-color: #99c;1394 background-image: url(../images/wpspin_light.gif) no-repeat;1395 background-position: middle;1396 background-size: 1px 10px;1397 }1398 1399 .revision-tick.completed-false {1400 background-image: none;1401 }1402 1403 .revision-tick.scope-of-changes-none {1404 background-color: #d7d7d7;1405 }1406 1407 .revision-tick.scope-of-changes-vsmall {1408 background-color: #c3c3c3;1409 }1410 1411 .revision-tick.scope-of-changes-small {1412 background-color: #b0b0b0;1413 }1414 1415 .revision-tick.scope-of-changes-med {1416 background-color: #9c9c9c;1417 }1418 1419 .revision-tick.scope-of-changes-large {1420 background-color: #898989;1421 }1422 1423 .revision-tick.scope-of-changes-vlarge {1424 background-color: #757575;1425 }1426 1427 .diff-label {1428 color: #666;1429 1389 } 1430 1390 -
trunk/wp-admin/css/wp-admin-rtl.css
r24549 r24574 955 955 11.2 - Post Revisions 956 956 ------------------------------------------------------------------------------*/ 957 958 #diff-slider .ui-slider-tooltip,959 #diff-slider-ticks .ui-slider-tooltip {960 margin-left: 0;961 margin-right: -78px;962 }963 964 957 .wp-slider .ui-slider-handle.left-handle:before, 965 958 .wp-slider .ui-slider-handle.right-handle:before { … … 967 960 width: 7px; 968 961 } 962 969 963 .wp-slider .ui-slider-handle.left-handle:before { 970 964 background-position: -5px -10px; 971 965 left: 6px; 972 966 } 967 973 968 .wp-slider .ui-slider-handle.right-handle:before { 974 969 background-position: -4px -29px; … … 1029 1024 margin-right: 0; 1030 1025 margin-left: 5px; 1031 }1032 1033 #diff-slider .ui-slider-tooltip,1034 #diff-slider-ticks .ui-slider-tooltip {1035 margin-left: 0;1036 margin-right: -78px;1037 1026 } 1038 1027 -
trunk/wp-admin/css/wp-admin.css
r24566 r24574 3482 3482 11.2 - Post Revisions 3483 3483 ------------------------------------------------------------------------------*/ 3484 .revisions .spinner {3485 float: none;3486 margin: 100px auto;3487 }3488 3489 .revisions.loading .spinner {3490 display: block;3491 }3492 3493 3484 .revisions-control-frame, 3494 3485 .revisions-diff-frame { … … 3497 3488 3498 3489 .revisions-controls { 3499 height: 60px;3500 3490 padding: 40px 0 20px; 3501 border-bottom: none;3502 3491 margin-bottom: 10px; 3503 }3504 3505 .comparing-two-revisions .revisions-controls {3506 height: 90px;3507 3492 } 3508 3493 … … 3510 3495 margin-top: 15px; 3511 3496 } 3497 3512 3498 .revision-toggle-compare-mode { 3513 3499 position: absolute; … … 3515 3501 right: 0; 3516 3502 } 3503 3517 3504 .comparing-two-revisions .revisions-previous, 3518 3505 .comparing-two-revisions .revisions-next { … … 3575 3562 } 3576 3563 3577 #revisions-diff {3578 position: relative;3579 }3580 3581 #loading-status {3582 display: none;3583 position: absolute;3584 top: 8px;3585 z-index: 1000;3586 }3587 3588 #loading-status .spinner {3589 display: inline-block;3590 float: none;3591 margin: -4px 0;3592 }3593 3594 #revision-interact {3595 padding: 20px 0;3596 }3597 3598 .comparetwo #diff-slider {3599 width: 95%;3600 }3601 3602 3564 .revisions .ui-slider-tooltip { 3603 3565 position: absolute; 3604 bottom: 86px;3566 bottom: 105px; 3605 3567 margin-left: -70px; 3606 3568 line-height: 28px; … … 3609 3571 #diff-title-to strong { 3610 3572 display: inline; 3611 }3612 3613 .comparing-two-revisions #diff-title-to strong {3614 display: inline;3615 }3616 3617 .diff-label {3618 margin: 20px 0 5px;3619 padding-left: 3px;3620 font-size: 13px;3621 3573 } 3622 3574 … … 3654 3606 } 3655 3607 3656 #diff-table {3657 margin-top: 20px;3658 }3659 3660 #diff-previous-revision,3661 #diff-next-revision,3662 3608 #diff-header-from { 3663 3609 display: none; … … 3665 3611 3666 3612 .comparing-two-revisions #diff-title-from, 3667 .left-model-loading #loading-status,3668 .right-model-loading #loading-status,3669 3613 .comparing-two-revisions #diff-header-from { 3670 3614 display: block; 3671 }3672 3673 .comparing-two-revisions .revisions-tooltip div {3674 margin-bottom: 30px;3675 }3676 .diff-slider-ticks-wrapper {3677 margin: 0 auto;3678 text-align: left;3679 }3680 3681 #diff-slider-ticks {3682 position: absolute;3683 z-index: 2;3684 margin-top: 20px;3685 }3686 3687 .revision-tick {3688 width: 1px;3689 float: left;3690 margin: 1px 0 0 0;3691 height: .8em;3692 padding: 0;3693 margin-left: 0px;3694 cursor: pointer;3695 }3696 3697 #diff-slider-ticks .revision-tick:first-child {3698 border-bottom-left-radius: 3px;3699 border-top-left-radius: 3px;3700 }3701 3702 #diff-slider-ticks .revision-tick:last-child {3703 border-bottom-right-radius: 3px;3704 border-top-right-radius: 3px;3705 }3706 3707 .revision-tick.scope-of-changes-none {3708 width: 1px;3709 }3710 3711 .revision-tick.scope-of-changes-vsmall {3712 width: 2px;3713 }3714 3715 .revision-tick.scope-of-changes-small {3716 width: 3px;3717 }3718 3719 .revision-tick.scope-of-changes-med {3720 width: 4px;3721 }3722 3723 .revision-tick.scope-of-changes-large {3724 width: 5px;3725 }3726 3727 .revision-tick.scope-of-changes-vlarge {3728 width: 6px;3729 }3730 3731 .diff-loading {3732 margin-top: 50px;3733 width: 100%;3734 height: 200px;3735 }3736 3737 .diff-loading .spinner {3738 clear: both;3739 margin: 0 auto;3740 display: block;3741 float: none;3742 3615 } 3743 3616 … … 3786 3659 left: 0; 3787 3660 margin-left: -35px; 3788 bottom: 71px;3661 bottom: 90px; 3789 3662 z-index: 10000; 3790 3663 } -
trunk/wp-admin/revision.php
r24549 r24574 11 11 12 12 require ABSPATH . 'wp-admin/includes/revision.php'; 13 14 // wp_get_revision_ui_diff( $post, $compare_from, $compare_to )15 // wp_prepare_revisions_for_js( $post )16 13 17 14 wp_reset_vars( array( 'revision', 'action' ) );
Note: See TracChangeset
for help on using the changeset viewer.