mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix undo for url-typed inputs
and minor adjustments Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
850e2256f3
commit
84ab102146
4 changed files with 9 additions and 5 deletions
|
|
@ -46,7 +46,11 @@
|
|||
input[type='text']:hover + .theme-undo,
|
||||
input[type='text'] + .theme-undo:hover,
|
||||
input[type='text']:focus + .theme-undo,
|
||||
input[type='text']:active + .theme-undo {
|
||||
input[type='text']:active + .theme-undo,
|
||||
input[type='url']:hover + .theme-undo,
|
||||
input[type='url'] + .theme-undo:hover,
|
||||
input[type='url']:focus + .theme-undo,
|
||||
input[type='url']:active + .theme-undo{
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -83,7 +83,8 @@ function hideUndoButton(setting, value) {
|
|||
url: 'https://nextcloud.com',
|
||||
color: '#0082c9',
|
||||
logoMime: '',
|
||||
backgroundMime: ''
|
||||
backgroundMime: '',
|
||||
imprintUrl: ''
|
||||
};
|
||||
|
||||
if (value === themingDefaults[setting] || value === '') {
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ style('theming', 'settings-admin');
|
|||
<div>
|
||||
<label>
|
||||
<span><?php p($l->t('Web address')) ?></span>
|
||||
<input id="theming-url" type="url" placeholder="<?php p($l->t('Web address https://…')); ?>" value="<?php p($_['url']) ?>" maxlength="500" />
|
||||
<input id="theming-url" type="url" placeholder="<?php p($l->t('https://…')); ?>" value="<?php p($_['url']) ?>" maxlength="500" />
|
||||
<div data-setting="url" data-toggle="tooltip" data-original-title="<?php p($l->t('Reset to default')); ?>" class="theme-undo icon icon-history"></div>
|
||||
</label>
|
||||
</div>
|
||||
|
|
@ -97,7 +97,7 @@ style('theming', 'settings-admin');
|
|||
<div>
|
||||
<label>
|
||||
<span><?php p($l->t('Legal notice address')) ?></span>
|
||||
<input id="theming-imprintUrl" type="url" placeholder="<?php p($l->t('Legal notice address https://…')); ?>" value="<?php p($_['imprintUrl']) ?>" maxlength="500" />
|
||||
<input id="theming-imprintUrl" type="url" placeholder="<?php p($l->t('https://…')); ?>" value="<?php p($_['imprintUrl']) ?>" maxlength="500" />
|
||||
<div data-setting="imprintUrl" data-toggle="tooltip" data-original-title="<?php p($l->t('Reset to default')); ?>" class="theme-undo icon icon-history"></div>
|
||||
</label>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -746,7 +746,6 @@ footer .info a {
|
|||
|
||||
a.legal {
|
||||
font-size: smaller;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* for low-res screens, use Regular font-weight instead of Light */
|
||||
|
|
|
|||
Loading…
Reference in a new issue