WordPress.org

Make WordPress Core

Changeset 26678


Ignore:
Timestamp:
12/05/2013 06:27:34 PM (7 years ago)
Author:
iammattthomas
Message:

By default, hide all adminbar links at responsive sizes and selectively un-hide just the essential core items. Fixes #26430.

File:
1 edited

Legend:

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

    r26675 r26678  
    905905
    906906    /* Hide all third party items */
    907     #wp-admin-bar-top-secondary > li {
     907    #wpadminbar li {
    908908        display: none;
    909909    }
    910910
    911     #wp-admin-bar-root-default li#wp-admin-bar-wp-logo,
    912     #wp-admin-bar-root-default li#wp-admin-bar-my-sites,
    913     #wp-admin-bar-root-default li#wp-admin-bar-site-name,
    914     #wp-admin-bar-root-default li#wp-admin-bar-new-content,
    915     #wp-admin-bar-root-default li#wp-admin-bar-edit,
    916     #wp-admin-bar-root-default li#wp-admin-bar-comments,
    917     #wp-admin-bar-root-default li#wp-admin-bar-new-content,
    918     #wp-admin-bar-top-secondary li#wp-admin-bar-my-account {
     911    #wpadminbar li#wp-admin-bar-menu-toggle,
     912    #wpadminbar li#wp-admin-bar-wp-logo,
     913    #wpadminbar li#wp-admin-bar-my-sites,
     914    #wpadminbar li#wp-admin-bar-updates,
     915    #wpadminbar li#wp-admin-bar-site-name,
     916    #wpadminbar li#wp-admin-bar-new-content,
     917    #wpadminbar li#wp-admin-bar-edit,
     918    #wpadminbar li#wp-admin-bar-comments,
     919    #wpadminbar li#wp-admin-bar-new-content,
     920    #wpadminbar li#wp-admin-bar-my-account {
    919921        display: block;
    920922    }
     
    997999    }
    9981000
    999     #wp-admin-bar-root-default li#wp-admin-bar-wp-logo,
    1000     #wp-admin-bar-root-default li#wp-admin-bar-updates,
    1001     #wp-admin-bar-root-default li#wp-admin-bar-view {
     1001    #wpadminbar li#wp-admin-bar-wp-logo,
     1002    #wpadminbar li#wp-admin-bar-updates {
    10021003        display: none;
    10031004    }
Note: See TracChangeset for help on using the changeset viewer.