Media Grid: make the Uploader closable.

Props ericlewis.
See #24716.

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


git-svn-id: http://core.svn.wordpress.org/trunk@28868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor
2014-07-10 23:06:15 +00:00
parent f6ced74287
commit 9978d473ef
7 changed files with 72 additions and 12 deletions

View File

@@ -1020,6 +1020,27 @@
top: 0;
}
.uploader-inline .close {
background-color: transparent;
border: 0;
cursor: pointer;
height: 48px;
position: absolute;
left: 20px;
text-align: center;
top: 20px;
width: 50px;
z-index: 1;
}
.uploader-inline .close:before {
font: normal 30px/50px 'dashicons' !important;
color: #777;
display: inline-block;
content: '\f335';
font-weight: 300;
}
.inline-toolbar {
position: absolute;
top: 0;

File diff suppressed because one or more lines are too long

View File

@@ -1020,6 +1020,27 @@
top: 0;
}
.uploader-inline .close {
background-color: transparent;
border: 0;
cursor: pointer;
height: 48px;
position: absolute;
right: 20px;
text-align: center;
top: 20px;
width: 50px;
z-index: 1;
}
.uploader-inline .close:before {
font: normal 30px/50px 'dashicons' !important;
color: #777;
display: inline-block;
content: '\f335';
font-weight: 300;
}
.inline-toolbar {
position: absolute;
top: 0;

File diff suppressed because one or more lines are too long