Merge pull request #18803 from owncloud/toggle-svg

use SVG for toggle image on installation instead of PNG
This commit is contained in:
Robin Appelman 2015-09-03 14:06:03 +02:00
commit 5234090ee2
3 changed files with 4 additions and 4 deletions

View File

@ -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)";

View File

@ -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>
@ -149,7 +149,7 @@ script('core', [
</fieldset>
<?php endif; ?>
<?php endif; ?>
<div class="icon-loading-dark float-spinner">&nbsp;</div>
<?php if(!$_['dbIsSet'] OR count($_['errors']) > 0): ?>

View File

@ -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>