Make WordPress Core

Changeset 27229


Ignore:
Timestamp:
02/21/2014 10:10:14 PM (11 years ago)
Author:
helen
Message:

Make nav menu item add tabs and content consistent with similar tabs on the post edit screen. props corvannoorloos for the initial patch. fixes #26757.

Location:
trunk/src/wp-admin/css
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/edit.css

    r27195 r27229  
    262262}
    263263
     264/* @todo: make this a more generic class */
    264265ul.category-tabs,
    265266ul.add-menu-item-tabs,
     
    268269}
    269270
    270 ul.category-tabs li {
     271ul.category-tabs li,
     272ul.add-menu-item-tabs li {
    271273    border: solid 1px transparent;
    272274    position: relative;
    273275}
    274276
    275 ul.category-tabs li.tabs {
    276     border-color: #dfdfdf #dfdfdf #fdfdfd;
    277     background-color: #fdfdfd;
    278 }
    279 
     277ul.category-tabs li.tabs,
    280278ul.add-menu-item-tabs li.tabs,
    281279.wp-tab-active {
    282280    border: 1px solid #dfdfdf;
    283     border-bottom: none;
     281    border-bottom-color: #fdfdfd;
    284282    background-color: #fdfdfd;
    285 }
    286 
    287 ul.add-menu-item-tabs li.tabs {
    288     padding-bottom: 3px;
    289     position: relative;
    290 }
    291 
    292 #post-body .add-menu-item-tabs li.tabs {
    293     border-style: solid none solid solid;
    294     border-width: 1px 0 1px 1px;
    295     margin-right: -1px;
    296283}
    297284
     
    872859}
    873860
    874 #post-body ul.add-menu-item-tabs {
    875     float: left;
    876     width: 120px;
    877     text-align: right;
    878     /* Negative margin for the sake of those without JS: all tabs display */
    879     margin: 0 -120px 0 5px;
    880     padding: 0;
    881 }
    882 
    883 ul.add-menu-item-tabs li {
    884     padding: 3px 5px 3px 8px;
    885 }
    886 
    887 #post-body ul.add-menu-item-tabs li.tabs {
    888     -webkit-border-top-left-radius: 3px;
    889     border-top-left-radius: 3px;
    890     -webkit-border-bottom-left-radius: 3px;
    891     border-bottom-left-radius: 3px;
    892 }
    893 
    894861.wp-tab-panel,
    895862.categorydiv div.tabs-panel,
  • trunk/src/wp-admin/css/nav-menus.css

    r27195 r27229  
    66}
    77
    8 #post-body ul.add-menu-item-tabs li.tabs a {
    9     font-weight: 600;
    10     text-decoration: none;
     8ul.add-menu-item-tabs li {
     9    padding: 3px 5px 3px 8px;
    1110}
    1211
     
    3231    margin-left: 300px;
    3332    margin-top: 23px;
    34 }
    35 
    36 #nav-menus-frame .accordion-section-content .inside {
    37     font-size: 14px;
    3833}
    3934
Note: See TracChangeset for help on using the changeset viewer.