mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-02 08:09:19 +08:00
Add theming states for login form
This commit is contained in:
parent
668bd04df9
commit
7ed07c6091
4 changed files with 31 additions and 19 deletions
|
@ -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 -->
|
||||
|
||||
|
|
|
@ -24,6 +24,7 @@ $mellow-yellow: #e2b98e;
|
|||
|
||||
$salmon-pink: #f5aea6;
|
||||
$coral-pink: #eb6657;
|
||||
$light-orange: #f05645;
|
||||
|
||||
/* --------- BREAKPOINTS ---------- */
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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%;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue