Make WordPress Core

Ticket #28062: 28062.patch

File 28062.patch, 3.1 KB (added by SergeyBiryukov, 11 years ago)
  • src/wp-admin/includes/template.php

     
    19921992
    19931993                self::print_js( 'wp360_revisions', '.misc-pub-section.misc-pub-revisions', array(
    19941994                        'content' => $content,
    1995                         'position' => array( 'edge' => is_rtl() ? 'left' : 'right', 'align' => 'center', 'my' => is_rtl() ? 'left' : 'right-14px' ),
     1995                        'position' => array( 'edge' => is_rtl() ? 'left' : 'right', 'align' => 'center' ),
    19961996                ) );
    19971997        }
    19981998
     
    20202020
    20212021                if ( 'themes' === get_current_screen()->id ) {
    20222022                        $selector = '.theme.active .customize';
    2023                         $position = array( 'edge' => is_rtl() ? 'right' : 'left', 'align' => 'center', 'my' => is_rtl() ? 'right-13px' : '' );
     2023                        $position = array( 'edge' => is_rtl() ? 'right' : 'left', 'align' => 'center' );
    20242024                } else {
    20252025                        $selector = 'a[href="customize.php"]';
    20262026                        if ( is_rtl() ) {
  • src/wp-includes/css/wp-pointer.css

     
    106106}
    107107
    108108.wp-pointer-bottom {
     109        margin-top: -13px;
    109110        padding-bottom: 13px;
    110111}
    111112
     
    115116}
    116117/* @noflip */
    117118.wp-pointer-right {
     119        margin-left: -13px;
    118120        padding-right: 13px;
    119121}
    120122
     
    139141        border-bottom-color: #3592b6;
    140142}
    141143
    142 .wp-pointer-top .wp-pointer-arrow:before,
    143 .wp-pointer-undefined .wp-pointer-arrow:before {
     144.wp-pointer-top .wp-pointer-arrow-inner,
     145.wp-pointer-undefined .wp-pointer-arrow-inner {
     146        top: 1px;
    144147        margin-left: -13px;
    145         margin-top: -11px;
     148        margin-top: -13px;
    146149        border: 13px solid transparent;
    147150        border-bottom-color: #2ea2cc;
    148151        display: block;
     
    155158        border-top-color: #ccc;
    156159}
    157160
    158 .wp-pointer-bottom .wp-pointer-arrow:before {
     161.wp-pointer-bottom .wp-pointer-arrow-inner {
     162        bottom: 1px;
    159163        margin-left: -13px;
    160         margin-top: -14px;
     164        margin-bottom: -13px;
    161165        border: 13px solid transparent;
    162166        border-top-color: #fff;
    163167        display: block;
     
    171175        border-right-color: #ccc;
    172176}
    173177
    174 .wp-pointer-left .wp-pointer-arrow:before {
    175         margin-left: -14px;
     178/* @noflip */
     179.wp-pointer-left .wp-pointer-arrow-inner {
     180        left: 1px;
     181        margin-left: -13px;
    176182        margin-top: -13px;
    177183        border: 13px solid transparent;
    178184        border-right-color: #fff;
     
    182188
    183189/* @noflip */
    184190.wp-pointer-right .wp-pointer-arrow {
    185         right:0;
     191        right: 0;
    186192        border-width: 13px 0 13px 13px;
    187193        border-left-color: #ccc;
    188194}
    189195
    190 .wp-pointer-right .wp-pointer-arrow:before {
    191         margin-left: -14px;
     196/* @noflip */
     197.wp-pointer-right .wp-pointer-arrow-inner {
     198        right: 1px;
     199        margin-right: -13px;
    192200        margin-top: -13px;
    193201        border: 13px solid transparent;
    194202        border-left-color: #fff;
     
    196204        content: ' ';
    197205}
    198206
    199 .rtl .wp-pointer-arrow:before {
    200         -webkit-transform: rotateY(180deg);
    201         -ms-transform:     rotateY(180deg);
    202         transform:         rotateY(180deg);
    203 }
    204 
    205207/* Disable pointers at responsive sizes */
    206208@media screen and ( max-width: 782px ) {
    207209        .wp-pointer {