Updated password reset button style

This commit is contained in:
Peter Zimon 2021-03-03 17:16:44 +01:00
parent e760389122
commit 6fb2a2fc3c
2 changed files with 14 additions and 9 deletions

View File

@ -45,7 +45,8 @@
margin: 0;
}
.gh-signin .gh-btn-login {
.gh-signin .gh-btn-login,
.gh-signin .gh-btn-reset {
height: 54px;
border-radius: 8px;
line-height: 54px;
@ -56,6 +57,17 @@
-webkit-font-smoothing: subpixel-antialiased;
}
.gh-signin .gh-btn-login span,
.gh-signin .gh-btn-reset span {
font-size: 1.8rem;
color: #fff;
}
.gh-signin .gh-btn-reset {
background: var(--black) !important;
margin-top: 20px;
}
.gh-signin .gh-btn-login svg.gh-icon-spinner rect {
fill: #fff !important;
}
@ -64,11 +76,6 @@
opacity: 0.9;
}
.gh-signin .gh-btn-login span {
font-size: 1.8rem;
color: #fff;
}
.gh-signin label {
font-size: 1.3rem;
font-weight: 600 !important;

View File

@ -4,7 +4,6 @@
<form id="reset" class="gh-signin" method="post" novalidate="novalidate" {{action "submit" on="submit"}}>
<GhFormGroup @errors={{this.errors}} @hasValidated={{this.hasValidated}} @property="newPassword">
<span class="gh-input-icon gh-icon-lock">
{{svg-jar "lock"}}
<GhTextInput
@type="password"
@name="newpassword"
@ -18,7 +17,6 @@
</GhFormGroup>
<GhFormGroup @errors={{this.errors}} @hasValidated={{this.hasValidated}} @property="ne2Password">
<span class="gh-input-icon gh-icon-lock">
{{svg-jar "lock"}}
<GhTextInput
@type="password"
@name="ne2password"
@ -30,7 +28,7 @@
</span>
</GhFormGroup>
<GhTaskButton @buttonText="Save new password" @task={{this.resetPassword}} @class="gh-btn gh-btn-blue gh-btn-block gh-btn-icon" @type="submit" @autoWidth="false" />
<GhTaskButton @buttonText="Save new password" @task={{this.resetPassword}} @class="gh-btn gh-btn-blue gh-btn-reset gh-btn-block gh-btn-icon" @type="submit" @autoWidth="false" />
</form>
<p class="main-error">{{this.flowErrors}}&nbsp;</p>