Skip to content

Commit

Permalink
Change Reset Password Help Icon
Browse files Browse the repository at this point in the history
  • Loading branch information
aljawaid committed Aug 20, 2023
1 parent 1e0d2e5 commit 1949d96
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
9 changes: 5 additions & 4 deletions Assets/css/application-branding.css
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ a.reset-password-link {
text-decoration: none;
}

.reset-password-link svg {
vertical-align: text-bottom;
width: 18px;
margin-right: 3px;
.reset-password-link i {
margin-inline: 5px;
font-size: 1.1em;
color: var(--pp-light-grey);
}

kbd.user-remote-ip {
Expand Down Expand Up @@ -392,6 +392,7 @@ a.application-link, a.application-link:visited {
fieldset.site-desc-metadata button.btn {
transition: var(--transition-app-branding);
}

fieldset.app-name-settings legend, fieldset.login-page-settings legend, fieldset.site-metadata-settings legend, fieldset.site-name-metadata legend, fieldset.site-desc-metadata legend, fieldset.device-icons-metadata legend {
font-weight: 600;
}
Expand Down
3 changes: 1 addition & 2 deletions Template/auth/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@
<div class="form-actions">
<?php if ($this->app->config('password_reset') == 1): ?>
<div class="reset-password">
<?= $this->url->link(t('Reset Password') . '
<svg fill="currentColor" width="20px" height="20px" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" stroke=""><g id="" stroke-width="0"></g><g id="" stroke-linecap="round" stroke-linejoin="round"></g><g id=""> <g fill="#4D4D4D"> <path d="M8 0a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 1a7 7 0 0 1 7 7 7 7 0 0 1-7 7 7 7 0 0 1-7-7 7 7 0 0 1 7-7z"></path> <path d="M8.226 3.001c-.444 0-.864.051-1.26.153-.36.094-.679.222-.973.371l.3.832c.574-.291 1.162-.45 1.764-.45.506 0 .907.133 1.184.41.272.262.41.613.41 1.03a1.5 1.5 0 0 1-.18.723c-.108.214-.25.419-.424.613-.17.19-.35.379-.54.568v.001h-.002a5.4 5.4 0 0 0-.527.583l-.001.002c-.164.2-.3.418-.41.655-.097.231-.147.49-.147.779 0 .174.02.336.047.495h.906c0-.02-.005-.037-.005-.057v-.155c0-.323.064-.617.193-.876.126-.26.28-.498.465-.712l.001-.002c.182-.22.382-.43.601-.63.214-.194.408-.398.584-.61.174-.211.32-.436.439-.673.115-.24.174-.511.174-.819 0-.243-.04-.497-.123-.762v-.004a1.703 1.703 0 0 0-.402-.721 2.161 2.161 0 0 0-.797-.526h-.002l-.002-.002C9.177 3.075 8.753 3 8.225 3zM8 11.304c-.27 0-.468.082-.619.25a.854.854 0 0 0-.229.598c0 .232.075.426.23.598.15.168.347.25.618.25.27 0 .468-.082.62-.25a.855.855 0 0 0 .228-.598.854.854 0 0 0-.229-.598c-.15-.168-.348-.25-.619-.25z" font-family="Ubuntu" font-size="72.036" font-weight="500" letter-spacing="0" style="line-height:125%;text-align:center" text-anchor="middle" word-spacing="0"></path> </g> </g></svg>', 'PasswordResetController', 'create', array(), false, 'reset-password-link', '') ?>
<?= $this->url->link(t('Reset Password') . '<i class="fa fa-question-circle-o" aria-hidden="true"></i>', 'PasswordResetController', 'create', array(), false, 'reset-password-link', '') ?>
</div>
<?php endif ?>
<button type="submit" class="btn login-btn">
Expand Down
3 changes: 1 addition & 2 deletions Template/auth/index_customizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@
<div class="form-actions">
<?php if ($this->app->config('password_reset') == 1): ?>
<div class="reset-password">
<?= $this->url->link(t('Reset Password') . '
<svg fill="currentColor" width="20px" height="20px" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" stroke=""><g id="" stroke-width="0"></g><g id="" stroke-linecap="round" stroke-linejoin="round"></g><g id=""> <g fill="#4D4D4D"> <path d="M8 0a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 1a7 7 0 0 1 7 7 7 7 0 0 1-7 7 7 7 0 0 1-7-7 7 7 0 0 1 7-7z"></path> <path d="M8.226 3.001c-.444 0-.864.051-1.26.153-.36.094-.679.222-.973.371l.3.832c.574-.291 1.162-.45 1.764-.45.506 0 .907.133 1.184.41.272.262.41.613.41 1.03a1.5 1.5 0 0 1-.18.723c-.108.214-.25.419-.424.613-.17.19-.35.379-.54.568v.001h-.002a5.4 5.4 0 0 0-.527.583l-.001.002c-.164.2-.3.418-.41.655-.097.231-.147.49-.147.779 0 .174.02.336.047.495h.906c0-.02-.005-.037-.005-.057v-.155c0-.323.064-.617.193-.876.126-.26.28-.498.465-.712l.001-.002c.182-.22.382-.43.601-.63.214-.194.408-.398.584-.61.174-.211.32-.436.439-.673.115-.24.174-.511.174-.819 0-.243-.04-.497-.123-.762v-.004a1.703 1.703 0 0 0-.402-.721 2.161 2.161 0 0 0-.797-.526h-.002l-.002-.002C9.177 3.075 8.753 3 8.225 3zM8 11.304c-.27 0-.468.082-.619.25a.854.854 0 0 0-.229.598c0 .232.075.426.23.598.15.168.347.25.618.25.27 0 .468-.082.62-.25a.855.855 0 0 0 .228-.598.854.854 0 0 0-.229-.598c-.15-.168-.348-.25-.619-.25z" font-family="Ubuntu" font-size="72.036" font-weight="500" letter-spacing="0" style="line-height:125%;text-align:center" text-anchor="middle" word-spacing="0"></path> </g> </g></svg>', 'PasswordResetController', 'create', array(), false, 'reset-password-link', '') ?>
<?= $this->url->link(t('Reset Password') . '<i class="fa fa-question-circle-o" aria-hidden="true"></i>', 'PasswordResetController', 'create', array(), false, 'reset-password-link', '') ?>
</div>
<?php endif ?>
<button type="submit" class="btn login-btn">
Expand Down

0 comments on commit 1949d96

Please sign in to comment.