RTL for nav-menu.php. first pass. props RanYanivHartstein, see #13166
git-svn-id: http://svn.automattic.com/wordpress/trunk@14279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e34d128fad
commit
33916fd71d
|
@ -0,0 +1 @@
|
|||
.howto span{float:right;}.menu-item-textbox{float:left;}.add-to-menu{float:left;}.menu-item-title input[type="checkbox"]{margin-left:3px;}.menu li dl dt{padding-left:0;padding-right:10px;}.menu li ul li{margin-left:0;margin-right:20px;}.menu li .item-title{margin-right:0;margin-left:18em;}.item-controls{right:auto;left:15px;}.item-type{padding-right:0;padding-left:10px;}
|
|
@ -0,0 +1,32 @@
|
|||
.howto span {
|
||||
float: right;
|
||||
}
|
||||
.menu-item-textbox {
|
||||
float: left;
|
||||
}
|
||||
.add-to-menu {
|
||||
float: left;
|
||||
}
|
||||
.menu-item-title input[type="checkbox"] {
|
||||
margin-left: 3px;
|
||||
}
|
||||
.menu li dl dt {
|
||||
padding-left: 0;
|
||||
padding-right: 10px;
|
||||
}
|
||||
.menu li ul li {
|
||||
margin-left: 0;
|
||||
margin-right: 20px;
|
||||
}
|
||||
.menu li .item-title {
|
||||
margin-right: 0;
|
||||
margin-left: 18em;
|
||||
}
|
||||
.item-controls {
|
||||
right: auto;
|
||||
left: 15px;
|
||||
}
|
||||
.item-type {
|
||||
padding-right: 0;
|
||||
padding-left: 10px;
|
||||
}
|
|
@ -437,7 +437,7 @@ function wp_default_styles( &$styles ) {
|
|||
|
||||
$suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '.dev' : '';
|
||||
|
||||
$rtl_styles = array( 'wp-admin', 'global', 'colors', 'dashboard', 'ie', 'install', 'login', 'media', 'theme-editor', 'upload', 'widgets', 'press-this', 'plugin-install', 'farbtastic' );
|
||||
$rtl_styles = array( 'wp-admin', 'global', 'colors', 'dashboard', 'ie', 'install', 'login', 'media', 'theme-editor', 'upload', 'widgets', 'press-this', 'plugin-install', 'nav-menu', 'farbtastic' );
|
||||
// Any rtl stylesheets that don't have a .dev version for ltr
|
||||
$no_suffix = array( 'farbtastic' );
|
||||
|
||||
|
@ -473,7 +473,7 @@ function wp_default_styles( &$styles ) {
|
|||
$styles->add( 'farbtastic', '/wp-admin/css/farbtastic.css', array(), '1.2' );
|
||||
$styles->add( 'jcrop', '/wp-includes/js/jcrop/jquery.Jcrop.css', array(), '0.9.8' );
|
||||
$styles->add( 'imgareaselect', '/wp-includes/js/imgareaselect/imgareaselect.css', array(), '0.9.1' );
|
||||
$styles->add( 'nav-menu', "/wp-admin/css/nav-menu$suffix.css", array(), '20100426' );
|
||||
$styles->add( 'nav-menu', "/wp-admin/css/nav-menu$suffix.css", array(), '20100428' );
|
||||
|
||||
foreach ( $rtl_styles as $rtl_style ) {
|
||||
$styles->add_data( $rtl_style, 'rtl', true );
|
||||
|
|
Loading…
Reference in New Issue