diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2015-09-03 11:46:16 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2015-09-03 11:49:28 +0200 |
commit | acc9fa49fc5236bb4ab9189504c86f536fc38fb7 (patch) | |
tree | 7fbdf8210108b08a160a0d0da37b5c9780269891 | |
parent | e7314b3ad8eda85a416a2cccf4d8ef1a289b7a42 (diff) | |
download | nextcloud-server-acc9fa49fc5236bb4ab9189504c86f536fc38fb7.tar.gz nextcloud-server-acc9fa49fc5236bb4ab9189504c86f536fc38fb7.zip |
use SVG for toggle image instead of PNG, fix installation and personal settings toggle
-rw-r--r-- | core/css/styles.css | 2 | ||||
-rw-r--r-- | core/templates/installation.php | 4 | ||||
-rw-r--r-- | settings/templates/personal.php | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/core/css/styles.css b/core/css/styles.css index 020c2702a10..dd0110ded3a 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -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)"; diff --git a/core/templates/installation.php b/core/templates/installation.php index 8db55e4bdab..716cb1af6af 100644 --- a/core/templates/installation.php +++ b/core/templates/installation.php @@ -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"> </div> <?php if(!$_['dbIsSet'] OR count($_['errors']) > 0): ?> diff --git a/settings/templates/personal.php b/settings/templates/personal.php index 490133c9f25..c0adaf9c5a3 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -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> |