Fixed icons padding

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2018-02-26 13:02:07 +01:00
parent dab83c4a49
commit da2aafa5cf
No known key found for this signature in database
GPG Key ID: FB5ACEED51955BF8
2 changed files with 21 additions and 19 deletions

View File

@ -32,16 +32,25 @@ td.mountPoint, td.backend { width:160px; }
#addMountPoint>td.applicable { visibility:hidden; } #addMountPoint>td.applicable { visibility:hidden; }
#addMountPoint>td.hidden { visibility:hidden; } #addMountPoint>td.hidden { visibility:hidden; }
#externalStorage td.mountOptionsToggle { #externalStorage td {
&.mountOptionsToggle,
&.remove,
&.save {
position: relative; position: relative;
padding: 0 !important; padding: 0 !important;
width: 44px; width: 44px;
opacity: 0.5;
&:hover {
opacity: 1;
} }
#externalStorage .icon-settings { [class^='icon-'],
[class*=' icon-'] {
padding: 14px; padding: 14px;
vertical-align: text-bottom; vertical-align: text-bottom;
cursor: pointer; cursor: pointer;
} }
}
}
#selectBackend { #selectBackend {
margin-left: -10px; margin-left: -10px;

View File

@ -143,21 +143,14 @@
</td> </td>
<?php endif; ?> <?php endif; ?>
<td class="mountOptionsToggle hidden"> <td class="mountOptionsToggle hidden">
<div class="icon-settings" title="<?php p($l->t('Advanced settings')); ?>"></div> <div class="icon-settings-dark" title="<?php p($l->t('Advanced settings')); ?>"></div>
<input type="hidden" class="mountOptions" value="" /> <input type="hidden" class="mountOptions" value="" />
</td> </td>
<td class="remove hidden"> <td class="remove hidden">
<img class="svg" <div class="icon-delete" title="<?php p($l->t('Delete')); ?>"></div>
alt="<?php p($l->t('Delete')); ?>"
title="<?php p($l->t('Delete')); ?>"
src="<?php print_unescaped(image_path('core', 'actions/delete.svg')); ?>"
/>
</td> </td>
<td class="save hidden"> <td class="save hidden">
<img alt="<?php p($l->t('Save')); ?>" <div class="icon-checkmark" title="<?php p($l->t('Save')); ?>"></div>
title="<?php p($l->t('Save')); ?>"
src="<?php print_unescaped(image_path('core', 'actions/checkmark.svg')); ?>"
/>
</td> </td>
</tr> </tr>
</tbody> </tbody>