Media: Make friends with media_upload_form. Adds notices for browser incompatibility, upload limits, maximum file size, and large file issues to the uploader. fixes #22243, see #22186, #21390.
git-svn-id: http://core.svn.wordpress.org/trunk@22821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -883,10 +883,6 @@ a.media-modal-close {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.upload-flash-bypass {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.region-content.uploader-inline {
|
||||
margin: 20px;
|
||||
padding: 20px;
|
||||
@@ -905,16 +901,24 @@ a.media-modal-close {
|
||||
}
|
||||
|
||||
.uploader-inline h3 {
|
||||
display: none;
|
||||
font-size: 20px;
|
||||
line-height: 28px;
|
||||
font-weight: 200;
|
||||
margin-bottom: 1.6em;
|
||||
}
|
||||
|
||||
.supports-drag-drop .uploader-inline h3 {
|
||||
.uploader-inline .drop-instructions {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.supports-drag-drop .uploader-inline .drop-instructions {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.uploader-inline p {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.uploader-inline .media-progress-bar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user