mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
RTL admin fixes. Props sambauers, nbachiyski. fixes #10159 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4b3d0ed00e
commit
665989f969
@ -138,6 +138,12 @@ td.available-theme {
|
||||
.folded #adminmenu img.wp-menu-image {
|
||||
padding: 7px 6px 0 0;
|
||||
}
|
||||
#adminmenu a.separator {
|
||||
cursor: e-resize;
|
||||
}
|
||||
.folded #adminmenu a.separator {
|
||||
cursor: w-resize;
|
||||
}
|
||||
#adminmenu .wp-submenu .wp-submenu-head {
|
||||
padding: 6px 10px 6px 4px;
|
||||
}
|
||||
|
@ -2,14 +2,14 @@
|
||||
/**
|
||||
* @package Hello_Dolly
|
||||
* @author Matt Mullenweg
|
||||
* @version 1.5
|
||||
* @version 1.5.1
|
||||
*/
|
||||
/*
|
||||
Plugin Name: Hello Dolly
|
||||
Plugin URI: http://wordpress.org/#
|
||||
Description: 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.
|
||||
Author: Matt Mullenweg
|
||||
Version: 1.5
|
||||
Version: 1.5.1
|
||||
Author URI: http://ma.tt/
|
||||
*/
|
||||
|
||||
@ -62,6 +62,9 @@ add_action('admin_footer', 'hello_dolly');
|
||||
|
||||
// We need some CSS to position the paragraph
|
||||
function dolly_css() {
|
||||
// This makes sure that the posinioning is also good for right-to-left languages
|
||||
$x = ( 'rtl' == get_bloginfo( 'text_direction' ) ) ? 'left' : 'right';
|
||||
|
||||
echo "
|
||||
<style type='text/css'>
|
||||
#dolly {
|
||||
@ -69,7 +72,7 @@ function dolly_css() {
|
||||
top: 4.5em;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
right: 215px;
|
||||
$x: 215px;
|
||||
font-size: 11px;
|
||||
}
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user