Convert the post lock icon to a dashicon.

props melchoyce, DH-Shredder.
fixes #26796.


git-svn-id: https://develop.svn.wordpress.org/trunk@27392 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2014-03-04 06:52:14 +00:00
parent f0c491968a
commit 28a29842c6
4 changed files with 16 additions and 13 deletions

View File

@ -406,12 +406,24 @@ th.asc:hover span.sorting-indicator:before {
}
tr.wp-locked .locked-indicator {
background: url(../images/lock.png) no-repeat;
margin: -2px 0 0 6px;
margin-left: 6px;
height: 20px;
width: 16px;
}
tr.wp-locked .locked-indicator:before {
color: #888;
content: '\f160';
display: inline-block;
float: left;
font: normal 20px/1 'dashicons';
speak: none;
vertical-align: middle;
margin-left: 0;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
tr.wp-locked .check-column label,
tr.wp-locked .check-column input[type="checkbox"],
tr.wp-locked .row-actions .inline,
@ -1213,17 +1225,6 @@ tr.active + tr.plugin-update-tr .plugin-update .update-message {
/**
* HiDPI Displays
*/
@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
tr.wp-locked .locked-indicator {
background-image: url(../images/lock-2x.png);
-webkit-background-size: 16px 16px;
background-size: 16px 16px;
}
}
@media screen and ( max-width: 782px ) {
/* WP List Table Options & Filters */
.tablenav {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 716 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 338 B

View File

@ -598,6 +598,8 @@ $_old_files = array(
// 3.9
'wp-admin/css/colors.css',
'wp-admin/css/colors.min.css',
'wp-admin/images/lock-2x.png',
'wp-admin/images/lock.png',
);
/**