]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/css/nav-menus-rtl.css
WordPress 4.3
[autoinstalls/wordpress.git] / wp-admin / css / nav-menus-rtl.css
index 22927dd9ff6f5c77c70e1a9839dbe4fe3a2c1c82..a9b0133bf6433389a1c3eaf4800b9884064fa1ab 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-right: 0px; }
 .menu-item-depth-1 { margin-right: 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 {