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

git-svn-id: http://core.svn.wordpress.org/trunk@22609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Daryl Koopersmith 2012-11-16 09:39:58 +00:00
parent c5dc0117c3
commit 4d585176d1
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;
} }