Skip to content

Commit 5234090

Browse files
committed
Merge pull request #18803 from owncloud/toggle-svg
use SVG for toggle image on installation instead of PNG
2 parents 8684420 + acc9fa4 commit 5234090

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

core/css/styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ label.infield {
667667
position: absolute !important;
668668
height: 20px;
669669
width: 24px;
670-
background-image: url("../img/actions/toggle.png");
670+
background-image: url('../img/actions/toggle.svg');
671671
background-repeat: no-repeat;
672672
background-position: center;
673673
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";

core/templates/installation.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<label for="adminpass" class="infield"><?php p($l->t( 'Password' )); ?></label>
5454
<img class="svg" id="adminpass-icon" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt="">
5555
<input type="checkbox" id="show" name="show">
56-
<label for="show"></label>
56+
<label for="show" class="svg"></label>
5757
<div class="strengthify-wrapper"></div>
5858
</p>
5959
</fieldset>
@@ -149,7 +149,7 @@
149149
</fieldset>
150150
<?php endif; ?>
151151
<?php endif; ?>
152-
152+
153153
<div class="icon-loading-dark float-spinner">&nbsp;</div>
154154

155155
<?php if(!$_['dbIsSet'] OR count($_['errors']) > 0): ?>

settings/templates/personal.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
placeholder="<?php echo $l->t('New password');?>"
8484
data-typetoggle="#personal-show"
8585
autocomplete="off" autocapitalize="off" autocorrect="off" />
86-
<input type="checkbox" id="personal-show" name="show" /><label for="personal-show"></label>
86+
<input type="checkbox" id="personal-show" name="show" /><label for="personal-show" class="svg"></label>
8787
<input id="passwordbutton" type="submit" value="<?php echo $l->t('Change password');?>" />
8888
<br/>
8989
<div class="strengthify-wrapper"></div>

0 commit comments

Comments
 (0)