Media: Only display "Drop files" text when the browser supports drag and drop. see #22446, #21390.

git-svn-id: https://develop.svn.wordpress.org/trunk@22609 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Daryl Koopersmith 2012-11-16 09:39:58 +00:00
parent 7ce0c04466
commit 8438636322
1 changed files with 5 additions and 0 deletions

View File

@ -742,11 +742,16 @@
} }
.uploader-inline h3 { .uploader-inline h3 {
display: none;
font-size: 20px; font-size: 20px;
font-weight: 200; font-weight: 200;
margin-bottom: 1.6em; margin-bottom: 1.6em;
} }
.supports-drag-drop .uploader-inline h3 {
display: block;
}
.uploader-inline .media-progress-bar { .uploader-inline .media-progress-bar {
display: none; display: none;
} }