Convert the post lock icon to a dashicon.

props melchoyce, DH-Shredder.
fixes #26796.

Built from https://develop.svn.wordpress.org/trunk@27392


git-svn-id: http://core.svn.wordpress.org/trunk@27240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2014-03-04 06:53:14 +00:00
parent 2ccc89edfd
commit 2c68373c83
7 changed files with 32 additions and 28 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 6px 0 0;
margin-right: 6px;
height: 20px;
width: 16px;
}
tr.wp-locked .locked-indicator:before {
color: #888;
content: '\f160';
display: inline-block;
float: right;
font: normal 20px/1 'dashicons';
speak: none;
vertical-align: middle;
margin-right: 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 {

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 {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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',
);
/**