WordPress.org

Make WordPress Core

Changeset 24574


Ignore:
Timestamp:
07/05/2013 10:15:37 PM (9 years ago)
Author:
ocean90
Message:

Revisions: CSS cleanup, see #24425.

Location:
trunk/wp-admin
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/colors-classic.css

    r24429 r24574  
    14861486}
    14871487
    1488 #diff-slider .ui-slider-tooltip,
    1489 #diff-slider-ticks .ui-slider-tooltip {
     1488.diff-slider .ui-slider-tooltip {
    14901489    border-color: #d1e5ee;
    14911490    background-color: #fff;
     
    14941493#diff-title-to strong {
    14951494    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;
    15351495}
    15361496
  • trunk/wp-admin/css/colors-fresh.css

    r24549 r24574  
    13801380}
    13811381
    1382 .ui-slider-tooltip,
    13831382.ui-slider-tooltip {
    13841383    border-color: #d7d7d7;
     
    13881387#diff-title-to strong {
    13891388    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;
    14291389}
    14301390
  • trunk/wp-admin/css/wp-admin-rtl.css

    r24549 r24574  
    955955  11.2 - Post Revisions
    956956------------------------------------------------------------------------------*/
    957 
    958 #diff-slider .ui-slider-tooltip,
    959 #diff-slider-ticks .ui-slider-tooltip {
    960     margin-left: 0;
    961     margin-right: -78px;
    962 }
    963 
    964957.wp-slider .ui-slider-handle.left-handle:before,
    965958.wp-slider .ui-slider-handle.right-handle:before {
     
    967960    width: 7px;
    968961}
     962
    969963.wp-slider .ui-slider-handle.left-handle:before {
    970964    background-position: -5px -10px;
    971965    left: 6px;
    972966}
     967
    973968.wp-slider .ui-slider-handle.right-handle:before {
    974969    background-position: -4px -29px;
     
    10291024    margin-right: 0;
    10301025    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;
    10371026}
    10381027
  • trunk/wp-admin/css/wp-admin.css

    r24566 r24574  
    34823482  11.2 - Post Revisions
    34833483------------------------------------------------------------------------------*/
    3484 .revisions .spinner {
    3485     float: none;
    3486     margin: 100px auto;
    3487 }
    3488 
    3489 .revisions.loading .spinner {
    3490     display: block;
    3491 }
    3492 
    34933484.revisions-control-frame,
    34943485.revisions-diff-frame {
     
    34973488
    34983489.revisions-controls {
    3499     height: 60px;
    35003490    padding: 40px 0 20px;
    3501     border-bottom: none;
    35023491    margin-bottom: 10px;
    3503 }
    3504 
    3505 .comparing-two-revisions .revisions-controls {
    3506     height: 90px;
    35073492}
    35083493
     
    35103495    margin-top: 15px;
    35113496}
     3497
    35123498.revision-toggle-compare-mode {
    35133499    position: absolute;
     
    35153501    right: 0;
    35163502}
     3503
    35173504.comparing-two-revisions .revisions-previous,
    35183505.comparing-two-revisions .revisions-next {
     
    35753562}
    35763563
    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 
    36023564.revisions .ui-slider-tooltip {
    36033565    position: absolute;
    3604     bottom: 86px;
     3566    bottom: 105px;
    36053567    margin-left: -70px;
    36063568    line-height: 28px;
     
    36093571#diff-title-to strong {
    36103572    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;
    36213573}
    36223574
     
    36543606}
    36553607
    3656 #diff-table {
    3657     margin-top: 20px;
    3658 }
    3659 
    3660 #diff-previous-revision,
    3661 #diff-next-revision,
    36623608#diff-header-from {
    36633609    display: none;
     
    36653611
    36663612.comparing-two-revisions #diff-title-from,
    3667 .left-model-loading #loading-status,
    3668 .right-model-loading #loading-status,
    36693613.comparing-two-revisions #diff-header-from {
    36703614    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;
    37423615}
    37433616
     
    37863659    left: 0;
    37873660    margin-left: -35px;
    3788     bottom: 71px;
     3661    bottom: 90px;
    37893662    z-index: 10000;
    37903663}
  • trunk/wp-admin/revision.php

    r24549 r24574  
    1111
    1212require 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 )
    1613
    1714wp_reset_vars( array( 'revision', 'action' ) );
Note: See TracChangeset for help on using the changeset viewer.