add icon color filter range
This commit is contained in:
@@ -88,21 +88,28 @@ $choicesSizes = [
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label for="side-menu-opener-only">
|
||||
<?php p($l->t('Force light icons')); ?>
|
||||
<label for="side-menu-icon-invert-filter">
|
||||
<?php p($l->t('Icon color')); ?>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<p><em>This feature is not compatible with the <code>big menu</code> display.</em></p>
|
||||
|
||||
<div>
|
||||
<select id="side-menu-force-light-icon" name="force-light-icon" class="side-menu-setting">
|
||||
<?php foreach ($choicesYesNo as $label => $value): ?>
|
||||
<option value="<?php echo $value ?>" <?php if ($value === $_['force-light-icon']): ?>selected<?php endif; ?>>
|
||||
<?php echo $l->t($label); ?>
|
||||
</option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
<em>
|
||||
<?php p($l->t('Same color')); ?>
|
||||
</em>
|
||||
|
||||
<input
|
||||
type="range"
|
||||
min="0" max="100"
|
||||
id="side-menu-icon-invert-filter"
|
||||
name="icon-invert-filter"
|
||||
class="side-menu-setting"
|
||||
value="<?php echo $_['icon-invert-filter'] ?>"
|
||||
>
|
||||
|
||||
<em>
|
||||
<?php p($l->t('Opposite color')); ?>
|
||||
</em>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user