Ticket #28062: 28062.patch
File 28062.patch, 3.1 KB (added by , 11 years ago) |
---|
-
src/wp-admin/includes/template.php
1992 1992 1993 1993 self::print_js( 'wp360_revisions', '.misc-pub-section.misc-pub-revisions', array( 1994 1994 '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' ), 1996 1996 ) ); 1997 1997 } 1998 1998 … … 2020 2020 2021 2021 if ( 'themes' === get_current_screen()->id ) { 2022 2022 $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' ); 2024 2024 } else { 2025 2025 $selector = 'a[href="customize.php"]'; 2026 2026 if ( is_rtl() ) { -
src/wp-includes/css/wp-pointer.css
106 106 } 107 107 108 108 .wp-pointer-bottom { 109 margin-top: -13px; 109 110 padding-bottom: 13px; 110 111 } 111 112 … … 115 116 } 116 117 /* @noflip */ 117 118 .wp-pointer-right { 119 margin-left: -13px; 118 120 padding-right: 13px; 119 121 } 120 122 … … 139 141 border-bottom-color: #3592b6; 140 142 } 141 143 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; 144 147 margin-left: -13px; 145 margin-top: -1 1px;148 margin-top: -13px; 146 149 border: 13px solid transparent; 147 150 border-bottom-color: #2ea2cc; 148 151 display: block; … … 155 158 border-top-color: #ccc; 156 159 } 157 160 158 .wp-pointer-bottom .wp-pointer-arrow:before { 161 .wp-pointer-bottom .wp-pointer-arrow-inner { 162 bottom: 1px; 159 163 margin-left: -13px; 160 margin- top: -14px;164 margin-bottom: -13px; 161 165 border: 13px solid transparent; 162 166 border-top-color: #fff; 163 167 display: block; … … 171 175 border-right-color: #ccc; 172 176 } 173 177 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; 176 182 margin-top: -13px; 177 183 border: 13px solid transparent; 178 184 border-right-color: #fff; … … 182 188 183 189 /* @noflip */ 184 190 .wp-pointer-right .wp-pointer-arrow { 185 right: 0;191 right: 0; 186 192 border-width: 13px 0 13px 13px; 187 193 border-left-color: #ccc; 188 194 } 189 195 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; 192 200 margin-top: -13px; 193 201 border: 13px solid transparent; 194 202 border-left-color: #fff; … … 196 204 content: ' '; 197 205 } 198 206 199 .rtl .wp-pointer-arrow:before {200 -webkit-transform: rotateY(180deg);201 -ms-transform: rotateY(180deg);202 transform: rotateY(180deg);203 }204 205 207 /* Disable pointers at responsive sizes */ 206 208 @media screen and ( max-width: 782px ) { 207 209 .wp-pointer {