update disable login btns

This commit is contained in:
Chneemann 2024-05-29 21:26:17 +02:00
parent 2cab8b84a8
commit 2a902cfcc1
3 changed files with 12 additions and 4 deletions

View file

@ -72,10 +72,14 @@
<div></div> <div></div>
</div> </div>
<div (click)="loginService.googleLogin()" class="googleLogingContainer"> <button
(click)="loginService.googleLogin()"
class="googleLogingContainer"
[disabled]="loginService.isBtnDisabled"
>
<img src="./assets/img/login/google.svg" alt="" /> <img src="./assets/img/login/google.svg" alt="" />
<span>{{ "login.googleBtn" | translate }}</span> <span>{{ "login.googleBtn" | translate }}</span>
</div> </button>
<div class="loginBottom"> <div class="loginBottom">
<button <button

View file

@ -59,13 +59,13 @@ section {
.separatorContainer { .separatorContainer {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: baseline; align-items: center;
gap: 10px; gap: 10px;
font-size: 18px; font-size: 18px;
margin-bottom: 32px; margin-bottom: 32px;
> div { > div {
border: 1px solid #adb0d9; border: 1px solid #adb0d9;
width: 42%; width: 45%;
height: 0px; height: 0px;
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -91,6 +91,9 @@ section {
color: #444df2; color: #444df2;
cursor: pointer; cursor: pointer;
} }
&:disabled {
@include buttonGrey;
}
} }
.loginBottom { .loginBottom {

View file

@ -84,6 +84,7 @@
border-radius: 25px; border-radius: 25px;
font-size: 18px; font-size: 18px;
font-weight: 600; font-weight: 600;
cursor: default;
} }
@mixin aktivButtonBlue { @mixin aktivButtonBlue {
padding: 12px 25px; padding: 12px 25px;