Add theming states for login form

This commit is contained in:
Will 2020-02-11 09:44:42 +00:00 committed by Dillon-Brown
parent 668bd04df9
commit 7ed07c6091
4 changed files with 31 additions and 19 deletions

View file

@ -15,13 +15,13 @@
<input [(ngModel)]="passw" type="password" name="password" placeholder="Password" aria-label="Password">
</div>
<button (click)="doLogin()">LOGIN</button>
<div class="forgotten-password">
<a href="#" class="forgotten-password-link">
Forgot Password?
</a>
</div>
</form>
<button class="login-button" (click)="doLogin()">LOGIN</button>
<div class="forgotten-password">
<a href="#" class="forgotten-password-link">
Forgot Password?
</a>
</div>
</form>
<!-- End of login form section -->

View file

@ -24,6 +24,7 @@ $mellow-yellow: #e2b98e;
$salmon-pink: #f5aea6;
$coral-pink: #eb6657;
$light-orange: #f05645;
/* --------- BREAKPOINTS ---------- */

View file

@ -15,10 +15,19 @@ button {
display: inline-block;
}
.login-form button {
.login-button {
background-color: $coral-pink;
letter-spacing: 0.1em;
}
.login-button .disabled {
opacity: 40%;
}
.login-button:hover {
background-color: $light-orange;
}
.alerts-button,
.quickcreate-button,
.favourites-button {
@ -101,20 +110,14 @@ button {
}
@media all and (min-width: $breakpoint-medium) {
.login-form {
button {
background-color: $coral-pink;
width: 26.5em;
}
.login-button {
width: 26.5em;
}
}
@media all and (max-width: $breakpoint-medium) {
.login-form {
button {
background-color: $coral-pink;
width: 20em;
}
.login-button {
width: 20em;
}
}

View file

@ -27,6 +27,14 @@
.forgotten-password-link {
clear: both;
color: $salmon-pink;
color: $coral-pink;
}
.forgotten-password-link:hover {
color: $light-orange;
}
.forgotten-password-link .disabled {
opacity: 40%;
}
}