Add quick insert buttons to attachment views in the library and remove buttons to attachment views in the gallery editor. see #21390, #21809.

git-svn-id: https://develop.svn.wordpress.org/trunk@22053 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Daryl Koopersmith
2012-09-27 07:45:26 +00:00
parent 71c3fc4e5b
commit 7354809132
3 changed files with 70 additions and 4 deletions
+30
View File
@@ -295,6 +295,36 @@
box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.4 );
}
.attachment .insert {
display: none;
position: absolute;
left: 7px;
bottom: 7px;
}
.attachment:hover .insert {
display: block;
}
.attachment .close {
/*display: none;*/
position: absolute;
top: 0;
right: 0;
height: 26px;
width: 26px;
font-size: 20px;
line-height: 24px;
text-align: center;
text-decoration: none;
color: #464646;
background: #fff;
}
.attachment:hover .close {
display: block;
}
/* Square crop with overflow visible on hover. */
/*