]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/css/nav-menus.css
WordPress 4.3
[autoinstalls/wordpress.git] / wp-admin / css / nav-menus.css
index b4ef126fc7a615fc1e257f91183abd9797f71206..24831136974c61fd430ebc75869483bc3b4cd257 100644 (file)
@@ -517,11 +517,11 @@ ul.add-menu-item-tabs li {
 }
 
 /* Sortables */
-li.menu-item.ui-sortable-helper dl {
+li.menu-item.ui-sortable-helper .menu-item-bar {
        margin-top: 0;
 }
 
-li.menu-item.ui-sortable-helper .menu-item-transport dl {
+li.menu-item.ui-sortable-helper .menu-item-transport .menu-item-bar {
        margin-top: 13px;
 }
 
@@ -531,6 +531,11 @@ li.menu-item.ui-sortable-helper .menu-item-transport dl {
        margin-top: 13px;
 }
 
+/* Hide the transport list when it's empty */
+.menu-item .menu-item-transport:empty {
+       display: none;
+}
+
 /* WARNING: The factor of 30px is hardcoded into the nav-menus JavaScript. */
 .menu-item-depth-0 { margin-left: 0px; }
 .menu-item-depth-1 { margin-left: 30px; }
@@ -573,11 +578,11 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
 
 /* Menu item controls */
 .item-type {
-       color: #777;
-       font-size: 12px;
+       display: inline-block;
        padding: 12px 10px;
+       color: #666;
+       font-size: 12px;
        line-height: 18px;
-       display: block;
 }
 
 .item-controls {