mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 21:00:21 +00:00
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:
@@ -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. */
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user