WordPress.org

Make WordPress Core

Ticket #24977: 24977.wp-pointer.diff

File 24977.wp-pointer.diff, 1.5 KB (added by yoavf, 7 years ago)
  • src/wp-includes/script-loader.php

     
    551551
    552552        $suffix = SCRIPT_DEBUG ? '' : '.min';
    553553
    554         $rtl_styles = array( 'wp-admin', 'ie', 'media', 'admin-bar', 'customize-controls', 'media-views', 'wp-color-picker' );
     554        $rtl_styles = array( 'wp-admin', 'ie', 'media', 'admin-bar', 'customize-controls', 'media-views', 'wp-color-picker', 'wp-pointer' );
    555555
    556556        $styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array( 'open-sans', 'dashicons' ) );
    557557
  • src/wp-includes/css/wp-pointer.css

     
    136136        right:0;
    137137        border-width: 17px 0 17px 15px;
    138138        border-left-color: #fff;
    139 }
    140 
    141 /* - RTL
    142 ------------------------------------------------------------------------------*/
    143 
    144 .rtl .wp-pointer-content h3 {
    145         padding-right: 60px;
    146         padding-left: 18px;
    147 }
    148 
    149 .rtl .wp-pointer-content h3:before {
    150         right: 15px;
    151 }
    152 
    153 .rtl .wp-pointer-buttons a {
    154         float: left;
    155 }
    156 
    157 .rtl .wp-pointer-buttons a.close {
    158         padding-right:3px;
    159         padding-left: 0;
    160 }
    161 
    162 .rtl .wp-pointer-buttons a.close:before {
    163         right:-10px;
    164 }
    165 
    166 .rtl .wp-pointer-top .wp-pointer-arrow,
    167 .rtl .wp-pointer-bottom .wp-pointer-arrow,
    168 .rtl .wp-pointer-undefined .wp-pointer-arrow {
    169         right: 50px;
    170 }
     139}
     140 No newline at end of file