use SVG for toggle image instead of PNG, fix installation and personal settings toggle
This commit is contained in:
parent
e7314b3ad8
commit
acc9fa49fc
|
@ -667,7 +667,7 @@ label.infield {
|
|||
position: absolute !important;
|
||||
height: 20px;
|
||||
width: 24px;
|
||||
background-image: url("../img/actions/toggle.png");
|
||||
background-image: url('../img/actions/toggle.svg');
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
|
||||
|
|
|
@ -53,7 +53,7 @@ script('core', [
|
|||
<label for="adminpass" class="infield"><?php p($l->t( 'Password' )); ?></label>
|
||||
<img class="svg" id="adminpass-icon" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt="">
|
||||
<input type="checkbox" id="show" name="show">
|
||||
<label for="show"></label>
|
||||
<label for="show" class="svg"></label>
|
||||
<div class="strengthify-wrapper"></div>
|
||||
</p>
|
||||
</fieldset>
|
||||
|
|
|
@ -83,7 +83,7 @@ if($_['passwordChangeSupported']) {
|
|||
placeholder="<?php echo $l->t('New password');?>"
|
||||
data-typetoggle="#personal-show"
|
||||
autocomplete="off" autocapitalize="off" autocorrect="off" />
|
||||
<input type="checkbox" id="personal-show" name="show" /><label for="personal-show"></label>
|
||||
<input type="checkbox" id="personal-show" name="show" /><label for="personal-show" class="svg"></label>
|
||||
<input id="passwordbutton" type="submit" value="<?php echo $l->t('Change password');?>" />
|
||||
<br/>
|
||||
<div class="strengthify-wrapper"></div>
|
||||
|
|
Loading…
Reference in New Issue