Add a delete link to the media modal.

Props merty, nacin, koopersmith
fixes #22524


git-svn-id: http://core.svn.wordpress.org/trunk@22869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Ryan Boren
2012-11-27 15:50:59 +00:00
parent 2c1d52526a
commit 939a47ba48
6 changed files with 52 additions and 6 deletions

View File

@@ -1191,6 +1191,18 @@ a.media-modal-close {
float: left;
}
.attachment-info .delete-attachment a {
color: red;
padding: 2px 4px;
margin: -2px -4px;
text-decoration: none;
}
.attachment-info .delete-attachment a:hover {
color: #fff;
background: red;
}
/**
* Attachment Display Settings
*/