Make WordPress Core

Changeset 11666


Ignore:
Timestamp:
06/29/2009 12:40:43 AM (15 years ago)
Author:
ryan
Message:

RTL admin fixes. Props sambauers, nbachiyski. fixes #10159 for 2.8.1

Location:
branches/2.8
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.8/wp-admin/rtl.css

    r11487 r11666  
    138138.folded #adminmenu img.wp-menu-image {
    139139    padding: 7px 6px 0 0;
     140}
     141#adminmenu a.separator {
     142    cursor: e-resize;
     143}
     144.folded #adminmenu a.separator {
     145    cursor: w-resize;
    140146}
    141147#adminmenu .wp-submenu .wp-submenu-head {
  • branches/2.8/wp-content/plugins/hello.php

    r9684 r11666  
    33 * @package Hello_Dolly
    44 * @author Matt Mullenweg
    5  * @version 1.5
     5 * @version 1.5.1
    66 */
    77/*
     
    1010Description: This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation summed up in two words sung most famously by Louis Armstrong: Hello, Dolly. When activated you will randomly see a lyric from <cite>Hello, Dolly</cite> in the upper right of your admin screen on every page.
    1111Author: Matt Mullenweg
    12 Version: 1.5
     12Version: 1.5.1
    1313Author URI: http://ma.tt/
    1414*/
     
    6363// We need some CSS to position the paragraph
    6464function dolly_css() {
     65    // This makes sure that the posinioning is also good for right-to-left languages
     66    $x = ( 'rtl' == get_bloginfo( 'text_direction' ) ) ? 'left' : 'right';
     67
    6568    echo "
    6669    <style type='text/css'>
     
    7073        margin: 0;
    7174        padding: 0;
    72         right: 215px;
     75        $x: 215px;
    7376        font-size: 11px;
    7477    }
Note: See TracChangeset for help on using the changeset viewer.