mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-30 19:52:17 +01:00
Improve import dialog styling
This commit is contained in:
parent
be5ae33234
commit
8654fe0aba
@ -435,13 +435,8 @@ dt[data-element="org"] { margin-top: 4px; }
|
||||
|
||||
/* Single elements */
|
||||
#file_upload_form { display:none; }
|
||||
#contacts-import-upload-start, .import-upload-button {
|
||||
width: 30px !important; height: 30px !important;
|
||||
display:block;
|
||||
position: absolute;
|
||||
right: 0; bottom: 0;
|
||||
margin: 5px !important;
|
||||
cursor: pointer;
|
||||
#import-dialog {
|
||||
width: auto !important;
|
||||
}
|
||||
#contacts-import-upload-start {
|
||||
cursor: pointer;
|
||||
@ -861,8 +856,8 @@ tbody tr.contact.active, tbody tr.contact:hover {
|
||||
}
|
||||
|
||||
#contacts-import-div > p > label {
|
||||
vertical-align:top;
|
||||
width:200px;
|
||||
vertical-align: baseline;
|
||||
width:100px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
|
@ -395,9 +395,9 @@ OC.Contacts = OC.Contacts || {};
|
||||
width: 'auto',
|
||||
buttons: [
|
||||
{
|
||||
text: t('contacts', 'Close'),
|
||||
text: t('contacts', 'Upload file...'),
|
||||
click: function() {
|
||||
$('#import-dialog').ocdialog('close').ocdialog('destroy').remove();
|
||||
$('#contacts-import-upload-start').click();
|
||||
}
|
||||
}
|
||||
],
|
||||
|
@ -518,9 +518,7 @@ use OCA\Contacts\ImportManager;
|
||||
?>
|
||||
</select>
|
||||
</p>
|
||||
<p id="contacts-import-upload">
|
||||
<!--<label for="contacts-import-upload"><?php p($l->t('Select file')); ?></label>-->
|
||||
<button class="icon-upload svg tooltipped import-upload-button" title="<?php p($l->t('Select file...')); ?>"></button>
|
||||
<p id="contacts-import-upload" class="hidden">
|
||||
<input id="contacts-import-upload-start" class="tooltipped" title="<?php p($l->t('Select file...')); ?>" type="file" name="file" disabled />
|
||||
</p>
|
||||
<p id="contacts-import-status">
|
||||
|
Loading…
x
Reference in New Issue
Block a user