RTL for Nav Menu tweaks. see #23641. see #23645. props lessbloat

git-svn-id: http://core.svn.wordpress.org/trunk@23808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Mark Jaquith 2013-03-27 08:53:26 +00:00
parent 503210913d
commit 271030746c
2 changed files with 17 additions and 1 deletions

View File

@ -2202,12 +2202,23 @@ body.login {
.menu-item-handle .item-title {
margin-left:13em;
margin-right:0;
overflow: hidden;
}
.menu-item-handle .item-edit {
right: auto;
left: -20px;
}
.menu-item-handle .menu-item-title {
float: right;
}
.menu-item-settings .field-move a,
.menu-item-settings .field-move span {
float: right;
margin-left: 4px;
}
/* WARNING: The factor of 30px is hardcoded into the nav-menus javascript. */
.menu-item-depth-0 { margin-right: 0px; margin-left:0;}
.menu-item-depth-1 { margin-right: 30px; margin-left:0;}
@ -2590,6 +2601,11 @@ div.sidebar-name h3 {
float: right;
}
.is-submenu {
float: right;
margin-right: 8px;
}
/*------------------------------------------------------------------------------
29.0 - HiDPI
------------------------------------------------------------------------------*/

View File

@ -175,7 +175,7 @@ class Walker_Nav_Menu_Edit extends Walker_Nav_Menu {
<p class="field-move description description-wide">
<label>
<?php _e( 'Move' ); ?>
<span><?php _e( 'Move' ); ?></span>
<a href="#" class="menus-move-up"><?php _e( 'Up one' ); ?></a>
<a href="#" class="menus-move-down"><?php _e( 'Down one' ); ?></a>
<a href="#" class="menus-move-left"></a>