WordPress.org

Make WordPress Core

Ticket #35717: 35717.0.patch

File 35717.0.patch, 2.8 KB (added by mmaumio, 5 years ago)

Removed the .icon16 class from wp-admin/admin-menu.css

  • src/wp-admin/css/admin-menu.css

     
    2727        width: 36px;
    2828}
    2929
    30 .icon16 {
    31         height: 18px;
    32         width: 18px;
    33         padding: 6px 6px;
    34         margin: -6px 0 0 -8px;
    35         float: left;
    36 }
    3730
    3831/* New Menu icons */
    3932
    40 .icon16:before {
    41         color: #82878c; /* same as new icons */
    42         font: normal 20px/1 dashicons;
    43         speak: none;
    44         padding: 6px 0;
    45         height: 34px;
    46         width: 20px;
    47         display: inline-block;
    48         -webkit-font-smoothing: antialiased;
    49         -moz-osx-font-smoothing: grayscale;
    50         -webkit-transition: all .1s ease-in-out;
    51         transition: all .1s ease-in-out;
    52 }
    5333
    54 .icon16.icon-dashboard:before {
     34.icon-dashboard:before {
    5535        content: "\f226";
    5636}
    5737
    58 .icon16.icon-post:before {
     38.icon-post:before {
    5939        content: "\f109";
    6040}
    6141
    62 .icon16.icon-media:before {
     42.icon-media:before {
    6343        content: "\f104";
    6444}
    6545
    66 .icon16.icon-links:before {
     46.icon-links:before {
    6747        content: "\f103";
    6848}
    6949
    70 .icon16.icon-page:before {
     50.icon-page:before {
    7151        content: "\f105";
    7252}
    7353
    74 .icon16.icon-comments:before {
     54.icon-comments:before {
    7555        content: "\f101";
    7656        margin-top: 1px;
    7757}
    7858
    79 .icon16.icon-appearance:before {
     59.icon-appearance:before {
    8060        content: "\f100";
    8161}
    8262
    83 .icon16.icon-plugins:before {
     63.icon-plugins:before {
    8464        content: "\f106";
    8565}
    8666
    87 .icon16.icon-users:before {
     67.icon-users:before {
    8868        content: "\f110";
    8969}
    9070
    91 .icon16.icon-tools:before {
     71.icon-tools:before {
    9272        content: "\f107";
    9373}
    9474
    95 .icon16.icon-settings:before {
     75.icon-settings:before {
    9676        content: "\f108";
    9777}
    9878
    99 .icon16.icon-site:before {
     79.icon-site:before {
    10080        content: "\f112";
    10181}
    10282
    103 .icon16.icon-generic:before {
     83.icon-generic:before {
    10484        content: "\f111";
    10585}
    10686
    10787/* hide background-image for icons above */
    108 .icon16.icon-dashboard,
     88.icon-dashboard,
    10989.menu-icon-dashboard div.wp-menu-image,
    110 .icon16.icon-post,
     90.icon-post,
    11191.menu-icon-post div.wp-menu-image,
    112 .icon16.icon-media,
     92.icon-media,
    11393.menu-icon-media div.wp-menu-image,
    114 .icon16.icon-links,
     94.icon-links,
    11595.menu-icon-links div.wp-menu-image,
    116 .icon16.icon-page,
     96.icon-page,
    11797.menu-icon-page div.wp-menu-image,
    118 .icon16.icon-comments,
     98.icon-comments,
    11999.menu-icon-comments div.wp-menu-image,
    120 .icon16.icon-appearance,
     100.icon-appearance,
    121101.menu-icon-appearance div.wp-menu-image,
    122 .icon16.icon-plugins,
     102.icon-plugins,
    123103.menu-icon-plugins div.wp-menu-image,
    124 .icon16.icon-users,
     104.icon-users,
    125105.menu-icon-users div.wp-menu-image,
    126 .icon16.icon-tools,
     106.icon-tools,
    127107.menu-icon-tools div.wp-menu-image,
    128 .icon16.icon-settings,
     108.icon-settings,
    129109.menu-icon-settings div.wp-menu-image,
    130 .icon16.icon-site,
     110.icon-site,
    131111.menu-icon-site div.wp-menu-image,
    132 .icon16.icon-generic,
     112.icon-generic,
    133113.menu-icon-generic div.wp-menu-image {
    134114        background-image: none !important;
    135115}