mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-02-03 15:37:27 +00:00
Administration: Remove unused CSS selectors related to old format menu icons.
This removes all CSS definitions related to the `.icon16` class. Research shows that current ecosystem usage of this class is extremely minimal. This selector was used for the Welcome Panel and Welcome Screen in WordPress 3.3 (see [19163] and [19197]. The icons were removed for WordPress 3.5 in [22018], but the related CSS remained, and were also included when the MP6 admin re-skinning was merged in [26072]. Props afercia, mmaumio, isabel_brison, sabernhardt, audrasjb, desrosj. Fixes #35717. git-svn-id: https://develop.svn.wordpress.org/trunk@53731 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
906a564d44
commit
2dba3831f5
@ -36,108 +36,21 @@
|
||||
width: 36px;
|
||||
}
|
||||
|
||||
.icon16 {
|
||||
height: 18px;
|
||||
width: 18px;
|
||||
padding: 6px;
|
||||
margin: -6px 0 0 -8px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
/* New Menu icons */
|
||||
|
||||
.icon16:before {
|
||||
color: #8c8f94; /* same as new icons */
|
||||
font: normal 20px/1 dashicons;
|
||||
speak: never;
|
||||
padding: 6px 0;
|
||||
height: 34px;
|
||||
width: 20px;
|
||||
display: inline-block;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
transition: all .1s ease-in-out;
|
||||
}
|
||||
|
||||
.icon16.icon-dashboard:before {
|
||||
content: "\f226";
|
||||
}
|
||||
|
||||
.icon16.icon-post:before {
|
||||
content: "\f109";
|
||||
}
|
||||
|
||||
.icon16.icon-media:before {
|
||||
content: "\f104";
|
||||
}
|
||||
|
||||
.icon16.icon-links:before {
|
||||
content: "\f103";
|
||||
}
|
||||
|
||||
.icon16.icon-page:before {
|
||||
content: "\f105";
|
||||
}
|
||||
|
||||
.icon16.icon-comments:before {
|
||||
content: "\f101";
|
||||
margin-top: 1px;
|
||||
}
|
||||
|
||||
.icon16.icon-appearance:before {
|
||||
content: "\f100";
|
||||
}
|
||||
|
||||
.icon16.icon-plugins:before {
|
||||
content: "\f106";
|
||||
}
|
||||
|
||||
.icon16.icon-users:before {
|
||||
content: "\f110";
|
||||
}
|
||||
|
||||
.icon16.icon-tools:before {
|
||||
content: "\f107";
|
||||
}
|
||||
|
||||
.icon16.icon-settings:before {
|
||||
content: "\f108";
|
||||
}
|
||||
|
||||
.icon16.icon-site:before {
|
||||
content: "\f541";
|
||||
}
|
||||
|
||||
.icon16.icon-generic:before {
|
||||
content: "\f111";
|
||||
}
|
||||
|
||||
/* hide background-image for icons above */
|
||||
.icon16.icon-dashboard,
|
||||
.menu-icon-dashboard div.wp-menu-image,
|
||||
.icon16.icon-post,
|
||||
.menu-icon-post div.wp-menu-image,
|
||||
.icon16.icon-media,
|
||||
.menu-icon-media div.wp-menu-image,
|
||||
.icon16.icon-links,
|
||||
.menu-icon-links div.wp-menu-image,
|
||||
.icon16.icon-page,
|
||||
.menu-icon-page div.wp-menu-image,
|
||||
.icon16.icon-comments,
|
||||
.menu-icon-comments div.wp-menu-image,
|
||||
.icon16.icon-appearance,
|
||||
.menu-icon-appearance div.wp-menu-image,
|
||||
.icon16.icon-plugins,
|
||||
.menu-icon-plugins div.wp-menu-image,
|
||||
.icon16.icon-users,
|
||||
.menu-icon-users div.wp-menu-image,
|
||||
.icon16.icon-tools,
|
||||
.menu-icon-tools div.wp-menu-image,
|
||||
.icon16.icon-settings,
|
||||
.menu-icon-settings div.wp-menu-image,
|
||||
.icon16.icon-site,
|
||||
.menu-icon-site div.wp-menu-image,
|
||||
.icon16.icon-generic,
|
||||
.menu-icon-generic div.wp-menu-image {
|
||||
background-image: none !important;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user