Uploader: split "Drop files here -or-..." on two lines, see #18206

git-svn-id: http://svn.automattic.com/wordpress/trunk@19177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2011-11-05 18:09:38 +00:00
parent 9ca4a9a39a
commit f7fa2684e8
3 changed files with 14 additions and 8 deletions

File diff suppressed because one or more lines are too long

View File

@ -3799,18 +3799,23 @@ form.upgrade .hint {
width: 250px;
}
.drag-drop-inside p {
color: #aaa;
font-size: 14px;
margin: 5px 0;
display: none;
}
.drag-drop .drag-drop-inside p {
text-align: center;
}
.drag-drop-info {
color: #aaa;
display: none;
font-size: 24px;
margin: 10px 0;
.drag-drop-inside p.drag-drop-info {
font-size: 20px;
}
.drag-drop .drag-drop-info {
.drag-drop .drag-drop-inside p,
.drag-drop-inside p.drag-drop-buttons {
display: block;
}

View File

@ -1344,7 +1344,8 @@ wpUploaderInit = <?php echo json_encode($plupload_init); ?>;
<?php do_action('pre-plupload-upload-ui'); // hook change, old name: 'pre-flash-upload-ui' ?>
<div id="drag-drop-area">
<div class="drag-drop-inside">
<p class="drag-drop-info"><?php _e('Drop files here or'); ?></p>
<p class="drag-drop-info"><?php _e('Drop files here'); ?></p>
<p><?php _ex('or', 'Uploader: Drop files here - or - Select Files'); ?></p>
<p class="drag-drop-buttons"><input id="plupload-browse-button" type="button" value="<?php esc_attr_e('Select Files'); ?>" class="button" /></p>
</div>
</div>