Move nav menus to a tabbed interface, so that users with a lot of locations can do bulk assignment.

props DrewAPicture, lessbloat. fixes #23770

git-svn-id: http://core.svn.wordpress.org/trunk@23810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Mark Jaquith
2013-03-27 11:46:08 +00:00
parent 98c3cf6e4b
commit 19810a259c
4 changed files with 192 additions and 22 deletions

View File

@@ -697,6 +697,9 @@ form.upgrade .hint {
.fixed .column-comments a {
float: right;
}
.fixed .column-menus {
text-align: right;
}
.sorting-indicator {
margin-left: 0;
margin-right: 7px;
@@ -2083,6 +2086,27 @@ body.login {
float: right;
}
.menu-location-menus select {
float: right;
}
.locations-row-links {
float: right;
margin: 4px 6px 0 0;
}
.locations-add-menu-link {
direction: rtl;
}
.locations-edit-menu-link {
border-left: 1px solid #CCCCCC;
border-right: 0;
padding-left: 6px;
padding-right: 0;
float: right;
}
/* Menu Container */
#menu-management-liquid {
float: right;

View File

@@ -2423,6 +2423,7 @@ table.fixed {
width: 8%;
}
.fixed .column-posts,
.fixed .column-date,
.fixed .column-parent,
.fixed .column-links,
@@ -2439,6 +2440,14 @@ table.fixed {
width: 15%;
}
.fixed .column-slug {
width: 25%;
}
.fixed .column-locations {
width: 35%;
}
.fixed .column-comments {
width: 4em;
padding: 8px 0;
@@ -2453,14 +2462,6 @@ table.fixed {
float: left;
}
.fixed .column-slug {
width: 25%;
}
.fixed .column-posts {
width: 10%;
}
.fixed .column-icon {
width: 80px;
}
@@ -2547,6 +2548,10 @@ tr.wp-locked .row-actions .trash {
margin-top: 3px;
}
#menu-locations-wrap .widefat {
width: 60%;
}
.widefat th.sortable,
.widefat th.sorted {
padding: 0;
@@ -7384,7 +7389,7 @@ body.interim-login {
#nav-menus-frame {
margin-left: 300px;
margin-top: 28px;
margin-top: 23px;
}
#wpbody-content #menu-settings-column {
@@ -7401,7 +7406,8 @@ body.interim-login {
margin: 10px 0 0;
}
.metabox-holder-disabled .postbox {
.metabox-holder-disabled .postbox,
.metabox-holder-disabled .accordion-section-content {
opacity: 0.5;
filter: alpha(opacity=50);
}
@@ -7432,7 +7438,7 @@ body.interim-login {
}
.manage-menus {
margin-top: 13px;
margin-top: 23px;
padding: 10px;
overflow: hidden;
-webkit-border-radius: 3px;
@@ -7566,6 +7572,39 @@ body.interim-login {
margin-top: -2px;
}
.widefat td.menu-location-menus {
padding-bottom: 5px;
}
.menu-location-menus select {
float: left;
}
#locations-nav-menu-wrapper {
padding: 5px 0;
}
.locations-nav-menu-select select {
float: left;
width: 160px;
margin-right: 5px;
}
.locations-row-links {
float: left;
margin: 6px 0 0 6px;
}
.locations-edit-menu-link,
.locations-add-menu-link {
margin: 0 3px;
}
.locations-edit-menu-link {
padding-right: 3px;
border-right: 1px solid #ccc;
}
#wpbody .open-label {
display: block;
float:left;