css component signin

This commit is contained in:
Blandine Bajard 2022-01-25 17:18:51 +01:00
parent a545bf5a25
commit 5df6f6f46e
2 changed files with 43 additions and 34 deletions

View File

@ -27,12 +27,12 @@
<label for="floatingPassword">Mot de passe</label> <label for="floatingPassword">Mot de passe</label>
</div> </div>
<button class="w-100 btn btn-lg btn-success" <button class="w-100 btn btn-lg btn-outline-success"
type="submit" type="submit"
[disabled]="signinForm.invalid">Se connecter</button> [disabled]="signinForm.invalid">Se connecter</button>
<button class="w-100 btn btn-lg btn-success" <button class="w-100 btn btn-lg btn-outline-success"
routerLink="../creation-compte" routerLinkActive="active-custom" routerLink="../creation-compte" routerLinkActive="active-custom"
>S'inscrire</button> >S'inscrire</button>

View File

@ -7,25 +7,34 @@
.form-signin { .form-signin {
width: 100%; width: 100%;
max-width: 330px; max-width: 330px;
padding: 15px; margin-top: 50px;
margin: auto; margin-left: auto;
.checkbox { margin-right: auto;
font-weight: 400; border: solid 1px;
} border-radius: 10px;
background-color: #fcddec;
border-color: #ef5da8;
}
.form-floating:focus-within { .form-floating:focus-within {
z-index: 2; z-index: 2;
} }
input[type="email"] { input[type="email"] {
margin-bottom: -1px; margin-bottom: -1px;
border-bottom-right-radius: 0; border-bottom-right-radius: 0;
border-bottom-left-radius: 0; border-bottom-left-radius: 0;
} }
input[type="password"] { input[type="password"] {
margin-bottom: 10px; margin-bottom: 10px;
border-top-left-radius: 0; border-top-left-radius: 0;
border-top-right-radius: 0; border-top-right-radius: 0;
} }
.btn-outline-success {
margin-top: 10px;
margin-bottom: 5px;
background-color: #ffff;
color: #ef5da8 !important;
border-color: #ef5da8 !important;
} }