Improve the UX of the Nav Menus screen. Kill the tabs, and change to a

dropdown, unless you have zero or one menus (which is the most common),
in which case you jump right into editing your sole menu.

Do assignment to location using checkboxes in the main menu editing
section instead of the backwards menu => location assignment in a
random meta box.

More to come, but this gets us started.

props lessbloat, DrewAPicture, jkudish. see #23119

git-svn-id: https://develop.svn.wordpress.org/trunk@23441 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith
2013-02-16 04:53:59 +00:00
parent 4d8fc5d551
commit c2945a394f
6 changed files with 729 additions and 476 deletions
+34 -7
View File
@@ -44,6 +44,8 @@ TABLE OF CONTENTS:
25.0 - TinyMCE tweaks
26.0 - Full Overlay w/ Sidebar
27.0 - Customize Loader
28.0 - Nav Menus
29.0 - HiDPI
------------------------------------------------------------------------------*/
@@ -2303,10 +2305,6 @@ body.login {
margin-right:0;
}
.auto-add-pages {
float: right;
}
/* Star ratings */
div.star-holder {
background: url('../images/stars-rtl.png?ver=20121108') repeat-x bottom right;
@@ -2543,9 +2541,38 @@ div.sidebar-name h3 {
left: 20px;
}
/**
* HiDPI Displays
*/
/*------------------------------------------------------------------------------
28.0 - Nav Menus
------------------------------------------------------------------------------*/
.nav-menus-php .major-publishing-actions .publishing-action {
float: left;
}
.menu-settings dd {
float: right;
padding-right: 170px;
}
.manage-menus span {
float: right;
}
.menu-settings dt {
left: auto;
right: 0;
}
.menu-settings dd input,
.menu-settings dd span,
.menu-settings dd label,
.manage-menus select {
float: right;
margin-right: 6px;
}
/*------------------------------------------------------------------------------
29.0 - HiDPI
------------------------------------------------------------------------------*/
@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),