Make WordPress Core

Changeset 52209


Ignore:
Timestamp:
11/18/2021 04:46:56 PM (3 years ago)
Author:
davidbaumwald
Message:

Toolbar: Refine "Edit site" link.php.

The 'Edit site' link was added to core in [52158], but did not include an icon and was hidden for smaller screen sizes. This change adds the "Appearance" icon to the link and hides the link text when necessary on smaller screen sizes.

Props sabernhardt, desrosj, shaunandrews.
Fixes #54441.

File:
1 edited

Legend:

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

    r52198 r52209  
    550550}
    551551
     552#wpadminbar #wp-admin-bar-site-editor > .ab-item:before {
     553    content: "\f100";
     554    top: 2px;
     555}
     556
    552557#wpadminbar #wp-admin-bar-customize > .ab-item:before {
    553558    content: "\f540";
    554559    top: 2px;
    555560}
    556 
    557561
    558562#wpadminbar #wp-admin-bar-edit > .ab-item:before {
     
    844848    #wpadminbar #wp-admin-bar-my-sites > .ab-item,
    845849    #wpadminbar #wp-admin-bar-site-name > .ab-item,
     850    #wpadminbar #wp-admin-bar-site-editor > .ab-item,
    846851    #wpadminbar #wp-admin-bar-customize > .ab-item,
    847852    #wpadminbar #wp-admin-bar-edit > .ab-item,
     
    866871    #wpadminbar #wp-admin-bar-my-sites > .ab-item:before,
    867872    #wpadminbar #wp-admin-bar-site-name > .ab-item:before,
     873    #wpadminbar #wp-admin-bar-site-editor > .ab-item:before,
    868874    #wpadminbar #wp-admin-bar-customize > .ab-item:before,
    869875    #wpadminbar #wp-admin-bar-my-account > .ab-item:before {
     
    980986    #wpadminbar li#wp-admin-bar-updates,
    981987    #wpadminbar li#wp-admin-bar-site-name,
     988    #wpadminbar li#wp-admin-bar-site-editor,
    982989    #wpadminbar li#wp-admin-bar-customize,
    983990    #wpadminbar li#wp-admin-bar-new-content,
Note: See TracChangeset for help on using the changeset viewer.